Skip to content

Commit cfcdc5e

Browse files
authored
adjust and expand no actions use case (#46)
1 parent 7a9c238 commit cfcdc5e

File tree

1 file changed

+23
-12
lines changed

1 file changed

+23
-12
lines changed
Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
11
{
2-
"flag": "banner_bandit_flag",
3-
"defaultValue": "default",
4-
"subjects": [
5-
{
6-
"subjectKey": "alice",
7-
"subjectAttributes": {"numericAttributes": {"age": 25}, "categoricalAttributes": {"country": "USA"}},
8-
"actions": [],
9-
"assignment": {"variation": "default", "action": null}
10-
}
11-
]
12-
}
13-
2+
"flag": "banner_bandit_flag",
3+
"defaultValue": "default",
4+
"subjects": [
5+
{
6+
"subjectKey": "alice",
7+
"subjectAttributes": {"numericAttributes": {"age": 25}, "categoricalAttributes": {"country": "USA"}},
8+
"actions": [],
9+
"assignment": {"variation": "banner_bandit", "action": null}
10+
},
11+
{
12+
"subjectKey": "ben",
13+
"subjectAttributes": {"numericAttributes": {"age": 25}, "categoricalAttributes": {"country": "USA"}},
14+
"actions": [],
15+
"assignment": {"variation": "control", "action": null}
16+
},
17+
{
18+
"subjectKey": "charles",
19+
"subjectAttributes": {"numericAttributes": {"age": 25}, "categoricalAttributes": {"country": "USA"}},
20+
"actions": [],
21+
"assignment": {"variation": "default", "action": null}
22+
}
23+
]
24+
}

0 commit comments

Comments
 (0)