(idx: number)
| 291 | const failedIdx = ctx.result.failedStepIndex; |
| 292 | if (failedIdx === null) return ctx; |
| 293 | const inWindow = (idx: number) => Math.abs(idx - failedIdx) <= FAILED_ONLY_RADIUS; |
| 294 | const filteredSteps = ctx.steps.filter(s => inWindow(s.stepIndex)); |
| 295 | const filteredEvidence = ctx.failure.evidence.filter(e => inWindow(e.stepIndex)); |
| 296 | return { |