Skip to content

Add PSCC source (Power Systems Computation Conference)#14

Merged
picaultj merged 1 commit into
mainfrom
claude/paper-browser-llm-classify-20e9rk
Jul 10, 2026
Merged

Add PSCC source (Power Systems Computation Conference)#14
picaultj merged 1 commit into
mainfrom
claude/paper-browser-llm-classify-20e9rk

Conversation

@picaultj

Copy link
Copy Markdown
Owner

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:

  • fetches a given edition by year (or a full listing URL),
  • parses each block for title, authors (comma-separated) and the PDF link — the paper id is taken from the PDF path (e.g. repo/papers/2024/2024_965.pdfpscc-2024_965),
  • caches the listing on disk like the other sources.

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 . — clean
  • uv run pytest -q55 passed (new tests/test_pscc_source.py: registry wiring, block parsing with entities / nested citation div / author splitting, dedup + untitled handling, year/URL helpers)
  • uv build — builds
  • Live against the real endpoint: fetched 220 real PSCC 2024 papers with correct ids / authors / absolute PDF URLs; instant cache hit on re-run.
  • Boot smoke test — HTTP 200, the PSCC option is served in the UI.

Docs

README (intro, architecture diagram/table, Configuration), AGENTS, and docs/ARCHITECTURE.md updated to include PSCC and note the title-based-classification caveat.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NSHHDVFvrPSbRj4bcnKwUq


Generated by Claude Code

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
@picaultj picaultj merged commit 7bdbeed into main Jul 10, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants