Reward Function Templates #3415
Replies: 4 comments 6 replies
|
I like this. There's a lot of good thinking, @fionnachan Here are some questions in no particular order:
|
|
Are reward templates specific to particular model versions? What happens if the user changes the reward syntax and breaks the template? I think 90%+ of the time, the rewards are not portable. |
@fionnachan I think I missed this section when I first read through. To me, the scope of the templates is per project, since that's what would have the same objectives and goals across models. So a user wouldn't use a coffeeshop function on the moonlander, since the coffeeshop would be measuring things like wait time and customers served. The different saved functions would be changes like, "double the importance of fuel savings" or "factor in customer satisfaction" for a single project. |






Uh oh!
There was an error while loading. Please reload this page.
@johnnyL7 requested a feature to make the reuse of reward functions more convenient when the user wants to reuse a set of previous reward functions for a new model.
The following is a sketch of my idea.
User can save any existing reward function of a non-draft Experiment as a reward function template by clicking the "Save" button on the reward function panel


On the Project/Model view, there is an option to create multiple experiments.



Similarly, at the final step of the Model Upload process, the user can choose to create multiple experiments. Clicking that button would bring the user to a page which asks for the same information as demonstrated above.

Add "Saved" Page to Main Menu

User viewing their saved reward function templates. Clicking the trash button would show a confirmation dialog asking if the user wants to delete the reward function template. It should delete the reward function template from the DB.

User can edit their saved reward function templates

All reactions