You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8484dc4
Browse filesBrowse the repository at this point in the historyBrowse files
test(interaction-harness): a pool leaves out a run that began too late (#10464)
* test(interaction-harness): a pool leaves out a run that began too late
A run whose block began after its motion had settled made the whole
pooled proof throw BusyWindowTooLateError, while a starved run was only
left out. A run that began too late holds nothing to judge either, so
the pool now leaves it out the same way and names it. Its runs entry is
null and late holds the error. The floors are unchanged: a pool with
fewer judged runs than its minimum, counted over all the runs, fails by
name.
* Merge branch 'main' into test/harness-pool-late-runs
Co-authored-by: Cindy Zhang <cindyxz@meta.com>
@@ -1664,7 +1689,9 @@ export function pooledBusyProof(
1664
1689
constfailures: string[]=[];
1665
1690
if(judgedReads.length<minJudgedRuns){
1666
1691
failures.push(
1667
-
`${judgedReads.length} of ${runs.length} runs judged, under ${minJudgedRuns}: the compositor presented too little in the others to judge`,
1692
+
lateRuns===0
1693
+
? `${judgedReads.length} of ${runs.length} runs judged, under ${minJudgedRuns}: the compositor presented too little in the others to judge`
1694
+
: `${judgedReads.length} of ${runs.length} runs judged, under ${minJudgedRuns}: ${lateRuns} began after the motion had settled, and the compositor presented too little in any other to judge`,
1668
1695
);
1669
1696
}
1670
1697
if(judgedReads.length>0&&moved<minJudgedFrames){
@@ -1684,15 +1711,18 @@ export function pooledBusyProof(
0 commit comments