Code Architecture Map#
This map ties research concepts to current repository files. Treat it as a navigation layer, not a replacement for tests or code review.
Research Concepts to Files#
Research concept |
Current files |
Status |
|---|---|---|
NFC core |
|
implemented experimental |
Neural Field Compiler config/model |
|
implemented experimental |
Latent neural field |
|
implemented experimental |
Causal field update |
|
implemented experimental |
Low-rank pair kernel |
|
implemented ablation primitive |
Observation operators |
|
implemented fMRI/EEG/behavior operators |
Synthetic field generator |
|
implemented, gate pending |
NFC falsification suite |
|
critical gate |
Architecture registry |
|
canonical model dispatch |
Old translator |
|
baseline/current model |
Pair-Operator |
|
historical ablation |
Local baselines |
|
implemented |
Prepared tasks |
|
trusted task layer |
Leakage audits |
|
trusted infrastructure |
Split manifests |
|
trusted infrastructure |
Evidence gates |
|
trusted if finalization is explicit |
Model cards/reports |
|
read-only reporting path |
CLI |
|
public command surface |
Runtime estimates/preflight |
|
cluster safety layer |
A100 handoff |
|
package after clean commit |
TurboVec layer |
|
optional/deferred |
fNIRS |
docs only |
theory/deferred |
Files Not to Mutate Casually#
src/neurotwin/data/split_manifest.pysrc/neurotwin/data/audit.pysrc/neurotwin/eval/audit.pysrc/neurotwin/reports/evidence_gate.pysrc/neurotwin/eval/paper_gate.pysrc/neurotwin/training/prepared_loop.pyscripts/package_runner_bundle.shscripts/package_a100_handoff_zip.shREADME_HANDOFF.md.in
These files define trust boundaries, packaging behavior, or long-running experiment contracts.
Claim Boundary Files#
README.mddocs/CLAIMS.mddocs/BASELINES.mddocs/ROADMAP.mddocs/research/neurotwin_project_state.mddocs/research/nfc_falsification_criteria.mddocs/research/neurotwin_master_research_state.md
Any change to these files must preserve the rule that synthetic and smoke results are plumbing checks unless evidence gates explicitly permit a claim.
Current Falsification Gate Files#
src/neurotwin/benchmarks/nfc_suite.pysrc/neurotwin/eval/command.pysrc/neurotwin/cli.pytests/benchmarks/test_nfc_suite.pytests/cli/test_expanded.pydocs/research/nfc_falsification_criteria.md
The gate must fail hard on shape mismatch, missing metrics, NaNs, target leakage, and non-pass status under --require-pass.
Files to Check Before A100 Handoff#
git status --shortsrc/neurotwin/benchmarks/nfc_suite.pysrc/neurotwin/eval/command.pyscripts/a100_krish_agent_autorun.sh.inREADME_HANDOFF.md.inscripts/package_runner_bundle.shscripts/package_a100_handoff_zip.shdocs/research/neurotwin_project_state.mddocs/research/nfc_falsification_criteria.md
The next A100 step is strict 1x NFC synthetic diagnostic only. Do not jump to Algonauts or 6x DDP before the synthetic gate passes.