Skip to main content

validate_warmstart_teacher_planner_task_fingerprint

Function validate_warmstart_teacher_planner_task_fingerprint 

Source
pub fn validate_warmstart_teacher_planner_task_fingerprint(
    compiled: &CompiledPlannerRunSpec,
    contract: &WarmStartExactJhTeacherContract,
) -> Result<(), WarmStartExactJhError>
Expand description

Validates teacher WarmStartExactJhTeacherContract::schema_version and WarmStartExactJhTeacherContract::task_fingerprint against a compiled planner run.

Used by validate_warmstart_teacher_against_compiled_planner_run (standalone CLI / assets) and direct fingerprint probes. The tuner bridge validates complete teacher datasets through validate_warmstart_teacher_dataset_for_compiled_planner_run, which includes this fingerprint check via the compiled runtime contract and then validates trace payloads. On mismatch the reason string includes current planner_run '<hex>' for stable integration-test probing.