pub fn parse_curriculum_csv<P: AsRef<Path>>(
path: P,
) -> Result<School, Box<dyn Error>>Expand description
Parse a curriculum CSV file and return a School object with all courses and degrees
The parsing happens in three passes:
- Load all courses and build ID-to-key mappings
- Determine storage keys (handling duplicate natural keys)
- Add prerequisites and corequisites using resolved keys
§Arguments
path- Path to the CSV file
§Returns
A School object populated with courses and degrees from the file
§Errors
Returns an error if file cannot be read or parsed