Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.
Python calibrationclassificationdecision-modelhuggingfacejevmodernbertmultilingualnlppythonpytorchroutingtyped-decisionszero-shot
test(ts): warm up and take the best of five in the identifier ratio test
Nandakishor970dc8c5f63d
diff --git a/laya-ts/tests/identifier-complexity.test.ts b/laya-ts/tests/identifier-complexity.test.tsindex 5c54d62f..b363b459 100644--- a/laya-ts/tests/identifier-complexity.test.ts+++ b/laya-ts/tests/identifier-complexity.test.ts@@ -97,8 +97,13 @@ describe("identifier stripping: complexity", () => {// above carry the guarantee -- they are 250x and 1500x apart.it("4x the input costs under 8x the time (linear ~4, quadratic ~16)", () => {- const best = (n: number) =>- Math.min(...[0, 1, 2].map(() => elapsed(() => latinProfile("a".repeat(n)))));+ // One untimed call per size first, so JIT tiering is not charged to either side, then+ // the best of five: a single descheduled run on a shared CI runner must not decide it.+ const best = (n: number) => {+ const s = "a".repeat(n);+ latinProfile(s);+ return Math.min(...[0, 1, 2, 3, 4].map(() => elapsed(() => latinProfile(s))));+ };const small = best(12_500);const large = best(50_000);// performance.now() granularity makes a sub-0.05 ms baseline meaningless; the