santiment / san-sdk

Code samples for working with Santiment's API and libraries
https://academy.santiment.net
MIT License
22 stars 13 forks source link

inconsistent devActivity() calls #17

Open josefansinger opened 4 years ago

josefansinger commented 4 years ago

Executing the identical devActivity() API call for Ethereum multiple times results in different results. Sometimes the expected result (see first figure below). Sometimes all activities are below 1 (see second figure below). I could not find any systematic behaviour. Appears to be random.

GitHub_eth_usd_WORKS GitHub_eth_usd_NOTWORKING

IvanIvanoff commented 4 years ago

I cannot really replicate this. In the past few days, we had some issues with the stability of the database that could have caused such results, although I am not sure how this result could have happened. Can you try again and see if the issue persists? If it does - can you provide a script that reproduces it?

josefansinger commented 4 years ago

@IvanIvanoff Please run this API call a couple of times.

IvanIvanoff commented 4 years ago

I was able to reproduce the issue quite fast (sadly :( ) At this moment I am not sure what is going on - will investigate after finishing my current tasks and will report here when the issue is found/fixed.

IvanIvanoff commented 4 years ago

Some of our machines were given more resources and now I can't reproduce the issue. Please reopen it if you manage to reproduce

josefansinger commented 4 years ago

@IvanIvanoff Looks good. Cannot reproduce the error either anymore.

josefansinger commented 4 years ago

The bug persists. Please reopen the issue (or give me the rights to do so). Thanks.

Screenshot 2020-02-26 at 09 07 42
josefansinger commented 4 years ago

FYI. Still a problem.

valo commented 4 years ago

We are changing the way the dev activity is computed and cached at the moment. Should be released next week. Will keep you updated.