Quest 03 / 04 · Quick buildTier 01 · Daily

Bounty boards / Daily · Thursday, November 26, 2026

Make a scorecard for repeatable answers

  • Humanity's First Exam
  • Time1.5 hours
  • Stages6
  • BoardThursday, November 26, 2026

Overview

You write five small formatting tasks, each in four variations, and a local Python scorecard that grades hand-recorded model answers against them. The report counts single correct answers separately from task families passed in full, a one-rollout version of the family metric that Humanity's First Exam uses to distinguish occasional from consistent success.

  • A tasks.json file with five original formatting task families of four variations each, every one with an expected answer.
  • A responses.csv sheet with a column for manually recorded model responses.
  • A score.py script that prints answers correct and families passed completely.
  • A report.md that lists each failure with its expected answer beside the recorded one.
01SETUP10 minutesSet up the scorecard...02DATA25 minutesWrite five task fami...03BUILD10 minutesGenerate the respons...04BUILD20 minutesBuild the scorer05TEST20 minutesRecord real answers06SHIP10 minutesScore the sheet and...
DATAtasks.json (5 x 4prompts)STOREresponses.csvMODELChat model (optional)USERYou record answersCODEscore.pyOUTreport.mdmake_sheet.pyone reply per promptresponse columnrecorded answersexpected answersitems and families
Tasks generate a blank sheet for your recorded answers, and the scorer grades every answer and every family against the expected values.

Tool

Humanity's First Exam

The scorecard can run locally with hand-entered examples. Model queries are optional and retain their provider's account limits or separate API charges.

Announcement

DeepMind introduced a benchmark for consistent answers across small task variations. Its public description provides a method for examining everyday reliability.

Official announcement · 2026-11-24

Before you begin

Python 3.10 or newer

Free from python.org or your package manager. The scorecard uses only the standard library. Check with python --version.

A plain-text editor

Any editor that saves UTF-8 works. A spreadsheet program is optional, with a caution in the last stage.

Optional access to a chat model

Needed only if you record real responses. Use an account you already have; queries keep that provider's limits, and API calls are billed separately.

Comfort running commands in a terminal

You run three short Python scripts. No Python package installs are required.

Stage 01 · setup10 minutes

Set up the scorecard folder

Create a project folder with an isolated Python environment.

The scorecard needs nothing beyond the Python standard library. A virtual environment still keeps this folder separate from anything else on your machine, so later additions stay contained.

bash
mkdir repeatable-scorecard && cd repeatable-scorecard
python3 -m venv .venv
source .venv/bin/activate
python --version
powershell
mkdir repeatable-scorecard; cd repeatable-scorecard
python -m venv .venv
.venv\Scripts\Activate.ps1
python --version
LayoutProject tree
repeatable-scorecard/
  .venv/
  tasks.json  # task families and expected answers
  make_sheet.py  # writes the blank sheet
  make_test_sheet.py  # made-up answers for testing
  score.py  # grades a sheet and writes a report
  responses.csv  # your recorded answers
  report.md  # the scorecard
Stage 01 Checkpoint

Your prompt shows (.venv) and python --version prints 3.10 or newer.

Stage 02 · data25 minutes

Write five task families

Define five formatting tasks, four variations each, with exact expected answers.

Humanity's First Exam groups its prompts into four-prompt families: a seed plus variants with controlled surface edits, such as renamed entities or a changed layout, that keep the task logic. Its strictest family metric counts a family only when all four prompts are answered correctly on all four rollouts.

The families below follow that shape at a small scale, and every prompt is original to this guide. Each variation changes the wording or the input but keeps one unambiguous answer.

jsontasks.json
{
  "rule": "Strip outer whitespace, collapse inner runs of spaces, then compare case-sensitively.",
  "families": [
    {"id": "date", "title": "Reformat an ISO date", "variants": [
      {"id": "date-1", "prompt": "Rewrite 2026-03-07 as DD/MM/YYYY. Reply with the date only.", "expected": "07/03/2026"},
      {"id": "date-2", "prompt": "Rewrite 2025-12-31 as DD/MM/YYYY. Reply with the date only.", "expected": "31/12/2025"},
      {"id": "date-3", "prompt": "Write the date 2024-02-29 in DD/MM/YYYY form. Reply with the date only.", "expected": "29/02/2024"},
      {"id": "date-4", "prompt": "Convert the ISO date 2027-10-01 to DD/MM/YYYY. Reply with the date only.", "expected": "01/10/2027"}
    ]},
    {"id": "sort", "title": "Sort and join words", "variants": [
      {"id": "sort-1", "prompt": "Write Pear, apple, Fig in alphabetical order, lower case, separated by a semicolon and a space.", "expected": "apple; fig; pear"},
      {"id": "sort-2", "prompt": "Write Kiwi, banana, Cherry in alphabetical order, lower case, separated by a semicolon and a space.", "expected": "banana; cherry; kiwi"},
      {"id": "sort-3", "prompt": "Put plum, Date, lime in alphabetical order in lower case, joined by a semicolon and a space.", "expected": "date; lime; plum"},
      {"id": "sort-4", "prompt": "Alphabetise Mango, grape, Apricot. Use lower case and separate them with a semicolon and a space.", "expected": "apricot; grape; mango"}
    ]},
    {"id": "initials", "title": "Write initials", "variants": [
      {"id": "initials-1", "prompt": "Give the initials of ada lovelace byron in capitals with a full stop after each letter and no spaces.", "expected": "A.L.B."},
      {"id": "initials-2", "prompt": "Give the initials of grace brewster hopper in capitals with a full stop after each letter and no spaces.", "expected": "G.B.H."},
      {"id": "initials-3", "prompt": "Write the initials of alan mathison turing as capitals, each followed by a full stop, with no spaces.", "expected": "A.M.T."},
      {"id": "initials-4", "prompt": "Initials of katherine coleman johnson, please: capitals, a full stop after each, no spaces.", "expected": "K.C.J."}
    ]},
    {"id": "pad", "title": "Pad a number", "variants": [
      {"id": "pad-1", "prompt": "Write 7 as a three-digit string with leading zeros. Reply with the digits only.", "expected": "007"},
      {"id": "pad-2", "prompt": "Write 42 as a three-digit string with leading zeros. Reply with the digits only.", "expected": "042"},
      {"id": "pad-3", "prompt": "Pad the number 5 with leading zeros to three digits. Reply with the digits only.", "expected": "005"},
      {"id": "pad-4", "prompt": "Show 130 as a three-digit string, adding leading zeros if needed. Reply with the digits only.", "expected": "130"}
    ]},
    {"id": "reverse", "title": "Reverse word order", "variants": [
      {"id": "reverse-1", "prompt": "Reverse the word order of: red green blue. Reply in upper case with single spaces.", "expected": "BLUE GREEN RED"},
      {"id": "reverse-2", "prompt": "Reverse the word order of: one two three four. Reply in upper case with single spaces.", "expected": "FOUR THREE TWO ONE"},
      {"id": "reverse-3", "prompt": "Write the words north east south in reverse order, upper case, single spaces.", "expected": "SOUTH EAST NORTH"},
      {"id": "reverse-4", "prompt": "Take cat dog, reverse the order of the words, and reply in upper case with one space between them.", "expected": "DOG CAT"}
    ]}
  ]
}

Read each expected answer against its prompt before you go on. A wrong expected value would mark a correct model answer as a failure, and the report could not tell you which side was wrong.

Stage 02 Checkpoint

python -c "import json; t = json.load(open('tasks.json')); print([len(f['variants']) for f in t['families']])" prints [4, 4, 4, 4, 4].

Stage 03 · build10 minutes

Generate the response sheet

Turn the tasks into a CSV with one row per prompt and an empty response field.

The sheet copies each prompt and its expected answer so you can read them while recording. Scoring always uses tasks.json, so an accidental edit to the expected column cannot change a grade.

pythonmake_sheet.py
"""Write an empty response sheet from tasks.json."""
import csv
import json
import sys
from pathlib import Path

FIELDS = ["family", "variant", "prompt", "expected", "response", "model", "recorded_at"]


def main(out_name: str = "responses.csv") -> None:
    tasks = json.loads(Path("tasks.json").read_text(encoding="utf-8"))
    out = Path(out_name)
    if out.exists():
        sys.exit(f"{out} already exists; move it aside before making a new sheet")
    with out.open("w", newline="", encoding="utf-8") as f:
        writer = csv.DictWriter(f, fieldnames=FIELDS)
        writer.writeheader()
        for family in tasks["families"]:
            for v in family["variants"]:
                writer.writerow({"family": family["id"], "variant": v["id"],
                                 "prompt": v["prompt"], "expected": v["expected"]})
    rows = sum(len(fam["variants"]) for fam in tasks["families"])
    print(f"wrote {out} with {rows} rows")


if __name__ == "__main__":
    main(*sys.argv[1:])
bash
python make_sheet.py
Output
wrote responses.csv with 20 rows

The script refuses to overwrite an existing responses.csv. That guard protects answers you have already typed in when you run it a second time.

Stage 03 Checkpoint

responses.csv exists with a header row of family,variant,prompt,expected,response,model,recorded_at and 20 data rows.

Stage 04 · build20 minutes

Build the scorer

Grade every answer, then grade every family as passed only if all four answers are correct.

Start score.py with the loading and grading functions. A blank response counts as its own status, so a half-filled sheet shows how much is left rather than looking like a string of wrong answers.

pythonscore.py
"""Score a filled response sheet against tasks.json and write report.md."""
import csv
import json
import sys
from pathlib import Path


def normalise(text: str) -> str:
    return " ".join(text.split())


def load_tasks() -> dict:
    tasks = json.loads(Path("tasks.json").read_text(encoding="utf-8"))
    families = tasks["families"]
    if len(families) != 5 or any(len(f["variants"]) != 4 for f in families):
        sys.exit("tasks.json must hold 5 families with 4 variants each")
    return tasks


def load_responses(path: Path) -> dict:
    with path.open(newline="", encoding="utf-8-sig") as f:
        return {row["variant"]: row for row in csv.DictReader(f)}


def score(tasks: dict, responses: dict) -> list:
    results = []
    for family in tasks["families"]:
        items = []
        for v in family["variants"]:
            row = responses.get(v["id"], {})
            got = (row.get("response") or "").strip()
            status = "blank" if not got else (
                "correct" if normalise(got) == normalise(v["expected"]) else "wrong")
            items.append({"id": v["id"], "prompt": v["prompt"], "expected": v["expected"],
                          "got": got, "status": status})
        results.append({"id": family["id"], "title": family["title"], "items": items,
                        "passed": all(i["status"] == "correct" for i in items)})
    return results

Add the report writer and the entry point to the end of the same file. The report puts the expected answer and the recorded answer in separate fenced blocks, so stray spaces and punctuation stay visible.

pythonscore.py
def write_report(results: list, sheet: Path, out: Path) -> tuple:
    items = [i for fam in results for i in fam["items"]]
    correct = sum(i["status"] == "correct" for i in items)
    blank = sum(i["status"] == "blank" for i in items)
    passed = sum(fam["passed"] for fam in results)
    lines = [f"# Scorecard for {sheet.name}", "",
             f"- Individual answers correct: {correct} of {len(items)} ({blank} blank)",
             f"- Task families passed completely: {passed} of {len(results)}", "",
             "| Family | Correct | Passed completely |", "| --- | --- | --- |"]
    for fam in results:
        ok = sum(i["status"] == "correct" for i in fam["items"])
        lines.append(f"| {fam['title']} | {ok} of 4 | {'yes' if fam['passed'] else 'no'} |")
    lines += ["", "## Failures", ""]
    for fam in results:
        for i in fam["items"]:
            if i["status"] != "correct":
                lines += [f"### {i['id']} ({i['status']})", "", f"Prompt: {i['prompt']}", "",
                          "Expected:", "", "```text", i["expected"], "```", "",
                          "Recorded:", "", "```text", i["got"] or "(blank)", "```", ""]
    out.write_text("\n".join(lines) + "\n", encoding="utf-8")
    return correct, len(items), passed, len(results)


def main(sheet_name: str = "responses.csv", out_name: str = "report.md") -> None:
    sheet, out = Path(sheet_name), Path(out_name)
    results = score(load_tasks(), load_responses(sheet))
    correct, total, passed, families = write_report(results, sheet, out)
    print(f"answers correct: {correct}/{total}")
    print(f"families passed completely: {passed}/{families}")
    print(f"report written to {out}")


if __name__ == "__main__":
    main(*sys.argv[1:])

Test the scorer before any real answers exist. The helper below copies the sheet and fills it with made-up responses, four of them deliberately wrong, one in each of four families.

pythonmake_test_sheet.py
"""Fill a copy of the sheet with made-up answers to test score.py."""
import csv
from pathlib import Path

WRONG = {
    "date-3": "2024/02/29",
    "sort-4": "apricot, grape, mango",
    "initials-2": "GBH",
    "reverse-4": "dog cat",
}

with Path("responses.csv").open(newline="", encoding="utf-8") as f:
    rows = list(csv.DictReader(f))
for row in rows:
    row["response"] = WRONG.get(row["variant"], row["expected"])
    row["model"] = "made-up test data"
with Path("test_responses.csv").open("w", newline="", encoding="utf-8") as f:
    writer = csv.DictWriter(f, fieldnames=list(rows[0]))
    writer.writeheader()
    writer.writerows(rows)
print(f"wrote test_responses.csv with {len(rows)} rows")
bash
python make_test_sheet.py
python score.py test_responses.csv test_report.md
Output
wrote test_responses.csv with 20 rows
answers correct: 16/20
families passed completely: 1/5
report written to test_report.md

These counts come from the planted test data, not from a model. Four wrong answers spread over four families leave sixteen correct answers but only the padding family intact.

Stage 04 Checkpoint

test_report.md reports 16 of 20 answers correct and 1 of 5 families passed. Its failure section holds four entries with expected and recorded answers side by side.

Stage 05 · test20 minutes

Record real answers

Fill the response column by hand from a model or from people.

Open responses.csv in a text editor. For each row, paste the prompt into a fresh chat, copy the reply exactly into the response field, and fill model and recorded_at.

  • Use a new conversation for every prompt so earlier answers cannot steer later ones.
  • Copy the reply as given, including any extra words; the scorer is meant to catch them.
  • Wrap a typed response in double quotes if it contains a comma, such as a sort reply that uses commas instead of semicolons.
  • Leave a row blank if you skip it; the report counts it as blank.
csvresponses.csv
family,variant,prompt,expected,response,model,recorded_at
date,date-1,Rewrite 2026-03-07 as DD/MM/YYYY. Reply with the date only.,07/03/2026,07/03/2026,<model name>,2026-11-26
sort,sort-1,"Write Pear, apple, Fig in alphabetical order, lower case, separated by a semicolon and a space.",apple; fig; pear,"apple; fig; pear",<model name>,2026-11-26
Stage 05 Checkpoint

Every row you answered in responses.csv carries a recorded value with its model and date. The file still opens as 20 rows in python -c "import csv; print(len(list(csv.DictReader(open('responses.csv', newline='', encoding='utf-8-sig')))))".

Stage 06 · ship10 minutes

Score the sheet and review failures

Produce report.md and check that a reviewer can read every failure.

bash
python score.py responses.csv report.md
Output
answers correct: <correct>/20
families passed completely: <passed>/5
report written to report.md

Open report.md in any Markdown viewer. The table at the top shows each family's correct count beside a yes or no for a complete pass, and each failure below it puts the expected and recorded answers under their prompt.

Hand the report to someone else and ask them to judge two failures without your help. If they cannot tell why an answer failed, tighten the prompt wording in tasks.json and record that family again.

Stage 06 Checkpoint

report.md exists, its two summary lines match the script output, and every row that is not correct has a failure entry with both answers visible.

Troubleshooting

KeyError: 'variant' when running score.py.

The header row was changed or lost, often by a spreadsheet export. Rename the damaged file and run python make_sheet.py in the project folder for a fresh responses.csv. Then copy your recorded answers into the new sheet.

A correct-looking answer is marked wrong.

Compare the two fenced blocks in the report character by character. A trailing full stop or a capital letter fails the exact comparison by design.

tasks.json must hold 5 families with 4 variants each.

A family or variant was added or deleted. Restore the count, or change the check in load_tasks if you mean to grow the scorecard.

json.decoder.JSONDecodeError when loading tasks.json.

The error names a line and column. Look there for a missing comma between objects or a trailing comma before a closing bracket.

Padded numbers show as 7 instead of 007.

A spreadsheet converted the field to a number. Reopen responses.csv in a plain editor and type the leading zeros back in by hand.

make_sheet.py exits without writing a file.

It found an existing responses.csv and stopped to protect it. Rename the old file first if you want a blank sheet.

Done when

  • The report separates individual correct answers from task families passed completely. A reviewer can inspect each failure beside its expected response.

Going further

  • Record each prompt four times in fresh chats and extend score.py to require every rollout to pass, closer to the family metric in the Humanity's First Exam report.
  • Add a sixth family that mixes two formatting rules in one prompt and see whether it fails more often than either rule alone.
  • Record the same sheet with two different models and write a small diff script that lists prompts where they disagree.
  • Add a normalise option per family, such as case-insensitive comparison, and record in the report which rule each family used.

References

An AI guide writer drafted this walkthrough against the official documentation above, automated template and style checks validated every block, and an independent AI reviewer verified commands, flags and claims before publication.