(
private readonly ce: ComputeEngine,
private readonly rules: CompiledRule[],
private readonly options: {
timeLimitMs?: number;
trace?: boolean;
/** @internal Force the legacy full-scan dispatch (root-operator
* prescreen only), bypassing the skeleton screen. Overrides the
* `RUBI_NO_SKELETON` env default. For the A/B equivalence harness. */
noSkeleton?: boolean;
} = {}
)
| 146 | // RUBI_NO_RECIP: disable the csc/sec → sin^-1/cos^-1 reciprocal normalization |
| 147 | // (for A/B measuring its effect on the benchmark). |
| 148 | const NO_RECIP = process.env.RUBI_NO_RECIP !== undefined; |
| 149 | // RUBI_NO_COFN: disable the sec→csc[+π/2] / cot→-tan[+π/2] cofunction |
| 150 | // deactivation shift (A/B measuring its effect on the 4.5/4.3 benchmarks). |
| 151 | const NO_COFN = process.env.RUBI_NO_COFN !== undefined; |
| 152 | // RUBI_NO_SICI: disable the R15 rational×sin/cos(linear) → Si/Ci |
| 153 | // partial-fraction fallback (A/B measuring its effect on the 4.1 benchmark). |
| 154 | const NO_SICI = process.env.RUBI_NO_SICI !== undefined; |
| 155 | // RUBI_NO_SICI_COMPLEX: disable only the R18 quadratic extension of the Si/Ci |
| 156 | // fallback (irreducible-quadratic denominators split over complex-conjugate |
| 157 | // linear roots), keeping the R15 all-linear path. A/B measures the quadratic |
| 158 | // extension's effect on the 4.1.11 benchmark. |
| 159 | const NO_SICI_COMPLEX = process.env.RUBI_NO_SICI_COMPLEX !== undefined; |
| 160 | // RUBI_NO_TRIGSQ: disable the R16 poly×csc(u)²/sec(u)² integration-by-parts |
| 161 | // fallback (A/B measuring its effect on the 4.1.10 benchmark). |
| 162 | const NO_TRIGSQ = process.env.RUBI_NO_TRIGSQ !== undefined; |
nothing calls this directly
no outgoing calls
no test coverage detected