hpi-epic / BP2021

Working repository in context of the bachelor project "Online Marketplace Simulation: A Testbed for Self-Learning Agents" at the research group Enterprise Platform and Integration Concepts
MIT License
3 stars 0 forks source link

[recommerce] Concept for configuration files #524

Open felix-20 opened 2 years ago

felix-20 commented 2 years ago

The recommerce simulation expects different configuration files for each RL-Agent. However the API is not capable of differentiating the files: When a configuration is send to the API, it will be written on disc. The simulation will read this file again. But the API can only write files with one generic name. One way would be change the behaviour of the API when saving files. But translating the agent into a file name is very tedious and prone to error. So we need the simulation to handle that. Suggestion: When loading a rl configuration file, the simulation will first check if this file exists. If it doesn't it will look for a file called rl_config.json and only if that does not exist, it should error.