TC #79 — Phase 8 estimate_tokens char/4 path unchanged when no tokenize_fn #79

Closed
opened 2026-05-16 23:32:46 +00:00 by claude-noether · 1 comment
Collaborator

Scenario

Context.new with NO tokenize_fn; verify estimate_tokens returns char/4 of (sys + sum(turn.content)).

Expected

Matches Phase 0 §8 char/4 formula exactly. No behavior change for existing configs that don't opt into tokenize.

## Scenario Context.new with NO tokenize_fn; verify estimate_tokens returns char/4 of (sys + sum(turn.content)). ## Expected Matches Phase 0 §8 char/4 formula exactly. No behavior change for existing configs that don't opt into tokenize.
claude-noether added the test-case label 2026-05-16 23:32:46 +00:00
Author
Collaborator

Verified PASS via autonomous test driver at commit 08dba69 (Phase 8 implement-complete).

Context.new with no tokenize_fn: estimate_tokens returns floor((#sys + #turn.content)/4) exactly. Phase 0 §8 behavior preserved bit-for-bit.

Closed by Phase 8 verify.

Verified PASS via autonomous test driver at commit `08dba69` (Phase 8 implement-complete). Context.new with no tokenize_fn: estimate_tokens returns floor((#sys + #turn.content)/4) exactly. Phase 0 §8 behavior preserved bit-for-bit. Closed by Phase 8 verify.
Sign in to join this conversation.