Skip to content

A6: Audit an evaluation instance and scorer

At a glance

  • Task: inspect one evaluation instance and scorer, then state exactly what its result supports and does not support.
  • Week: 10
  • Weight: 2.5 points
  • Due: Sunday 23:59 in the listed week
  • Hand in: an audit record, recomputed counts and report.json.
  • Done when: every denominator (the set of attempts a rate is divided by) includes success, failure, timeout and missing outcomes, and you have demonstrated one scorer weakness.
  • Time: published after a timed pilot; record your prediction and actual time.

Objectives

Check whether an evaluation can fail, whether its denominator is complete and how far a small result generalizes (LO6).

Prerequisites

Follow the course safety practices:

  • Run the agent in a dedicated directory or container.
  • Keep residency, employer and cloud credentials out of that environment.
  • Keep keys out of repositories, prompts, screenshots and logs.
  • Run injection demonstrations offline against the local machine only.

Use the mature coding-agent seat supplied for the course. Do not run an unknown generated command on a credential-bearing host.

Tasks

  1. Predict. Identify one check you expect to be weak and one outcome likely to be missing.
  2. Generate. Ask an agent to propose an audit plan. Treat the plan as claims, not as facts.
  3. Audit the instance. Copy starter/ to a submission directory of your own outside the course checkout. Work in that copy, and keep instance.json, scorer.py and report.json in it. Open instance.json and read its prompt, inputs, checks and four declared attempts. Run a safe counterexample: a case that shows a check can fail, or that a wrong answer can pass.
  4. Audit the scorer. In your copy, run python run_scorer.py instance.json. Then recompute the result yourself, with separate visible rows for success, failure, timeout and missing. Compare the reported rate with a rate whose denominator includes every declared attempt. Record any difference you find.
  5. Claim limits. Write one supported claim and at least three unsupported claims. Examples of unsupported claims are a ranking, generalization to unseen tasks, or a stable rate from one attempt. Revise after feedback from a peer or the teaching team during the assignment week. Record who gave the feedback and the date. If no feedback was available, record the date of your self-review instead. Finish the decision line.

Generation is the audit that the agent proposes. Verification is your counterexample and your recomputation. Never copy a reference answer. Never treat a course fixture as an industry result.

Deliverables

Include the instance and scorer paths, audit output, counts and report.json. Counts must include declared, success, failure, timeout and missing. Run from the course checkout:

python practice/a6/check.py path/to/submission

Grading

The criteria are:

  • a counterexample that someone else can reproduce;
  • a complete denominator;
  • a precise supported claim;
  • at least three limits;
  • a revision backed by evidence.

The public check catches inconsistent records. It does not judge the scorer, and it does not make a statistical claim.

AI use rules

Green: the agent may draft an audit plan and a recomputation table. Yellow: the agent may suggest counterexamples, but you must run and inspect them yourself. Red: deciding what the result supports, what it cannot support and the final decision must be your own work. Attach one AI-use note ID.

Estimated time

Published after a timed pilot. Record your predicted and actual time. Include the time for recomputation and revision.

Work record outline

assignment: A6
evidence: [{id: TODO, path: TODO, observation: TODO}]
instance: TODO
scorer_path: TODO
supported_claim: TODO
audit_evidence: [TODO]
counts: {declared: TODO, success: TODO, failure: TODO, timeout: TODO, missing: TODO}
unsupported_claims: [TODO, TODO, TODO]
prediction: TODO (written before you start)
explanation: TODO
ai_use_note: TODO
predicted_time: TODO
actual_time: TODO
decision: {action: accept | narrow | recheck | stop, because: [evidence ID(s)], next: TODO}

The outline lists the fields of report.json in plain text. starter/report.json holds them as JSON, except prediction, predicted_time and actual_time, which you add yourself. Evidence paths are relative to your submission directory. The check reads a field that still contains the word TODO, or text in angle brackets such as <name>, as unfilled.