mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-20 09:09:35 +02:00
docs(telemetry): expected_rebuilds is no longer the compaction signal (#607 merge-time fix)
Two comments still described the abandoned expected_rebuilds rise rule; setPromptCache no longer reads that field for the compaction stamp. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
62227145dc
commit
887ee7fe64
2 files changed
+2
-2
No files matched your search
@@ -172,7 +172,7 @@ describe('parsePromptCache', () => {
|
||||
// Out-of-range or non-finite values are clamped or dropped, never stored as-is.
|
||||
expect(parsePromptCache({ prompt_cache: { warm: true, hit_ratio: 1.5 } })).toEqual({ warm: true, hitRatio: 1 });
|
||||
expect(parsePromptCache({ prompt_cache: { warm: true, hit_ratio: -0.2 } })).toEqual({ warm: true, hitRatio: 0 });
|
||||
// expected_rebuilds is rounded and floored at 0 (it indexes the compaction rise).
|
||||
// expected_rebuilds is rounded and floored at 0.
|
||||
expect(parsePromptCache({ prompt_cache: { warm: true, expected_rebuilds: 2.9 } })).toEqual({
|
||||
warm: true,
|
||||
expectedRebuilds: 3,
|
||||
|
||||
Reference in new issue
Block a user