How herbertkokholm/attest works
attest is a dependency-light kernel for LLM-assisted systematic-review screening and self-validation, not a complete review-management product. A caller supplies records; the CLI or library validates them, runs vendor raters, aggregates retained ordinal votes, routes human work through separate planes, and reports statistically valid recall and agreement with provenance. The graph preserves the documented confidence, tau, prefilter, ablation, and drift-monitoring capabilities. Some subsystem links rely on SOURCE INDEX references or README descriptions because their source was not excerpted.
Main entry points: cli.py CLI workflows · base.py Vendor raters · votes.py Vote vectors · store.py JSON run store
Components 23
Inputs and controls
- Record contract
src/attest/contracts/input.py - Prefilter framework
src/attest/prefilter/framework.py - Ensemble config
src/attest/provenance/config.py
Screening ensemble
- Vendor raters
src/attest/vendors/base.py - Batch execution
src/attest/vendors/batch.py - Vendor providers
src/attest/vendors/providers - Vote vectors
src/attest/ensemble/votes.py - Decision aggregation
src/attest/ensemble/aggregate.py - Tau analysis
src/attest/ensemble/tau.py - Vote confidence
src/attest/ensemble/confidence.py
Human review planes
- Disagreement adjudication
src/attest/planes/adjudication.py - Active learning
src/attest/planes/active_learning.py - Recall audit
src/attest/planes/recall_audit.py - Inclusion audit
src/attest/planes/inclusion_audit.py
Validation and provenance
- Recall statistics
src/attest/stats/recall.py - Agreement statistics
src/attest/stats/agreement.py - Validation contract
src/attest/contracts/validation_record.py - Run provenance
src/attest/provenance - Drift sentinel
src/attest/provenance/sentinel.py - Ablation analysis
src/attest/ablation/xsweep.py
Runtime interface
- CLI workflows
src/attest/cli.py - JSON run store
src/attest/io/store.py
Other components
- Product shell
Connections 31
- Product shell → CLI workflows: invokes
- CLI workflows → Record contract: validates records
src/attest/cli.py - CLI workflows → Ensemble config: loads config
src/attest/cli.py - CLI workflows → Prefilter framework: runs prefilter
src/attest/cli.py - CLI workflows → Vendor raters: runs ensemble
src/attest/cli.py - CLI workflows → Batch execution: submits batches
src/attest/cli.py - CLI workflows → Decision aggregation: aggregates votes
src/attest/cli.py - CLI workflows → Tau analysis: validates tau
src/attest/cli.py - CLI workflows → Vote confidence: uses confidence
src/attest/cli.py - CLI workflows → Disagreement adjudication: routes review
src/attest/cli.py - CLI workflows → Active learning: selects review
src/attest/cli.py - CLI workflows → Recall audit: draws audit
src/attest/cli.py - CLI workflows → Inclusion audit: draws audit
src/attest/cli.py - CLI workflows → JSON run store: persists run
src/attest/cli.py - CLI workflows → Validation contract: builds report
src/attest/cli.py - CLI workflows → Run provenance: tracks epochs
src/attest/cli.py - CLI workflows → Drift sentinel: checks drift
src/attest/cli.py - CLI workflows → Ablation analysis: runs ablation
src/attest/cli.py - Vendor raters → Vote vectors: builds vectors
src/attest/vendors/base.py - Batch execution → Vendor raters: shares rater protocol
src/attest/vendors/batch.py - Vendor providers → Vendor raters: implements raters
src/attest/vendors/registry.py - Decision aggregation → Vote vectors: reads vectors
src/attest/ensemble/aggregate.py - Vote confidence → Vote vectors: scores vote metadata
src/attest/ensemble/confidence.py - Tau analysis → Decision aggregation: analyzes threshold
src/attest/ensemble/tau.py - Active learning → Vote confidence: uses confidence
src/attest/planes/active_learning.py - Recall audit → Recall statistics: supplies sample counts
src/attest/planes/recall_audit.py - Inclusion audit → Recall statistics: estimates audited TP
src/attest/planes/inclusion_audit.py - Agreement statistics → Vote vectors: analyzes agreement
src/attest/stats/agreement.py - JSON run store → Record contract: reads normalized input
src/attest/io/store.py - JSON run store → Validation contract: assembles report
src/attest/io/store.py - Drift sentinel → Vendor raters: evaluates raters
src/attest/provenance/sentinel.py