Rename neural experiments to descriptive paths (drop N* codes)

configs/neural/{N0,N1,N2,N5}.yaml -> {bridge,collapse,grounding,architectures}.yaml,
results dirs likewise. Updated experiment/output.dir fields, comments/docstrings, and
docs; regenerated the four result manifests (now carrying the real git commit). No
functional path resolution referenced the codes (the Makefile globs configs/neural/*.yaml
and tests use inline configs), so nothing breaks. 92 tests green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Giorgio Gilestro 2026-07-04 21:21:56 +01:00
parent 840b6b00b3
commit aca7b394a3
21 changed files with 82 additions and 78 deletions

View file

@ -6,7 +6,7 @@ provenance helpers, and its output contract (``save_artifacts``). Only the per-r
the config key set differ: a neural run trains generative models rather than resampling a
frequency vector, and its config groups are ``synthetic``/``model``/``dynamics``/... .
CLI: python -m neural.experiment configs/neural/N0.yaml
CLI: python -m neural.experiment configs/neural/bridge.yaml
"""
from __future__ import annotations
@ -98,7 +98,7 @@ def run_and_save(config_path: str | Path) -> Path:
out_dir = Path(cfg.get("output", {}).get("dir", f"results/{cfg['experiment']}"))
kind = cfg.get("kind", "gen_lineage")
if kind == "recombination":
from .recombine import run_recombination # Stage C (N4); imported lazily
from .recombine import run_recombination # the `recombination` experiment; lazy import
df = run_recombination(cfg)
grid = None
elif kind == "gen_lineage":
@ -114,7 +114,7 @@ def run_and_save(config_path: str | Path) -> Path:
def main(argv: list[str] | None = None) -> None:
parser = argparse.ArgumentParser(description="Run a Layer-1.5 neural experiment from a YAML config.")
parser.add_argument("config", help="Path to configs/neural/NX.yaml")
parser.add_argument("config", help="Path to configs/neural/<name>.yaml")
args = parser.parse_args(argv)
out_dir = run_and_save(args.config)
print(f"wrote artifacts to {out_dir}/")