Giter Site home page Giter Site logo

Use of snapshots about jmpricesuggestion HOT 4 OPEN

JordyMoos avatar JordyMoos commented on July 23, 2024
Use of snapshots

from jmpricesuggestion.

Comments (4)

marcusklaas avatar marcusklaas commented on July 23, 2024

Older than last sale? But sales come in all the time! Wouldn't that invalidate your snapshot history every few seconds?

from jmpricesuggestion.

JordyMoos avatar JordyMoos commented on July 23, 2024

I ment the item from that snapshot.

So we make a scan of our owned guilds. In all guilds we find item A.
Guild G1 has item A for the prices: 5, 100, 120
Guild G2 has item A for the prices: 40, 120

Say the history gives us a normal of 60.

So we scan another guild, we find item A there and the price sugestion gives us a nice price. And rounds it down to 40 because thats the price of G2.

But then we get a sale history for G2 for item A. (that might be the first price but that is not for sure)
Then we still round down to 40 because we still think it is there. But it is not trusty anymore that it is right?

I am just guessing herre. But the point is, If i need to scan my guilds every day to get a trustful price. That would take 10 minutes each day :P

from jmpricesuggestion.

marcusklaas avatar marcusklaas commented on July 23, 2024

Ah yes, I understand now. That makes a lot sense. When this happens, would you invalidate the snapshot data only for the item on the guild in question?

from jmpricesuggestion.

JordyMoos avatar JordyMoos commented on July 23, 2024

Yea only for the guild in question. But i do not really invalidate the snapshot because the snapshot does not know about sales and also does not care. For the momemt i think the best solution is that price sugesstion figures out if the snapshot for that guild and item is old. In that case it ignores the effect of the last function?

from jmpricesuggestion.

Related Issues (4)

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.