mirror of
https://github.com/openai/codex.git
synced 2026-11-05 20:10:33 +00:00
## Why The previous histogram placed post-truncation values just over 4,000 bytes in a bucket ending at 8,000 bytes, obscuring their size near the truncation cap. ## What changed Use logarithmic boundaries through 4 MiB for `codex.additional_context.value_bytes`, with an explicit 4 KiB boundary near the truncation cap. ## Testing Add a regression test verifying that post-truncation samples between 4,024 and 4,043 bytes land in buckets ending at or below 4 KiB while preserving their sum and count. GitOrigin-RevId: af268fc0de3d5ceb648ce51fced3918317f2457a