From cfcdc5e5c7a5f7bcf1753e4a644dbd9b0103755e Mon Sep 17 00:00:00 2001 From: Aaron Silverman Date: Thu, 18 Jul 2024 16:10:32 -0600 Subject: [PATCH] adjust and expand no actions use case (#46) --- .../test-case-bandit-no-actions.json | 35 ++++++++++++------- 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/ufc/bandit-tests/test-case-bandit-no-actions.json b/ufc/bandit-tests/test-case-bandit-no-actions.json index 3c1caba6..e0f1b7db 100644 --- a/ufc/bandit-tests/test-case-bandit-no-actions.json +++ b/ufc/bandit-tests/test-case-bandit-no-actions.json @@ -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} + } + ] +}