Skip to content

Commit

Permalink
Fix up the zip code as a categorical attribute test (#42)
Browse files Browse the repository at this point in the history
* use values that require correct bucketing

* change static typed file too
  • Loading branch information
aarsilv authored Jul 2, 2024
1 parent 93e05ab commit f19b04a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ufc/bandit-tests/test-case-banner-bandit.dynamic-typing.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@
"actions": [
{
"actionKey": "nike",
"numericAttributes": {"brand_affinity": -1.7, "mistake": true},
"numericAttributes": {"brand_affinity": -15, "mistake": true},
"categoricalAttributes": {"loyalty_tier": "silver", "zip": 81427}
},
{
"actionKey": "adidas",
"numericAttributes": {"brand_affinity": 1.0},
"numericAttributes": {"brand_affinity": 0.0},
"categoricalAttributes": {"loyalty_tier": "bronze"}
},
{
Expand Down
4 changes: 2 additions & 2 deletions ufc/bandit-tests/test-case-banner-bandit.json
Original file line number Diff line number Diff line change
Expand Up @@ -246,12 +246,12 @@
"actions": [
{
"actionKey": "nike",
"numericAttributes": {"brand_affinity": -1.7},
"numericAttributes": {"brand_affinity": -15},
"categoricalAttributes": {"loyalty_tier": "silver", "zip": "81427"}
},
{
"actionKey": "adidas",
"numericAttributes": {"brand_affinity": 1.0},
"numericAttributes": {"brand_affinity": 0.0},
"categoricalAttributes": {"loyalty_tier": "bronze"}
},
{
Expand Down

0 comments on commit f19b04a

Please sign in to comment.