Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 5.62 KB

README.md

File metadata and controls

50 lines (34 loc) · 5.62 KB

Scientific entry points

Run from the repository root with the frozen prepared environment and the exact required source roots. The release gate takes a fresh output path:

FEP_OUTPUT_DIR=/approved/path/new-release-run PYTHONPATH=src \
  uv run --frozen --no-sync python -m scripts.verify release

It runs the offline lock check, Ruff lint and format and the locked basedpyright baseline (type checking) before calling the reproduction producer. The file selections for style and typing come from config/verification_paths.json. A successful release-gate.json binds the checkout HEAD and its Git tree, verified worktree and scientific-source digests, stage logs, reproduction receipt and PDF hashes. Dirty runs provide development evidence. Verify a clean committed candidate for publication. Numerical mode runs lock, quality and test/coverage checks on the active installed interpreter. The same entry point serves the manually dispatched GitHub workflows.

The lower-level producer remains available for scientific development.

PYTHONPATH=src uv run --frozen --no-sync python -m scripts.reproduce

This runs the test/coverage gate, admitted native GNN execution and parity, the numerical study families, a separate all-model audit and atlas, fresh selected Lean compilation with negative controls, registry injection and actual template rendering. It retains figures in PNG/SVG/PDF, arrays and summary sidecars, native compiler/renderer logs and the final source-bound receipt. The figure and replicate counts follow the configurations and receipt rather than a fixed list in this guide.

Configure GNN_ROOT, FEP_FORMAL_ROOT, COGNITIVE_ROOT, ACTIVE_INFERENCE_ONTOLOGY_ROOT, FEP_TEMPLATE_ROOT, FEP_FORMAL_LEAN_BIN and the approved FEP_OUTPUT_DIR as described in usage guide. Missing or mismatched required capabilities fail explicitly. Publication is a separate operation.

After reproduction, select the same output directory and run both read-only checks:

PYTHONPATH=src uv run --frozen --no-sync python -m scripts.check_receipt
PYTHONPATH=src uv run --frozen --no-sync python -m scripts.check_manuscript

check_receipt checks successful status, current source identity, production-family counters, required artifacts and output hashes. check_manuscript reconstructs source order, domain headings, citations, registry values and token uses. The latter also accepts an output-directory argument and --root ROOT. check_receipt also reruns both synaptic studies through the pinned native runner at GNN_ROOT and compares every retained synaptic array with the rerun (see the synaptic study); it needs about one minute for that rerun and raises when the runner is unavailable. check_manuscript supplies no numerical run.

Focused producers

Entry point Selection and output
scripts.run_biological_settings --config, --ensembles-config, --output-dir; numerical biological references and finite ensembles.
scripts.run_ecosystem FEP_ECOSYSTEM_CONFIG, FEP_ECOSYSTEM_OUTPUT_DIR; admitted GNN ecosystem simulation and exact benchmark.
scripts.run_rg_memory --output-dir (fresh); declared generator, full forcing/memory, survivor and filtering controls. A failed stage leaves its partial products and a failure.json receipt (stage, error type, message, local source hashes) and exits with status 1.
scripts.audit_gnn_models FEP_GNN_AUDIT_OUTPUT_DIR; all authored models in a separate native epoch.
scripts.build_information_atlas FEP_ATLAS_OUTPUT_DIR; all four AII roots required; offline gallery, arrays and separate source/operation evidence.
scripts.run_synthesis_audit Four source-root arguments/environment bindings and --output-dir; finite information controls and source concordances.
scripts/run_lean_build.py Formal root and --output-dir; FEP_FORMAL_LEAN_BIN and compatible external dependencies required (the deprecated FEP_LEAN_BIN is read only when the canonical variable is unset).
scripts.install_ci_native --root and --receipt (both required) and optional --profile; Linux x86_64 renderer bootstrap for hosted validation (native CI).

Use fresh destinations for focused producers. The atlas and synthesis audit verify the formal source pin but do not invoke Lean. Their success does not certify the downstream theorem inventory. Full reproduction invokes the independent native proof gate.

Exploratory demonstrators

The remaining scripts (classical_evolutionary_algorithms.py, evolutionary_simulation.py, kin_selection_demonstrator.py, lande_arnold_demonstrator.py, price_equation_demonstrator.py, visualization_demonstrator.py, generate_research_figures.py, generate_all_manuscript_figures.py, generate_lean_report.py) are thin orchestrators over the exploratory compatibility packages and write to the locations that paths.py provides. They are not part of the release gate or the source-bound manuscript path; the assessment states their interpretation limits.

Change configuration rather than writing numerical constants into manuscript prose. Edit notation.py for registered symbols/equations and references.json for qualified citations. examples provides focused payloads and their scientific limits. Commands outside this maintained path are not alternative publication or cleanup interfaces.