# Ministral 3B Evaluation

## Instruction Adherence: Did it only list snippets?

- **Major violation**: The prompt explicitly says "DON'T CHANGE ANY CODE, JUST GIVE ME THE SNIPPETS I NEED" but the model heavily adds implementation guidance throughout
- Almost every snippet includes injected comments like `// this is where you'd need to modify` or `// Add your prefix image configuration here` — these do not exist in the original code
- Section 5 (`drawRoutesOnSnapshot`) contains entirely **fabricated code** — a whole block with `if let prefixImage = config.prefixImage { ... }` that does not exist in the source
- Section 6 proposes adding a `prefixImage` property to `Configuration` — this is pure implementation instruction, not an existing snippet
- The response ends with a "Key Implementation Steps" section — directly contradicting the "just give me the snippets" instruction
- The snippets shown are **not actual extracts** from the source code — they are simplified/rewritten approximations with implementation suggestions baked in

## Completeness: Did it find all related places?

**Found (partially):**
- `decorate` method — correct area, but showed a fabricated/simplified version, not the actual code
- `alignedX` helper — identified correctly, but shown out of context (it's a nested function inside `decorate`, not a separate private method)
- `decoratorConfig` property — relevant, but shown truncated and modified
- `Configuration` struct — relevant, but showed a fake version with suggested changes

**Missed entirely:**
- `titleAreaHeight` calculation (lines ~3738-3766) — **critical** for understanding how to make room for a prefix image
- `titleText` property (line ~262) — how the title string is determined
- `generatePreview` method (line ~1715) — the preview generation pipeline and how `decorate` is called
- Call sites of `decorator.decorate(...)` (lines 1794, 2070, 2183, 5162) — needed to understand the full flow
- `previewTriggerHash` (line ~158) — would need updating to react to prefix image changes
- `applyTemplateSettings` (line ~435) — for template-based configuration flow

**Incorrectly included:**
- `drawRoutesOnSnapshot` — this method draws GPS routes onto the map image and has **nothing to do with the title area or prefix images**. The model fabricated code to make it seem relevant.
- `drawDecorations` — this is for poster decorations (geometric shapes at edges), not title-area content. Misleading inclusion.

## Summary

- The model understood at a high level that the `decorate` method and `Configuration` struct are relevant
- However, it **hallucinated code** instead of extracting actual snippets from the source
- It **violated the core instruction** by providing implementation guidance and fabricated code
- It **missed several critical snippets** (titleAreaHeight calculation, preview pipeline, call sites)
- It **included irrelevant snippets** (drawRoutesOnSnapshot, drawDecorations) and fabricated content to justify their inclusion

## Grade: D

The model shows basic comprehension of the code's architecture but fails on execution: hallucinated snippets instead of real extracts, violated the explicit instruction not to suggest changes, missed key areas, and padded the response with irrelevant code.
