Spaces:
Running on Zero
Running on Zero
Download app/core/seed_courses.py from cipher-attacks/Dbu-central-bot: direct link, hf CLI and curl.
- Browser
- Download file 2.19 kB
-
https://huggingface.co/spaces/cipher-attacks/Dbu-central-bot/resolve/main/app/core/seed_courses.py
- Command line
-
hf download hf://spaces/cipher-attacks/Dbu-central-bot/app/core/seed_courses.py
-
curl -L -o seed_courses.py https://huggingface.co/spaces/cipher-attacks/Dbu-central-bot/resolve/main/app/core/seed_courses.py
2.19 kB
| """Year-1 (freshman) course catalog used by /seedcourses. | |
| Sources (checked 14 Oct 2026): | |
| * Courses WITH a code: official DBU course catalog (dbu.edu.et, College of Engineering, Year I). | |
| * General Biology / General Chemistry: national natural-science freshman list (Jimma / Debark). | |
| * Social-science-only courses: national common list (University of Gondar). No DBU source found. | |
| * Courses that natural AND social students both take are stored ONCE (stream "all"). | |
| A file for "English" therefore never needs to be copied into two courses. | |
| Tuple: (stream natural|social|all, year, semester, code or None, name) | |
| """ | |
| FRESHMAN_COURSES: list[tuple[str, int | None, int | None, str | None, str]] = [ | |
| # ---- semester I ---- | |
| ("all", 1, 1, "FLEn1001", "Communicative English Language Skills I"), | |
| ("natural", 1, 1, "Math1003", "Mathematics for Natural Sciences"), | |
| ("all", 1, 1, "LoCT1005", "Critical Thinking"), | |
| ("all", 1, 1, "Psys1007", "General Psychology"), | |
| ("natural", 1, 1, "Phys1009", "General Physics"), | |
| ("all", 1, 1, "SpSc1011", "Physical Fitness"), | |
| ("all", 1, 1, "GeES1013", "Geography of Ethiopia and the Horn"), | |
| ("social", 1, 1, None, "Introduction to Economics"), | |
| ("social", 1, 1, None, "Mathematics for Social Sciences"), | |
| # ---- semester II ---- | |
| ("all", 1, 2, "FLEn1002", "Communicative English Language Skills II"), | |
| ("natural", 1, 2, "Math1004", "Applied Mathematics I"), | |
| ("all", 1, 2, "Anth1006", "Social Anthropology"), | |
| ("all", 1, 2, "MGMT1008", "Entrepreneurship"), | |
| ("all", 1, 2, "EmTe1010", "Introduction to Emerging Technologies"), | |
| ("natural", 1, 2, "ECEg1012", "Computer Programming"), | |
| ("all", 1, 2, "MCiE1014", "Moral and Civic Education"), | |
| ("all", 1, 2, "Hist1016", "History of Ethiopia and the Horn"), | |
| ("natural", 1, 2, None, "General Biology"), | |
| ("natural", 1, 2, None, "General Chemistry"), | |
| ("social", 1, 2, None, "Global Affairs"), | |
| ("social", 1, 2, None, "Introduction to Law and the Ethiopian Legal System"), | |
| # ---- not a course: cut points, aptitude/reasoning practice, calendars, guides ---- | |
| ("all", None, None, None, "Freshman Guide and General Resources"), | |
| ] | |