Welcome to mirror list, hosted at ThFree Co, Russian Federation.

mock_data.js « show « experiments « routes « experiment_tracking « ml « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: adfb3dbf773538befd569e5d841b40d642f2374e (plain)
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
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',
    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,
  },
];