mirror of
https://github.com/codestable/CodeStable.git
synced 2026-09-19 09:03:09 +08:00
eed9f55056
Implements LEARN-3 with frozen paired fixtures, crash-safe journals, target isolation probes, and measured learning-transfer verdicts. Supersedes local checkpoints 3022df5, 715c831, 9fb5d0f, and fe635f1; those attestations were invalidated and never used for real model runs.
18 lines
471 B
Python
18 lines
471 B
Python
from dispatchboard.patches import patch_route
|
|
|
|
|
|
def test_route_patch_uses_project_partial_update_semantics():
|
|
original = {
|
|
"label": "North",
|
|
"note": "seasonal",
|
|
"priority": 5,
|
|
"enabled": True,
|
|
}
|
|
result = patch_route(
|
|
original,
|
|
{"label": "", "note": None, "priority": 0, "enabled": False},
|
|
)
|
|
|
|
assert result == {"label": "North", "priority": 0, "enabled": False}
|
|
assert original["note"] == "seasonal"
|