diff --git a/docs/index.md b/docs/index.md index 57875647..6e181f9d 100644 --- a/docs/index.md +++ b/docs/index.md @@ -31,7 +31,7 @@ In order to run a local demo service based on the IEKit: 2. Fetch the IEKit. ```bash - autonomy fetch valory/impact_evaluator:0.1.0:bafybeih76zt6vbwlkbxegu45zdcook7hjagub4e2gjdobzfuxhdywebnom --service + autonomy fetch valory/impact_evaluator:0.1.0:bafybeif5ofgreg5xxdo4zhsyvhyyczqyiu3kexztnu2khrwsi7jwcapxce --service ``` 3. Build the Docker image of the service agents diff --git a/packages/packages.json b/packages/packages.json index 30941e31..7d79be44 100644 --- a/packages/packages.json +++ b/packages/packages.json @@ -1,13 +1,13 @@ { "dev": { - "agent/valory/impact_evaluator/0.1.0": "bafybeido2732rhtkthorwduumz6lq6fzif33hjefjqygudoxexumx7jjam", + "agent/valory/impact_evaluator/0.1.0": "bafybeigg36ens3fcqtke2swe7tcvfir53hbwdyc3mfwvshcqb7zr755jhe", "contract/valory/dynamic_contribution/0.1.0": "bafybeiaapvt7o4s5zpkxjcaplbzw7bhgeeqwtsddzjxmg6bfth6ytlvdiq", - "service/valory/impact_evaluator/0.1.0": "bafybeih76zt6vbwlkbxegu45zdcook7hjagub4e2gjdobzfuxhdywebnom", + "service/valory/impact_evaluator/0.1.0": "bafybeif5ofgreg5xxdo4zhsyvhyyczqyiu3kexztnu2khrwsi7jwcapxce", "skill/valory/dynamic_nft_abci/0.1.0": "bafybeibwmanjrwrfb27g2ettgj6vzls5wfp5rm27bmw2wru3sfuvmzfx5y", - "skill/valory/twitter_scoring_abci/0.1.0": "bafybeidqbqyptq3w5623oh6mmesgv57kk566bimwkgtdwfv4ntjoq54wz4", + "skill/valory/twitter_scoring_abci/0.1.0": "bafybeici33ns2gg722awa6kzxkcxjyolspggbpbubozz353k3qx5cw4pfm", "skill/valory/ceramic_read_abci/0.1.0": "bafybeib36m6fi5swu43s3amtbk7w5rfie2gvzgw3xhxd7yfnka4kpcegme", "skill/valory/ceramic_write_abci/0.1.0": "bafybeifdjb2iisvtgwo44xoddhrbgqehbis6tbjdktuhh6ehwm5bnuee74", - "skill/valory/impact_evaluator_abci/0.1.0": "bafybeicbp77j3xp5r5b2kobnykf6eyigcij4yxqf3taupcs5y5xowfovuq", + "skill/valory/impact_evaluator_abci/0.1.0": "bafybeiha7dwm4hojsh7hmrlrzlzmjfxgchqoayohfwo47mgjotktagdake", "skill/valory/generic_scoring_abci/0.1.0": "bafybeiatrunjluw3u6yxdctdq6ombmshuxauw2bhtuzqbqwi2rmxop5una", "protocol/valory/twitter/0.1.0": "bafybeib4eyf7qbs7kdntqzhwqsaaj4o2mzcokcztaza6qgwt7sbxgkqu2m", "protocol/valory/llm/1.0.0": "bafybeigqybmg75vsxexmp57hkms7lkp7iwpf54r7wpygizxryvrhfqqpb4", diff --git a/packages/valory/agents/impact_evaluator/aea-config.yaml b/packages/valory/agents/impact_evaluator/aea-config.yaml index ddcb2d15..b009559f 100644 --- a/packages/valory/agents/impact_evaluator/aea-config.yaml +++ b/packages/valory/agents/impact_evaluator/aea-config.yaml @@ -42,9 +42,9 @@ protocols: skills: - valory/abstract_abci:0.1.0:bafybeih3bwx5apteinnoxts7sqmjlskntdbo7vvnmdbs5noo2pv76by7fu - valory/abstract_round_abci:0.1.0:bafybeibqpzbklnljvtc67yon4ciijxj75d7vazm7rurcvbbfnk6jtudukm -- valory/impact_evaluator_abci:0.1.0:bafybeicbp77j3xp5r5b2kobnykf6eyigcij4yxqf3taupcs5y5xowfovuq +- valory/impact_evaluator_abci:0.1.0:bafybeiha7dwm4hojsh7hmrlrzlzmjfxgchqoayohfwo47mgjotktagdake - valory/generic_scoring_abci:0.1.0:bafybeiatrunjluw3u6yxdctdq6ombmshuxauw2bhtuzqbqwi2rmxop5una -- valory/twitter_scoring_abci:0.1.0:bafybeidqbqyptq3w5623oh6mmesgv57kk566bimwkgtdwfv4ntjoq54wz4 +- valory/twitter_scoring_abci:0.1.0:bafybeici33ns2gg722awa6kzxkcxjyolspggbpbubozz353k3qx5cw4pfm - valory/ceramic_read_abci:0.1.0:bafybeib36m6fi5swu43s3amtbk7w5rfie2gvzgw3xhxd7yfnka4kpcegme - valory/ceramic_write_abci:0.1.0:bafybeifdjb2iisvtgwo44xoddhrbgqehbis6tbjdktuhh6ehwm5bnuee74 - valory/dynamic_nft_abci:0.1.0:bafybeibwmanjrwrfb27g2ettgj6vzls5wfp5rm27bmw2wru3sfuvmzfx5y diff --git a/packages/valory/services/impact_evaluator/service.yaml b/packages/valory/services/impact_evaluator/service.yaml index 86b54f87..02bf9295 100644 --- a/packages/valory/services/impact_evaluator/service.yaml +++ b/packages/valory/services/impact_evaluator/service.yaml @@ -8,7 +8,7 @@ license: Apache-2.0 fingerprint: README.md: bafybeign56hilwuoa6bgos3uqabss4gew4vadkik7vhj3ucpqw6nxtqtpe fingerprint_ignore_patterns: [] -agent: valory/impact_evaluator:0.1.0:bafybeido2732rhtkthorwduumz6lq6fzif33hjefjqygudoxexumx7jjam +agent: valory/impact_evaluator:0.1.0:bafybeigg36ens3fcqtke2swe7tcvfir53hbwdyc3mfwvshcqb7zr755jhe number_of_agents: 4 deployment: agent: diff --git a/packages/valory/skills/impact_evaluator_abci/fsm_specification.yaml b/packages/valory/skills/impact_evaluator_abci/fsm_specification.yaml index 82ac42e5..61d3b311 100644 --- a/packages/valory/skills/impact_evaluator_abci/fsm_specification.yaml +++ b/packages/valory/skills/impact_evaluator_abci/fsm_specification.yaml @@ -113,7 +113,6 @@ transition_func: (TokenTrackRound, NO_MAJORITY): TokenTrackRound (TokenTrackRound, ROUND_TIMEOUT): TokenTrackRound (TweetEvaluationRound, DONE): DBUpdateRound - (TweetEvaluationRound, NO_MAJORITY): TweetEvaluationRound (TweetEvaluationRound, ROUND_TIMEOUT): TweetEvaluationRound (TwitterCollectionRound, API_ERROR): TwitterCollectionRound (TwitterCollectionRound, DONE): TweetEvaluationRound diff --git a/packages/valory/skills/impact_evaluator_abci/skill.yaml b/packages/valory/skills/impact_evaluator_abci/skill.yaml index 844bc49a..3ef206c4 100644 --- a/packages/valory/skills/impact_evaluator_abci/skill.yaml +++ b/packages/valory/skills/impact_evaluator_abci/skill.yaml @@ -10,7 +10,7 @@ fingerprint: behaviours.py: bafybeickyuqzsu7nbyp47nwdw3aubwncqjbumb3gyxxi7obigeurcrf7sq composition.py: bafybeidkrqkwg7jff6ihhj3nilzuxdufkrskalcegrwd6yu3ywrfaxvc5m dialogues.py: bafybeigjknz4qqynbsltjje46gidg4rftsqw6ybjwegz24wetmycutpzh4 - fsm_specification.yaml: bafybeiaqnow4cmfr7fmnnz6zwl2winxwszntvfgcpfqgcblxqw46kbvipa + fsm_specification.yaml: bafybeiahcmi7rgvcmn7b33vzh2x4o53k4zlyuk6hqfijeznnoe3rywrzh4 handlers.py: bafybeidkli6fphcmdgwsys4lkyf3fx6fbawet4nt2pnixfypzijhg6b3ze models.py: bafybeicufmgzkyjucrnjeymzcbnlg2rukqwury36eodsogil7lkk7mu5xq tests/__init__.py: bafybeievwzwojvq4aofk5kjpf4jzygfes7ew6s6svc6b6frktjnt3sicce @@ -26,7 +26,7 @@ skills: - valory/abstract_round_abci:0.1.0:bafybeibqpzbklnljvtc67yon4ciijxj75d7vazm7rurcvbbfnk6jtudukm - valory/ceramic_read_abci:0.1.0:bafybeib36m6fi5swu43s3amtbk7w5rfie2gvzgw3xhxd7yfnka4kpcegme - valory/generic_scoring_abci:0.1.0:bafybeiatrunjluw3u6yxdctdq6ombmshuxauw2bhtuzqbqwi2rmxop5una -- valory/twitter_scoring_abci:0.1.0:bafybeidqbqyptq3w5623oh6mmesgv57kk566bimwkgtdwfv4ntjoq54wz4 +- valory/twitter_scoring_abci:0.1.0:bafybeici33ns2gg722awa6kzxkcxjyolspggbpbubozz353k3qx5cw4pfm - valory/ceramic_write_abci:0.1.0:bafybeifdjb2iisvtgwo44xoddhrbgqehbis6tbjdktuhh6ehwm5bnuee74 - valory/dynamic_nft_abci:0.1.0:bafybeibwmanjrwrfb27g2ettgj6vzls5wfp5rm27bmw2wru3sfuvmzfx5y - valory/registration_abci:0.1.0:bafybeia25gpusnkakb2dp4heqkwtuftbc2apppq3i4bds6sphltsovgzvi diff --git a/packages/valory/skills/twitter_scoring_abci/behaviours.py b/packages/valory/skills/twitter_scoring_abci/behaviours.py index 10ab5b0c..d6eea288 100644 --- a/packages/valory/skills/twitter_scoring_abci/behaviours.py +++ b/packages/valory/skills/twitter_scoring_abci/behaviours.py @@ -390,7 +390,7 @@ def evaluate_tweet(self, text: str) -> Generator[None, None, int]: TWEET_QUALITY_TO_POINTS[quality] * TWEET_RELATIONSHIP_TO_POINTS[relationship] ) - except: + except Exception: self.context.logger.error("Evaluation data is not valid") return points diff --git a/packages/valory/skills/twitter_scoring_abci/fsm_specification.yaml b/packages/valory/skills/twitter_scoring_abci/fsm_specification.yaml index ca4675a8..c78f8454 100644 --- a/packages/valory/skills/twitter_scoring_abci/fsm_specification.yaml +++ b/packages/valory/skills/twitter_scoring_abci/fsm_specification.yaml @@ -20,7 +20,6 @@ transition_func: (DBUpdateRound, NO_MAJORITY): DBUpdateRound (DBUpdateRound, ROUND_TIMEOUT): DBUpdateRound (TweetEvaluationRound, DONE): DBUpdateRound - (TweetEvaluationRound, NO_MAJORITY): TweetEvaluationRound (TweetEvaluationRound, ROUND_TIMEOUT): TweetEvaluationRound (TwitterCollectionRound, API_ERROR): TwitterCollectionRound (TwitterCollectionRound, DONE): TweetEvaluationRound diff --git a/packages/valory/skills/twitter_scoring_abci/rounds.py b/packages/valory/skills/twitter_scoring_abci/rounds.py index 235d01d0..6e931d6c 100644 --- a/packages/valory/skills/twitter_scoring_abci/rounds.py +++ b/packages/valory/skills/twitter_scoring_abci/rounds.py @@ -221,7 +221,6 @@ class TwitterScoringAbciApp(AbciApp[Event]): }, TweetEvaluationRound: { Event.DONE: DBUpdateRound, - Event.NO_MAJORITY: TweetEvaluationRound, Event.ROUND_TIMEOUT: TweetEvaluationRound, }, DBUpdateRound: { diff --git a/packages/valory/skills/twitter_scoring_abci/skill.yaml b/packages/valory/skills/twitter_scoring_abci/skill.yaml index 26de7037..3e50759f 100644 --- a/packages/valory/skills/twitter_scoring_abci/skill.yaml +++ b/packages/valory/skills/twitter_scoring_abci/skill.yaml @@ -8,15 +8,15 @@ license: Apache-2.0 aea_version: '>=1.0.0, <2.0.0' fingerprint: __init__.py: bafybeifudgakkjoyahuewp2o4gvqayw7nsgpyxw2ayrpgmzexurh2xomaq - behaviours.py: bafybeifdcf4aonbsvhfqvj6x4ylwe63qv5p6bociuvsafch7jzykfngusm + behaviours.py: bafybeian24imyfjotd3qjakbgteoeyacgbsryo7ximux6vzyep424l5nwu ceramic_db.py: bafybeiem2xntdgeiv5uyco3vokxuktld5xgv2e5mcgncodadhoxrgwxs4y dialogues.py: bafybeibdqzn37hbo2cq4skww4uh2zvvsjyaxxvdhxisefbdvmjp7rh53si - fsm_specification.yaml: bafybeiehwxfhb4o7wooijcbegedkjyw7d2rjlusx66wx7ftdoywmm6v5vm + fsm_specification.yaml: bafybeiemn2eelb56xsriacxhanffd35iperd3ofam5dojltduwbt46inv4 handlers.py: bafybeich5zejyjlh7tqfh345r3ds5m75h5w64oqh4q5dtevpj4lkina4ku models.py: bafybeia3qlccegbbh4kd4s7oaad72ppeolqb2noavbjyk2mcqahkwlt3vm payloads.py: bafybeiapqgm3uscsl2gghy6fe22jceta4d5suujdlux233c37fyqydjp5i prompts.py: bafybeieiuqn427bgwfnzynxf3vtqfpvmqqscs5tyw4oibfofwropifotke - rounds.py: bafybeifzfxc3r2e2vclah7lwb2rvw6qj6estsogcuee7wphizf6dzwtzui + rounds.py: bafybeiekgub4e5ttozmqy2rdle6hn7ytfxgms5weadd5rirwa2w3vp5x2m tests/__init__.py: bafybeidwzzd4ejsyf3aryd5kmrvd63h7ajgqyrxphmfaacvpjnneacejay tests/test_behaviours.py: bafybeic5gj24sjcljdmww34j4z24essfwrfmtvgva3lap4xipu6tes3mwq tests/test_ceramic_db.py: bafybeia3l32c5y6gx4guiqy3cs4w45myd47m4buw627awpqqnif275kgpu