Mike Bryant
4c2f738a6b
feat: Allow for row probabilities
...
Also change to use number not description, to work with translations
5 years ago
Nathan Abel
2218c10d77
Squashed commit of the following:
...
commit 4d46f7cfbda7d1818c5c07d22dce160fc5893ff4
Author: Nathan Abel <abel8706@kettering.edu>
Date: Wed Apr 15 12:43:30 2020 -0400
Delete launch.json
This is a vscode config file. I forgot to remove it :)
commit 96341d0030224d612fbd9bd20ca7c82405f817a9
Author: Nathan Abel <abel8706@kettering.edu>
Date: Wed Apr 15 12:40:15 2020 -0400
Handle Missing Patterns
commit 7d995d5695861f81b1500ea63cbd0233530c9dea
Author: Nathan Abel <abel8706@kettering.edu>
Date: Wed Apr 15 12:27:29 2020 -0400
Line break added
commit a0b5f13db7504e2d3793cab7527b84cbe2b192c4
Author: Nathan Abel <abel8706@kettering.edu>
Date: Wed Apr 15 12:25:33 2020 -0400
Merge results into one col
commit 6576eb1a55cdb978aca73cb16547fd87a41477c2
Author: Nathan Abel <abel8706@kettering.edu>
Date: Wed Apr 15 12:13:44 2020 -0400
Fix Sorting and Add Category Row
commit c9b257cf6f7487c271be5d3801399cc7cd92e67b
Merge: 511ef3c 8f49882
Author: Nathan Abel <abel8706@kettering.edu>
Date: Wed Apr 15 12:11:04 2020 -0400
Merge branch 'master' of https://github.com/mikebryant/ac-nh-turnip-prices into category_total_chance
commit 511ef3caad223a4da0cd7f6ce4e68c5d108cbadd
Author: Nathan Abel <abel8706@kettering.edu>
Date: Mon Apr 13 11:49:58 2020 -0400
Fix it better :)
commit fcb0429fa1711534ffe875b94fddfb54c33a75df
Author: Nathan Abel <abel8706@kettering.edu>
Date: Mon Apr 13 11:42:45 2020 -0400
Fix sort function
5 years ago
Splash
0808d7d52e
Add Italian and Japanese to the language list
5 years ago
Splash
f3314902bf
Update
5 years ago
Splash
7249856c3f
Update
5 years ago
Splash
5c8d1b4996
Add a simple language selector.
5 years ago
Mike Bryant
f6afb113ee
fix: Move input trigger out of local storage block, so it still loads the UI even if we have no storage
...
Fixes #161
5 years ago
Mike Bryant
0dc2078666
Merge pull request #152 from Tekaoh/fix/infinity-at-end-of-week
...
Fix a math issue
5 years ago
Mike Bryant
a291063421
Merge pull request #143 from promarcel/master
...
Added missing i18n keys
5 years ago
Tekaoh
ae47ca7be8
Fix a math issue
...
Infinity was being returned as the min and max when the price for
Saturday PM was entered. Instead, we should just return the Saturday PM
price for both since that sort of reflects the rest of the week, even if
it's just a few more hours.
5 years ago
Mike Bryant
93e568ef3c
Merge pull request #123 from Tekaoh/master
...
Future Minimum Price
5 years ago
Marcel Deglau
cbb944874e
Moved white spaced to source code (@mikebryant)
5 years ago
Marcel Deglau
2ba5ce0185
Added i18n keys to source code
5 years ago
Tekaoh
4200c9d09d
Future prices for minimum and maximum columns
...
Closes mikebryant/ac-nh-turnip-prices#43
5 years ago
Mike Bryant
af8cbe5778
Merge pull request #109 from peter50216/fix-accurate-prob
...
Accurate probability (act 2)
5 years ago
Mike Bryant
46f994c0ff
feat: Taking a first stab at implementing translations
5 years ago
Mike Bryant
9aeb53c261
Merge pull request #130 from theRTC204/confirm-reset-fields
...
feat: Added confirm on reset all fields
5 years ago
Ryan Carbotte
f89039454b
feat: Add a flash message on permalink copy
5 years ago
Ryan Carbotte
a3dc3d53c7
feat: Added button to generate a permalink
...
Added a button to the UI near the Reset fields button and generate a URL that only contains the populated fields
Closes #108
5 years ago
Ryan Carbotte
90fb28b212
feat: Added confirm on reset all fields
...
Closes #119
5 years ago
Pi-Hsun Shih
b653b3993c
Fix peak_start not defined
...
Fix #110 .
5 years ago
Pi-Hsun Shih
0cc1e80f66
Make the probability saner when FUDGE_FACTOR is in effect.
5 years ago
Pi-Hsun Shih
b2aeb57707
More math error, integral is hard... T_T
5 years ago
Pi-Hsun Shih
fc630a6e2b
Fix stupid typo of && / ||, fix another probability boundary condition.
5 years ago
Pi-Hsun Shih
26b753c7bd
Fix probability calculation
5 years ago
Pi-Hsun Shih
e9e8327df5
Fix a wrong comment.
5 years ago
Pi-Hsun Shih
09e8e4e37a
Make probability accurate by condition probability on the value.
...
Tested that the result is same as the "should report" in #95 .
Fix #48 , #95 .
5 years ago
Mike Bryant
8f49882245
Revert "Make probability accurate by condition probability on the value."
...
This reverts commit 3fa1867340
.
5 years ago
Mike Bryant
a5194879d0
Revert "Fix a wrong comment."
...
This reverts commit 8c43570c9a
.
5 years ago
Pi-Hsun Shih
8c43570c9a
Fix a wrong comment.
5 years ago
Pi-Hsun Shih
3fa1867340
Make probability accurate by condition probability on the value.
...
Tested that the result is same as the "should report" in #95 .
Fix #48 , #95 .
5 years ago
Pi-Hsun Shih
28e73937bc
Refactor and move common parts out.
5 years ago
Mike Bryant
6cfc140173
fix: Add a fudge factor
...
The reversed code isn't a perfect match for ARM 32-bit floating point assembly. This should allow us to cope with things that are a little out of range due to floating point weirdness
5 years ago
Mike Bryant
46929bd556
fix: Use min for guaranteed minimum
...
Should be, max of mins for each pattern, then min of those
5 years ago
Mike Bryant
89dfc6ce6e
feat: Add chart visual
5 years ago
Mike Bryant
21cb1a0ed2
fix: Make guaranteed minimum correct for all patterns, and fix sorting
...
Fixes #98
Fixes #76
5 years ago
Mike Bryant
10f9b3a755
Merge pull request #58 from Molorius/master
...
Added parameters first-time and previous-pattern.
5 years ago
Mike Bryant
da1d75ba51
Merge pull request #102 from peter50216/patch-2
...
Update rate range to match intceil
5 years ago
Peter Shih
7d1f46fe8c
Change prediction of rate to consider not only the previous known value
...
This also makes the predicted range more strict, so won't help with all those invalid pattern issues, but should give an more accurate result.
5 years ago
Peter Shih
a41f2d5975
Update rate range to match intceil
...
I doubt this would change any prediction at all, but this is more correct according to the code.
5 years ago
Blake Felt
a893a5617b
Removed UI notification when query is used.
...
A console log shows instead.
Cleaned up getPreviousFromQuery.
It now returns null when the "prices" parameter is not used.
Fixed getPreviousFromLocalStorage to only look at local storage.
Changed from_query to populated_from_query to be more descriptive.
5 years ago
Ryan Carbotte
0d9e0d8f8d
feat: Implements a more true to game code intceil calculation
...
This replaces all instances of Math.floor() and Math.ceil() with a
calculation that more closely matches the C++ implementation in game.
5 years ago
Ryan Carbotte
4a711fde74
fix: Removed a debug statement left behind
5 years ago
Ryan Carbotte
e20e884611
fix: Changed to use HTML URL for contributor link
5 years ago
Ryan Carbotte
c2559fedbf
feat: Add dynamic list of contributors
5 years ago
Phoenix Meadowlark
927480748c
Update to provide consistent cross-browser behavior.
...
Changes the sorting in `generate_possibilities` to have the intended effect. The old version worked on firefox, but did not sort the list on chrome because `a.weekMax < b.weekMax` does not return `-1` if `a.weekMax > b.weekMax`.
5 years ago
Blake Felt
a62a86235c
Added parameters first-time and previous-pattern.
...
Added text box to notify that values will not be saved.
Valid first-time options are:
yes/true/1
no/false/0.
Valid first-time options are:
0/fluctuating
1/large-spike
2/decreasing
3/small-spike
anything else defaults to unknown.
Test with:
https://turnipprophet.io/?pattern=large-spike&prices=90.91..93.94..&first=true
5 years ago
Mike Bryant
e40f944c2e
fix: Fix reset button
5 years ago
Mike Bryant
d048472a7d
Merge pull request #45 from tylermatchett/dynamic-querystring
...
Readable dynamic length querystrings
5 years ago
Mike Bryant
b10358f13e
fix: Retain compatibility with previous stored data
5 years ago