hack to handle gass bills (for now), seems we have more than 4 for a quarterly cycle, and they are all over the shop/inconsistent. Added thoughts on how to tackle in TODO
This commit is contained in:
9
TODO
9
TODO
@@ -1,6 +1,15 @@
|
||||
UI:
|
||||
|
||||
For bills:
|
||||
* gas bills are a mess and more than 4 per year... *SIGH* try this:
|
||||
- if len(bills) > num_ann_bills (effectively too many bills for what we expect)
|
||||
- normalise by looping over *EVERY* year of bills
|
||||
- for each bill in yr:
|
||||
- pb=find_prev_bill( bill )...
|
||||
- calc days between pb and bill to get daily cost
|
||||
- work out qtr() and take # days from bill in Qtr X and add it to Q[X]
|
||||
- if # days i X+1 add those to Q[X+1]
|
||||
- then need to be careful when working out totals/growth to use Q[...] not bill['year']
|
||||
* growth for internet/monthly is a bit skewed.... Really think min/avg/max might need to be smarter
|
||||
- at least max, its 114-134 BUT, not in 1 year, really that changed from 2022 to 2025, so 3 years... (or max = 18% over 3 years, or 6%)
|
||||
-- so ann_growth_avg or max needs to factor in years of same prices
|
||||
|
||||
Reference in New Issue
Block a user