Skip to content

pair_complete is a dead guard: a missing quality verdict enters a difference estimand as zero #6

Description

@FelixTJDietrich

Found during a validity audit of #5.

src/export/analysis.ts hard-codes pair_complete: true, and analysis/paired-bootstrap.ts filters on that field plus two others that are numbers by construction. The filter can therefore never exclude a row.

The consequence is that an attempt with no quality verdict enters a paired difference estimand as a hard 0 rather than being excluded as missing. quality_outcome_available_a / _b are recorded and consulted by nothing.

This sits in the analysis path and should land with its own tests, including a case where one arm of a pair has no evaluation result.

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