How mardemes/segress-score works
SEGRESS-Score evaluates the quality of reporting in systematic software-engineering reviews. Its main workflow accepts a PDF, extracts and classifies it, waits for confirmation when needed, checks applicable SEGRESS items using rules and optionally an LLM, then returns a scored report that a reviewer can adjust. The README also documents a standalone browser version. Edges reflect the README and shown source; unsampled frontend details are not inferred beyond documented capabilities.
Main entry points: pipeline.py Pipeline orchestration · main.py Evaluation API · extract.py PDF extraction · llm.py LLM checks
Components 13
User interfaces
- Web interface
frontend/index.html - Browser evaluator
web/segress-score.html
Evaluation workflow
- Evaluation API
backend/app/main.py - Pipeline orchestration
backend/app/pipeline.py - PDF extraction
backend/app/extract.py - Study classification
backend/app/classify.py
Assessment logic
- SEGRESS checklist
backend/app/checklist.py - Rule checks
backend/app/rules.py - LLM checks
backend/app/llm.py - Scoring and rating
backend/app/scoring.py
Evaluation storage
- SQLite evaluations
backend/app/db.py
Other components
- Reviewer
- Anthropic API
Connections 17
- Reviewer → Web interface: uploads PDF
README.md - Web interface → Evaluation API: uses evaluation API
README.md - Reviewer → Evaluation API: confirms or adjusts
README.md - Reviewer → Browser evaluator: evaluates in browser
README.md - Evaluation API → Pipeline orchestration: analyzes and checks
backend/app/main.py - Evaluation API → SQLite evaluations: reads and updates
backend/app/main.py - Evaluation API → Scoring and rating: scores results
backend/app/main.py - Pipeline orchestration → PDF extraction: extracts PDF
backend/app/pipeline.py - Pipeline orchestration → Study classification: classifies study
backend/app/pipeline.py - Pipeline orchestration → LLM checks: classifies and checks
backend/app/pipeline.py - Pipeline orchestration → Rule checks: runs rule checks
backend/app/pipeline.py - Pipeline orchestration → SEGRESS checklist: loads applicable items
backend/app/pipeline.py - Study classification → PDF extraction: uses extracted document
backend/app/classify.py - Rule checks → PDF extraction: checks document
backend/app/rules.py - LLM checks → PDF extraction: verifies citations
backend/app/llm.py - LLM checks → Anthropic API: requests judgments
backend/app/llm.py - Scoring and rating → SEGRESS checklist: loads items and applicability
backend/app/scoring.py