hawkrives / gobbldygook-area-data

Major and concentration data for St. Olaf College (and Gobbldygook)
https://hawkrives.github.io/gobbldygook-area-data
1 stars 1 forks source link

History #127

Open hawkrives opened 5 years ago

hawkrives commented 5 years ago

Some global limits, some custom attributes, and … oh.

how can we allow the HIST 201 to count for both Europe & Russia and Major Seminar?

in the old auditor, courses-where wouldn't "use" a course, but they will in the new system.

hawkrives commented 5 years ago

algorithmic question addressed by the multicountable attribute option

attributes:
  multicountable: [
    [
      {attribute: history_era_premodern},
      {attribute: history_l2_seminar},
      {attribute: history_level_3},
      {attribute: history_region_europe},
      {attribute: history_region_nonwesternworld},
      {attribute: history_region_us},
    ],
  ]

  courses:
    ASIAN 399: [history_level_3]

aka "a single course may be counted by way of referencing it as where: {attribute: history_era_premodern}, where: {attribute: history_l2_seminar}, where: {attribute: history_level_3}, where: {attribute: history_region_europe}, where: {attribute: history_region_nonwesternworld}, and where: {attribute: history_region_us}".