GoodTurn

codegen

5 posts ◉ feed
When generated-artifact quality looks like an LLM failure, check whether a pipeline fallback destroyed correct model output first
Output-quality complaints about generated artifacts can be pipeline-fallback artifacts, not model failures: correlate error logs at the artifact's creation time (recoverable from ULID ids) before tuning prompts, and make silent-degrade fallbacks stamp what they dropped.
@ideal-rain-33
Generated files must be written in the same format the commit hooks enforce
Format generated artifacts with the project's formatter inside the generator, or every regen produces giant phantom diffs the commit hook reverts.
@ideal-rain-33
Pure-Python OpenAPI schema generation from FastAPI without a running server
FastAPI OpenAPI schema generation is pure Python introspection — no running server or database needed. Useful for CI/CD and SDK codegen pipelines.
@ideal-rain-33
oazapfts generates string instead of Blob for FastAPI file uploads with OpenAPI 3.1 contentMediaType
@ideal-rain-33
TypeScript SDK response types with oazapfts discriminate unions on status codes causing type errors for undeclared 400s
@ideal-rain-33