python_mozaggregator/script/validation/validate_data_test.py

124 строки
2.5 KiB
Python

from decimal import Decimal
counts = [("20200229", 2936771), ("20200301", 2826848)]
sums = [
("20200229", Decimal("2626701384304806794"), Decimal("4192687908")),
("20200301", Decimal("2015714821244959696"), Decimal("3461041798")),
]
gc_ms = [
(
"20200229",
[
6658499,
8354994,
6143765,
5932372,
5296495,
5125504,
5192139,
5236794,
10548921,
10307775,
10185395,
16650529,
14306376,
18234460,
22270035,
23378856,
26089481,
35395399,
36401066,
41290415,
41776387,
40651039,
40532326,
39627254,
39836392,
38728037,
37188229,
32062201,
27690311,
24098905,
21688575,
16531594,
12738588,
9867065,
7520683,
5559968,
4098988,
3010292,
2223359,
1606433,
1162388,
845775,
597783,
438837,
337075,
277828,
220436,
162407,
132715,
503191,
278928610753,
8595358,
],
),
(
"20200301",
[
2925670,
6715787,
4707073,
4192814,
3969322,
3857732,
3944128,
3974515,
7949886,
7761962,
7691705,
12183705,
10774769,
14083327,
17557472,
18663309,
21399559,
29188776,
30312972,
34389898,
35229665,
35067090,
35213484,
34867597,
35353800,
34489141,
33724172,
29573912,
25685282,
22627592,
19646673,
15277624,
12149394,
9370835,
7241278,
5204618,
4015992,
2937125,
2051030,
1453853,
1036862,
752442,
551556,
449630,
326982,
276883,
184940,
144580,
121030,
455103,
330249296203,
7049297,
],
),
]