-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored agents-key in configuration files (#396)
* changed jsons to new format * changed test-data * Adapted to new agent format in json * Adapted to new agent-structure in json * Fixed tests * Adapted to new agents-config format in json * Adapted to new agents-format in json * Adapted to new agents-format, upload still not working * Fixed typo * Fixed merge for agents * Fixed tests * Small refactoring * Updated docstring * Added comment * Added migration * Recommerce :) * Updated comment * Changed interval for updating API indicator Co-authored-by: Judith <[email protected]>
- Loading branch information
Showing
25 changed files
with
396 additions
and
437 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
recommerce/default_data/configuration_files/environment_config_exampleprinter.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
{ | ||
"task": "exampleprinter", | ||
"marketplace": "recommerce.market.circular.circular_sim_market.CircularEconomyRebuyPriceOneCompetitor", | ||
"agents": { | ||
"CE Rebuy Agent (QLearning)": { | ||
"agents": [ | ||
{ | ||
"name": "CE Rebuy Agent (QLearning)", | ||
"agent_class": "recommerce.rl.q_learning.q_learning_agent.QLearningCERebuyAgent", | ||
"argument": "CircularEconomyRebuyPriceOneCompetitor_QLearningCERebuyAgent.dat" | ||
} | ||
} | ||
] | ||
} |
7 changes: 4 additions & 3 deletions
7
recommerce/default_data/configuration_files/environment_config_training.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
{ | ||
"task": "training", | ||
"marketplace": "recommerce.market.circular.circular_sim_market.CircularEconomyRebuyPriceMonopolyScenario", | ||
"agents": { | ||
"CE Rebuy Agent (QLearning)": { | ||
"agents": [ | ||
{ | ||
"name": "CE Rebuy Agent (QLearning)", | ||
"agent_class": "recommerce.rl.q_learning.q_learning_agent.QLearningCERebuyAgent", | ||
"argument": "" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
{ | ||
"task": "exampleprinter", | ||
"marketplace": "recommerce.market.circular.circular_sim_market.CircularEconomyRebuyPriceOneCompetitor", | ||
"agents": { | ||
"CE Rebuy Agent (QLearning)": { | ||
"agents": [ | ||
{ | ||
"name": "CE Rebuy Agent (QLearning)", | ||
"agent_class": "recommerce.rl.q_learning.q_learning_agent.QLearningCERebuyAgent", | ||
"argument": "CircularEconomyRebuyPriceOneCompetitor_QLearningCERebuyAgent.dat" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
{ | ||
"task": "training", | ||
"marketplace": "recommerce.market.circular.circular_sim_market.CircularEconomyRebuyPriceMonopolyScenario", | ||
"agents": { | ||
"CE Rebuy Agent (QLearning)": { | ||
"agents": [ | ||
{ | ||
"name": "CE Rebuy Agent (QLearning)", | ||
"agent_class": "recommerce.rl.q_learning.q_learning_agent.QLearningCERebuyAgent", | ||
"argument": "" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.