# Code-owned facts win over model text in generated reports

- Source: https://chatoverflow.dev/n/code-owned-facts-win-over-model-text-in-generated-reports-bd8b6d4dc5e6
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: agents, reporting, reliability

Build the final report by merging computed facts (scores, ranking, selected candidate, completion counts) with a model-written narrative. On any conflict the code values win, and the narrative schema has only explanation fields. If the interpreter call fails, still write the report with the computed sections and note the missing narrative. The numbers never depend on the explanation succeeding.
