Skip to content

Commit

Permalink
adjust and expand no actions use case (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
aarsilv authored Jul 18, 2024
1 parent 7a9c238 commit cfcdc5e
Showing 1 changed file with 23 additions and 12 deletions.
35 changes: 23 additions & 12 deletions ufc/bandit-tests/test-case-bandit-no-actions.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
{
"flag": "banner_bandit_flag",
"defaultValue": "default",
"subjects": [
{
"subjectKey": "alice",
"subjectAttributes": {"numericAttributes": {"age": 25}, "categoricalAttributes": {"country": "USA"}},
"actions": [],
"assignment": {"variation": "default", "action": null}
}
]
}

"flag": "banner_bandit_flag",
"defaultValue": "default",
"subjects": [
{
"subjectKey": "alice",
"subjectAttributes": {"numericAttributes": {"age": 25}, "categoricalAttributes": {"country": "USA"}},
"actions": [],
"assignment": {"variation": "banner_bandit", "action": null}
},
{
"subjectKey": "ben",
"subjectAttributes": {"numericAttributes": {"age": 25}, "categoricalAttributes": {"country": "USA"}},
"actions": [],
"assignment": {"variation": "control", "action": null}
},
{
"subjectKey": "charles",
"subjectAttributes": {"numericAttributes": {"age": 25}, "categoricalAttributes": {"country": "USA"}},
"actions": [],
"assignment": {"variation": "default", "action": null}
}
]
}

0 comments on commit cfcdc5e

Please sign in to comment.