-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API returns different result than the one displayed on the API page #1412
Comments
While we're fixing this let's also specify the state_code since it affects the amount |
When running this in a Colab setup, I receive the same 2334.0 |
@anth-volk as you should but the value displayed on the API doc page under output format is 2833.5. I am just clarifying because the description of the issue is a little confusing. |
@abhcs Yeah, I'm only confirming that I reproduced what you saw, as I was worried there was some underlying bug in the API or in our API call. Turns out the reason this occurs is because the response is hard-coded into the page - there's no API call at all, hence the confusingly different value. |
@abhcs I can take this bug, as well as a couple others on the API page, if you would rather work on something else, as I think some visual fixes are also in order. That said, since you identified them first, I'm happy to step aside if you'd prefer to work on them. |
Please go ahead! (I usually just assign myself the issue when I want to work on it immediately.) |
For the example input, the
snap
computed by the API is2833.5
. On running the same example locally, I getExpected
The outputs should be consistent.
The text was updated successfully, but these errors were encountered: