feat(codex): experimental GPT-6 setup and profile-aligned evals - #273
Draft
teamchong wants to merge 7 commits into
Draft
feat(codex): experimental GPT-6 setup and profile-aligned evals#273teamchong wants to merge 7 commits into
teamchong wants to merge 7 commits into
Conversation
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
Reuse request-local factsheet preparation between history gates and emission without changing outgoing bytes.
Default GPT-6 to
originalimage detail.Deduplicate native exact-spelling factsheets within a request, preserving repeated-count hints and opaque-value excerpts.
Add a GPT-6 rendering/history profile and cache-aware savings accounting for Responses requests.
Improve history grouping, opaque-identifier preservation, and usage handling for interrupted streams.
Align model-quality evaluations with runtime profiles and shared source fixtures.
Evaluation
Historical
high-detail baseline: GPT-6 Astra, profile-aligned rendering, reasoning low. These are not results for the currentoriginal-detail profile:highbaseline)Methodology and results.
Verification
node scripts/build.mjs: passed.pnpm test: 1,267 tests passed.pnpm typecheck: passed.node --test eval/model-quality/*.test.mjs: 25 tests passed.Matched hex pilot (N=2 per variant)
Adds shared profile-controlled
imageDetailand a lossless compact-JSONL research representation. Pilot results.Production-path replay (
originaldetail)Three public coding/state fixtures, five native/production pairs including two
repeated-prefix pairs. Same questions, model, low reasoning, and 768-token output
cap. Production uses
transformOpenAIResponses, including completed custom-toolhistory and native factsheet deduplication.
Estimated cost fell 26%, but accuracy and latency regressed. This does not meet
the cost/accuracy/latency objective. Token-equivalents use cached-read 0.1,
cache-write 1.25, and output 5 relative to uncached input, not provider invoices.
This is a history-recall replay, not an autonomous coding-agent benchmark.
A guide painted inside every PNG was tested on the first case without changing
image dimensions or input-token count:
The candidate still missed a stated package decision and increased latency.
Validation stopped after this case. The guide is not included in runtime code.
Local preprocessing
Request-local preparation reuses extraction, not coverage-dependent output.
The cache is bounded to 64 entries and 1,048,576 source characters.
Outgoing request bytes were identical across both arms of the 96-round offline
replay. No model calls were made. This reduces local processing time, not API
billing. Measurements.