Skip to content

Commit 22086ba

Browse files
committed
ExpirationSeconds -> RewardExpirationSeconds
1 parent b9de74e commit 22086ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

suggestionbox/suggestionbox_model.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ func NewChoice(id string, features ...Feature) Choice {
6666

6767
// ModelOptions describes the behaviours of a Model.
6868
type ModelOptions struct {
69-
// ExpirationSeconds is the number of seconds to wait for the reward before it expires.
70-
ExpirationSeconds int `json:"expiration_seconds,omitempty"`
69+
// RewardExpirationSeconds is the number of seconds to wait for the reward before it expires.
70+
RewardExpirationSeconds int `json:"reward_expiration_seconds,omitempty"`
7171

7272
// Epsilon enables proportionate exploiting vs exploring ratio.
7373
Epsilon float64 `json:"epsilon,omitempty"`

0 commit comments

Comments
 (0)