diff options
author | suhas <hi@suhas.one> | 2023-11-16 23:00:29 -0600 |
---|---|---|
committer | suhas <hi@suhas.one> | 2023-11-16 23:00:29 -0600 |
commit | 2e38b5aefb08abdd34d5244d0998274e5f35ff3e (patch) | |
tree | a221637a7eaa9195c8ae5322d8c73c1ad70e90a2 /common | |
parent | e0ede3dddabf27cde5a1db35e499885ece51f542 (diff) | |
download | qbb-2e38b5aefb08abdd34d5244d0998274e5f35ff3e.tar.gz |
add stats tracking
Diffstat (limited to 'common')
-rw-r--r-- | common/__pycache__/types.cpython-311.pyc | bin | 403 -> 641 bytes | |||
-rw-r--r-- | common/types.py | 15 |
2 files changed, 15 insertions, 0 deletions
diff --git a/common/__pycache__/types.cpython-311.pyc b/common/__pycache__/types.cpython-311.pyc index 3d7bbd1..131488c 100644 --- a/common/__pycache__/types.cpython-311.pyc +++ b/common/__pycache__/types.cpython-311.pyc Binary files differdiff --git a/common/types.py b/common/types.py index e9716b1..b28b457 100644 --- a/common/types.py +++ b/common/types.py @@ -14,3 +14,18 @@ question_category = Literal[ "Other Academic", "Trash", ] + +category_field_translations = { + 'Literature': 'literature', + 'History': 'history', + 'Science': 'science', + 'Fine Arts': 'fine_arts', + 'Religion': 'religion', + 'Mythology': 'mythology', + 'Philosophy': 'philosophy', + 'Social Science': 'social_science', + 'Current Events': 'current_events', + 'Geography': 'geography', + 'Other Academic': 'other_academic', + 'Trash': 'trash' +} |