1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
export const MOCK_START_CURSOR = 'eyJpZCI6IjE2In0';
export const MOCK_PAGE_INFO = {
startCursor: MOCK_START_CURSOR,
endCursor: 'eyJpZCI6IjIifQ',
hasNextPage: true,
hasPreviousPage: true,
};
export const MOCK_EXPERIMENT = { name: 'experiment', path: '/path/to/experiment' };
export const MOCK_CANDIDATES = [
{
rmse: 1,
l1_ratio: 0.4,
details: 'link_to_candidate1',
artifact: 'link_to_artifact',
ci_job: {
path: 'link_to_job',
name: 'a job',
},
name: 'aCandidate',
created_at: '2023-01-05T14:07:02.975Z',
user: { username: 'root', path: '/root' },
},
{
auc: 0.3,
l1_ratio: 0.5,
details: 'link_to_candidate2',
created_at: '2023-01-05T14:07:02.975Z',
name: null,
user: null,
},
{
auc: 0.3,
l1_ratio: 0.5,
details: 'link_to_candidate3',
created_at: '2023-01-05T14:07:02.975Z',
name: null,
user: null,
},
{
auc: 0.3,
l1_ratio: 0.5,
details: 'link_to_candidate4',
created_at: '2023-01-05T14:07:02.975Z',
name: null,
user: null,
},
{
auc: 0.3,
l1_ratio: 0.5,
details: 'link_to_candidate5',
created_at: '2023-01-05T14:07:02.975Z',
name: null,
user: null,
},
];
|