Commit 3eab1ed
committed
fix(verif): wire E2 N-scan ablation env vars into production code path
The E2 verification campaign defines two conditions (cortex_full,
cortex_flat) by setting CORTEX_DECAY_DISABLED=1, CORTEX_HEAT_CONSTANT=0.5,
CORTEX_CONSOLIDATION_DISABLED=1. n_scan_runner.py:_apply_condition sets
them, but no production code was reading them — the first E2 run came
back with cortex_full and cortex_flat metrics IDENTICAL at N=1k and
N=10k, making E2 a placebo run.
Fix:
- mcp_server/core/pg_recall.py compute_pg_weights() honours
CORTEX_DECAY_DISABLED=1 OR CORTEX_HEAT_CONSTANT (any value): heat
weight forced to 0.0 in WRRF fusion. Heat at constant value cannot
discriminate by ranking; equivalent to flat-importance baseline for
retrieval purposes.
- mcp_server/handlers/consolidation/cls.py run_cls_cycle() returns the
empty-stats dict immediately when CORTEX_CONSOLIDATION_DISABLED=1,
skipping episodic-to-semantic abstraction.
Smoke: baseline heat weight = 0.3, both env vars set → heat = 0.0.
Source: tasks/verification-protocol.md E2; benchmarks/lib/n_scan_runner.py.1 parent 3a0d6f8 commit 3eab1ed
2 files changed
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
134 | 146 | | |
| 147 | + | |
| 148 | + | |
135 | 149 | | |
136 | 150 | | |
137 | 151 | | |
| |||
146 | 160 | | |
147 | 161 | | |
148 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
149 | 167 | | |
150 | 168 | | |
151 | 169 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
55 | 67 | | |
56 | 68 | | |
57 | 69 | | |
| |||
0 commit comments