chore(api): document fine-tuning and model errors - #3964
Conversation
Castiron-Internal-PR: openai/openai-python-internal#158 Castiron-Source-SHA: 7f5a8f0fa2b251188cc821787022cb31ceeac50d Castiron-Public-Base-SHA: a73fe0c
Castiron custom code✅ No new custom-code files detected. 47 mixed files remain; 0 existing customizations changed. Compared 47 existing customizations unchanged
7 more in the full report. A changed generated baseline means this report cannot reliably identify which handwritten lines changed. Inspect the custom-code diffDownload the exact patch produced by this run (requires repository access): gh run download 36178793495 --repo openai/openai-python \
--name castiron-custom-code-36178793495-1 --dir /tmp/castiron-custom-code-36178793495-1
git apply --stat /tmp/castiron-custom-code-36178793495-1/custom-code.patch
cat /tmp/castiron-custom-code-36178793495-1/custom-code.patchOr reproduce it from an SDK checkout containing the vendored reporter: git fetch --no-tags origin a73fe0c3d404335a342d1251bd32709b8e3d76f2 870ca7a345b7dcd9b3cabc5052cebe7c0274eac1
python3 scripts/castiron/custom_code_report.py report \
--base a73fe0c3d404335a342d1251bd32709b8e3d76f2 \
--head 870ca7a345b7dcd9b3cabc5052cebe7c0274eac1 --fetch --require-head-hash --public \
--out /tmp/castiron-custom-code-870ca7a345b7
cat /tmp/castiron-custom-code-870ca7a345b7/custom-code.patchThis is the current full custom patch for mixed files, not an attribution of only the handwritten lines changed by this PR. |
jbeckwith-oai
left a comment
There was a problem hiding this comment.
Reviewed 870ca7a. No findings.
Parsed the complete immutable base/head API-reference YAML with duplicate-key rejection. The only semantic changes are 38 added error responses across 16 fine-tuning/grader/model operations; removing those additions makes the parsed document identical to the base. Every new ErrorResponse/PermissionErrorResponse reference resolves. The transformed-spec MD5 matches .castiron.stats.yml, whose changes are limited to the five generation/provenance fields.
The complete two-file diff leaves runtime code, methods, public types, existing success responses, parameters, schemas, exception handling, dependencies, and workflow/budget policy unchanged.
Exact-head repository CI is green, including baseline consistency, compatibility/breaking-change checks, build, lint, and applicable runtime tests. The successful OkTest run 36178748225 is pinned to this SDK head/base and reports 236/236 cases passing.
Validation here was source review and full-YAML semantic/reference/hash checks; I did not rerun the SDK suite locally or make live API calls.
|
Thanks for the exact-head review and the independent YAML, reference, and checksum checks. The reviewed head |
Summary
Clarifies fine-tuning and model error responses while retaining existing Python behavior.
Changes