@infersec/conduit 1.65.0 → 1.67.0
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/benchmark/evaluation/bfclEvaluator.d.ts +1 -0
- package/dist/benchmark/evaluation/checkpoint.d.ts +7 -0
- package/dist/benchmark/evaluation/codeEvaluator.d.ts +1 -0
- package/dist/benchmark/evaluation/mbppEvaluator.d.ts +1 -0
- package/dist/cli.js +15817 -16145
- package/dist/mbppplus-DUrK5Qt0.js +2656 -0
- package/dist/modelManagement/quantization.d.ts +5 -0
- package/package.json +2 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface Checkpoint<T> {
|
|
2
|
+
completedIndices: number[];
|
|
3
|
+
results: Array<T | null>;
|
|
4
|
+
}
|
|
5
|
+
export declare function loadCheckpoint<T>(filePath: string): Promise<Checkpoint<T> | null>;
|
|
6
|
+
export declare function saveCheckpoint<T>(filePath: string, checkpoint: Checkpoint<T>): Promise<void>;
|
|
7
|
+
export declare function removeCheckpoint(filePath: string): Promise<void>;
|
|
@@ -2,6 +2,7 @@ import type { BenchmarkStats, MBPPPlusProblem } from "../types.js";
|
|
|
2
2
|
export declare function loadMBPPPlusProblems(): Promise<MBPPPlusProblem[]>;
|
|
3
3
|
export declare function evaluateMBPPPlus(options: {
|
|
4
4
|
apiKey: string;
|
|
5
|
+
checkpointDir?: string;
|
|
5
6
|
completionEndpoint: string;
|
|
6
7
|
concurrency: number;
|
|
7
8
|
endpointID: string;
|