Documentation

11.29 Case study 2: event and time defects

The book's defective fixture contains:

ID,TIME,DV,AMT,EVID,MDV,CMT,...
1,0,.,100,1,0,1,...
1,0,8,0,0,0,2,...
1,2,3.5,0,0,0,2,...
1,1,99,0,0,0,2,...
...
1,4,0.4,0,0,0,2,...

What the checks found

REC03 fails because the dose has MDV 0. TIM01 fails because TIME decreases from 2 to 1 within the first block. TIM02 fails because ID 1 returns after IDs 2–4. The observed 99 may also attract observation scrutiny, but ordering/identity must be corrected before interpreting it.

The complete defective run produced four failures, thirteen warnings and 29 finding rows. That multiplicity is useful: it shows the consequences of a small number of source problems.

Corrective reasoning

First verify whether MDV was mis-coded or EVID/AMT were assigned to the wrong row. Second reconstruct subject 1's true record order from timestamps and protocol events. Third determine why ID 1 was split—sort error, concatenation error or a wrong ID.

Do not merely sort by ID/TIME: the two TIME 0 records require intended observation/dose order.

Expected rerun evidence

After verified correction, REC03, TIM01 and TIM02 should no longer fail. Compare the number and order of records to prove no row was lost. Reinspect TIM05 because equal-time order may have changed, and revisit observation outlier/spike findings because a repaired timeline changes TAD and neighbor relationships. A “fixed” timeline that only clears the three failures but changes an unexplained concentration pattern is not closed.

Common mistakes

  • Setting MDV 1 without confirming the row is a dose.
  • Sorting equal-time records arbitrarily.
  • Moving the final ID 1 row without checking its provenance.
  • Investigating concentration 99 before fixing timeline integrity.

Checklist

  • Verify row roles against source events.
  • Reconstruct one contiguous block per subject.
  • Preserve same-time semantic order.
  • Rerun all record/time/observation checks.

Further reading

See record consistency, time checks and the defective evidence bundle.