Public servicesProposal

Measure to correct: census assessments and open data for every school in Spain

Spain tests every pupil in 4th year of primary and then forbids using the results to compare schools. A proposal to publish what each school adds, and act on it.

Comic illustration: on Commons Row, Carmen points at a ledger, Theo holds a magnifier and Nora lifts a blueprint beside a school whose big window shows a rising bar chart with the tallest bar in gold, as a patch of data fog drifts away.

In short

Spain's education law requires a census diagnostic assessment of every pupil in the fourth year of primary and the second year of ESO, and forbids using the results to rank schools, while a 2022 Madrid law says each school's results must be public. Portugal, by contrast, publishes for each school the share of pupils who finish on time and pass their exams, compares them with pupils of similar starting level, and shows the gap for disadvantaged pupils. The radical-centre proposal: publish each school's context-adjusted results and its equity gap, attach an automatic support plan to every school below expectations, and let schools test their fixes as evaluated pilots.

Key points

  • Spain's education law makes the diagnostic assessments in the fourth year of primary and the second year of ESO census-based, for every pupil, and forbids using any results to rank schools.
  • Madrid's 2022 Ley Maestra says each school's results in all general tests are public, which collides with the national ban on rankings.
  • Portugal's InfoEscolas portal publishes each school's rate of 'direct paths to success' and compares it with pupils nationally who had similar earlier results.
  • Portuguese data showed 21% of the most disadvantaged pupils in lower secondary on a direct path to success, against 56% of pupils without support.
  • We propose publishing context-adjusted results and equity gaps for every school, with automatic support and evaluated pilots for those below expectations.

Democracia 21's launch speech asked for something every party says it wants: measure results in order to adapt policy. We have analysed the speech as we would any party's. In Spanish schools the measuring already happens. What the law forbids is using it to compare schools.

What Spain measures, and what it hides

Under the LOMLOE, every school must run a diagnostic assessment in the fourth year of primary and the second year of ESO. Eurydice's summary of the law is clear: the assessment is census-based, for every pupil, it covers at least language and mathematics, and it is informative, formative and guiding for schools, teachers, pupils and families. On top of that, the national education assessment institute (INEE) runs a sample-based general assessment of the system in the sixth year of primary.

And then the brake. The results of the diagnostic assessments may not be used, in any case, to rank schools. Article 140 of the Organic Law of Education adds that the purpose of system assessments cannot justify using their results for individual assessments of pupils or for rankings of schools, at state or regional level.

The result is a legal tangle. Madrid's 2022 law on freedom of school choice, the Ley Maestra, says the opposite in its article 5: each school's individual results in all the general tests its pupils take shall be public, broken down by stage and by every dimension assessed, including university entrance and the region's own assessments. One law says publish school by school, the other says never rank. In practice families get neither a clear right to the data nor an official, comparable picture of their schools.

So Spain tests every pupil and leaves the results in a legal grey zone. The early school leaving data shows what is at stake: regions with the same basic law range from 3.6% to 20.6%, and the children of mothers with only primary education leave at 32.9%. Those differences start in particular classrooms, years before the age of 18.

What Portugal does

Portugal publishes. Its Ministry of Education runs InfoEscolas, a portal with data on every school. One headline measure is the share of pupils on a "direct path to success": those who complete a cycle, say from the seventh to the ninth year, without repeating a year and with a pass in the national exams. The statistics office's technical note explains the key step: each school's figure is compared with the national average for pupils who had similar results in the exams at the end of the previous cycle, so a school that takes in pupils with difficulties can still score high if more of them succeed than similar pupils elsewhere.

The Portuguese government's 2020 report on the data showed why the comparison matters. Lower secondary direct paths to success rose from 45% to 47% between 2017-18 and 2018-19, and in upper secondary from 37% to 44%. Among pupils on the highest tier of school social support, only 21% in lower secondary were on a direct path, against 56% of pupils without support. The report also found schools in disadvantaged areas doing better than others in more favourable ones, and the government set out to study them. It announced a restricted area for schools with socio-economic data by class, access for the inspectorate to use the data in external evaluation, and an indicator of "overcoming the context" to measure each school's contribution to social mobility.

The proposal

The left is right that school data should send help where it is needed, never shame the schools that teach the hardest-to-teach children. The market-liberal tradition is right that families have a right to know how their school is doing, and that public money should answer for results. Karl Popper's piecemeal engineering adds the piece that fits neither camp: a reform is a hypothesis, and you only learn from it if you look at the results and correct.

So:

  • Publish what each school adds. Amend articles 140 and 144 to allow, and require, publication of each school's diagnostic results adjusted for its intake, on the Portuguese model, together with the gap between pupils who receive grants or the minimum income and the rest. Raw averages and individual pupils stay confidential. A school is judged by what it adds and by how well its poorest pupils do.
  • Attach help to every weak result. A school more than a set margin below expectation for two years in a row gets an automatic support plan: extra teaching hours for small-group tutoring, a mentor team from a school with similar intake and strong results, and the right to choose its own measures.
  • Turn the fixes into evaluated pilots. Where several schools adopt a measure, the region assigns it in stages, with a comparison group, and publishes the result. Jennifer Pahlka's lesson on delivery applies: build the data pipeline once, with schools' input, so that results reach teachers within weeks.
  • Open the anonymised data to researchers. The INEE and regions should release pupil-level microdata, pseudonymised, with the safeguards statistical offices already apply to microdata.

Spain already tests every pupil twice during compulsory schooling. Publishing what each school adds, and acting on it, turns that measurement into correction.

Questions and answers

What is the evaluación de diagnóstico in Spain?

It is an assessment that every school must run in the fourth year of primary and the second year of ESO, covering at least language and mathematics. The LOMLOE makes it census-based, for all pupils, and gives it an informative, formative and guiding purpose for schools, teachers and families.

Can Spanish schools be ranked by their test results?

No. Articles 140 and 144 of the Organic Law of Education forbid using the results of system assessments for individual assessments of pupils or to rank schools. Madrid's own 2022 law on freedom of school choice says each school's results are public, which shows how unsettled the question is.

How does Portugal publish school results?

Through InfoEscolas, a Ministry of Education portal. One headline indicator is the 'direct path to success': the share of pupils who finish a cycle without repeating a year and pass their final exams, compared with the national average for pupils with similar earlier results. The government's reports also break the results down by whether pupils receive school social support.

Sources

  1. Evaluación y promoción en la Educación Primaria: España. Eurydice, European Commission (2026)
  2. Ley 1/2022, de 10 de febrero, Maestra de Libertad de Elección Educativa de la Comunidad de Madrid (texto consolidado). Boletín Oficial del Estado (2022)
  3. Alunos do 3.º ciclo do ensino básico e do secundário «estão a chumbar menos». Government of Portugal (2020)
  4. Indicador dos Percursos Diretos de Sucesso. Nota técnica. Direção-Geral de Estatísticas da Educação e Ciência (Portugal) (2022)
  5. Informe sobre el abandono educativo temprano en España. Datos de 2025 y análisis comparado. Funcas (2026)

Get the week's articles by email