How yuitokyouni/sieve works
Sieve is a local simulation-validation workbench. Its principal workflow normalizes simulation runs, computes exploratory metrics and figures, then emits an offline report and integrity-sealed evidence bundle; separate confirmatory testing and model comparison workflows use reference suites and inference. The graph preserves those documented branches. Several links are supported by the SOURCE INDEX rather than full excerpts, so unsampled implementation details are not expanded.
Main entry points: app.py CLI commands · inspect.py Exploratory inspection · runner.py Confirmatory testing · bundle.py Bundle sealing and verification
Components 21
Inputs and schemas
- Python API
src/sieve/api.py - CSV adapter
src/sieve/adapters/csv.py - Dataset adapter
src/sieve/adapters/dataset.py - Standardized runs
src/sieve/core/dataset.py - Evidence schemas
src/sieve/core/models.py
Exploratory inspection
- Exploratory inspection
src/sieve/evaluation/inspect.py - Stylized-fact metrics
src/sieve/metrics/registry.py - Diagnostic figures
src/sieve/figures/plots.py - Figure registry
src/sieve/figures/registry.py - SVG rendering
src/sieve/figures/svg.py
Confirmatory analysis
- Versioned suites
src/sieve/suites/loader.py - Confirmatory testing
src/sieve/evaluation/runner.py - Statistical inference
src/sieve/inference/permutation.py - Multiplicity adjustment
src/sieve/inference/multiplicity.py - Model comparison
src/sieve/evaluation/compare.py
Evidence and reporting
- Bundle sealing and verification
src/sieve/provenance/bundle.py - Offline HTML report
src/sieve/reporting/html.py - Reports and bundles
Other components
- Researcher
- Simulation outputs
- CLI commands
src/sieve/cli/app.py
Connections 35
- Researcher → CLI commands: runs commands
src/sieve/cli/app.py - Simulation outputs → CLI commands: supplies data
README.md - CLI commands → Dataset adapter: loads inspect data
src/sieve/cli/app.py - CLI commands → CSV adapter: loads test data
src/sieve/cli/app.py - Python API → Dataset adapter: builds datasets
src/sieve/api.py - Dataset adapter → Standardized runs: assembles runs
src/sieve/adapters/dataset.py - CSV adapter → Dataset adapter: validates manifests
src/sieve/adapters/csv.py - CLI commands → Exploratory inspection: dispatches inspect
src/sieve/cli/app.py - Exploratory inspection → Dataset adapter: loads input
src/sieve/evaluation/inspect.py - Exploratory inspection → Versioned suites: loads suite
src/sieve/evaluation/inspect.py - Exploratory inspection → Stylized-fact metrics: computes diagnostics
src/sieve/evaluation/inspect.py - Stylized-fact metrics → Standardized runs: evaluates run values
src/sieve/metrics/registry.py - Exploratory inspection → Figure registry: requests figures
src/sieve/evaluation/inspect.py - Figure registry → Diagnostic figures: dispatches plots
src/sieve/figures/registry.py - Diagnostic figures → SVG rendering: renders SVG
src/sieve/figures/plots.py - Diagnostic figures → Stylized-fact metrics: computes plot statistics
src/sieve/figures/plots.py - CLI commands → Confirmatory testing: dispatches test
src/sieve/cli/app.py - Confirmatory testing → Versioned suites: loads reference suite
src/sieve/evaluation/runner.py - Confirmatory testing → Stylized-fact metrics: resolves metrics
src/sieve/evaluation/runner.py - Confirmatory testing → Statistical inference: runs tests
src/sieve/evaluation/runner.py - Confirmatory testing → Multiplicity adjustment: adjusts results
src/sieve/evaluation/runner.py - CLI commands → Model comparison: dispatches compare
src/sieve/cli/app.py - Model comparison → Versioned suites: uses reference gate
README.md - Model comparison → Statistical inference: compares distributions
src/sieve/evaluation/compare.py - Model comparison → Multiplicity adjustment: adjusts comparisons
src/sieve/evaluation/compare.py - Exploratory inspection → Bundle sealing and verification: seals evidence
src/sieve/evaluation/inspect.py - Confirmatory testing → Bundle sealing and verification: writes evidence
src/sieve/evaluation/runner.py - Bundle sealing and verification → Evidence schemas: serializes bundles
src/sieve/provenance/bundle.py - Exploratory inspection → Offline HTML report: renders report
src/sieve/evaluation/inspect.py - Confirmatory testing → Offline HTML report: renders report
src/sieve/evaluation/runner.py - Model comparison → Offline HTML report: renders report
src/sieve/evaluation/compare.py - Offline HTML report → Bundle sealing and verification: checks sealed artifacts
src/sieve/reporting/html.py - CLI commands → Bundle sealing and verification: verifies bundles
src/sieve/cli/app.py - Bundle sealing and verification → Reports and bundles: writes sealed outputs
src/sieve/provenance/bundle.py - Offline HTML report → Reports and bundles: writes HTML
src/sieve/reporting/html.py