Netcraft

// Case study · Exam practice

Examene Carieră: practice tests for Romanian career exams, checked item by item

Examene Carieră (examenecariera.ro) is our own practice platform for Romanian career exams: teacher tenure, police and military academies, firefighters, magistrates, bar exams, civil service and energy and transport licences. We built the site, the scoring rules of each exam and a daily AI pipeline that writes new tests and checks every item before publishing.

Test questions are public, so Google can index them. The correct answers, explanations, sources and PDFs come only from an access-checked API after sign-up. Each account gets 2 free tests of its choice, and a one-time Unlimited plan, without automatic renewal, opens everything.

At a glance

Type
Web app
Owner
Netcraft Digital SRL (our own product)
Users
Candidates for Romanian career exams
Publishing pace
10 new tests per day
Source: Owner's decision, 16 November 2026
Free access
2 tests per account
Live site
examenecariera.ro

// Features

What users can do

  • Public questions, protected answers

    Questions and options are in the page for anyone. Answers, explanations, sources, the answer key and the PDF are sent only after the server checks access. They are never in the HTML, the JSON-LD or the client-side props.

  • 2 free tests, chosen by the user

    A test counts as used when it is started online or downloaded. The site asks for confirmation before using a free slot. After that, the test can be retaken and downloaded any time. The database prevents simultaneous requests from opening more than 2.

  • Scoring like the real exam

    All-or-nothing on multiple answers, penalties, ex officio points, sections graded separately with a minimum, weighted averages or sums, depending on the exam.

  • Three PDF versions

    Each test downloads as the question sheet, the answer key or the complete version with explanations.

  • Progress saved in the account

    Scores are saved in the account, and the server scores the answers again itself before saving them.

  • Tests re-checked when the law changes

    Every week, the articles cited in published tests are read again on legislatie.just.ro. If an article changed after the test was checked, the page shows “Test under re-verification” instead of the questions.

  • The verification method is public

    Each test page states how it was checked: by a person, AI-assisted, or automatic editorial verification (QA).

// AI

How the AI writes tests and how every item is checked

  1. 01

    Different models for writing and checking

    Claude Sonnet 5.5 writes the items. Claude Opus 5.5, a different and stronger model with a different prompt, verifies them. Both run through the Vercel AI Gateway batch API.

  2. 02

    The verifier reads the real source

    The verifier gets the item and the source text downloaded at check time: the law article in today's consolidated form, or the official spelling dictionary entry. It solves the item itself, compares with the answer key and explanation, and returns ok, fix or reject with the quote that decides.

  3. 03

    Code recomputes the maths

    For maths, physics, electrical engineering, logic and computer science, the verifier writes a program that recomputes the answer from the question data. The program runs isolated, without network, for at most 2 seconds, and its letter must match the key.

  4. 04

    Deterministic checks

    Code checks the exam format, exactly one correct answer, balanced answer letters, no “all of the above”, a correct option that is not visibly longer, duplicates, Romanian diacritics and complete sources.

  5. 05

    Repair, replace or drop

    An item gets one repair. Items that fail again are replaced, for up to 3 rounds with the same full check. A test is published only if every slot has a verified item. About 10% of tests also go to a person for a spot check.

  6. 06

    A daily budget

    Before each call the cost is estimated against a daily cap (15 USD by default). Tests that do not fit wait for the next run. Tokens and cost are recorded per model for every run.

// Decisions

What we chose, and what we rejected

Each decision with its reason and the option we left out.

Vercel Workflow for the content pipeline

We chose
Vercel Cron starts a route, which starts a durable Vercel Workflow that writes straight into Payload.
Why
Waiting minutes or hours for a batch is a durable sleep, with no machine running and no 6-hour job limit. Each step resumes after a deploy or an error, with its state in the database, and no second environment needs the secrets. The trade-off: no Python on Vercel, so the maths checks run in isolated JavaScript.
Rejected
GitHub Actions.

A stronger model checks a weaker one

We chose
The verifier is a different and stronger model than the writer, with a different prompt.
Why
A different, stronger model solves each item on its own, so it can catch what the writer got wrong.
Rejected
Letting the writing model check its own items.

No copying of official question banks

We chose
Items too close to the official ANRE (1,557 questions) and ARR (1,881 questions) banks are removed automatically, by word-overlap measures.
Why
Romanian copyright law (Law no. 8/1996, art. 141) does not allow copying the banks. Only hashes of the bank items are kept, not their text.
Rejected
Reusing items from the official banks.

How a test gets published

  1. A planner picks the day's tests by search demand, season and coverage gaps.
  2. Claude Sonnet 5.5 writes the items in the exam's format, with a mandatory primary source for each.
  3. Code runs the deterministic checks; the sources are downloaded.
  4. Claude Opus 5.5 solves each item against the source; maths items are recomputed in code.
  5. Failed items get one repair, then replacement, for up to 3 rounds.
  6. If every slot has a verified item, the test is published, the sitemap is refreshed and search engines are notified. A daily summary goes out by email.

// Stack

How it is built

Framework
Next.js 16, Tailwind 4, TypeScript
CMS
Payload CMS 3, with a publishing gate
Database
Neon Postgres (Frankfurt)
Payments
Stripe Checkout, one-time payment
AI
Claude Sonnet 5.5 and Claude Opus 5.5 through the Vercel AI Gateway batch API
Background jobs
Vercel Cron and Vercel Workflow
PDF
puppeteer-core with @sparticuz/chromium
Email
Lettermint

// FAQ

Frequently asked questions

Another question? Write to us; you get an answer from the developer within one working day.

How do you stop the AI from producing wrong answers?

A second, stronger model solves every item on its own against the downloaded source text, and code recomputes maths answers. Any mismatch sends the item to repair; items that fail twice are replaced. A test goes live only if every item passes, and about 10% are also spot-checked by a person.

What happens when the law behind a question changes?

Every week the cited law articles are read again. If one changed after the test was checked, the test is marked for re-verification and its questions are hidden. Generated tests are checked again automatically against the new text and return only if every item passes.

How do you keep AI content costs predictable?

The pipeline has a daily budget. Each call's cost is estimated first, tests that do not fit are postponed, and every run records tokens and cost per model.

Want something like this built?

Describe your product. You get a written scope, a fixed price and a delivery date within 24 hours.