Methodology
Tasks
Version 1 has five tasks. Each item belongs to a category inside its task, used for the breakdowns on model and task pages.
- Portugal knowledge (
pt-knowledge): Short-answer questions on Portuguese history, geography, culture, institutions and sport. - European Portuguese (
pt-language): Writes natural PT-PT, keeps it when asked, and understands Portuguese expressions. - Civic & practical life (
pt-civic): Practical questions about IRS, IVA, NIF, Segurança Social, renting, labour law and public services. - National exams (
pt-exams): Official 12th-grade national exam papers (IAVE and EduQA, I.P., 2025–2026): Português, Filosofia, História A, Economia A, Matemática A, Geografia A, HCA and the sciences, without the items that need a figure. - Current affairs (
pt-current): Recent Portuguese facts from official sources, starting with who won each town hall in the October 2025 local elections.
A fifth task, pt-support (multi-turn customer-support conversations in the style of tau-bench), is planned for v2.
Scorers
Wherever possible items are scored by code. A judge model is only used where the answer is open-ended.
- Multiple choice (
mcq): Code extracts the chosen letter from the answer and compares it with the key. Score 1 or 0. - Exact match (
exact): Code normalises the answer (case, accents, whitespace, number formats) and compares it with the reference and any accepted alternatives. Score 1 or 0. - SimpleQA judge (
simpleqa): A judge model labels the answer correct, incorrect or not attempted given the reference. Only correct scores 1; not attempted is tracked separately so honest abstention is visible. - Rubric judge (
rubric): A judge model marks each weighted criterion as met or not. Points earned over maximum positive points, clamped to 0–1. Negative criteria penalise invented or harmful claims. - PT-PT writing (
ptpt-writing): Code detects PT-BR markers (lexicon, gerund continuous, proclisis, “você”) for a lexicon score, and a rubric judge rates naturalness and task fulfilment. The item score averages both.
Every item score is between 0 and 1. A task score is the mean of its item scores; the overall score is the mean of the task scores, so every task weighs the same regardless of how many items it has. That includes Current affairs, which mostly measures how recent a model's knowledge is: most models score close to zero there, so it moves the overall ranking more than its size suggests.
How models are run
Every model gets the same system prompt per task, in European Portuguese, and the same questions, through an OpenAI-compatible endpoint (the LayerX AI Gateway). Sampling temperature is 0.7, except where a provider fixes it. Answers are cached, so adding a model or a question only runs what is new; earlier results do not change.
Where the questions come from
- Exams: the 12th-grade national exam papers of 2025 and 2026 (both phases, nine subjects), with the official grading criteria from IAVE and EduQA, I.P. Items that need a figure, map or image the model cannot see are left out.
- Knowledge: hand-written questions, plus questions generated from official data (CAOP 2025 from DGT, Censos 2021 from INE). New questions are filtered against strong models from several labs, as in SimpleQA: questions every model gets right are dropped.
- Current affairs: the winners of the 2025 local elections, checked against the official results map of the Comissão Nacional de Eleições (Mapa Oficial n.º 2-B/2025).
- Civic and Language: written by LayerX, with weighted grading criteria and, for civic questions, the law or official page they rely on.
Exam grade (out of 200)
The Exams task also shows a grade per paper, computed as the official criteria do: every compulsory item counts with its points, and of the optional items only the best ones count, as many as the paper says. Items left out (figures, images) are taken out of both the points earned and the points available, so the grade is the grade on the part of the paper we can ask, scaled to 0–200.
Judge
The judge model, judge prompt version, temperature and max tokens are fixed per benchmark version and written into every results file (currently anthropic/claude-opus-5.5, prompt judge-v1). The judge also appears on the leaderboard and so grades its own answers on judged tasks; LLM judges can favour their own style, so read its scores on those tasks with that in mind. Agreement between the judge and human graders will be measured on a sample and published here; that check has not been run yet.
Epochs and confidence intervals
Every item runs several times (epochs, 3 by default) to absorb sampling noise. Epoch scores are averaged per item first, so repeats do not make intervals look narrower than they are.
Intervals are 95% percentile bootstrap intervals over items (2,000 resamples with a fixed seed, so they are reproducible). When two models' intervals overlap, the ranking between them is not conclusive. Small categories have wide intervals; read category breakdowns as indicative.
Public dev split and private test split
Each task has a public dev split, published with the questions, every model's answers and the grading, for transparency and reproduction. A private test split, kept out of the public repository to limit contamination, is planned: v0.1 has none yet, so every score on this site comes from public items. When it exists, test items will keep their scores in published results with their inputs and outputs removed. Dataset files carry a canary string so they can be filtered from training data.
Versioning
Each results file records the benchmark version and a SHA-256 hash of the dataset items that were run. Scores from different benchmark versions are never mixed in one table; the site defaults to the newest version and offers a selector when older versions exist. When a model was run more than once on the same version, the most recent run is shown. Runs that include draft (not yet reviewed) items are marked as not official.
Time-sensitive items (tax rates, deadlines, office holders) carry an “as of” date showing when the answer was checked.
Cost and latency
Cost is the model's token cost for one complete run (all tasks and epochs), as reported by the endpoint (or the list price per million tokens when it reports none); judge cost is reported separately. Self-hosted models have no per-token price and show n/a. Latency is the median time per request and depends on the endpoint used as much as on the model.
Brazilian Portuguese markers (PT-BR drift)
A fixed list of forms that natural European Portuguese text would not contain: 144 words and expressions (vocabulary, spelling, Brazilian institutions) and 11 grammar patterns. 25 words that exist in both varieties with a different meaning (arquivo, time, fato, celular as an adjective…) are left out on purpose, with the reason. It is used twice: as 30% of the score of the PT-PT writing questions, and as the PT-BR column of the leaderboard, which counts markers per 10,000 words in every answer of every task (words the question contains do not count). List version 3; it still needs review by native speakers.
Grammar patterns
- Gerúndio progressivo: «Estou fazendo» em vez de «estou a fazer».
- Pronome átono no início da frase: «Me diga» em vez de «Diga-me». «Nos» fica de fora porque também é em + os.
- Pronome átono entre sujeito e verbo: «Ele me disse» numa oração principal afirmativa, em vez de «Ele disse-me». Não conta depois de palavras que em PT-PT pedem próclise (que, quando, não, já, também…).
- Possessivo sem artigo no início da frase: «Meu carro avariou» em vez de «O meu carro avariou». Vocativos e expressões fixas (Meu Deus, Nossa Senhora, Minha senhora…) não contam.
- «Tu» com o verbo na 3.ª pessoa: «Tu vai», «tu tem» em vez de «tu vais», «tu tens».
- Andar / continuar / viver + gerúndio: «Anda fazendo», «continua chovendo», «segue sendo» em vez de «anda a fazer», «continua a chover», «continua a ser».
- Pronome solto entre auxiliar e infinitivo: «Vou te dizer», «pode me ajudar», «quer se casar» (pronome sem hífen entre o auxiliar e o infinitivo) em vez de «vou dizer-te» ou «vou-te dizer».
- Pronome sujeito como complemento direto: «Eu vi ele», «encontrei ela» em vez de «vi-o», «encontrei-a».
- «Chegar em casa»: «Cheguei em casa» em vez de «cheguei a casa». Só conta com «casa»: noutros casos «chegar em» também se usa em PT-PT (chegou em quantidade, chegou em 1500).
- «Ter» existencial: «Tem gente», «tem muita gente» em vez de «há gente», «há muita gente».
- Acento circunflexo antes de m/n: Grafia brasileira com ê/ô antes de m ou n (econômico, gênero, Antônio) em vez do agudo (económico, género, António).
The full list, with the excluded words and the reasons, is in datasets/pt-language/ptbr-markers.json.
Licensing
Code is Apache-2.0. Data written by LayerX is CC-BY-4.0; third-party sources are listed per item with their licence. The exam questions reproduce official national exam papers and grading criteria (IAVE and EduQA, I.P.), which are official texts excluded from copyright (Portuguese Copyright Code, art. 8; Parecer PGR n.º 31/2016). Excerpts of other authors quoted in those papers are shown with their reference on each question page, under the quotation exception (art. 75(2)(g)).