Feat/program study area scrape#15
Merged
Merged
Conversation
Crawl the M.Sc. CS / B.Sc. Informatik / M.Sc. ML studiesOffered branches alongside the VVZ "Gesamtverzeichnis" branch so courses cross-listed from other faculties (KOG/GTCNEURO/MEDZ/BIOINF) are enumerated. Courses are deduplicated by unit_id and detail pages are fetched once via the new ScrapeOptions.skip_unit_ids; --no-programs restores VVZ-only behaviour. Alias the codes that differ from study_areas.code in the D1 import so the new courses link to the right study area: M.Sc. ML MACH-* -> ML-* and B.Sc. Wahlpflicht INFM#### -> PRAK/THEO/TECH/INFO. Add tqdm progress bars (outer "semesters", inner per-branch "details"); log lines go through tqdm.write so they don't corrupt the bars and --quiet disables them. Add data_collection/CLAUDE.md and update QUICKSTART. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Fix the per-branch `partial` flag to also reflect the --max-expansions crawl limit (it previously tracked only the runtime limit), so a branch that stops early is not silently recorded complete and skipped by --continue. - Program-scope the study-area alias join (JOIN study_programs) so the generic B.Sc. codes PRAK/THEO/TECH/INFO cannot mislink a course to another program that happens to reuse the same bare code. - Close both tqdm bars via context managers so an exception mid-run no longer leaks a bar / corrupts the terminal. - Fix progress-label example in the ScrapeOptions docstring. - Correct the module name in QUICKSTART.md / SETUP.md (alma.cli, not the non-existent alma_scraper.cli). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Deploying studyplaner with
|
| Latest commit: |
6133ead
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://a44565ce.studyplaner.pages.dev |
| Branch Preview URL: | https://feat-program-study-area-scra.studyplaner.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.