Skip to content

[thesis] Stress cases and prompt 7: stated experience totals and list headings - #210

Merged
Sam-Razavi merged 1 commit into
mainfrom
thesis/stress-cases
Nov 24, 2026
Merged

Sam-Razavi merged 1 commit into
mainfrom
thesis/stress-cases

Conversation

@Sam-Razavi

@Sam-Razavi Sam-Razavi commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

This adds formative stress cases and the two fixes they showed were needed. Once this is merged, the merge commit gets the thesis-prototype-v3 tag.

Stress cases (thesis/stress_cases/)

There are ten cases, with their expected outcomes written before any run:

  • unsupported negatives: an absent certificate, a short dated history, a silent work permit and Swedish;
  • misleading quotations: "no prior experience with Kubernetes" about a course, "Go" mentioned only about the team, technologies named only under "About us";
  • ambiguous requirements: "Vi tror att du", "some years";
  • two Low controls: a stated experience total, and an unfinished degree.

They are formative, like the practice cases. They are kept apart from the 18 held-out cases (a test checks this), and their output is git-ignored.

The prompt-6 run: 9 of 10 as expected, 2 defects

  • s09 (control): the CV states "6 months of professional experience in total" against 3 years. All 5 runs wrote that the total is below half, and then chose not_enough_information. So Low was unreachable for the one shortfall the design accepts.
  • s08: bare items under "Requirements" were read as unclear, so they could decide nothing.

Prompt 7

  • Step 1: a list heading counts ("Requirements", "Krav" → mandatory; "Nice to have", "Meriterande" → preferred). A heading that only describes the person ("Vi tror att du", "About you") does not.
  • Step 2: the note says whether a total of experience is stated or added up, and a stated total below half is always not_met.
  • Two new cases for the heading fix (s11, s12), with expectations written before the prompt-7 run.

The prompt-7 run (real GPT-4o, formative)

  • Stress cases: 12 of 12 as expected in every run (60 assessments).
  • Practice cases: 7 of 7 as expected under the v6 criteria (41 assessments).
  • All 471 ad quotes were found, and 328 of 329 CV quotes. The one miss was a heading joined to its item; the quote check set that judgement aside, and the priority didn't change.
  • The only run-to-run variation is on preferred requirements.

Checks

  • Backend: full pytest (1117 passed, with Postgres), ruff and mypy pass.
  • Frontend: the panel tests pass. The frontend code is unchanged.

Unchanged

The rules (version 2), protocol.yaml, the runner's metrics, the matcher, and the model, temperature and seed.

… headings

Ten formative stress cases (thesis/stress_cases/) cover:
- unsupported negative judgements;
- misleading quotations in the CV and the ad;
- ambiguous requirements;
- two Low controls.
Their expected outcomes were written before any run. They are kept apart from the
held-out cases, and their output is never committed.

The prompt-6 run passed 9 of 10. Two defects:
- s09: a CV stating "6 months of professional experience in total" against
  3 years was judged not_enough_information in 5 of 5 runs, though each note said
  the total was below half. Low was unreachable for the one shortfall the design
  accepts.
- s08: bare items under "Requirements" were read as unclear, so they could not
  decide either way.

Prompt 7:
- importance can come from a list heading ("Requirements", "Krav"; "Nice to have",
  "Meriterande"), but not from a person-describing heading ("Vi tror att du",
  "About you");
- the note says whether a total of experience is stated or added up;
- a stated total below half is always not_met.
Two cases were added for the heading fix (s11, s12).

Prompt 7 run:
- stress cases 12/12 and practice cases 7/7 as expected in every run;
- the CV-quote check set aside one heading-joined quote, with no change of priority.

Rules (version 2), protocol, model, temperature and seed are unchanged.
@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
applyluma Ready Ready Preview Nov 24, 2026 8:12pm UTC

@Sam-Razavi
Sam-Razavi merged commit 5c15ba5 into main Nov 24, 2026
6 checks passed

This branch was successfully deployed

1 active deployment
Preview — c1ad85a8 Deployed Nov 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant