Skip to content

5 pre-existing test failures surfaced by the first full cold-cache (--rebuild-caches) run #445

Description

@ligon

The 2026-06-14 WB-parity loop ran a full cold pytest --rebuild-caches gate (1878 tests) — the first such full cold run in a while. It found 6 failures: 1 was introduced by the parity work and is fixed (#444, Mali u-code leak); the other 5 are pre-existing and were latent behind warm caches / scoped per-gap gates. git diff 7bdd03f2..development confirms none of these features/countries were touched this session.

The 5 pre-existing failures

  1. test_sample.py::test_covers_all_waves[Albania]Albania sample missing waves: ['1996']. Pre-existing sample-coverage gap (same class as the EthiopiaRHS one fixed in PR feat(EthiopiaRHS): canonicalize structure + promote 2004/2009 to full waves #429). Fix: wire Albania's 1996 wave into sample() (or document the exclusion).

  2. test_uganda_invariance.py::test_parquet_matches_baseline[2005-06/_/interview_date.parquet]column mismatch: actual ['Int_t'], expected ['date']. The interview_date feature output evolved (dateInt_t); the stored baseline is stale.

  3. test_uganda_invariance.py::test_parquet_matches_baseline[var/cluster_features.parquet]dtype mismatch: Latitude/Longitude actual float64, expected float32. Stale baseline dtype.

  4. test_uganda_invariance.py::test_parquet_matches_baseline[var/shocks.parquet] — baseline mismatch.

  5. test_uganda_api_vs_replication.py::test_api_matches_replication[interview_date]no shared data columns after merge — same root cause as Add the second half Uganda interview_date.py files #2 (interview_date dateInt_t).

Nature / fix

These are stale-baseline drift (2–5: the Uganda baseline parquets predate legitimate feature-output evolution) and one coverage gap (1: Albania 1996). Resolution is a maintainer call: regenerate the Uganda baselines (after confirming the current output is correct), and fix/justify the Albania 1996 coverage. Not introduced by the parity merges, but they make a full cold CI red — worth clearing before the pending version bump / master merge.

Surfaced by the release-gate run logged in slurm_logs/2026-06-14_parity_loop/release_gate_fulltest.out.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions