evancharlton / android-mileage

Automatically exported from code.google.com/p/android-mileage
11 stars 15 forks source link

Fillup Costs Statistics miscalculated #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Not quite sure.  I imported a data set from an old phone to a new one and 
noticed the disparity.

Expected behavior:
To show the correct averages which are closer to $55.

Actual behavior:
My average fillup costs are over $55 but the stats tab shows $18 average and a 
max of about $20.

Mileage version: 3.0.3
Android version: 2.3.3 CyanogenMod 7 Nightly 12
Device: HTC Evo

Please provide any additional information below.

Original issue reported on code.google.com by zol...@gmail.com on 4 Mar 2011 at 12:04

GoogleCodeExporter commented 9 years ago
I'm unable to reproduce this. Would you feel comfortable emailing me a backup 
of your database? You can email the mileage-export.db file to me directly 
(mileage@evancharlton.com) if you would rather.

Original comment by evancharlton on 4 Mar 2011 at 1:24

GoogleCodeExporter commented 9 years ago
The issue for this was due to a setting in 2.X which caused a bug, messing up 
the total cost, volume, and price per unit fields.

The fix was to run `UPDATE fillups SET total_cost = volume * price` manually on 
the db; need to find programmatic solution.

Original comment by evancharlton on 5 Mar 2011 at 12:04

GoogleCodeExporter commented 9 years ago
Hi.  I started using this back in April and, when comparing data with my 
husband's, I noticed this same issue.  I know I have never spent nor will ever 
spend $7700/month in gas!  How can I get this fixed?

Thanx!

Original comment by SheShe1...@gmail.com on 21 Oct 2011 at 7:07