Skip to content

Commit

Permalink
[PP-1544] Do not specify target age on interest level classifier for …
Browse files Browse the repository at this point in the history
…"UG" interest level (#1969)
  • Loading branch information
dbernstein authored Aug 6, 2024
1 parent 4ed5d12 commit b62183a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/palace/manager/core/classifier/age.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,6 @@ def target_age(cls, identifier, name):
return cls.range_tuple(5, 8)
if identifier in ("mg+", "mg"):
return cls.range_tuple(9, 13)
if identifier == "ug":
return cls.range_tuple(14, 17)
return None


Expand Down
2 changes: 1 addition & 1 deletion tests/manager/core/classifiers/test_age.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,4 +179,4 @@ def f(t):
assert (5, 8) == f("lg")
assert (9, 13) == f("mg")
assert (9, 13) == f("mg+")
assert (14, 17) == f("ug")
assert f("ug") is None

0 comments on commit b62183a

Please sign in to comment.