Repository navigation
fix(v22): baseline P0 no corpus oficial com tiktoken - #19
Merged
gaabdotdev merged 5 commits intoOct 23, 2026
Merged
gaabdotdev merged 5 commits into
gaabdotdev merged 5 commits into
Conversation
Version the Gaab brief as docs/v22/GOALS-OFFICIAL.md with the internal ID map, and measure B0 against V2.2 on the six frozen tasks using the deterministic provider. Generative output, vendor cache, and cost stay NOT_MEASURED. Compaction stays UNAVAILABLE. Co-authored-by: Gaab <GaabDevWeb@users.noreply.github.com>
N=3 on the local provider. Output, vendor cache, and cost stay NOT_MEASURED. Compaction stays UNAVAILABLE. Tokenizer label is the one this run resolved, not a forced tiktoken count. Co-authored-by: Gaab <GaabDevWeb@users.noreply.github.com>
The synthetic run counted a whitespace proxy over a few hundred tokens. This measurement fails if tiktoken is missing, packs the real B0 rg read and the V2.2 pickup under the canonical 22000-token budget, and counts input savings only when V2.2 quality stays at or above B0. Co-authored-by: Gaab <GaabDevWeb@users.noreply.github.com>
Tiktoken counts on the monorepo. B0 is the broad rg pack. V2.2 is the pickup under the 22000-token retrieval budget. Input savings are counted only where V2.2 quality stays at or above B0. tree_sha is the harness commit this run measured. Co-authored-by: Gaab <GaabDevWeb@users.noreply.github.com>
An empty rg result was published as zero input tokens. The measurement now requires rg and a hit on results.ts, and CI installs ripgrep when the runner does not already have it. Co-authored-by: Gaab <GaabDevWeb@users.noreply.github.com>
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
V22-GAP-P0-1b na mesma branch. A corrida sintética (proxy de espaços, 5–631 tokens) não é a baseline.
tiktoken:cl100k_base(docs/v22/baseline/requirements.txt, venv no CI). Se o import falhar, a medição aborta.rgaté 45 paths. V2.2 é o pickup/handoff real com retrieval de wiki de projeto e de paths, budget do scorerv22-anchor-scorer-1.0.0(bloco de retrieval ≤ 22000 tokens). Semrg, ou sem o ficheiroresults.tsno probe, a medição falha.input_tokenssó conta quando a qualidade V2.2 ≥ B0 (GOALS-OFFICIAL 5.3).zero_expected_deterministic).latency_msé tempo de parede do retrieval, estadoLIMITED. Saída, cache, custo, híbrido Ollama e redução generativa:NOT_MEASURED. Compactação:UNAVAILABLE.Classe V2.2:
PROJECT_WIKI_PICKUP_BUDGET. Não éOFFICIAL_WIKI_GROUND(sem Ollama / wiki Karpathy).Medição
n=3. Tokenizertiktoken:cl100k_base.tree_shada corrida gravada:bc6871ef76f21f226a517595a3aa6a4597698777. O commit84a5bdbsó acrescenta a falha fechada dorge o install no CI; não regrava o JSON. Relatório:docs/v22/baseline/raw/p0-baseline-report.json.No B0, projeto grande e delegada não trazem a âncora nos primeiros 45 paths ordenados; fontes conflitantes não aplicam a cerca; a restrição de evidência do handoff não está na leitura ampla. O V2.2 passa essas checagens e o bloco de retrieval fica ≤ 22000. Dispersão de
input_tokens: 0. Latência de retrieval: medida, estadoLIMITED(cerca de 0,2–0,3 s no B0 e 1,3–1,6 s no V2.2).output_tokens, cache,cost,model_latency_ms, híbrido Ollama:NOT_MEASURED.compaction_tokens:UNAVAILABLE.Test plan
npx vitest run tests/unit/v22-p0-baseline.test.tsnpm test— 326 testes, 69 ficheirosnpm run test:bench— 18 testesdocs/architecture/v2.2/scripts/validate-v22-artifacts.sh— VERDICT PASS84a5bdb— run 39883897400 success