File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 31
31
"generate" : " ./scripts/generate.sh" ,
32
32
"test" : " vitest --project unit-and-integration --coverage" ,
33
33
"pretest:accuracy" : " npm run build:compile" ,
34
- "test:accuracy" : " sh ./scripts/accuracy/run-accuracy-tests .sh"
34
+ "test:accuracy" : " sh ./scripts/accuracy/runAccuracyTests .sh"
35
35
},
36
36
"license" : " Apache-2.0" ,
37
37
"devDependencies" : {
Original file line number Diff line number Diff line change 1
1
import path from "path" ;
2
2
import { readFile , writeFile , mkdir } from "fs/promises" ;
3
- import { getAccuracyResultStorage } from "../../tests/accuracy/sdk/accuracy-result-storage /getAccuracyResultStorage.js" ;
3
+ import { getAccuracyResultStorage } from "../../tests/accuracy/sdk/accuracyResultStorage /getAccuracyResultStorage.js" ;
4
4
import {
5
5
AccuracyResult ,
6
6
AccuracyRunStatuses ,
7
7
ExpectedToolCall ,
8
8
LLMToolCall ,
9
9
ModelResponse ,
10
- } from "../../tests/accuracy/sdk/accuracy-result-storage /resultStorage.js" ;
10
+ } from "../../tests/accuracy/sdk/accuracyResultStorage /resultStorage.js" ;
11
11
import { getCommitSHA } from "../../tests/accuracy/sdk/gitInfo.js" ;
12
12
import {
13
13
HTML_TEST_SUMMARY_FILE ,
Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ TEST_EXIT_CODE=$?
37
37
# This is necessary when comparing one accuracy run with another as we wouldn't
38
38
# want to compare against an incomplete run.
39
39
export MDB_ACCURACY_RUN_STATUS=$( [ $TEST_EXIT_CODE -eq 0 ] && echo " done" || echo " failed" )
40
- npx tsx scripts/accuracy/update-accuracy-run-status .ts || echo " Warning: Failed to update accuracy run status to '$MDB_ACCURACY_RUN_STATUS '"
40
+ npx tsx scripts/accuracy/updateAccuracyRunStatus .ts || echo " Warning: Failed to update accuracy run status to '$MDB_ACCURACY_RUN_STATUS '"
41
41
42
42
# This is optional but we do it anyways to generate a readable summary of report.
43
- npx tsx scripts/accuracy/generate-test-summary .ts || echo " Warning: Failed to generate test summary HTML report"
43
+ npx tsx scripts/accuracy/generateTestSummary .ts || echo " Warning: Failed to generate test summary HTML report"
44
44
45
45
exit $TEST_EXIT_CODE
Original file line number Diff line number Diff line change 1
- import { getAccuracyResultStorage } from "../../tests/accuracy/sdk/accuracy-result-storage /getAccuracyResultStorage.js" ;
2
- import { AccuracyRunStatus } from "../../tests/accuracy/sdk/accuracy-result-storage /resultStorage.js" ;
1
+ import { getAccuracyResultStorage } from "../../tests/accuracy/sdk/accuracyResultStorage /getAccuracyResultStorage.js" ;
2
+ import { AccuracyRunStatus } from "../../tests/accuracy/sdk/accuracyResultStorage /resultStorage.js" ;
3
3
import { getCommitSHA } from "../../tests/accuracy/sdk/gitInfo.js" ;
4
4
5
5
const envAccuracyRunId = process . env . MDB_ACCURACY_RUN_ID ;
You can’t perform that action at this time.
0 commit comments