File size: 541 Bytes
900a32d
e4daa3b
 
900a32d
 
 
 
e4daa3b
 
 
900a32d
e4daa3b
 
900a32d
 
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
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 = {
  dwiUrl: "http://localhost:7860/files/dwi.nii.gz",
  predictionUrl: "http://localhost:7860/files/prediction.nii.gz",
  metrics: {
    caseId: "sub-stroke0001",
    diceScore: 0.847,
    volumeMl: 15.32,
    elapsedSeconds: 12.5,
  },
};