# Validation

## Automated checks

Backend:

```bash
cd backend
uv run --extra test pytest
```

Frontend:

```bash
cd frontend
npm test
npm run build
```

## Functional browser walkthrough

1. Confirm Overview shows `AS0558844`, version, Feb 2026 and the evidence panel.
2. In Reporting Controls, update the period and verify rebuild-required status.
3. Run Rebuild and Preserve Previous Month.
4. In Source Data Hub, select every feed and compare its worksheet and VBA name.
5. Import a named source file; an empty name must be rejected.
6. Verify Monthly Comparison contains the four workbook executive segments.
7. Search `TOTAL-HNAH` in Variance Analysis, then search an unknown code and
   confirm `Ref Code not found`.
8. Inspect Reconciliation Controls for both PASS and ATTENTION states.
9. Record a non-zero adjustment for a valid reference code.
10. Export the refreshed template and verify the message states that the source
    workbook was not modified.

## Known evidence limitation

The Neo4j extraction warning indicates limits of 100,000 formula dependency
links and 10,000 formula range-reference nodes. Screen and workflow parity is
explicitly verified; complete cell-by-cell formula lineage is not claimed.

