Skip to content

Commit

Permalink
using question_id_field
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberosa committed Nov 22, 2024
1 parent 099beaa commit 7ed4d2a
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
12 changes: 6 additions & 6 deletions packages/packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"contract/valory/staking_token/0.1.0": "bafybeiep4r6qyilbfgzdvx6t7zvpgaioxqktmxm7puwtnbpb2ftlib43gy",
"contract/valory/relayer/0.1.0": "bafybeicawmds6czx7db2lcktvexwrp245jpekgulndtos5s5zdid3ilvq4",
"skill/valory/market_manager_abci/0.1.0": "bafybeifhedrcyzfeewmcaujk7gr6larcakyv3aosa255i6te5rhxdqvouq",
"skill/valory/decision_maker_abci/0.1.0": "bafybeic2f5dnanqlpida22v3j3a2yjsz7nlqw7z76gjoh2zo5zzm7j7zga",
"skill/valory/trader_abci/0.1.0": "bafybeidc6rnov7r3dqeqhx6alartlzjbac3jeo6svnezjadvechj4ukkey",
"skill/valory/tx_settlement_multiplexer_abci/0.1.0": "bafybeia5qqvttsa7boe74nhggayx7sqcryad4dczmskgf6vhpua55xeuua",
"skill/valory/decision_maker_abci/0.1.0": "bafybeigqvs5xdc53dl7r7mzrxfr3fhst2q7vatri3ey7hhhxhncpsrofpa",
"skill/valory/trader_abci/0.1.0": "bafybeia7vbbo6ieiy46qhvkj5kqk6hjpvgjpm4ddddi4le22q7psv4j5om",
"skill/valory/tx_settlement_multiplexer_abci/0.1.0": "bafybeihggnwfkiup76eunq2exm2r3bhov5hle4a6nrgckknxlpd3xo4k74",
"skill/valory/staking_abci/0.1.0": "bafybeictd5pxhscuhqntvctb7l5lfjausxt2m22rg5mkaiuj4cwwcxpvne",
"skill/valory/check_stop_trading_abci/0.1.0": "bafybeifmi64g4ki6zwbcncb35ovhd4sllw4xrszrkturpeqdhgf5bkiini",
"agent/valory/trader/0.1.0": "bafybeifmn4o6p5alj3xvcjuiocrzwzbe7su235jnz2xhxvzmysz6hvvkmq",
"service/valory/trader/0.1.0": "bafybeiewreebchnmxnweut5zdjxz6klwh27ebdv3bd65544a27uw2dxdlm",
"service/valory/trader_pearl/0.1.0": "bafybeid6ktek34yxgsg6qducbclkujicnaiyvc6j5zirksb47lxibnf6z4"
"agent/valory/trader/0.1.0": "bafybeihwnbxo2q3scqq2u45zk6a3licyrd25ck23raxaaz4nbwmvrn67bu",
"service/valory/trader/0.1.0": "bafybeigikkl2vdmpobrsp7tdlx2wwxukem2im6pg7gpqmra6oshajczsdy",
"service/valory/trader_pearl/0.1.0": "bafybeidctitwe6qsgokcn6jzvs4q6sqzax5qeezocoqpv2ngoe6mu2reim"
},
"third_party": {
"protocol/open_aea/signing/1.0.0": "bafybeihv62fim3wl2bayavfcg3u5e5cxu3b7brtu4cn5xoxd6lqwachasi",
Expand Down
6 changes: 3 additions & 3 deletions packages/valory/agents/trader/aea-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ skills:
- valory/reset_pause_abci:0.1.0:bafybeigrdlxed3xlsnxtjhnsbl3cojruihxcqx4jxhgivkd5i2fkjncgba
- valory/termination_abci:0.1.0:bafybeib5l7jhew5ic6iq24dd23nidcoimzqkrk556gqywhoziatj33zvwm
- valory/transaction_settlement_abci:0.1.0:bafybeic7q7recyka272udwcupblwbkc3jkodgp74fvcdxb7urametg5dae
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeia5qqvttsa7boe74nhggayx7sqcryad4dczmskgf6vhpua55xeuua
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeihggnwfkiup76eunq2exm2r3bhov5hle4a6nrgckknxlpd3xo4k74
- valory/market_manager_abci:0.1.0:bafybeifhedrcyzfeewmcaujk7gr6larcakyv3aosa255i6te5rhxdqvouq
- valory/decision_maker_abci:0.1.0:bafybeic2f5dnanqlpida22v3j3a2yjsz7nlqw7z76gjoh2zo5zzm7j7zga
- valory/trader_abci:0.1.0:bafybeidc6rnov7r3dqeqhx6alartlzjbac3jeo6svnezjadvechj4ukkey
- valory/decision_maker_abci:0.1.0:bafybeigqvs5xdc53dl7r7mzrxfr3fhst2q7vatri3ey7hhhxhncpsrofpa
- valory/trader_abci:0.1.0:bafybeia7vbbo6ieiy46qhvkj5kqk6hjpvgjpm4ddddi4le22q7psv4j5om
- valory/staking_abci:0.1.0:bafybeictd5pxhscuhqntvctb7l5lfjausxt2m22rg5mkaiuj4cwwcxpvne
- valory/check_stop_trading_abci:0.1.0:bafybeifmi64g4ki6zwbcncb35ovhd4sllw4xrszrkturpeqdhgf5bkiini
- valory/mech_interact_abci:0.1.0:bafybeid6m3i5ofq7vuogqapdnoshhq7mswmudhvfcr2craw25fdwtoe3lm
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/services/trader/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license: Apache-2.0
fingerprint:
README.md: bafybeigtuothskwyvrhfosps2bu6suauycolj67dpuxqvnicdrdu7yhtvq
fingerprint_ignore_patterns: []
agent: valory/trader:0.1.0:bafybeifmn4o6p5alj3xvcjuiocrzwzbe7su235jnz2xhxvzmysz6hvvkmq
agent: valory/trader:0.1.0:bafybeihwnbxo2q3scqq2u45zk6a3licyrd25ck23raxaaz4nbwmvrn67bu
number_of_agents: 4
deployment:
agent:
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/services/trader_pearl/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: bafybeibg7bdqpioh4lmvknw3ygnllfku32oca4eq5pqtvdrdsgw6buko7e
fingerprint_ignore_patterns: []
agent: valory/trader:0.1.0:bafybeifmn4o6p5alj3xvcjuiocrzwzbe7su235jnz2xhxvzmysz6hvvkmq
agent: valory/trader:0.1.0:bafybeihwnbxo2q3scqq2u45zk6a3licyrd25ck23raxaaz4nbwmvrn67bu
number_of_agents: 1
deployment:
agent:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def initialize_bet_id_row_manager(self) -> Dict[str, List[int]]:
with open(dataset_filepath, mode="r") as file:
reader = csv.DictReader(file)
for row_number, row in enumerate(reader, start=1):
question_id = row["question_id"]
question_id = row[self.benchmarking_mode.question_id_field]
if question_id not in bets_mapping:
bets_mapping[question_id] = []
bets_mapping[question_id].append(row_number)
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/skills/decision_maker_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fingerprint:
behaviours/check_benchmarking.py: bafybeiao2lyj7apezkqrpgsyzb3dwvrdgsrgtprf6iuhsmlsufvxfl5bci
behaviours/claim_subscription.py: bafybeigbqkhc6mb73rbwaks32tfiqx6u2xza43uiy6rvbtrnqd6m4fru3e
behaviours/decision_receive.py: bafybeihthcixcn4vchivxfx2om6zj5xf5xu7xjejwirpm2wvcx5xyqjjcu
behaviours/decision_request.py: bafybeigse4ytzo7hey7kho2dg4hwoxdt7772zc6zoyiq5rjzkebx566rcu
behaviours/decision_request.py: bafybeiat7kfqdnqj5tne5aebw5d3opyptpy3hhllusjriezlsuqxylznve
behaviours/handle_failed_tx.py: bafybeidxpc6u575ymct5tdwutvzov6zqfdoio5irgldn3fw7q3lg36mmxm
behaviours/order_subscription.py: bafybeicrmdvhci5prfldvuf3bclbbqi6j7lpv6hmphw3qwgmkmwat3od44
behaviours/randomness.py: bafybeiaoj3awyyg2onhpsdsn3dyczs23gr4smuzqcbw3e5ocljwxswjkce
Expand Down
4 changes: 2 additions & 2 deletions packages/valory/skills/trader_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ skills:
- valory/transaction_settlement_abci:0.1.0:bafybeic7q7recyka272udwcupblwbkc3jkodgp74fvcdxb7urametg5dae
- valory/termination_abci:0.1.0:bafybeib5l7jhew5ic6iq24dd23nidcoimzqkrk556gqywhoziatj33zvwm
- valory/market_manager_abci:0.1.0:bafybeifhedrcyzfeewmcaujk7gr6larcakyv3aosa255i6te5rhxdqvouq
- valory/decision_maker_abci:0.1.0:bafybeic2f5dnanqlpida22v3j3a2yjsz7nlqw7z76gjoh2zo5zzm7j7zga
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeia5qqvttsa7boe74nhggayx7sqcryad4dczmskgf6vhpua55xeuua
- valory/decision_maker_abci:0.1.0:bafybeigqvs5xdc53dl7r7mzrxfr3fhst2q7vatri3ey7hhhxhncpsrofpa
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeihggnwfkiup76eunq2exm2r3bhov5hle4a6nrgckknxlpd3xo4k74
- valory/staking_abci:0.1.0:bafybeictd5pxhscuhqntvctb7l5lfjausxt2m22rg5mkaiuj4cwwcxpvne
- valory/check_stop_trading_abci:0.1.0:bafybeifmi64g4ki6zwbcncb35ovhd4sllw4xrszrkturpeqdhgf5bkiini
- valory/mech_interact_abci:0.1.0:bafybeid6m3i5ofq7vuogqapdnoshhq7mswmudhvfcr2craw25fdwtoe3lm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ protocols:
- valory/ledger_api:1.0.0:bafybeihdk6psr4guxmbcrc26jr2cbgzpd5aljkqvpwo64bvaz7tdti2oni
skills:
- valory/abstract_round_abci:0.1.0:bafybeib733xfbndtpvkf44mtk7oyodnficgloo6xhn7xmqxxeos33es65u
- valory/decision_maker_abci:0.1.0:bafybeic2f5dnanqlpida22v3j3a2yjsz7nlqw7z76gjoh2zo5zzm7j7zga
- valory/decision_maker_abci:0.1.0:bafybeigqvs5xdc53dl7r7mzrxfr3fhst2q7vatri3ey7hhhxhncpsrofpa
- valory/staking_abci:0.1.0:bafybeictd5pxhscuhqntvctb7l5lfjausxt2m22rg5mkaiuj4cwwcxpvne
- valory/mech_interact_abci:0.1.0:bafybeid6m3i5ofq7vuogqapdnoshhq7mswmudhvfcr2craw25fdwtoe3lm
behaviours:
Expand Down

0 comments on commit 7ed4d2a

Please sign in to comment.