Commit Graph

140 Commits (79b579580cbc4b33794a6bc5ddeb8ba32ffb1fbc)

Author SHA1 Message Date
Mike Bryant f30e1e751e Remove minimum, rename other field to guaranteed minimum 4 years ago
jtplatt99 f4ab1be863 Add 'LeastMax' Parameter
Add additional logic to compute 'LeastMax', which represents the worst case scenario maximum price achievable during the week (assuming everything is sold on the correct day).
4 years ago
Mike Bryant 45e055718f Fix calculations 4 years ago
Mike Bryant 0b69cba802 Rename pattern and make probability per row 4 years ago
Lou Huang 63e6b1adec feat: display %chance of each pattern if known 4 years ago
Pi-Hsun Shih 976df77673 Undo one more unrelated change. 4 years ago
Pi-Hsun Shih 9c3299b4fb Undo more unrelated style change. 4 years ago
Pi-Hsun Shih 9aca6465c2 Undo unrelated style changes.
This should be done in another PR :P
4 years ago
Peter Shih fb7fbe55e3
Merge branch 'master' into upstream_master 4 years ago
Ryan Carbotte cb69d49113 feat: Add toggle for filtering results to first ever buy 4 years ago
Mike Bryant 91e428e563 More fixes 4 years ago
Mike Bryant 6470b39f84 fix: Fix UI issue 4 years ago
Trevor Welch ead6e51525 Refactored scripts.js
Scripts.JS was very hard to read initially.

This commity cleans things up, abstracts functions, and makes it a bit more easier to read.
4 years ago
Pi-Hsun Shih 88a8525382 Don't override localstorage when there's query string. 4 years ago
Pi-Hsun Shih 53fe5d69a2 Catch exception locally. 4 years ago
Pi-Hsun Shih adc538b3ff Change from hash to query string. 4 years ago
Pi-Hsun Shih 02d600e62d Add support to remember prices in hash parameter.
This makes linking to a particular price chart easier.
4 years ago
Mike Bryant bef9928e8b fix: Weekly max should exclude the buy price
Fixes #22
4 years ago
Peter Shih 0ea7fa5837
Fix maximum buy price
The maximum possible buy price is 110, not 109.
4 years ago
Ryan Carbotte bdf967afc3 feat: Added a fresh coat of paint from Materialize
Adds some visual styling based on Material Design language, using the Materialize library.
4 years ago
Mike Bryant 250da34d74 refactor: Move predictions logic to a separate file
Fixes #6
4 years ago
Mike Bryant 4ab53128f0 fix: Properly implement small spike
Closes #8
4 years ago
Valerio Riva 840f684dee added week min and week max columns, sorted table by week max price
added css
4 years ago
Mike Bryant 0b599b368b Add min/max prices for each day 4 years ago
Mike Bryant d7976bd4fd fix: Predict higher prices in second day of spike if we know 4 years ago
Mike Bryant 4bcf881c40 Add experimental support for guessing the buy price 4 years ago
Mike Bryant 98e2dec711 Better precision for floating point stuff 4 years ago
Mike Bryant 2b34928f8e Fix the -1s 4 years ago
Naji Astier e4b31bd3d6
add saving of prices on local storage
add loading of prices from local storage on page load
add a reset button to clear the form

close #2
4 years ago
Mike Bryant c3e97ffdf9 fix: Collapse ranges to a single value when there's only one choice
Closes #5
4 years ago
Mike Bryant 253b4b4db2 fix: Switch to using floor for minimum predictions, someone is seeing different rounding behaviour 4 years ago
Mike Bryant 9309de5c2c fix: Rate calculation is based on ceiling not rounding 4 years ago
Mike Bryant 887bb6e62b Make it use a table 4 years ago
Mike Bryant 9032517c3a Add pattern description 4 years ago
Mike Bryant 75cdbebf08 Fix calculation bug where we weren't lenient enough and predicted slightly too high minimum prices 4 years ago
Mike Bryant 0163e91ab4 Implement pattern 0 4 years ago
Mike Bryant 4512bd328d Implement pattern 1 4 years ago
Mike Bryant bfbd508a0f Implement pattern 3 4 years ago
Mike Bryant 51cb8f3431 Strip useless code 4 years ago
Mike Bryant ea341cf6d3 Initial commit 4 years ago