Skip to content

Ops: Tier 4 re-drain and projection rebuild for PRD 016B #39

Description

@santhonys

Why

PRD 016B's schema and UI are live, and production has been backfilled from existing cds_fields. That backfill is only the floor. The new Tier 4 C21/C22 cleaner logic has not been applied to historical Tier 4 artifacts, so the measured Phase 0 ED/EA answerability gains are not fully visible in production yet.

Scope

Re-run Tier 4 extraction for 2024-25+ tier4_docling documents, then rebuild the browser projection so cds_fields and school_browser_rows pick up the improved C21/C22 values.

Recommended operator path

Use an operator machine or self-hosted runner, not the bounded GitHub-hosted daily worker. The hosted ops workflow caps runs at 100 rows and is intended for pending extraction drains, not corpus re-drains.

Suggested steps:

  1. Bump the Tier 4 producer version if we want selected-result precedence to distinguish newly cleaned artifacts from older tier4_docling rows.
  2. Re-extract 2024-25+ Tier 4 rows with the updated cleaner.
  3. Rebuild the browser projection:
python tools/browser_backend/project_browser_data.py --full-rebuild --apply
  1. Re-run the PRD 016B audit:
python tools/browser_backend/prd016b_phase0_audit.py
  1. Re-run public contract checks:
tests/api/admission_strategy_contract.sh
tests/api/positioning_contract.sh

Acceptance checks

  • Remote school_browser_rows ED count answerability moves materially above the current SQL-backfill floor.
  • Top-200 ED-offered answerability remains at or above the Phase 0 gate documented in docs/plans/prd-016b-phase-0-findings.md.
  • No increase in ed_math_inconsistent rows beyond the known verifier-rejected cases unless manually explained.
  • /schools/[school_id] admission strategy card renders ED and wait-list blocks for rows where valid counts are present, even if the explicit checkbox field was missing.

Current production floor after PRD 016B migrations

  • ed_applicants=not.is.null: 38 rows
  • ed_offered=is.true: 119 rows
  • wait_list_policy=is.true: 211 rows
  • ea_offered=is.true: 99 rows
  • admission_strategy_card_quality=eq.ok: 470 rows

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions