Add PSCC source (Power Systems Computation Conference)#14
Merged
Conversation
PSCC proceedings are served by a small papers-repository endpoint
(/repo/make_table.php?year=YYYY) that returns HTML <div class='paper'> blocks
with title, authors and a PDF link. New PSCCSource fetches a given edition by
year, parses those blocks, and caches the listing like the other sources.
Abstracts aren't published on the PSCC site (they live only in the PDFs), so
papers carry an empty abstract and are classified on their titles — the
classifier already handles a missing abstract. Registered in SOURCES +
make_source ("pscc"), with a biennial-year hint in the pipeline's no-results
message. Tests cover the registry wiring, block parsing (entities, nested
citation div, author splitting), dedup/untitled handling, and the year/URL
helpers. README, AGENTS and ARCHITECTURE document the source.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NSHHDVFvrPSbRj4bcnKwUq
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.
Summary
Adds PSCC (Power Systems Computation Conference) as a paper source, behind the existing pluggable interface. Select PSCC in the source picker and enter a year (e.g.
2024,2022— PSCC is biennial).How it works
PSCC's papers repository is served by a small endpoint,
/repo/make_table.php?authors=&year=YYYY&title=, that returns an HTML fragment of<div class='paper'>blocks.PSCCSource:repo/papers/2024/2024_965.pdf→pscc-2024_965),Title-based classification
Abstracts aren't published on the PSCC site — they live only inside the PDFs — so papers carry an empty abstract and are classified on their titles. The classifier already handles a missing abstract, so this works out of the box; it's just a bit less precise than sources with inline abstracts. (Extracting abstracts from the PDFs would need a PDF-text dependency and a download per paper — deliberately out of scope here.)
Testing
uv run ruff check .— cleanuv run pytest -q— 55 passed (newtests/test_pscc_source.py: registry wiring, block parsing with entities / nested citation div / author splitting, dedup + untitled handling, year/URL helpers)uv build— buildsDocs
README (intro, architecture diagram/table, Configuration), AGENTS, and
docs/ARCHITECTURE.mdupdated to include PSCC and note the title-based-classification caveat.🤖 Generated with Claude Code
https://claude.ai/code/session_01NSHHDVFvrPSbRj4bcnKwUq
Generated by Claude Code