sweep_idstring uuid required
company_idstring uuid required
company_namestring nullable required
window_daysinteger required
status'queued' | 'running' | 'succeeded' | 'failed' required
Lifecycle of one sweep. Mirrors ApplicabilityRunStatus deliberately.
stage'queued' | 'gathering' | 'analysing' | 'comparing' | 'done' required
What the sweep is doing right now.
Committed before the work it names starts, so a watcher sees the stage currently taking the
time rather than the last one that finished. ANALYSING is where nearly all of it goes.
rollout_enrolledboolean required
createdstring date-time required
finished_atstring date-time nullable required
collateral_analysedinteger required
visible_agreement_ratenumber nullable required
visible_flipsinteger required
agreement_ratenumber nullable required
flagged_lostinteger required
dismissed_reintroducedinteger required