diff --git a/atst/domain/reports.py b/atst/domain/reports.py index 7e49e0de..cfeaae7d 100644 --- a/atst/domain/reports.py +++ b/atst/domain/reports.py @@ -4,151 +4,141 @@ from itertools import groupby MONTHLY_SPEND_AARDVARK = { "LC04": { "Integ": { - "10/2018": 284, - "11/2018": 1210, - "12/2018": 1430, - "01/2019": 1366, - "02/2019": 1169, - "03/2019": 991, - "04/2019": 978, - "05/2019": 737, + "02/2018": 284, + "03/2018": 1210, + "04/2018": 1430, + "05/2018": 1366, + "06/2018": 1169, + "07/2018": 991, + "08/2018": 978, + "09/2018": 737, }, "PreProd": { - "10/2018": 812, - "11/2018": 1389, - "12/2018": 1425, - "01/2019": 1306, - "02/2019": 1112, - "03/2019": 936, - "04/2019": 921, - "05/2019": 694, + "02/2018": 812, + "03/2018": 1389, + "04/2018": 1425, + "05/2018": 1306, + "06/2018": 1112, + "07/2018": 936, + "08/2018": 921, + "09/2018": 694, }, "Prod": { - "10/2018": 1742, - "11/2018": 1716, - "12/2018": 1866, - "01/2019": 1809, - "02/2019": 1839, - "03/2019": 1633, - "04/2019": 1654, - "05/2019": 1103, + "02/2018": 1742, + "03/2018": 1716, + "04/2018": 1866, + "05/2018": 1809, + "06/2018": 1839, + "07/2018": 1633, + "08/2018": 1654, + "09/2018": 1103, }, }, "SF18": { "Integ": { - "12/2018": 1498, - "01/2019": 1400, - "02/2019": 1394, - "03/2019": 1171, - "04/2019": 1200, - "05/2019": 963, + "04/2018": 1498, + "05/2018": 1400, + "06/2018": 1394, + "07/2018": 1171, + "08/2018": 1200, + "09/2018": 963, }, "PreProd": { - "12/2018": 1780, - "01/2019": 1667, - "02/2019": 1703, - "03/2019": 1474, - "04/2019": 1441, - "05/2019": 933, + "04/2018": 1780, + "05/2018": 1667, + "06/2018": 1703, + "07/2018": 1474, + "08/2018": 1441, + "09/2018": 933, }, "Prod": { - "12/2018": 1686, - "01/2019": 1779, - "02/2019": 1792, - "03/2019": 1570, - "04/2019": 1539, - "05/2019": 986, + "04/2018": 1686, + "05/2018": 1779, + "06/2018": 1792, + "07/2018": 1570, + "08/2018": 1539, + "09/2018": 986, }, }, "Canton": { "Prod": { - "01/2019": 28699, - "02/2019": 26766, - "03/2019": 22619, - "04/2019": 24090, - "05/2019": 16719, + "05/2018": 28699, + "06/2018": 26766, + "07/2018": 22619, + "08/2018": 24090, + "09/2018": 16719, } }, "BD04": { "Integ": {}, "PreProd": { - "10/2018": 7019, - "11/2018": 3004, - "12/2018": 2691, - "01/2019": 2901, - "02/2019": 3463, - "03/2019": 3314, - "04/2019": 3432, - "05/2019": 723, + "02/2018": 7019, + "03/2018": 3004, + "04/2018": 2691, + "05/2018": 2901, + "06/2018": 3463, + "07/2018": 3314, + "08/2018": 3432, + "09/2018": 723, }, }, "SCV18": {"Dev": {"05/2019": 9797}}, "Crown": { "CR Portal Dev": { - "11/2018": 208, - "12/2018": 457, - "01/2019": 671, - "02/2019": 136, - "03/2019": 1524, - "04/2019": 2077, - "05/2019": 1858, + "03/2018": 208, + "04/2018": 457, + "05/2018": 671, + "06/2018": 136, + "07/2018": 1524, + "08/2018": 2077, + "09/2018": 1858, }, "CR Staging": { - "11/2018": 208, - "12/2018": 457, - "01/2019": 671, - "02/2019": 136, - "03/2019": 1524, - "04/2019": 2077, - "05/2019": 1858, + "03/2018": 208, + "04/2018": 457, + "05/2018": 671, + "06/2018": 136, + "07/2018": 1524, + "08/2018": 2077, + "09/2018": 1858, }, - "CR Portal Test 1": {"03/2019": 806, "04/2019": 1966, "05/2019": 2597}, - "Jewels Prod": {"03/2019": 806, "04/2019": 1966, "05/2019": 2597}, + "CR Portal Test 1": {"07/2018": 806, "08/2018": 1966, "09/2018": 2597}, + "Jewels Prod": {"07/2018": 806, "08/2018": 1966, "09/2018": 2597}, "Jewels Dev": { - "11/2018": 145, - "12/2018": 719, - "01/2019": 1243, - "02/2019": 2214, - "03/2019": 2959, - "04/2019": 4151, - "05/2019": 4260, + "03/2018": 145, + "04/2018": 719, + "05/2018": 1243, + "06/2018": 2214, + "07/2018": 2959, + "08/2018": 4151, + "09/2018": 4260, }, }, } CUMULATIVE_BUDGET_AARDVARK = { - "10/2018": {"spend": 9857, "cumulative": 9857}, - "11/2018": {"spend": 7881, "cumulative": 17738}, - "12/2018": {"spend": 14010, "cumulative": 31748}, - "01/2019": {"spend": 43510, "cumulative": 75259}, - "02/2019": {"spend": 41725, "cumulative": 116984}, - "03/2019": {"spend": 41328, "cumulative": 158312}, - "04/2019": {"spend": 47491, "cumulative": 205803}, - "05/2019": {"spend": 45826, "cumulative": 251629}, - "06/2019": {"projected": 296511}, - "07/2019": {"projected": 341393}, - "08/2019": {"projected": 386274}, - "09/2019": {"projected": 431156}, + "02/2018": {"spend": 9857, "cumulative": 9857}, + "03/2018": {"spend": 7881, "cumulative": 17738}, + "04/2018": {"spend": 14010, "cumulative": 31748}, + "05/2018": {"spend": 43510, "cumulative": 75259}, + "06/2018": {"spend": 41725, "cumulative": 116984}, + "07/2018": {"spend": 41328, "cumulative": 158312}, + "08/2018": {"spend": 47491, "cumulative": 205803}, + "09/2018": {"spend": 45826, "cumulative": 251629}, } MONTHLY_SPEND_BELUGA = { "NP02": { - "Integ": {"02/2019": 284, "03/2019": 1210}, - "PreProd": {"02/2019": 812, "03/2019": 1389}, - "Prod": {"02/2019": 3742, "03/2019": 4716}, + "Integ": {"08/2018": 284, "09/2018": 1210}, + "PreProd": {"08/2018": 812, "09/2018": 1389}, + "Prod": {"08/2018": 3742, "09/2018": 4716}, }, - "FM": {"Integ": {"03/2019": 1498}, "Prod": {"03/2019": 5686}}, + "FM": {"Integ": {"08/2018": 1498}, "Prod": {"09/2018": 5686}}, } CUMULATIVE_BUDGET_BELUGA = { - "02/2019": {"spend": 4838, "cumulative": 4838}, - "03/2019": {"spend": 14500, "cumulative": 19338}, - "04/2019": {"projected": 29007}, - "05/2019": {"projected": 38676}, - "06/2019": {"projected": 48345}, - "07/2019": {"projected": 58014}, - "08/2019": {"projected": 67683}, - "09/2019": {"projected": 77352}, + "08/2018": {"spend": 4838, "cumulative": 4838}, + "09/2018": {"spend": 14500, "cumulative": 19338}, }