# Task Assignment — worker_m4_qa (Final Milestone 4 QA Verification)

## Mission
Execute the comprehensive test suites across the FreeExile codebase to verify 100% pass rate for the 30 Map Biomes & Graphics Overhaul:

1. **Pytest Full Suite**:
   Run:
   `pytest tests/unit/test_map_styles_db.py tests/unit/test_map_styles_catalog_sync.py tests/unit/test_map_style_assets_integrity.py tests/e2e/test_30_biomes_generation_e2e.py tests/unit/test_wilderness_map_generator.py tests/unit/test_war_fog_and_procedural_map.py -v`
   Record exact passed test count.

2. **Node.js Test Suites**:
   Run:
   - `node tests/unit/test_biome_texture_manager.js`
   - `node tests/unit/test_challenger_biome_texture_stress.js`
   - `node tests/unit/test_challenger_lru_thrashing_stress.js`
   - `node tests/unit/test_challenger_tile_grid_stress.js`

3. **Web Server Verification**:
   Verify `tools/serve_webapp.py --port 8080`:
   - Start the server or test if port 8080 responds to HTTP requests.
   - Test `GET http://localhost:8080/api/map?zone_id=zone_tang_kiem_nhai&biome=1`
   - Test `GET http://localhost:8080/api/map?zone_id=zone_tang_kiem_nhai&biome=2`
   - Test `GET http://localhost:8080/api/map?zone_id=zone_tang_kiem_nhai&biome=11`
   - Test `GET http://localhost:8080/api/map?zone_id=zone_tang_kiem_nhai&biome=21`
   - Ensure the server stays running in the background (`IsDaemon=true` or background process) for DevTools browser audit.

4. **Code & Asset Hygiene Audit**:
   - `python tools/lint/check_i18n_hygiene.py --strict`
   - `python tools/lint/verify_asset_pipeline.py`
   - Verify line counts of all files touched in M1-M3 (`map_style_*.py`, `map_style_catalog.js`, `biome_texture_manager.js`, `tile_map_renderer.js`, `tile_grid_loader.js`, `map_biome_catalog.py`, `map_binary_serializer.py`, `wilderness_map_generator.py`).

5. Document results in `handoff.md`.
