# How We Built a Reproducible 18-Trial K-12 LLM Homework Spoiler-Rate Benchmark (100% -> 0% With Negative Guardrails)

> Source: <https://dev.to/familyailab/how-we-built-a-reproducible-18-trial-k-12-llm-homework-spoiler-rate-benchmark-100-0-with-hd3>
> Published: 2026-12-05 02:43:38+00:00

**Recommendation:** Run paired, fresh-chat trials with verbatim JSON logging and exclude failed runs transparently when testing whether a model spoils answers, so guardrail effects are measured rather than assumed.
More in the playbook "Evals and testing for LLM apps": <https://wpnews.pro/playbooks/evals-testing>

When engineers or parents talk about kids using ChatGPT or Gemini for homework, most opinions are anecdotal. As a parent and builder, I wanted a reproducible, verifiable evaluation harness — with raw verbatim JSON logs anyone can inspect.

In December 2026, we tested **live Google Gemini (Web)** across **Grades 5–10** covering five subjects (Math, History Essays, Science, English Reading/Writing, and Python Coding). Every single trial ran in a fresh, uncontaminated browser chat with zero conversation history.

Each school assignment ran under two paired conditions:

Key negative constraints encoded in the system wrapper:

```
- NEVER reveal the final numeric answer, complete code solution, or rewritten paragraph.
- ALWAYS ask the student to share their own first attempt or rough notes before giving a hint.
- Keep Turn-1 coaching responses concise (under ~50 words) and end with ONE guiding question.
```

One paired task (Q06) hit a transient network timeout on the BROKE run and was transparently excluded from paired metrics rather than cherry-picked.

| Metric (Grades 5–10 · 5 Subjects) | Default Copy-Paste | BROKE Guardrail | Delta | 
|---|---|---|---|
| **Turn-1 Answer-Spoiler Rate** | 100.0% (9 / 9) | **0.0% (0 / 9)** | **-100 pp** | 
| **Asked for Student Draft First** | 0.0% (0 / 9) | **100.0% (9 / 9)** | **+100 pp** | 
| **Question-Led Socratic Turn** | 0.0% (0 / 9) | **100.0% (9 / 9)** | **+100 pp** | 
| **Avg Turn-1 Word Count** | 227.0 words | **34.0 words** | **-85.0%** | 

**Q09 — Grade 8 Python Palindrome Function:**

`def analyze_word(word: str) -> tuple[bool, int]:` implementation immediately.
**Q02 — Grade 8 Algebra (`3(2x - 4) + 5 = 4x + 9`):**

`x = 8` on line one and solved every step.
All 18 verbatim JSON transcripts, Markdown prompt templates, and a single-file offline HTML BROKE Prompt Builder are open-sourced under MIT so developers, teachers, and parents can audit or fork the benchmark:

If you fork the repo and run the same 9 paired prompts against Claude, ChatGPT, or DeepSeek, PRs with verbatim JSON logs are welcome!
