최초 커밋
This commit is contained in:
1 parent
a28d331e3e
commit
618ba02cb9
124 files changed
+49297
-2
No files matched your search
@@ -0,0 +1,22 @@
|
||||
import sys
|
||||
import os
|
||||
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
|
||||
from generate_projects_json import parse_missions_md
|
||||
|
||||
projects = parse_missions_md('data/missions02.md')
|
||||
|
||||
categories = set()
|
||||
learning_types = set()
|
||||
difficulties = set()
|
||||
|
||||
for no, p in sorted(projects.items()):
|
||||
categories.add(f"{p['category']}/{p['sub_category']}")
|
||||
learning_types.add(p['learning_type'])
|
||||
difficulties.add(p['p_difficulty'])
|
||||
if len(p['missions']) != 10:
|
||||
print(f"WARNING: Project {no} ({p['p_id']}) has {len(p['missions'])} missions instead of 10")
|
||||
|
||||
print(f"Total projects: {len(projects)}")
|
||||
print(f"All 60 projects have 10 missions: {all(len(p['missions']) == 10 for p in projects.values())}")
|
||||
print("Learning types:", sorted(list(learning_types)))
|
||||
print("Difficulties:", sorted(list(difficulties)))
|
||||
Reference in new issue
Block a user