Git Product home page Git Product logo

Comments (29)

Aliervo avatar Aliervo commented on June 20, 2024

Is it your first week buying turnips?

from ac-nh-turnip-prices.

theRTC204 avatar theRTC204 commented on June 20, 2024

We have seen some reports from others that the algorithm is possibly calculating values incorrectly. This still needs to be investigated further and additional examples are greatly appreciated!

There appears to be a few things happening here.

If we assume that this was not your first week buying, then having a sell price of 147 on Monday PM is not possible (based on the predictions model, I mean). So, either this is your first week, or the predictions model is not working.

If this is your first week, then we still have a problem once we get to Wednesday AM, where the predictions model suggests your sell price could not be lower than 146 - your value was 99 though.

In both situations, whether first week or not, there appears to be a calculation issue (this of course is assuming your values are 100% correct, and not possibly typo'd or invalid)

from ac-nh-turnip-prices.

rolledback avatar rolledback commented on June 20, 2024

I have seen this as well.
image
It is the Wednesday PM price which breaks things.
image

from ac-nh-turnip-prices.

theRTC204 avatar theRTC204 commented on June 20, 2024

Thanks for sharing. The more examples people provide, the more information we'll have to hunt down the cause.

from ac-nh-turnip-prices.

ElGenerico avatar ElGenerico commented on June 20, 2024

For me, it is the Tuesday PM price input that broke the calculator.
chrome_2020-04-08_11-10-36
chrome_2020-04-08_11-10-42

from ac-nh-turnip-prices.

pjbollinger avatar pjbollinger commented on June 20, 2024

I'm also experiencing this. If you remove the 72 from Wednesday AM it works. I noticed that 71 works, so I'm wondering if there is an off by 1 error. This is not the first week of buying turnips (second if it means anything, v1.1.4a)

Screen Shot 2020-04-08 at 12 35 46 PM

from ac-nh-turnip-prices.

rolledback avatar rolledback commented on June 20, 2024

I believe this other web app is using similar methods. They have an issue open right now discussing off by one/precision issues: elxris/Turnip-Calculator#3

May be worth following.

from ac-nh-turnip-prices.

theRTC204 avatar theRTC204 commented on June 20, 2024

I've been keeping tabs on that, and comparing results between this app and their app - I have seen several situations where the elxris app produces a prediction, where this one cannot.

from ac-nh-turnip-prices.

theRTC204 avatar theRTC204 commented on June 20, 2024

It's worth noting that JavaScript rounds float values differently than C++ does, so there may not be anything that anyone can do to properly address that. Frankly, every language can potentially have slight variations in their floating point math...

from ac-nh-turnip-prices.

rolledback avatar rolledback commented on June 20, 2024

Yes, very true. WebAssembly might be a good solution here. Or, running the analysis on a server (but that costs more $$$ 😋) .

from ac-nh-turnip-prices.

theRTC204 avatar theRTC204 commented on June 20, 2024

Neither is likely, I don't think. My understanding is the maintainer would like to keep this lightweight and without a back end. Also, Web Assembly would require a complete rewrite of the entire app, so it's essentially a new project.

from ac-nh-turnip-prices.

mikebryant avatar mikebryant commented on June 20, 2024

Yeah, anything involving a backend is too heavyweight for me

How far out are we anyway.. I'm half wondering whether to just add a bell of fudge factor either way if needed to find a prediction. Is that good enough?

from ac-nh-turnip-prices.

theRTC204 avatar theRTC204 commented on June 20, 2024

Tough to say this point. Some of the examples show a variance in the 10s or greater, which does suggest a calculation issue more than a rounding issue.

from ac-nh-turnip-prices.

Aliervo avatar Aliervo commented on June 20, 2024

Speaking of WebAssembly, someone did make this. But it would still require a significant rewrite to incorporate.

from ac-nh-turnip-prices.

ptrain24 avatar ptrain24 commented on June 20, 2024

Monday PM broke for me. (Not sure if additional examples are helping at this point... but I thought I would share.

image

from ac-nh-turnip-prices.

theRTC204 avatar theRTC204 commented on June 20, 2024

Monday PM broke for me. (Not sure if additional examples are helping at this point... but I thought I would share.

What were all your values? The example is only beneficial if we can use it to replicate (need your buy price at least)

from ac-nh-turnip-prices.

ptrain24 avatar ptrain24 commented on June 20, 2024

Here you go. Changing the probability of the previous week doesn't affect anything in this case.

image

from ac-nh-turnip-prices.

theRTC204 avatar theRTC204 commented on June 20, 2024

Here you go. Changing the probability of the previous week doesn't affect anything in this case.

Thanks! It's possible this could be a rounding issue. The lower bounds from the prediction for Monday PM is 72 but you got a 71. Do you happen to know what the rest of your week looked like?

from ac-nh-turnip-prices.

ptrain24 avatar ptrain24 commented on June 20, 2024

Yep:

image

from ac-nh-turnip-prices.

theRTC204 avatar theRTC204 commented on June 20, 2024

Thanks again. More than just the Monday PM value appears to be outside the ranges of the prediction. This is helpful.

from ac-nh-turnip-prices.

tylermatchett avatar tylermatchett commented on June 20, 2024

I just posted one with incorrect screen shots, so here is the correction:
I have gotten this issue today with my Thursday AM value
The value Nook quoted was 62, however put into the field it breaks the predition, correct it to 61 and it works, seems to be similar to the issues above, but here's one more for the dataset.

Not Working
notworking

Working
working

from ac-nh-turnip-prices.

wlrlbam avatar wlrlbam commented on June 20, 2024

First week, purchased at 89
Mon am 89. Mon pm 130
Tues am 109. Tues pm 142
Wed am 151. Wed pm 156
Thur am 154. Thur pm 82.
It broke and did the all 999 starting wed am

from ac-nh-turnip-prices.

bli754 avatar bli754 commented on June 20, 2024

Screenshot_20200409-194416

Inputting the Thurs PM broke the calculator :/

from ac-nh-turnip-prices.

Vankog avatar Vankog commented on June 20, 2024

Today the Calc broke 💔 for me, too. (same for https://elxris.github.io/Turnip-Calculator/)
No first timer. :-)
Screenshot_20200410-102406

from ac-nh-turnip-prices.

Serxeid avatar Serxeid commented on June 20, 2024

More data if it helps. Predicted range for Friday AM was 91-143, actual price is 172. Tested on this tool, https://github.com/drfuzzyness/google-sheets-stalk-market-calculator v1.3, and https://elxris.github.io/Turnip-Calculator/ getting the same results.

ss (2020-04-10 at 11 00 35)

from ac-nh-turnip-prices.

Fae-ok avatar Fae-ok commented on June 20, 2024

Tuesday PM broke mine

8F5752D8-4043-4D76-B475-BC7DF8D45C09

from ac-nh-turnip-prices.

theRTC204 avatar theRTC204 commented on June 20, 2024

Tuesday PM broke mine
@Fae-ok what was your Tuesday PM value?

from ac-nh-turnip-prices.

mjdalton avatar mjdalton commented on June 20, 2024

I have what looks like to be the same issue. It broke with Monday's values but I included a screenshot with the values from today just in case
image

from ac-nh-turnip-prices.

tylermatchett avatar tylermatchett commented on June 20, 2024

So with the recent changes in #93 it seems to break with this valid data:
https://turnipprophet.io/?prices=104.95.91.124.201

Buy price 104
mam - 95
mpm - 91
tam - 124
tpm - 201

You need to delete both mpm and tam to get it to show anything, or adjust the buy price up 1

from ac-nh-turnip-prices.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.