fix(demography): verify D01-D06 in isolated QA with INE traceability
This commit is contained in:
@@ -0,0 +1,88 @@
|
||||
{
|
||||
"date": "2026-11-20",
|
||||
"baseline": "558c11ef",
|
||||
"environment": {
|
||||
"url": "http://127.0.0.3:18720",
|
||||
"database": "continuity_20261120_test",
|
||||
"port": 55441,
|
||||
"investors": "synthetic normal accounts, normal login",
|
||||
"territorial_ids": "QA identities, not official territorial codes",
|
||||
"demographic_values": "486 exact observations read from three INE originals, not synthetic estimates",
|
||||
"source_writes": false,
|
||||
"operational_writes": false,
|
||||
"installation_publication_migrations": false
|
||||
},
|
||||
"verification": {
|
||||
"frontend": {
|
||||
"passed": 12,
|
||||
"failed": 0
|
||||
},
|
||||
"http": {
|
||||
"passed": 3,
|
||||
"assertions": 36
|
||||
},
|
||||
"types": "passed",
|
||||
"focused_lint": "passed",
|
||||
"pint": "passed after formatting",
|
||||
"qa_build": "passed",
|
||||
"exact_observations_compared": 486,
|
||||
"data_mismatches": 0,
|
||||
"browser": "real application in Microsoft Edge via native UI; screenshots inspected in execution session",
|
||||
"desktop": "1594x1031 browser window, responsive desktop layout",
|
||||
"mobile": "390x844 emulated viewport, not a physical phone",
|
||||
"preexisting_environment_issue": "translation languages endpoint returns 503 in isolated QA; no demography request failure observed",
|
||||
"qa_build_exit_code": 0,
|
||||
"qa_build_warning": "Preexisting optional fontaine font fallback package absent; no dependency installed. Build completed successfully."
|
||||
},
|
||||
"requirements": {
|
||||
"D01": {
|
||||
"state": "integrated_and_verified_in_qa",
|
||||
"evidence": "Real selector accepted Turismo, retained both districts and 2026-2028; explicit notice distinguishes population context from unavailable tourism demand statistics."
|
||||
},
|
||||
"D02": {
|
||||
"state": "integrated_and_verified_in_qa",
|
||||
"evidence": "Totals, residence, age bands, summary, annual series and differences use integer display and grouping. General consultation in Funhalouro showed population by age/residence in the real table. Exact original strings and internal values unchanged."
|
||||
},
|
||||
"D03": {
|
||||
"state": "verified_in_originals",
|
||||
"evidence": "2026!B179 in Maputo Provincia workbook is Moamba district, not province total; 2026!B54 in Inhambane is Funhalouro district. Verified numeric strings, labels and source hashes in companion cell report. No incorrect imported mapping demonstrated in this QA; no original or official mapping rewritten."
|
||||
},
|
||||
"D04": {
|
||||
"state": "integrated_and_verified_in_qa",
|
||||
"evidence": "Opened investor details in desktop and mobile: no sheet/cell column, file name, SHA256 or technical edition prose. Raw import provenance, precision and cell references remain in administrative data; exact audit passed. Concurrent divergence warning retained in plain language without internal identifiers."
|
||||
},
|
||||
"D05": {
|
||||
"state": "integrated_and_verified_in_qa",
|
||||
"evidence": "Bilene/Funhalouro grouped under 2026, 2027, 2028. 2026 displays 157983 and 46657 with grouping; exact difference rounds to 111326 (sign follows first minus second). Technical repeated comparison explanation removed; contextual limitations shown once per consultation."
|
||||
},
|
||||
"D06": {
|
||||
"state": "integrated_and_verified_in_qa",
|
||||
"evidence": "Commerce consultations do not offer tourism-only provincial ideas. No compatible documented ideas available in this QA; absence explicitly stated. Normal investor continued to a new isolated dossier; real preparation controls retained Comercio e servicos and Funhalouro. Read-only audit confirmed persisted context draft sector:9 and territory:5d3ec348-191e-4c48-9dad-6aef8928355f, needs_review=false.",
|
||||
"qa_case": "817e61d1-ab45-4f8d-8bf6-f51e33b30503"
|
||||
}
|
||||
},
|
||||
"available_data_limits": [
|
||||
"No tourism-sector statistical series or commerce opportunities were invented.",
|
||||
"Territorial observations remain specific to the district named in the original workbook; province context does not convert a district observation into a province total.",
|
||||
"Synthetic QA sector catalogue entries support the normal investor entry; this execution does not install or populate an operational catalogue."
|
||||
],
|
||||
"reproduce": [
|
||||
"python tools/demography-requirements-sources.py <original-Provincias-directory> --output outputs/demography-d01-d06-20261120",
|
||||
"php tools/demography-requirements-qa.php (guarded existing QA schema only)",
|
||||
"php tools/demography-requirements-audit.php (read only)",
|
||||
"node --test tests/frontend/demographic-reading.test.mjs",
|
||||
"DB_DATABASE=continuity_20261120_test php vendor/phpunit/phpunit/phpunit --bootstrap tools/continuity-qa-bootstrap.php --filter 'test_public_comparison_preserves_decimals_versions_and_missing_years|test_tourism_is_explicit_and_comparisons_include_intermediate_years|test_commerce_and_territory_reach_the_normal_investor_entry' tests/Feature/DemographyTest.php"
|
||||
],
|
||||
"evidence_directory": "outputs/demography-d01-d06-20261120",
|
||||
"preserved": [
|
||||
"88 matrix rows",
|
||||
"C09",
|
||||
"C10",
|
||||
"B07",
|
||||
"B02",
|
||||
"F16",
|
||||
"F31-A",
|
||||
"F31-B documentary pending",
|
||||
"original DOCX and Revision 1"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user