Omar Motala
All research

Method

Research integrity: finding leakage and reporting failures

How I try to catch myself being wrong. Five checks that changed what I did: three results that looked good and were not, one bar I set in advance and missed, and one leak in my own design.

Case 1

Look-ahead leakage in federal court records

What looked good
A case-duration model passed 3 preregistered rounds, with an AUC gain of +.03 to +.04.
What I checked
Which input fields drove the lift, and whether each one exists at the moment a case is filed.
What it was
90% of the lift came from Federal Judicial Center fields that are overwritten after filing: pro se, in forma pauperis, class action, jury demand and amount demanded.
What I did
Re-scored with filing-time fields only. The gain was +.0035, and I retired the model.
Figure 1. Gain in AUC from the case-duration model, before the audit and with filing-time fields only. The bar before the audit is drawn at the midpoint of +.03 to +.04.Source: case-duration model, preregistered rounds and post-audit re-score

Case 2

A design that leaked its own answer

What looked good
A back-test of patent-board decisions in which model readers had an error of 0.144.
What I checked
After scoring, whether one simple feature of the case file could do the same job.
What it was
Whether a referral notice was in the bundle nearly matched the readers on its own (error 0.157 vs 0.144). The design leaked its own answer.
What I did
Reported the leak with the result. Later tests cut every case at a point fixed by the legal process.
Figure 2. Error of a single yes/no flag against the model readers. Lower is better.Source: patent-board back-test

Case 3

Preregistered, and reported as failed

The test
Could a reading of the trial opinion rank which appeals would not be affirmed?
The bar
Written down before any outcome was read: a ranking score of 0.70.
What it was
0.690, with a 95% interval of 0.616 to 0.767. The bar was missed.
What I did
Dropped the ranking and reported it as failed.
Appeal-risk ranking vs preregistered barRanking 0.690: 0.7 (interval 0.6 to 0.8). Bar 0.70: 0.7 to 0.7Bar 0.700.50.60.70.80.9Ranking 0.690Appeal-risk ranking vs preregistered barRanking 0.690: 0.7 (interval 0.6 to 0.8). Bar 0.70: 0.7 to 0.7Bar 0.700.60.8Ranking 0.690
Figure 3. Ranking score with its 95% interval. The dashed line is the bar set before any outcome was read.Source: preregistered appeal-risk test

Case 4

An aggregate gain hiding harm

What looked good
Adding merits-brief text improved Brier from 0.2469 to 0.2420 on 129 Supreme Court cases.
What I checked
Ranking quality and the share of affirmances the model caught, not just the headline score.
What it was
AUC fell from 0.490 to 0.478, and the share of affirmances caught (affirm recall) fell from 0.405 to 0.297. The better headline score hid a worse model.
What I did
Withheld promotion.

Brier score, lower is better

Affirm recall, higher is better

Figure 4. Without and with brief text, 129 Supreme Court cases. Brier score fell (better), but AUC fell from 0.490 to 0.478 and affirm recall fell (both worse).Source: brief-text comparison, Supreme Court Terms 2021โ€“24

Case 5

A chronological reality check

What looked good
A patent-board model with AUC 0.762.
What I checked
The same model under chronological cut-offs, where it can only learn from cases decided earlier.
What it was
AUC 0.497, no better than a coin flip.
What I did
Treated the model as failed. Time-ordered data are now scored with chronological cut-offs.
Figure 5. The same patent-board model scored two ways. 0.5 is chance.Source: patent-board model evaluation

Practice

Sealed before the outcome

Weekly forecast sets are fingerprinted and timestamped before any outcome exists.

  1. Step 1

    Commit the design

    The method and scoring rule are written down first.

  2. Step 2

    Fingerprint and timestamp

    Each weekly forecast set gets a SHA-256 fingerprint, timestamped through OpenTimestamps in Bitcoin blocks.

  3. Step 3

    The outcome arrives

    Any later change to a sealed set would no longer match its fingerprint.

  4. Step 4

    Score

    None of the sealed forecasts have resolved yet.

    Not yet scored

Practice

Independent claims checks

Before I report a result, I ask an independent reader to check the write-up against its evidence. One such check of a single write-up found 3 serious and 8 moderate overclaims, and I corrected them.

Before I believe a result

  • Does every input exist at the moment of prediction?
  • Is the bar written down before I look?
  • Does a trivial signal match it?
  • Does the gain hold in each part, not just on average?
  • Does it survive a chronological split?
  • Has an independent reader checked the write-up against the evidence?