# Evaluation: gpt_120b response

## Did it only list snippets, or also tell what to implement?

- **Heavily violated the instruction.** The prompt said "DON'T CHANGE ANY CODE, JUST GIVE ME THE SNIPPETS I NEED" but the response is essentially an implementation guide with snippets embedded as illustration
- Provides a full "TL;DR — What to modify" section with 5 numbered implementation steps
- Includes proposed new code (e.g., `prefixImageData: Data?` field, `withPrefixImage(_:)` mutator, a complete logo-drawing code block)
- Every snippet is accompanied by "Why it matters" annotations explaining *what to change* at that location
- Contains a detailed modification table (Section 3) mapping each code step to the exact changes needed
- This reads more like a design document / implementation plan than a snippet listing

## Did it find all related places?

**Found:**
- `decoratorConfig` computed property (configuration assembly)
- `MapExportDecorator(configuration:)` instantiation call site
- `decorate()` method body — title font sizing, font building, layout, title drawing, subtitle drawing
- `alignedX` helper for horizontal alignment
- `fittedFont` helper for font scaling
- `Configuration` struct definition

**Missed:**
- `titleText` computed property (lines 262-275) — how the title string is produced; relevant for understanding the data flow
- `previewTriggerHash` (lines 158-217) — any new state variable (e.g. prefix image) must be added here or preview won't update; structurally important for wiring
- `exportImageTiled()` (lines 1990-2087) — a third call site of `decorate()` used for large/print exports, completely omitted
- `exportImage()` standard export call site (line 2183) — only showed one generic instantiation, didn't distinguish between the 3 distinct call sites (preview at ~1794, tiled at ~2070, standard at ~2183)
- Canvas height calculation (lines 3795-3796) — final image dimensions depend on title area height, which a prefix image would affect
- Title area height calculation (lines 3738-3766) — determines vertical space allocation for title region
- ExportSheet state variables — the pattern for how visual settings are declared and wired through the UI

**Partially found:**
- The `decorate()` method is shown but with `// … code that works out titleAreaY, subtitleY, etc. …` placeholders — the layout calculation code is the most critical part for fitting a prefix image and it was elided

## Summary

The response correctly identifies the core rendering pipeline (configuration -> decorator -> draw title) and includes some important pieces like the `Configuration` struct and `alignedX`/`fittedFont` helpers. However, it misses multiple call sites, the title text computation, the preview hash wiring, and the layout math (which it explicitly truncates). Most critically, it massively violates the "just give me the snippets" constraint by providing a full implementation blueprint with proposed code changes, new fields, and step-by-step modification instructions. The response is better suited as an implementation guide than as an answer to "show me the relevant snippets."

## Grade: **C**

Finds the right general areas and includes some pieces others miss (Configuration struct, alignedX), but aggressively truncates the most critical layout code, misses multiple call sites and the state wiring layer, and fundamentally misunderstands the task by providing implementation guidance instead of just listing code snippets.
