Skip to content

Commit

Permalink
fix: linters
Browse files Browse the repository at this point in the history
  • Loading branch information
dvilelaf committed Aug 9, 2023
1 parent a752cb0 commit f8b42b0
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 17 deletions.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/packages.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/valory/agents/impact_evaluator/aea-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/services/impact_evaluator/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/valory/skills/impact_evaluator_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/skills/twitter_scoring_abci/behaviours.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion packages/valory/skills/twitter_scoring_abci/rounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ class TwitterScoringAbciApp(AbciApp[Event]):
},
TweetEvaluationRound: {
Event.DONE: DBUpdateRound,
Event.NO_MAJORITY: TweetEvaluationRound,
Event.ROUND_TIMEOUT: TweetEvaluationRound,
},
DBUpdateRound: {
Expand Down
6 changes: 3 additions & 3 deletions packages/valory/skills/twitter_scoring_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f8b42b0

Please sign in to comment.