Nth-iteration-labs/streamingbandit-ui

Add theta_value and theta_key fields to the theta reset form

robinvanemden opened this issue · 3 comments

Currently, a user is unable to set the theta_value and theta_key parameters in the theta reset form. Adding two form fields where the user can set these parameters ought to resolve that.

What Robin means is when reseting a theta of an experiment, you can give the theta_key and theta_value separately, such that not all the parameters of one experiment will get deleted. This theta_key and theta_value is the same key and value that you use when getting/setting theta in the database in the get_action and set_reward code. For example, self.get_theta(key="treatment", value="person"), then using the same key and value in the reset theta call will result in only deleting that theta. This behavior is different from not using a theta_key and theta_value, since supplying none will result in deleting all parameters for that experiment.