@connectci/xdmod-charts 0.0.0-stage → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +6 -2
  3. package/dist/caption.d.ts +68 -0
  4. package/dist/caption.js +118 -0
  5. package/dist/csv.d.ts +22 -0
  6. package/dist/csv.js +95 -0
  7. package/dist/fixtures.d.ts +58 -0
  8. package/dist/fixtures.js +1 -0
  9. package/dist/format.d.ts +6 -0
  10. package/dist/format.js +39 -0
  11. package/dist/generated/palette.d.ts +4 -0
  12. package/dist/generated/palette.js +23 -0
  13. package/dist/generated/statistics.d.ts +6 -0
  14. package/dist/generated/statistics.js +217 -0
  15. package/dist/index.d.ts +13 -0
  16. package/dist/index.js +8 -0
  17. package/dist/measure.d.ts +7 -0
  18. package/dist/measure.js +14 -0
  19. package/dist/palette.d.ts +11 -0
  20. package/dist/palette.js +19 -0
  21. package/dist/parse.d.ts +3 -0
  22. package/dist/parse.js +82 -0
  23. package/dist/payload.d.ts +81 -0
  24. package/dist/payload.js +1 -0
  25. package/dist/view.d.ts +58 -0
  26. package/dist/view.js +243 -0
  27. package/fixtures/README.md +13 -0
  28. package/fixtures/aggregate-empty.json +85 -0
  29. package/fixtures/aggregate-fills-empty-buckets.json +118 -0
  30. package/fixtures/aggregate-has-more-others-count.json +103 -0
  31. package/fixtures/aggregate-incomplete-with-probe-day.json +108 -0
  32. package/fixtures/aggregate-jobs-by-resource.json +66 -0
  33. package/fixtures/aggregate-marks-resources-that-stop.json +125 -0
  34. package/fixtures/aggregate-no-fill-for-average.json +115 -0
  35. package/fixtures/aggregate-no-fill-incomplete-buckets.json +110 -0
  36. package/fixtures/aggregate-no-fill-when-bucket-filtered.json +114 -0
  37. package/fixtures/aggregate-no-fill-when-more.json +110 -0
  38. package/fixtures/aggregate-no-fill-with-offset.json +110 -0
  39. package/fixtures/aggregate-nominal-not-reordered.json +107 -0
  40. package/fixtures/aggregate-offset-page.json +103 -0
  41. package/fixtures/aggregate-ordered-bucket-order.json +116 -0
  42. package/fixtures/aggregate-probe-reaches-end.json +108 -0
  43. package/fixtures/aggregate-unknown-bucket-last.json +115 -0
  44. package/fixtures/aggregate-unordered.json +103 -0
  45. package/fixtures/average-leaves-gaps.json +125 -0
  46. package/fixtures/calendar-december-into-january.json +113 -0
  47. package/fixtures/calendar-range-ends-at-month-end.json +108 -0
  48. package/fixtures/cpu-hours-by-resource-incomplete.json +125 -0
  49. package/fixtures/early-end-average-by-resource-not-filled.json +147 -0
  50. package/fixtures/early-end-average-other-dimension.json +144 -0
  51. package/fixtures/early-end-daily-by-queue.json +180 -0
  52. package/fixtures/early-end-daily-series-stops.json +139 -0
  53. package/fixtures/early-end-day-inside-last-period.json +147 -0
  54. package/fixtures/early-end-fill-stops-at-last-day.json +145 -0
  55. package/fixtures/early-end-fills-to-resource-last-day.json +149 -0
  56. package/fixtures/early-end-other-dimension-never-filled.json +145 -0
  57. package/fixtures/early-end-probe-window-too-short.json +144 -0
  58. package/fixtures/early-end-resource-retired.json +144 -0
  59. package/fixtures/early-end-several-resources.json +205 -0
  60. package/fixtures/early-end-without-probe.json +140 -0
  61. package/fixtures/label-stripped-from-description.json +95 -0
  62. package/fixtures/no-series-values.json +86 -0
  63. package/fixtures/partial-last-day.json +119 -0
  64. package/fixtures/partial-last-month.json +122 -0
  65. package/fixtures/probe-day-after-range.json +113 -0
  66. package/fixtures/probe-day-inside-last-month.json +113 -0
  67. package/fixtures/probe-day-last-day-of-period.json +113 -0
  68. package/fixtures/rank-prefixes-on-series.json +130 -0
  69. package/fixtures/series-ended-before-probe-day.json +188 -0
  70. package/fixtures/timeseries-complete-last-period.json +113 -0
  71. package/fixtures/timeseries-month-gaps.json +121 -0
  72. package/fixtures/timeseries-more-series-than-palette.json +328 -0
  73. package/fixtures/warnings-all-three.json +104 -0
  74. package/fixtures/week-total-incomplete-last.json +135 -0
  75. package/fixtures/week-total-midweek-end.json +130 -0
  76. package/fixtures/week-total-midweek-start.json +129 -0
  77. package/package.json +32 -4
  78. package/rules/README.md +29 -0
  79. package/rules/palette.json +4 -0
  80. package/rules/statistics.json +217 -0
  81. package/schema/chart-payload.v1.json +320 -0
@@ -0,0 +1,66 @@
1
+ {
2
+ "description": "Aggregate, Jobs realm, job_count by resource over a finished month: ranked categories, no early end, no warnings.",
3
+ "producers": ["ts", "py"],
4
+ "input": {
5
+ "request": {
6
+ "realm": "Jobs",
7
+ "statistic": "job_count",
8
+ "group_by": "resource",
9
+ "dataset_type": "aggregate",
10
+ "start_date": "2026-10-01",
11
+ "end_date": "2026-10-31",
12
+ "filters_notes": [],
13
+ "dimension_filtered": false,
14
+ "offset": 0,
15
+ "limit": 10
16
+ },
17
+ "label": "Number of Jobs Ended",
18
+ "description": "Number of Jobs Ended: The total number of jobs that ended during the selected period.",
19
+ "today": "2026-11-27",
20
+ "categories": [
21
+ { "name": "1. cluster-a", "value": 120 },
22
+ { "name": "2. cluster-b", "value": 80 }
23
+ ],
24
+ "others_count": 0,
25
+ "has_more": false,
26
+ "latest_data_day": null,
27
+ "resource_days": null,
28
+ "link": null,
29
+ "time_zone": null,
30
+ "instance": null
31
+ },
32
+ "expected": {
33
+ "version": 1,
34
+ "realm": "Jobs",
35
+ "statistic": "job_count",
36
+ "group_by": "resource",
37
+ "dataset_type": "aggregate",
38
+ "requested": { "start": "2026-10-01", "end": "2026-10-31" },
39
+ "counted": { "start": "2026-10-01", "end": "2026-10-31" },
40
+ "last_period_incomplete": false,
41
+ "measure": {
42
+ "label": "Number of Jobs Ended",
43
+ "description": "The total number of jobs that ended during the selected period.",
44
+ "kind": "total",
45
+ "missing": "zero",
46
+ "unit": "jobs"
47
+ },
48
+ "dimension": { "name": "resource", "ordered": false },
49
+ "filters": { "notes": [] },
50
+ "categories": [
51
+ { "name": "cluster-a", "value": 120 },
52
+ { "name": "cluster-b", "value": 80 }
53
+ ],
54
+ "offset": 0,
55
+ "data_through": null,
56
+ "data_through_precision": null,
57
+ "others_count": 0,
58
+ "last_data_period_partial": false,
59
+ "has_more": false,
60
+ "ranked_by": "value",
61
+ "link": null,
62
+ "warnings": [],
63
+ "source": "XDMoD",
64
+ "retrieved": "2026-11-27"
65
+ }
66
+ }
@@ -0,0 +1,125 @@
1
+ {
2
+ "description": "A category whose resource's last day is before the chart's end is marked source resource; one before the range start is not.",
3
+ "producers": [
4
+ "ts",
5
+ "py"
6
+ ],
7
+ "input": {
8
+ "request": {
9
+ "realm": "Jobs",
10
+ "statistic": "job_count",
11
+ "group_by": "resource",
12
+ "dataset_type": "aggregate",
13
+ "start_date": "2026-10-01",
14
+ "end_date": "2026-11-09",
15
+ "filters_notes": [],
16
+ "dimension_filtered": false,
17
+ "offset": 0,
18
+ "limit": 10,
19
+ "unit": "Month"
20
+ },
21
+ "label": "Number of Jobs Ended",
22
+ "description": "Jobs run",
23
+ "today": "2026-11-09",
24
+ "others_count": 0,
25
+ "has_more": false,
26
+ "latest_data_day": "2026-11-08",
27
+ "resource_days": {
28
+ "since": "2026-07-13",
29
+ "days": {
30
+ "cluster-a": "2026-11-08",
31
+ "cluster-b": "2026-10-19",
32
+ "cluster-c": "2026-09-01"
33
+ }
34
+ },
35
+ "link": "https://xdmod.example/chart",
36
+ "time_zone": "America/New_York",
37
+ "instance": {
38
+ "name": "ACCESS XDMoD",
39
+ "url": "https://xdmod.access-ci.org"
40
+ },
41
+ "categories": [
42
+ {
43
+ "name": "cluster-a",
44
+ "value": 3
45
+ },
46
+ {
47
+ "name": "cluster-b",
48
+ "value": 2
49
+ },
50
+ {
51
+ "name": "cluster-c",
52
+ "value": 1
53
+ }
54
+ ]
55
+ },
56
+ "expected": {
57
+ "version": 1,
58
+ "realm": "Jobs",
59
+ "statistic": "job_count",
60
+ "group_by": "resource",
61
+ "dataset_type": "aggregate",
62
+ "requested": {
63
+ "start": "2026-10-01",
64
+ "end": "2026-11-09"
65
+ },
66
+ "counted": {
67
+ "start": "2026-10-01",
68
+ "end": "2026-11-09"
69
+ },
70
+ "last_period_incomplete": true,
71
+ "measure": {
72
+ "label": "Number of Jobs Ended",
73
+ "description": "Jobs run",
74
+ "kind": "total",
75
+ "missing": "zero",
76
+ "unit": "jobs"
77
+ },
78
+ "dimension": {
79
+ "name": "resource",
80
+ "ordered": false
81
+ },
82
+ "filters": {
83
+ "notes": []
84
+ },
85
+ "time_basis": {
86
+ "zone": "America/New_York"
87
+ },
88
+ "instance": {
89
+ "name": "ACCESS XDMoD",
90
+ "url": "https://xdmod.access-ci.org"
91
+ },
92
+ "warnings": [
93
+ {
94
+ "code": "waiting-not-counted",
95
+ "text": "Jobs still waiting aren't counted, and the last few days may be incomplete."
96
+ }
97
+ ],
98
+ "offset": 0,
99
+ "data_through": "2026-11-08",
100
+ "data_through_precision": "day",
101
+ "others_count": 0,
102
+ "last_data_period_partial": false,
103
+ "has_more": false,
104
+ "ranked_by": "value",
105
+ "link": "https://xdmod.example/chart",
106
+ "source": "XDMoD",
107
+ "retrieved": "2026-11-09",
108
+ "categories": [
109
+ {
110
+ "name": "cluster-a",
111
+ "value": 3
112
+ },
113
+ {
114
+ "name": "cluster-b",
115
+ "value": 2,
116
+ "data_through": "2026-10-19",
117
+ "data_through_source": "resource"
118
+ },
119
+ {
120
+ "name": "cluster-c",
121
+ "value": 1
122
+ }
123
+ ]
124
+ }
125
+ }
@@ -0,0 +1,115 @@
1
+ {
2
+ "description": "An average never gets empty buckets filled with 0.",
3
+ "producers": [
4
+ "ts",
5
+ "py"
6
+ ],
7
+ "input": {
8
+ "request": {
9
+ "realm": "Jobs",
10
+ "statistic": "avg_waitduration_hours",
11
+ "group_by": "jobsize",
12
+ "dataset_type": "aggregate",
13
+ "start_date": "2026-08-01",
14
+ "end_date": "2026-11-08",
15
+ "filters_notes": [],
16
+ "dimension_filtered": false,
17
+ "offset": 0,
18
+ "limit": 10,
19
+ "unit": "Month"
20
+ },
21
+ "label": "Number of Jobs Ended",
22
+ "description": "Jobs run",
23
+ "today": "2026-11-09",
24
+ "others_count": 0,
25
+ "has_more": false,
26
+ "latest_data_day": null,
27
+ "resource_days": null,
28
+ "link": "https://xdmod.example/chart",
29
+ "time_zone": "America/New_York",
30
+ "instance": {
31
+ "name": "ACCESS XDMoD",
32
+ "url": "https://xdmod.access-ci.org"
33
+ },
34
+ "dimension_order": [
35
+ "1",
36
+ "2 - 4",
37
+ "5 - 8",
38
+ "> 8"
39
+ ],
40
+ "dimension_complete": true,
41
+ "categories": [
42
+ {
43
+ "name": "5 - 8",
44
+ "value": 4
45
+ },
46
+ {
47
+ "name": "1",
48
+ "value": 9
49
+ }
50
+ ]
51
+ },
52
+ "expected": {
53
+ "version": 1,
54
+ "realm": "Jobs",
55
+ "statistic": "avg_waitduration_hours",
56
+ "group_by": "jobsize",
57
+ "dataset_type": "aggregate",
58
+ "requested": {
59
+ "start": "2026-08-01",
60
+ "end": "2026-11-08"
61
+ },
62
+ "counted": {
63
+ "start": "2026-08-01",
64
+ "end": "2026-11-08"
65
+ },
66
+ "last_period_incomplete": false,
67
+ "measure": {
68
+ "label": "Number of Jobs Ended",
69
+ "description": "Jobs run",
70
+ "kind": "average",
71
+ "missing": "gap",
72
+ "unit": "hours"
73
+ },
74
+ "dimension": {
75
+ "name": "jobsize",
76
+ "ordered": true
77
+ },
78
+ "filters": {
79
+ "notes": []
80
+ },
81
+ "time_basis": {
82
+ "zone": "America/New_York"
83
+ },
84
+ "instance": {
85
+ "name": "ACCESS XDMoD",
86
+ "url": "https://xdmod.access-ci.org"
87
+ },
88
+ "warnings": [
89
+ {
90
+ "code": "mean-of-jobs",
91
+ "text": "This is an average per job, so a few long jobs can pull it up."
92
+ }
93
+ ],
94
+ "offset": 0,
95
+ "data_through": null,
96
+ "data_through_precision": null,
97
+ "others_count": 0,
98
+ "last_data_period_partial": false,
99
+ "has_more": false,
100
+ "ranked_by": "value",
101
+ "link": "https://xdmod.example/chart",
102
+ "source": "XDMoD",
103
+ "retrieved": "2026-11-09",
104
+ "categories": [
105
+ {
106
+ "name": "1",
107
+ "value": 9
108
+ },
109
+ {
110
+ "name": "5 - 8",
111
+ "value": 4
112
+ }
113
+ ]
114
+ }
115
+ }
@@ -0,0 +1,110 @@
1
+ {
2
+ "description": "No fill when the bucket list may be cut short.",
3
+ "producers": [
4
+ "ts",
5
+ "py"
6
+ ],
7
+ "input": {
8
+ "request": {
9
+ "realm": "Jobs",
10
+ "statistic": "job_count",
11
+ "group_by": "jobsize",
12
+ "dataset_type": "aggregate",
13
+ "start_date": "2026-08-01",
14
+ "end_date": "2026-11-08",
15
+ "filters_notes": [],
16
+ "dimension_filtered": false,
17
+ "offset": 0,
18
+ "limit": 10,
19
+ "unit": "Month"
20
+ },
21
+ "label": "Number of Jobs Ended",
22
+ "description": "Jobs run",
23
+ "today": "2026-11-09",
24
+ "others_count": 0,
25
+ "has_more": false,
26
+ "latest_data_day": null,
27
+ "resource_days": null,
28
+ "link": "https://xdmod.example/chart",
29
+ "time_zone": "America/New_York",
30
+ "instance": {
31
+ "name": "ACCESS XDMoD",
32
+ "url": "https://xdmod.access-ci.org"
33
+ },
34
+ "dimension_order": [
35
+ "1",
36
+ "2 - 4",
37
+ "5 - 8",
38
+ "> 8"
39
+ ],
40
+ "dimension_complete": false,
41
+ "categories": [
42
+ {
43
+ "name": "5 - 8",
44
+ "value": 4
45
+ },
46
+ {
47
+ "name": "1",
48
+ "value": 9
49
+ }
50
+ ]
51
+ },
52
+ "expected": {
53
+ "version": 1,
54
+ "realm": "Jobs",
55
+ "statistic": "job_count",
56
+ "group_by": "jobsize",
57
+ "dataset_type": "aggregate",
58
+ "requested": {
59
+ "start": "2026-08-01",
60
+ "end": "2026-11-08"
61
+ },
62
+ "counted": {
63
+ "start": "2026-08-01",
64
+ "end": "2026-11-08"
65
+ },
66
+ "last_period_incomplete": false,
67
+ "measure": {
68
+ "label": "Number of Jobs Ended",
69
+ "description": "Jobs run",
70
+ "kind": "total",
71
+ "missing": "zero",
72
+ "unit": "jobs"
73
+ },
74
+ "dimension": {
75
+ "name": "jobsize",
76
+ "ordered": true
77
+ },
78
+ "filters": {
79
+ "notes": []
80
+ },
81
+ "time_basis": {
82
+ "zone": "America/New_York"
83
+ },
84
+ "instance": {
85
+ "name": "ACCESS XDMoD",
86
+ "url": "https://xdmod.access-ci.org"
87
+ },
88
+ "warnings": [],
89
+ "offset": 0,
90
+ "data_through": null,
91
+ "data_through_precision": null,
92
+ "others_count": 0,
93
+ "last_data_period_partial": false,
94
+ "has_more": false,
95
+ "ranked_by": "value",
96
+ "link": "https://xdmod.example/chart",
97
+ "source": "XDMoD",
98
+ "retrieved": "2026-11-09",
99
+ "categories": [
100
+ {
101
+ "name": "1",
102
+ "value": 9
103
+ },
104
+ {
105
+ "name": "5 - 8",
106
+ "value": 4
107
+ }
108
+ ]
109
+ }
110
+ }
@@ -0,0 +1,114 @@
1
+ {
2
+ "description": "No fill when the request filters the dimension it groups by.",
3
+ "producers": [
4
+ "ts",
5
+ "py"
6
+ ],
7
+ "input": {
8
+ "request": {
9
+ "realm": "Jobs",
10
+ "statistic": "job_count",
11
+ "group_by": "jobsize",
12
+ "dataset_type": "aggregate",
13
+ "start_date": "2026-08-01",
14
+ "end_date": "2026-11-08",
15
+ "filters_notes": [
16
+ "Job size: 1"
17
+ ],
18
+ "dimension_filtered": true,
19
+ "offset": 0,
20
+ "limit": 10,
21
+ "unit": "Month"
22
+ },
23
+ "label": "Number of Jobs Ended",
24
+ "description": "Jobs run",
25
+ "today": "2026-11-09",
26
+ "others_count": 0,
27
+ "has_more": false,
28
+ "latest_data_day": null,
29
+ "resource_days": null,
30
+ "link": null,
31
+ "time_zone": "America/New_York",
32
+ "instance": {
33
+ "name": "ACCESS XDMoD",
34
+ "url": "https://xdmod.access-ci.org"
35
+ },
36
+ "dimension_order": [
37
+ "1",
38
+ "2 - 4",
39
+ "5 - 8",
40
+ "> 8"
41
+ ],
42
+ "dimension_complete": true,
43
+ "categories": [
44
+ {
45
+ "name": "5 - 8",
46
+ "value": 4
47
+ },
48
+ {
49
+ "name": "1",
50
+ "value": 9
51
+ }
52
+ ]
53
+ },
54
+ "expected": {
55
+ "version": 1,
56
+ "realm": "Jobs",
57
+ "statistic": "job_count",
58
+ "group_by": "jobsize",
59
+ "dataset_type": "aggregate",
60
+ "requested": {
61
+ "start": "2026-08-01",
62
+ "end": "2026-11-08"
63
+ },
64
+ "counted": {
65
+ "start": "2026-08-01",
66
+ "end": "2026-11-08"
67
+ },
68
+ "last_period_incomplete": false,
69
+ "measure": {
70
+ "label": "Number of Jobs Ended",
71
+ "description": "Jobs run",
72
+ "kind": "total",
73
+ "missing": "zero",
74
+ "unit": "jobs"
75
+ },
76
+ "dimension": {
77
+ "name": "jobsize",
78
+ "ordered": true
79
+ },
80
+ "filters": {
81
+ "notes": [
82
+ "Job size: 1"
83
+ ]
84
+ },
85
+ "time_basis": {
86
+ "zone": "America/New_York"
87
+ },
88
+ "instance": {
89
+ "name": "ACCESS XDMoD",
90
+ "url": "https://xdmod.access-ci.org"
91
+ },
92
+ "warnings": [],
93
+ "offset": 0,
94
+ "data_through": null,
95
+ "data_through_precision": null,
96
+ "others_count": 0,
97
+ "last_data_period_partial": false,
98
+ "has_more": false,
99
+ "ranked_by": "value",
100
+ "link": null,
101
+ "source": "XDMoD",
102
+ "retrieved": "2026-11-09",
103
+ "categories": [
104
+ {
105
+ "name": "1",
106
+ "value": 9
107
+ },
108
+ {
109
+ "name": "5 - 8",
110
+ "value": 4
111
+ }
112
+ ]
113
+ }
114
+ }
@@ -0,0 +1,110 @@
1
+ {
2
+ "description": "No fill when more categories were left out; others_count is null as XDMoD gave no count.",
3
+ "producers": [
4
+ "ts",
5
+ "py"
6
+ ],
7
+ "input": {
8
+ "request": {
9
+ "realm": "Jobs",
10
+ "statistic": "job_count",
11
+ "group_by": "jobsize",
12
+ "dataset_type": "aggregate",
13
+ "start_date": "2026-08-01",
14
+ "end_date": "2026-11-08",
15
+ "filters_notes": [],
16
+ "dimension_filtered": false,
17
+ "offset": 0,
18
+ "limit": 10,
19
+ "unit": "Month"
20
+ },
21
+ "label": "Number of Jobs Ended",
22
+ "description": "Jobs run",
23
+ "today": "2026-11-09",
24
+ "others_count": null,
25
+ "has_more": true,
26
+ "latest_data_day": null,
27
+ "resource_days": null,
28
+ "link": "https://xdmod.example/chart",
29
+ "time_zone": "America/New_York",
30
+ "instance": {
31
+ "name": "ACCESS XDMoD",
32
+ "url": "https://xdmod.access-ci.org"
33
+ },
34
+ "dimension_order": [
35
+ "1",
36
+ "2 - 4",
37
+ "5 - 8",
38
+ "> 8"
39
+ ],
40
+ "dimension_complete": true,
41
+ "categories": [
42
+ {
43
+ "name": "5 - 8",
44
+ "value": 4
45
+ },
46
+ {
47
+ "name": "1",
48
+ "value": 9
49
+ }
50
+ ]
51
+ },
52
+ "expected": {
53
+ "version": 1,
54
+ "realm": "Jobs",
55
+ "statistic": "job_count",
56
+ "group_by": "jobsize",
57
+ "dataset_type": "aggregate",
58
+ "requested": {
59
+ "start": "2026-08-01",
60
+ "end": "2026-11-08"
61
+ },
62
+ "counted": {
63
+ "start": "2026-08-01",
64
+ "end": "2026-11-08"
65
+ },
66
+ "last_period_incomplete": false,
67
+ "measure": {
68
+ "label": "Number of Jobs Ended",
69
+ "description": "Jobs run",
70
+ "kind": "total",
71
+ "missing": "zero",
72
+ "unit": "jobs"
73
+ },
74
+ "dimension": {
75
+ "name": "jobsize",
76
+ "ordered": true
77
+ },
78
+ "filters": {
79
+ "notes": []
80
+ },
81
+ "time_basis": {
82
+ "zone": "America/New_York"
83
+ },
84
+ "instance": {
85
+ "name": "ACCESS XDMoD",
86
+ "url": "https://xdmod.access-ci.org"
87
+ },
88
+ "warnings": [],
89
+ "offset": 0,
90
+ "data_through": null,
91
+ "data_through_precision": null,
92
+ "others_count": null,
93
+ "last_data_period_partial": false,
94
+ "has_more": true,
95
+ "ranked_by": "value",
96
+ "link": "https://xdmod.example/chart",
97
+ "source": "XDMoD",
98
+ "retrieved": "2026-11-09",
99
+ "categories": [
100
+ {
101
+ "name": "1",
102
+ "value": 9
103
+ },
104
+ {
105
+ "name": "5 - 8",
106
+ "value": 4
107
+ }
108
+ ]
109
+ }
110
+ }