// 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
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.
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.
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.
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.
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.
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
- A planner picks the day's tests by search demand, season and coverage gaps.
- Claude Sonnet 5.5 writes the items in the exam's format, with a mandatory primary source for each.
- Code runs the deterministic checks; the sources are downloaded.
- Claude Opus 5.5 solves each item against the source; maths items are recomputed in code.
- Failed items get one repair, then replacement, for up to 3 rounds.
- 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
- puppeteer-core with @sparticuz/chromium
- Lettermint


