Files
digital-drosophila/models/male-cns-lif/terminal-scope-diagnostic-v1/README.md
T
2026-09-30 00:27:22 +08:00

40 lines
2.0 KiB
Markdown

# Terminal-scope diagnostic v1 (Phase 4AB)
Independent engineering counterfactual harness, **not a formal brain model**.
Read `PROTOCOL.md` before interpreting any result. Frozen input datasets and
scientific sources are mandatory; no data are fetched by this stage.
## Sequence
Use the existing scientific environment with `PYTHONDONTWRITEBYTECODE=1`,
`OMP_NUM_THREADS=4`, `OPENBLAS_NUM_THREADS=4`, `MKL_NUM_THREADS=4`:
1. `python -B -m unittest -v test_scope`
2. `python -B diagnostic.py prepare` (new empty experiment directory only)
3. `python -B validate.py`
4. `python -B launch.py` (explicit frozen module paths, single 4090)
5. `python -B environment.py`
6. `python -B analyze.py`
7. `python -B diagnostic.py finalize`
8. `python -B publish.py` (new small Git evidence copies only)
The completed output is sealed. **Do not rerun these commands into its directory.**
Unit tests may be rerun read-only. An independent full replication requires a new
isolated experiment/model directory, with its paths changed consistently in the
copied configuration/entry points before preregistration. Retain this original
source and every old output. The current protocol also includes four in-run exact
repeats, six historical exact comparisons and five archived reference checks.
`launch.py` fixes the initial import-path failure without editing the five
preregistered source/config files. `analyze.py` is a post-hoc summary only and
does not launch any additional experiment or fit any parameter. Additional helper
hashes and imported code hashes are captured in the final manifest/protocol.
The existing environment is reused, never upgraded. ComfyUI queues are checked
between trials; a busy service causes deferral, not eviction. Performance includes
observation overhead. The historical APL graded input/output remains unchanged.
All-fast-PN-output blockade is not somatic silencing and not a complete knockout:
PN spikes still contribute to the frozen graded APL input. `primary_post` is a
postsynaptic ROI label, not a reconstructed bouton identity. Unknown stays unknown.