-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update expected frequencies for functional tests
Updates the specific values of expected frequencies for functional tests, since the corrected pivot calculation logic produces new pivots and correspondingly new frequency values per pivot. One nice side effect of the new pivot calculations is that they produce the correct number of pivots in our functional test of relative min and max date values that had previously failed in a flaky manner. The corrected pivot logic reveals that the "flaky" behavior of that test was actually the correct behavior: we should always get 3 pivots when the max date is 6 months ago, the min date is 12 months ago, and the pivot interval is 3 months. That we previously only got 2 pivots from these relative dates most times of the year reflects the invalid pivot calculation logic from a different perspective. This commit reactivates that previously commented-out test. Fixes #963
- Loading branch information
Showing
5 changed files
with
146 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,92 +1,92 @@ | ||
{ | ||
"BRA/2016/FC_6706": { | ||
"frequencies": [ | ||
0.022579, | ||
0.011312, | ||
0.206983, | ||
0.102282 | ||
0.022368, | ||
0.011759, | ||
0.207309, | ||
0.102551 | ||
] | ||
}, | ||
"COL/FLR_00008/2015": { | ||
"frequencies": [ | ||
0.243453, | ||
0.208443, | ||
0.008645, | ||
0.010659 | ||
0.244555, | ||
0.204597, | ||
0.008456, | ||
0.010737 | ||
] | ||
}, | ||
"Colombia/2016/ZC204Se": { | ||
"frequencies": [ | ||
0.126056, | ||
0.231597, | ||
0.014167, | ||
0.017099 | ||
0.12489, | ||
0.234574, | ||
0.013671, | ||
0.017245 | ||
] | ||
}, | ||
"DOM/2016/BB_0183": { | ||
"frequencies": [ | ||
0.017888, | ||
0.009342, | ||
0.183671, | ||
0.148759 | ||
0.017736, | ||
0.009645, | ||
0.185763, | ||
0.148494 | ||
] | ||
}, | ||
"EcEs062_16": { | ||
"frequencies": [ | ||
0.018981, | ||
0.009763, | ||
0.190994, | ||
0.134398 | ||
0.018817, | ||
0.010092, | ||
0.192704, | ||
0.134289 | ||
] | ||
}, | ||
"HND/2016/HU_ME59": { | ||
"frequencies": [ | ||
0.009484, | ||
0.006254, | ||
0.090552, | ||
0.457824 | ||
0.009425, | ||
0.006444, | ||
0.093589, | ||
0.456546 | ||
] | ||
}, | ||
"PAN/CDC_259359_V1_V3/2015": { | ||
"frequencies": [ | ||
0.224832, | ||
0.214575, | ||
0.008963, | ||
0.011176 | ||
0.225577, | ||
0.211235, | ||
0.008761, | ||
0.011258 | ||
] | ||
}, | ||
"PRVABC59": { | ||
"frequencies": [ | ||
0.243453, | ||
0.208443, | ||
0.008645, | ||
0.010659 | ||
0.244555, | ||
0.204597, | ||
0.008456, | ||
0.010737 | ||
] | ||
}, | ||
"VEN/UF_1/2016": { | ||
"frequencies": [ | ||
0.030662, | ||
0.016483, | ||
0.206983, | ||
0.070196 | ||
0.030336, | ||
0.017436, | ||
0.204461, | ||
0.07079 | ||
] | ||
}, | ||
"ZKC2/2016": { | ||
"frequencies": [ | ||
0.062612, | ||
0.083787, | ||
0.080395, | ||
0.036947 | ||
0.06174, | ||
0.089622, | ||
0.076833, | ||
0.037353 | ||
] | ||
}, | ||
"generated_by": { | ||
"program": "augur", | ||
"version": "7.0.2" | ||
"version": "19.2.0" | ||
}, | ||
"pivots": [ | ||
2015.75, | ||
2016.0, | ||
2016.25, | ||
2016.5 | ||
2015.7521, | ||
2016.0041, | ||
2016.2527, | ||
2016.5014 | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,92 +1,92 @@ | ||
{ | ||
"BRA/2016/FC_6706": { | ||
"frequencies": [ | ||
0.022579, | ||
0.011312, | ||
0.206983, | ||
0.102282 | ||
0.022368, | ||
0.011759, | ||
0.207309, | ||
0.102551 | ||
] | ||
}, | ||
"COL/FLR_00008/2015": { | ||
"frequencies": [ | ||
0.243453, | ||
0.208443, | ||
0.008645, | ||
0.010659 | ||
0.244555, | ||
0.204597, | ||
0.008456, | ||
0.010737 | ||
] | ||
}, | ||
"Colombia/2016/ZC204Se": { | ||
"frequencies": [ | ||
0.126056, | ||
0.231597, | ||
0.014167, | ||
0.017099 | ||
0.12489, | ||
0.234574, | ||
0.013671, | ||
0.017245 | ||
] | ||
}, | ||
"DOM/2016/BB_0183": { | ||
"frequencies": [ | ||
0.017888, | ||
0.009342, | ||
0.183671, | ||
0.148759 | ||
0.017736, | ||
0.009645, | ||
0.185763, | ||
0.148494 | ||
] | ||
}, | ||
"EcEs062_16": { | ||
"frequencies": [ | ||
0.018981, | ||
0.009763, | ||
0.190994, | ||
0.134398 | ||
0.018817, | ||
0.010092, | ||
0.192704, | ||
0.134289 | ||
] | ||
}, | ||
"HND/2016/HU_ME59": { | ||
"frequencies": [ | ||
0.009484, | ||
0.006254, | ||
0.090552, | ||
0.457824 | ||
0.009425, | ||
0.006444, | ||
0.093589, | ||
0.456546 | ||
] | ||
}, | ||
"PAN/CDC_259359_V1_V3/2015": { | ||
"frequencies": [ | ||
0.224832, | ||
0.214575, | ||
0.008963, | ||
0.011176 | ||
0.225577, | ||
0.211235, | ||
0.008761, | ||
0.011258 | ||
] | ||
}, | ||
"PRVABC59": { | ||
"frequencies": [ | ||
0.243453, | ||
0.208443, | ||
0.008645, | ||
0.010659 | ||
0.244555, | ||
0.204597, | ||
0.008456, | ||
0.010737 | ||
] | ||
}, | ||
"VEN/UF_1/2016": { | ||
"frequencies": [ | ||
0.030662, | ||
0.016483, | ||
0.206983, | ||
0.070196 | ||
0.030336, | ||
0.017436, | ||
0.204461, | ||
0.07079 | ||
] | ||
}, | ||
"ZKC2/2016": { | ||
"frequencies": [ | ||
0.062612, | ||
0.083787, | ||
0.080395, | ||
0.036947 | ||
0.06174, | ||
0.089622, | ||
0.076833, | ||
0.037353 | ||
] | ||
}, | ||
"generated_by": { | ||
"program": "augur", | ||
"version": "7.0.2" | ||
"version": "19.2.0" | ||
}, | ||
"pivots": [ | ||
2015.75, | ||
2016.0, | ||
2016.25, | ||
2016.5 | ||
2015.7521, | ||
2016.0041, | ||
2016.2527, | ||
2016.5014 | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.