Commit Graph

142 Commits (42def9cf7a418f8df80dff5b00edf399982e6ffc)

Author SHA1 Message Date
CatStarwind f1a6680fcd Decoupled Predictor from i18next. 4 years ago
CatStarwind 114f4f769b Missing semicolon. W033 4 years ago
defaultscore 1706999d6e
Update translations.js 4 years ago
Mike Bryant d8cbdf5b9b Update js/translations.js
Co-authored-by: Splash <devsplash@live.com>
4 years ago
Mike Bryant 5cdb75caf6 fix: Fall back to more generic languages for selection box default 4 years ago
daniel-giralt-len 689ac0983f fix: radio inputs call updateContent twice 4 years ago
Popiolken d32def3c96
Update translations.js 4 years ago
Popiolken 96fb2f6438
Add pl (Polish) translation 4 years ago
Jollus88 13664cd37a adding delay after user input to prevent jank as chart refreshes (cont) 4 years ago
Jollus88 dd63511130 adding delay after user input to prevent jank as chart refreshes 4 years ago
Noppadol 1ce07dc374 feat(translation): Add TH (Thai) Translation
chore(translation): Make wording more friendly  


chore(translation): New line in TH JSON file


chore(translation): Change locale code to th-TH
4 years ago
Mike Bryant 5ed9da3f40
Merge pull request #277 from mcpower/pdf-fix
Various improvements to PDF
4 years ago
Chris Chambers 6d61156e8c feat: Use predicted buy price for styling if none is entered 4 years ago
Mike Bryant 8e8c80b491 fix: Allow people to input the buy price even as a first time buyer
This will give us a basis for colouring. Also remove the Sunday prices from the table, to avoid confusion and questions when people ask why the Sunday price is different to the one they put in. This has the added bonus of making the table smaller, and doesn't really remove any relevant information for the future.

Fixes #288
4 years ago
Mike Bryant 7d2b7d3def
Merge pull request #286 from daniel-giralt-len/translate-to-catalan
Add catalan translation
4 years ago
daniel-giralt-len 03a2bdacab Add catalan translation 4 years ago
Mike Bryant ea5b0fa5da fix: Decrease precision for tiny numbers
When the numbers are so small then end up in e notation is pushes
everything too far to the right. Give up when it's too small to be
really useful.
4 years ago
mcpower 68024da9c6 Various improvements to PDF
- Use [x, x+1) instead of [x-0.5, x+0.5), ensuring that min_value() and
  max_value() return integers
- Fix range_of and max_value being off by epsilon
- Use improved Kahan–Babuska algorithm for floating point summation

These improvements:
- improve the accuracy of PDF by at least a factor of 2 when calculating
  the Irwin-Hall distribution with n=3 (see associated PR with test code)
- fixes pdf.range_limit([pdf.value_start, pdf.value_end]) incorrectly
  mutating the PDF and returning a value that is not 1
- fixes the decreasing pattern with buy=100 incorrectly being calculated
  with max predictions which are 1 too high
4 years ago
Frederik Goovaerts 2e3a0bf030 Fix formatting 4 years ago
Frederik Goovaerts b1c7860aa6 Calculate with estimated buy price without modifying original input values 4 years ago
Frederik Goovaerts 5c395e8173 Add Dutch translation reference in translations.js 4 years ago
Mike Bryant e98835d98c
Merge pull request #245 from smileyhead/master
Add Hungarian translation
4 years ago
Rex Tsou df8c260e24 fix: prevent variable being declared globally
Fixes #238
4 years ago
Lawrence Luk c36290d83a calculate pretty pastel colours based on potential profit 4 years ago
smileyhead be9954309a
Add Hungarian to translations.js 4 years ago
Lawrence Luk e16aba23ed Merge branch 'master' of https://github.com/mikebryant/ac-nh-turnip-prices into mikebryant-master 4 years ago
Mike Bryant b5f8756be3
Merge pull request #239 from Perlmint/master
Add korean translation
4 years ago
Mike Bryant dd6b3e30fc
Merge pull request #242 from akccakcctw/perf/better-perfomance-for-contributors-js
Update contributors.js for better performance
4 years ago
mcpower f5e0a0bcd4 Use exact numbers for steady state probabilities 4 years ago
Gyusun Yeom 00a81fb930
Add korean translation 4 years ago
Rex Tsou 58afb74d46 Update contributors.js for better performance
append element to the DOM too many times may cause performance issue,
so do it only once.
4 years ago
Mike Bryant fed92c1974 fix: Only use a fudge factor if we fail to find patterns normally 4 years ago
Mike Bryant 687deae4ee refactor: Move fudge factor to class parameter 4 years ago
Mike Bryant 04ea27b2c5
Merge pull request #211 from DevSplash/patch-1
Fix #204
4 years ago
Mike Bryant 4a0ee7f878
Merge pull request #206 from mikebryant/refactor-predictor-class
refactor: Move Predictor into class
4 years ago
Mike Bryant 725bba5ec9 refactor: Move Predictor into class 4 years ago
Splash 76aee04cc8
Fix #204
Fix https://github.com/mikebryant/ac-nh-turnip-prices/issues/204
4 years ago
Splash 7b7e80ddcc
Automatic sorting 4 years ago
Lawrence Luk 5bdf9668f9 merge from master 4 years ago
Splash a96a90c83a
Sort language list alphabetically 4 years ago
Mike Bryant f2e43772eb
Merge pull request #185 from captaincurls/patch-1
Russian translation for the app
4 years ago
Dmitrii baa9e8188b
Update translations.js 4 years ago
KeruWolf cc5311cc27
Add Spanish to language selection
Hi!
Could Spanish be added to the language selection option?
Thanks ♥
4 years ago
Dmitrii 399dd80580
Update translations.js 4 years ago
Aymeric Giraudet 3dd9671195 Added french language option in select
Fixed json formatting and comma

removed trailing return
4 years ago
Mike Bryant 13d0cd6937 fix: Add missing comma 4 years ago
arctco 97000c58e2
Update translations.js 4 years ago
Mike Bryant 4c2f738a6b feat: Allow for row probabilities
Also change to use number not description, to work with translations
4 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
4 years ago
Splash 0808d7d52e
Add Italian and Japanese to the language list 4 years ago