File size: 669 Bytes
900a32d e4daa3b 900a32d e4daa3b 900a32d e4daa3b 8290bc9 e4daa3b 900a32d e4daa3b 900a32d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
import type { SegmentationResult, CasesResponse } from "../types";
export const mockCases: string[] = [
"sub-stroke0001",
"sub-stroke0002",
"sub-stroke0003",
];
export const mockCasesResponse: CasesResponse = {
cases: mockCases,
};
export const mockSegmentationResult: SegmentationResult = {
// URLs match actual API contract: /files/{jobId}/{caseId}/{filename}
dwiUrl: "http://localhost:7860/files/test-job-123/sub-stroke0001/dwi.nii.gz",
predictionUrl: "http://localhost:7860/files/test-job-123/sub-stroke0001/prediction.nii.gz",
metrics: {
caseId: "sub-stroke0001",
diceScore: 0.847,
volumeMl: 15.32,
elapsedSeconds: 12.5,
},
};
|