bitfab 0.62.1 → 0.62.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-ZVP2UTGB.js → chunk-54YGZ2J6.js} +9 -3
- package/dist/{chunk-ZVP2UTGB.js.map → chunk-54YGZ2J6.js.map} +1 -1
- package/dist/{chunk-TCWLKTWY.js → chunk-CCR7VOXC.js} +2 -2
- package/dist/{chunk-TCWLKTWY.js.map → chunk-CCR7VOXC.js.map} +1 -1
- package/dist/{chunk-5JMVH2V4.js → chunk-OLVCZPQW.js} +6 -6
- package/dist/{chunk-5JMVH2V4.js.map → chunk-OLVCZPQW.js.map} +1 -1
- package/dist/{chunk-CNGWMZ4B.js → chunk-Q53HNU3K.js} +2 -2
- package/dist/{chunk-CNGWMZ4B.js.map → chunk-Q53HNU3K.js.map} +1 -1
- package/dist/{chunk-6R5CAYBA.js → chunk-RIYIEUW4.js} +2 -2
- package/dist/{http-4Q64Q6YS.js → http-BMF67MZ2.js} +2 -2
- package/dist/{http-V7BFJTGX.js → http-EVGEAKX2.js} +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/node.cjs +1 -1
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +3 -3
- package/dist/{replay-SE722WH5.js → replay-EBTPRVWQ.js} +3 -3
- package/dist/replayCli.js +2 -2
- package/dist/seedCli.js +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-6R5CAYBA.js.map → chunk-RIYIEUW4.js.map} +0 -0
- /package/dist/{http-4Q64Q6YS.js.map → http-BMF67MZ2.js.map} +0 -0
- /package/dist/{http-V7BFJTGX.js.map → http-EVGEAKX2.js.map} +0 -0
- /package/dist/{replay-SE722WH5.js.map → replay-EBTPRVWQ.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BitfabError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CCR7VOXC.js";
|
|
4
4
|
|
|
5
5
|
// src/codeChange.ts
|
|
6
6
|
var NUL = String.fromCharCode(0);
|
|
@@ -95,6 +95,7 @@ var VALUE_FLAGS = /* @__PURE__ */ new Set([
|
|
|
95
95
|
]);
|
|
96
96
|
var BOOLEAN_FLAGS = /* @__PURE__ */ new Set([
|
|
97
97
|
"--only-with-assertions",
|
|
98
|
+
"--judge-assertions",
|
|
98
99
|
"--db-branch",
|
|
99
100
|
"--no-db-branch",
|
|
100
101
|
"--no-code-change",
|
|
@@ -188,6 +189,7 @@ Options:
|
|
|
188
189
|
--dataset-ids uuid1,uuid2 (--dataset-id is the same flag)
|
|
189
190
|
--grader-ids id1,id2
|
|
190
191
|
--only-with-assertions (replay only traces carrying an approved assertion)
|
|
192
|
+
--judge-assertions (judge each replay's approved assertions as it finishes; costs model calls)
|
|
191
193
|
--mock none|all|marked
|
|
192
194
|
--db-branch, --no-db-branch
|
|
193
195
|
--dry-run (resolve inputs, run nothing)
|
|
@@ -273,7 +275,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
|
|
|
273
275
|
sessionId: seedCase.sessionId
|
|
274
276
|
})
|
|
275
277
|
);
|
|
276
|
-
const { flushTraces: flushTraces2 } = await import("./http-
|
|
278
|
+
const { flushTraces: flushTraces2 } = await import("./http-EVGEAKX2.js");
|
|
277
279
|
await flushTraces2(3e4);
|
|
278
280
|
return { pipeline, traceFunctionKey, traceIds };
|
|
279
281
|
}
|
|
@@ -387,6 +389,9 @@ function parseReplayCliArgs(registry, argv) {
|
|
|
387
389
|
case "--only-with-assertions":
|
|
388
390
|
parsed.onlyWithAssertions = true;
|
|
389
391
|
break;
|
|
392
|
+
case "--judge-assertions":
|
|
393
|
+
parsed.judgeAssertions = true;
|
|
394
|
+
break;
|
|
390
395
|
case "--no-code-change":
|
|
391
396
|
parsed.noCodeChange = true;
|
|
392
397
|
break;
|
|
@@ -704,6 +709,7 @@ async function runReplayCli(registry, argv = typeof process === "undefined" ? []
|
|
|
704
709
|
datasetIds: selectedDatasetIds,
|
|
705
710
|
...args.graderIds === void 0 ? {} : { graderIds: args.graderIds },
|
|
706
711
|
...args.onlyWithAssertions === void 0 ? {} : { onlyWithAssertions: args.onlyWithAssertions },
|
|
712
|
+
...args.judgeAssertions === void 0 ? {} : { judgeAssertions: args.judgeAssertions },
|
|
707
713
|
...args.mock === void 0 ? {} : { mock: args.mock },
|
|
708
714
|
...args.dbBranch === void 0 ? {} : {
|
|
709
715
|
dbBranch: args.dbBranch && registrationOptions.dbBranch !== void 0 && registrationOptions.dbBranch !== false ? registrationOptions.dbBranch : args.dbBranch
|
|
@@ -896,4 +902,4 @@ export {
|
|
|
896
902
|
runRegistryMain,
|
|
897
903
|
runIfEntrypoint
|
|
898
904
|
};
|
|
899
|
-
//# sourceMappingURL=chunk-
|
|
905
|
+
//# sourceMappingURL=chunk-54YGZ2J6.js.map
|