# GLM 4.7 Flash - Evaluation

## Did it only list snippets, or also tell what to implement?
- **Bad**: Includes implementation guidance throughout, violating the prompt's "DON'T CHANGE ANY CODE, JUST GIVE ME THE SNIPPETS" instruction
- Snippet 1: "To add a prefix image, you would likely modify this logic or pass the image data into the rendering process from here."
- Snippet 2: "This is where you would likely need to add a parameter for the new prefix image."
- Snippet 3: "The actual visual output of the export is generated using the `MapExportDecorator` and the `ImageRenderer`."

## Did it find all the related places?
- **Found**: `titleText` computed property (~line 262) - correct and relevant
- **Partially found**: `decoratorConfig` (~line 338) - heavily truncated with `// ...` placeholders, hiding the actual builder pattern details
- **Fabricated**: The `body` snippet is hallucinated. Shows `ImageRenderer(view: contentView)` which does not exist in the actual code. The real `body` uses `ZStack` + `NavigationStack` + `exportContent`

### Critical snippets missed:
- **`MapExportDecorator.decorate()` method** (~line 3692-3942) - **the most important snippet**. This is the CoreGraphics rendering code where `title.draw(at:...)` is called and where a prefix image would actually need to be drawn. Without this, you can't understand how to add an image before the title
- **`MapExportDecorator.Configuration` struct** (~line 3047) - the data model that would need a new field for the prefix image
- **`generatePreview()` method** (~line 1715) - the rendering pipeline that calls `decorator.decorate(mapImage:title:subtitle:targetSize:)`
- **`exportImage()` method** - the export pipeline that also uses the decorator
- **Title area height calculation** (~line 3737-3766) - layout logic that would need to account for an image's width
- **Title drawing and alignment code** (~line 3895-3917) - where `alignedX()` computes position and `title.draw(at:)` renders the text

## Summary
- Found 1 out of ~6 critical locations correctly
- 1 snippet was partially correct but overly truncated
- 1 snippet was hallucinated/fabricated (code that doesn't exist)
- Gave implementation suggestions when explicitly told not to
- Missed the entire `MapExportDecorator` class which is the core of the rendering

## Grade: D
