(c: any)
| 49 | // Sample points are scalars (univariate, substituted for x) or tuples matching |
| 50 | // the case's `verify.vars` (multivariate — all variables substituted at once). |
| 51 | const casePoints = (c: any): number[][] => |
| 52 | (c.verify.points || []).map((p: any) => (Array.isArray(p) ? p.map(parseFloat) : [parseFloat(p)])); |
| 53 | const sampleResult = (boxed: any, c: any) => { |
| 54 | const vars: string[] = c.verify.vars ?? ['x']; |
| 55 | return casePoints(c).map((tuple) => { |