Closed drewvolz closed 9 years ago
So I'm sure that you noticed that that set of courses fails to graduate...
I just dropped it into Cosmos, which I worked on some more today, and got this:
(To get it into Cosmos, I ran ./bin/evaluate example-students/computer-science-load-1.json --json | pbcopy
– pbcopy
is an OS X built-in command to copy stdin to the clipboard. Then I made a new file under cosmos/fixtures/area/
– say, compsci-load-1.js
. Then I typed export default
, and pasted the JSON. Cosmos then picked up the new file and rendered it!)
I had a math course listed as CS. But my proof writing course should have passed? I have satisfied MATH 282.
Additionally, does my CSCI 300 (mobile web graphics) not count towards the elective requirement (unless it is PDC)?
The math one is a bit weird… oh.
Because 282 is topics, it only counts if the course object (in JSON) has matching "year" and "semester" properties.
I'll have to think about why Mwg isn't counting.
Great. I'm glad we found these problems quickly
Yes indeed.
Oh. Figured out MWG.
Remember how you didn't have a year/semester on the Math course?
Well, there's not one on MWG, either.
Since we specified MWG by the year/semester selector, both year and semester must be present in order for it to match.
If you add {year: 2014, semester: 1}
to the CSCI 300 object, it should pass.
These are my courses for the CS major.