← Back to country index
Synthestat · Andorra · population QA

AD 1:1 population synthesis QA cycle

Country-specific layer for synthetic people in households, dwellings, real building stock where available, hidden-population overlays, and work/school assignment evidence.

Board: synthestat-population-qa · Tenant: synthestat · Country: AD · Overall status: running

Ideal-country quality criteria: impossible 1:1 benchmark

This is the common gold-standard benchmark for an ideal country. It is intentionally impossible to fully satisfy: complete success would mean a 1:1 replica of the real population where every person, household, dwelling, attribute, and assignment is exactly represented. The QA page uses it as an asymptote and gap taxonomy, not as a release promise.

Apply this same rubric to this country’s latest run, then report which needs are measured, constrained, modelled, unavailable, or blocked.

NeedUnachievable idealQA evidence we require insteadWhy perfection cannot be achieved
Complete de jure resident coverageEvery real resident represented exactly once in the right country, municipality, small area, household, and dwelling.Synthetic person count equals official population at all enforced geographies; no unexplained duplicate, missing, or out-of-universe people.A true 1:1 resident list is a confidential population register and changes continuously; Synthestat can only match official aggregates and declared source universes.
Complete attribute truthEach synthetic person has the same age, sex, household role, education, occupation, industry, origin, health proxy, income proxy, and lifecycle state as the corresponding real person.Published marginal and cross-tab constraints pass within HARD/FIRM/SOFT tolerances; modelled fields carry uncertainty and measured/constrained/modelled provenance.Official releases do not expose a complete individual joint distribution, and many attributes are survey-derived, lagged, suppressed, or unavailable at fine geography.
Perfect household and family structureEvery household contains the exact real members and relationships, including multi-generation, partnership, child, shared, institutional, and edge-case arrangements.Household totals, household-type distributions, age/sex/role consistency, fertility/child constraints, and structural invariants pass with explicit residuals.Household membership is sensitive microdata; public sources usually expose only aggregate household/family tables and partial cross-tabs.
Exact dwelling and building groundingEvery household is assigned to its real dwelling and building with exact occupancy, vacancy, dwelling type, floor area, tenure, and address-level geography.Dwelling/building capacity checks pass; vacancy/second-home/institutional dwellings are represented or explicitly unavailable; building links have source provenance.Many countries lack open address-level registers; dwelling occupancy is confidential and time-varying.
Complete de facto and hidden-population overlaysHomeless, undocumented, refugees, students away from home, seasonal, institutional, tourists, and daytime populations are all represented with exact location and timing.Overlay layers use interval estimates, source-specific quality flags, and never silently modify de jure HARD constraints.Hidden populations are partly unobserved by definition; ethical/privacy constraints forbid exact person-level labels.
Exact school, workplace, facility, and mobility assignmentEvery person is assigned to the real school, workplace, care provider, commute, and daily activity chain they use.Assignment layers use official registers/OD flows where available; modelled assignments are flagged and validated only against aggregate flows/capacities.Operational assignments are usually protected registers or dynamic behavioural data; Phase 1 must not imply they are known.
Full joint-distribution realismThe full multivariate joint distribution is identical to reality across all attributes, households, geography, and rare subgroups.High-priority marginals/cross-tabs pass; sparse zones and prior-dominated attributes are clearly marked with quality tiers and credible intervals.The joint distribution is non-identifiable from published marginals; IPF/BN/hierarchical pooling choose plausible distributions, not truth.
Zero uncertainty and zero lagAll values are current today and known without error.Every output records reference period, retrieval timestamp, lag, confidence, uncertainty bounds, and degradation decisions.Official statistics are lagged, revised, sampled, suppressed, and harmonized after collection.
Privacy-safe yet maximally detailed releaseThe system releases maximum useful detail while creating zero re-identification risk.Release mode, k-anonymity/cell safeguards, perturbation/aggregation policy, and sensitive-field treatment are explicit.Fine-area synthetic microdata can still create structurally unique records; synthetic does not mean anonymous.
Perfect reproducibility and auditabilityAny user can trace every output record to exact source snapshots, transformations, constraints, relaxations, seeds, and code versions.Run manifests, source provenance, checksums, frozen extracts, seeds, versioned crosswalks, validation reports, and relaxation logs are complete.This is approachable but never final: source portals, classifications, geography, and code keep changing, so audits must be continuously renewed.

Population output status

PeopleTarget populationNational coverageAbsolute shortfallHouseholdsDwellingsHouses/buildingsMax marginal deviationHARD statusRun
88830.00%pass_exactad_population_review_cycle1_354c792b_seed420987

Deviation is the maximum absolute relative error across collected HARD/FIRM/SOFT marginal constraints in the latest review bundle. GUIDE/INFORMATIONAL priors are excluded. National target/coverage are read from build_manifest.json when available and override any visual impression of completion.

running
1
todo
2
done
5

Datasets and distributions

Lists come from the latest run bundle: source_provenance.json, distribution_diagnostics.json, and build_manifest.json.

Summary

Datasets used10
Distributions available38
Constraints/distributions used in synthesis43
Constraint typesFIRM: 7, GUIDE: 18, HARD: 2, SOFT: 11
Dataset variantscomparable_country: 11, current: 1, robust: 26
Finest-geography statusconstrained: 27, modelled: 11

Source gaps

  • No live Central Statistics Office Andorra retrieval adapter is implemented yet for AD Task 01.
  • Open building geometry and registry-like context still require dwelling inference; no live Ordnance Survey Andorra dwelling integration exists in this repo.
  • Current Andorra implementation is seeded and documentation-first, not a production national extraction path.

Datasets used

Dataset/source ID
AD_CADASTRE_ANDORRA_buildings
AD_CENTRAL_education
AD_CENTRAL_employment
AD_CENTRAL_households
AD_CENTRAL_income
AD_CENTRAL_population
AD_ESTADISTICA_ANDORRA_education
AD_ESTADISTICA_ANDORRA_population
AD_ORDNANCE_boundaries
AD_ORDNANCE_seeded_buildings

Best source by distribution family

Distribution familyDataset/source ID
D01_demographics_finestAD_CENTRAL_population
D05_educationAD_CENTRAL_education
D12_household_typeAD_CENTRAL_households
building_stockAD_ORDNANCE_seeded_buildings
employment_occupation_industryAD_CENTRAL_employment
geography_boundariesAD_ORDNANCE_boundaries
incomeAD_CENTRAL_income

Available distributions / priors in registry

SpecLabelTypeGeoStatusVariantConfidenceData URI
C01_education_occupation_couplingEducation-occupation coupling strengthGUIDEnationalmodelledcomparable_country0.595data/literature/seeded_occupation_priors.yaml
C02_assortative_mating_educationAssortative mating by educationGUIDEcommunemodelledcomparable_country0.605data/literature/seeded_occupation_priors.yaml
C03_assortative_mating_ageAssortative mating by ageGUIDEcommunemodelledcomparable_country0.675data/literature/seeded_occupation_priors.yaml
C04_assortative_mating_originAssortative mating by originGUIDEcommunemodelledcomparable_country0.615data/literature/seeded_occupation_priors.yaml
C05_spatial_sorting_educationSpatial sorting by educationGUIDEnationalmodelledcomparable_country0.695data/literature/seeded_occupation_priors.yaml
C06_spatial_sorting_incomeSpatial sorting by incomeGUIDEnationalmodelledcomparable_country0.695data/literature/seeded_occupation_priors.yaml
C07_spatial_sorting_originSpatial sorting by originGUIDEnationalmodelledcomparable_country0.715data/literature/seeded_occupation_priors.yaml
C08_intergenerational_income_elasticityIntergenerational income elasticityGUIDEnationalmodelledcomparable_country0.575data/literature/seeded_occupation_priors.yaml
C09_intergenerational_occupation_transmissionIntergenerational occupation transmissionGUIDEnationalmodelledcomparable_country0.575data/literature/seeded_occupation_priors.yaml
C10_commuting_mode_distanceCommuting mode × distance × occupation × regionGUIDEcommunemodelledcomparable_country0.635data/literature/seeded_occupation_priors.yaml
C11_health_age_sex_educationHealth × age × sex × educationGUIDEnationalmodelledcomparable_country0.615data/literature/seeded_occupation_priors.yaml
D01_age_sex_nuts3Age × sex at NUTS-3HARDNUTS-3constrainedrobust0.74docs/wiki/compiled/D01_age_sex_nuts3.md
D01_census_age_sex_nuts3Census age × sex at NUTS-3HARDNUTS-3constrainedrobust0.74docs/wiki/compiled/D01_census_age_sex_nuts3.md
D02_marital_nuts3Marital status × age × sex at NUTS-3FIRMNUTS-3constrainedrobust0.73docs/wiki/compiled/D02_marital_nuts3.md
D03_origin_age_sexOrigin group × age × sexFIRMNUTS-3constrainedrobust0.73docs/wiki/compiled/D03_origin_age_sex.md
D04_religion_age_sex_regionReligion × age × sex × regionGUIDENUTS-3constrainedrobust0.71docs/wiki/compiled/D04_religion_age_sex_region.md
D05_census_education_nuts3Census education at NUTS-3FIRMNUTS-3constrainedrobust0.73docs/wiki/compiled/D05_census_education_nuts3.md
D05_education_nuts2Education at NUTS-2FIRMNUTS-2constrainedcurrent0.7docs/wiki/compiled/D05_education_nuts2.md
D06_employment_age_sex_educationEmployment status × age × sex × educationFIRMunknownconstrainedrobust0.73docs/wiki/compiled/D06_employment_age_sex_education.md
D07_occupation_isco3Occupation ISCO-3 distributionSOFTunknownconstrainedrobust0.71docs/wiki/compiled/D07_occupation_isco3.md
D08_occupation_educationOccupation × educationSOFTunknownconstrainedrobust0.71docs/wiki/compiled/D08_occupation_education.md
D09_industry_nace2Industry NACE-2 distributionSOFTunknownconstrainedrobust0.71docs/wiki/compiled/D09_industry_nace2.md
D10_income_education_occupationIncome × education × occupationSOFTunknownconstrainedrobust0.71docs/wiki/compiled/D10_income_education_occupation.md
D11_income_household_type_regionIncome × household type × regionSOFTNUTS-3constrainedrobust0.71docs/wiki/compiled/D11_income_household_type_region.md
D12_household_type_size_regionHousehold type × size × regionFIRMNUTS-3constrainedrobust0.73docs/wiki/compiled/D12_household_type_size_region.md
D13_children_mother_age_educationChildren × mother age × educationSOFTNUTS-3constrainedrobust0.71docs/wiki/compiled/D13_children_mother_age_education.md
D14_partner_age_gap_homogamyPartner age gap × homogamySOFTNUTS-3constrainedrobust0.71docs/wiki/compiled/D14_partner_age_gap_homogamy.md
D15_coresidence_structureCo-residence structureSOFTNUTS-3constrainedrobust0.71docs/wiki/compiled/D15_coresidence_structure.md
D16_household_income_type_regionHousehold income × type × regionSOFTNUTS-3constrainedrobust0.71docs/wiki/compiled/D16_household_income_type_region.md
D17_education_mobilityEducation mobilityGUIDEunknownconstrainedrobust0.71docs/wiki/compiled/D17_education_mobility.md
D18_occupation_given_educationOccupation | educationSOFTunknownconstrainedrobust0.71docs/wiki/compiled/D18_occupation_given_education.md
D19_employment_given_demographicsEmployment | demographicsSOFTunknownconstrainedrobust0.71docs/wiki/compiled/D19_employment_given_demographics.md
D20_birth_intervalsBirth intervalsGUIDEunknownconstrainedrobust0.71docs/wiki/compiled/D20_birth_intervals.md
D21_age_first_birthAge at first birth × education × cohortGUIDEunknownconstrainedrobust0.71docs/wiki/compiled/D21_age_first_birth.md
D22_age_leaving_homeAge leaving homeGUIDEunknownconstrainedrobust0.71docs/wiki/compiled/D22_age_leaving_home.md
D23_divorce_duration_children_educationDivorce × duration × children × educationGUIDENUTS-3constrainedrobust0.71docs/wiki/compiled/D23_divorce_duration_children_education.md
D24_age_marriage_sex_educationAge at marriage × sex × educationGUIDENUTS-3constrainedrobust0.71docs/wiki/compiled/D24_age_marriage_sex_education.md
D25_internal_migrationInternal migrationFIRMunknownconstrainedrobust0.73docs/wiki/compiled/D25_internal_migration.md

Constraints/distributions used in synthesis manifest

Constraint or distribution ID
CORR_OCC_EMPLOYMENT
D01
D12
EMPLOYMENT_CODE_LINK
FIRM
GUIDE
HARD
HARMONIZATION
HH_CHILD_ADULT
HH_COUPLE_TWO_ADULTS
HH_SINGLE_SIZE_ONE
HH_SIZE_PLAUSIBLE
HMN_AGE_RANGE
HMN_BIRTH_DATE
HMN_BUILDING_SCHEMA
HMN_DWELLING_BUILDING_REF
HMN_DWELLING_SCHEMA
HMN_EDUCATION
HMN_EDUCATION_AGE
HMN_EDUCATION_GROUP
HMN_EMPLOYMENT
HMN_HOUSEHOLD_DWELLING_REF
HMN_HOUSEHOLD_SCHEMA
HMN_HOUSEHOLD_TYPE
HMN_INDUSTRY
HMN_MARITAL
HMN_OCCUPATION
HMN_ORIGIN
HMN_PERSON_HOUSEHOLD_REF
HMN_PERSON_SCHEMA
HMN_RETIRED_AGE
HMN_SEX
INFORMATIONAL
MODEL_FALLBACK_RATE
MODEL_REGISTRY_PROFILE
SPATIAL
SPT_BUILDING_COORDS
SPT_DWELLING_BUILDING_REF
SPT_DWELLING_HOUSEHOLD_REF
SPT_HH_DWELLING_REF
SPT_PERSON_HOUSEHOLD_REF
STRUCTURAL
XCN_COMPARABILITY

Current country tasks

IDTitleAssigneeStatusCreatedLatest summary
t_af577395AD cycle 1 downloader freeze after source follow-upssynth-downloaderrunning2026-05-19 19:59:21 CEST
t_4520a64fAD cycle 2 review after source-upgraded model rerunsynth-reviewertodo2026-05-19 20:00:11 CEST
t_dc97d96aAD cycle 2 model rerun after source/download follow-upssynth-modelertodo2026-05-19 19:59:40 CEST
t_cd86993fAD cycle 1 distribution-source follow-up after NEEDS_MORE_SOURCESsynth-distributions-researcherdone2026-05-19 19:59:05 CESTCompleted AD cycle-1 distribution-source follow-up after NEEDS_MORE_SOURCES. Found official Andorra SIGDDE.Public data-bearing endpoints, wrote findings/extraction/latest handoffs, and identified actionable household-size, labour-sector, salary, immigration, and weak-population priors for downloader
t_bab326d2AD cycle 1 marginal/source follow-up after NEEDS_MORE_SOURCESsynth-marginals-researcherdone2026-05-19 19:58:49 CESTCompleted AD cycle-1 marginal follow-up research and wrote the required handoff reports under /home/synthestat/workspace/manager_handoffs/marginals. Identified the official Andorra Statistics DV/API and GIS candidate sources for population/admin marginals, flagged weak/nonexistent household and hidd
t_91d4d3d1AD population QA cycle 1: review bundlesynth-reviewerdone2026-05-19 18:41:46 CESTNEEDS_MORE_SOURCES for AD run ad_population_review_cycle1_354c792b_seed420987. Bundle is present/readable and HARD/FIRM/SOFT residual summaries pass for the declared 2-zone seeded slice, but PASS is blocked by missing live Andorra official source/download evidence, incomplete provenance URLs/referen
t_82a2fe70AD population QA cycle 1: build review bundlesynth-modelerdone2026-05-19 18:41:34 CESTBuilt and verified the AD cycle-1 population synthesis review bundle at /home/synthestat/output/runs/AD/ad_population_review_cycle1_354c792b_seed420987. The bundle is contract-complete for internal research review, HARD constraints pass exactly, hidden-population and work/school layers are explicit
t_52100d9corchestrate AD population synthesis QA loopsynth-managerdone2026-05-19 18:40:05 CESTRouted AD population synthesis QA cycle 1: created synth-modeler bundle-build task t_82a2fe70 and dependent synth-reviewer bundle-review task t_91d4d3d1. Updated /home/synthestat/workspace/manager_handoffs/manager_updates.md with bottleneck, routing, blocker, and next-action notes.

Process

Manager kickoff

synth-manager creates and controls the country loop.

Model build

synth-modeler generates the review bundle: people, households, dwellings/buildings or unavailable markers, overlays, assignments, manifests, residuals, diagnostics, uncertainty, provenance.

Reviewer gate

synth-reviewer audits constraints, marginals, household/family realism, hidden populations, dwelling/building grounding, work/school assignment, uncertainty, provenance, and privacy.

Branch

PASS finalizes; NEEDS_MODEL_FIX routes back to modeler; NEEDS_MORE_SOURCES routes to marginal/distribution researchers then downloader; exhausted evidence/model plateau stops for human decision.

Quality gates and stop conditions