generated from coulomb/repo-seed
session-memory: Phase 4 Measure — baseline, effectiveness, trend (WP-0009)
Closes the loop. metrics.py: fleet metrics (infra-overhead share, error rate, schema-thrash, token percentiles, success) + persisted baseline trend. effect.py: before/after per-pattern effectiveness with an improved verdict per metric. measure entrypoint with trend + --since effectiveness + JSON. Recorded pre-fix baseline: 27 sessions, overhead median 11.7%, error rate 0.96, schema-thrash 8. 13 new tests; suite 139/139. Capture->Detect->Curate->Distribute->Measure complete. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
9
session_memory/measure/__init__.py
Normal file
9
session_memory/measure/__init__.py
Normal file
@@ -0,0 +1,9 @@
|
||||
"""Measure phase (PRD §6.5) — the loop-closer.
|
||||
|
||||
metrics.py fleet metrics + persisted baseline snapshots (T01)
|
||||
effect.py before/after per-pattern effectiveness (T02)
|
||||
__main__.py python -m session_memory.measure (T03)
|
||||
|
||||
Computation over existing digests (reusing WP-0005 tool buckets + WP-0006 error
|
||||
mining); no new capture.
|
||||
"""
|
||||
Reference in New Issue
Block a user