-
Notifications
You must be signed in to change notification settings - Fork 4
/
metadata_tags.py
65 lines (62 loc) · 4.43 KB
/
metadata_tags.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
from le_utils.constants.labels import levels
from le_utils.constants.labels import subjects
"""
University = Tertiary
High School = Upper Secondary
Middle School / Elementary 2 = Lower Secondary
Elementary School = Lower Primary, Upper Primary
"""
METADATA_BY_SLUG = {
'elementary school': {'grade_levels': [levels.LOWER_PRIMARY, levels.UPPER_PRIMARY], 'categories': []},
'basic education': {'grade_levels': [levels.LOWER_PRIMARY, levels.UPPER_PRIMARY], 'categories': []},
'primary school': {'grade_levels': [levels.LOWER_PRIMARY, levels.UPPER_PRIMARY], 'categories': []},
'primary school, second grade': {'grade_levels': [levels.LOWER_SECONDARY], 'categories': []},
'middle school': {'grade_levels': [levels.LOWER_SECONDARY], 'categories': []},
'lower secondary school': {'grade_levels': [levels.LOWER_SECONDARY], 'categories': []},
'high school': {'grade_levels': [levels.UPPER_SECONDARY], 'categories': []},
'secondary school': {'grade_levels': [levels.UPPER_SECONDARY], 'categories': []},
'upper secondary school': {'grade_levels': [levels.UPPER_SECONDARY], 'categories': []},
'university': {'grade_levels': [levels.TERTIARY], 'categories': []},
'college': {'grade_levels': [levels.TERTIARY], 'categories': []},
'mathconcepts': {'grade_levels': [], 'categories': [subjects.MATHEMATICS]},
'math concepts': {'grade_levels': [], 'categories': [subjects.MATHEMATICS]},
'mathematical concepts': {'grade_levels': [], 'categories': [subjects.MATHEMATICS]},
'mathematics': {'grade_levels': [], 'categories': [subjects.MATHEMATICS]},
'math apps': {'grade_levels': [], 'categories': [subjects.MATHEMATICS]},
'applied mathematics': {'grade_levels': [], 'categories': [subjects.MATHEMATICS]},
'mathapplications': {'grade_levels': [], 'categories': [subjects.MATHEMATICS]},
'mathematical applications': {'grade_levels': [], 'categories': [subjects.MATHEMATICS]},
'mathematics concepts': {'grade_levels': [], 'categories': [subjects.MATHEMATICS]},
'math applications': {'grade_levels': [], 'categories': [subjects.MATHEMATICS]},
'light & radiation': {'grade_levels': [], 'categories': [subjects.PHYSICS]},
'electricity, magnets & circuits': {'grade_levels': [], 'categories': [subjects.PHYSICS]},
'biology': {'grade_levels': [], 'categories': [subjects.BIOLOGY]},
'chemistry': {'grade_levels': [], 'categories': [subjects.CHEMISTRY]},
'chemical': {'grade_levels': [], 'categories': [subjects.CHEMISTRY]},
'earth-science': {'grade_levels': [], 'categories': [subjects.EARTH_SCIENCE]},
'earth science': {'grade_levels': [], 'categories': [subjects.EARTH_SCIENCE]},
'earth sciences': {'grade_levels': [], 'categories': [subjects.EARTH_SCIENCE]},
'math': {'grade_levels': [], 'categories': [subjects.MATHEMATICS]},
'general': {'grade_levels': [], 'categories': [subjects.CHEMISTRY]},
'physics': {'grade_levels': [], 'categories': [subjects.PHYSICS]},
'physical': {'grade_levels': [], 'categories': [subjects.PHYSICS]},
'motion': {'grade_levels': [], 'categories': [subjects.PHYSICS]},
'sound & waves': {'grade_levels': [], 'categories': [subjects.PHYSICS]},
'work-energy-and-power': {'grade_levels': [], 'categories': [subjects.PHYSICS]},
'work, energy & power': {'grade_levels': [], 'categories': [subjects.PHYSICS]},
'heat-and-thermodynamics': {'grade_levels': [], 'categories': [subjects.PHYSICS]},
'quantum-phenomena': {'grade_levels': [], 'categories': [subjects.PHYSICS]},
'heat & thermo': {'grade_levels': [], 'categories': [subjects.PHYSICS]},
'quantum phenomena': {'grade_levels': [], 'categories': [subjects.PHYSICS]},
'University': {'grade_levels': [levels.TERTIARY], 'categories': []}
}
METADATA_BY_CAT = {22: {'grade_levels': [levels.LOWER_PRIMARY, levels.UPPER_PRIMARY], 'categories': []},
23: {'grade_levels': [levels.LOWER_SECONDARY], 'categories': []},
24: {'grade_levels': [levels.UPPER_SECONDARY], 'categories': []},
25: {'grade_levels': [levels.TERTIARY], 'categories': []},
4: {'grade_levels': [], 'categories': [subjects.PHYSICS]},
12: {'grade_levels': [], 'categories': [subjects.BIOLOGY]},
13: {'grade_levels': [], 'categories': [subjects.CHEMISTRY]},
14: {'grade_levels': [], 'categories': [subjects.EARTH_SCIENCE]},
15: {'grade_levels': [], 'categories': [subjects.MATHEMATICS]}
}