-
Notifications
You must be signed in to change notification settings - Fork 3
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
Status #76
Comments
Well, I didn't even know we are stuck. As a member of prediction team I have no idea about what's going on with server/web/whichever other side of the project, so we need here some sort of status update. It's like "tell me what happens and I'll tell you why"). |
The integration of the predictions was indeed done(at least from our end) and the entire discussion is on PokemonGoers/PokeData#183. The last update from @jonas-he suggests that there are no requests for predictions. |
Well, we can't do much until someone says "we make requests but get no predictions". |
We are in a similar state. Maybe the map team( @PokemonGoers/pokemap-1 / @PokemonGoers/pokemap-2 ) or the UI team ( @PokemonGoers/catch-em-all ) has a better idea of why the requests are not being made |
Hi everyone, Best, |
@gqinami an example of a prediction request would be: However it seems that im always getting a 504 Gateway Time-out error when trying such request. Could be that the internal computing of the prediction takes more time than the timeout of a proxy/gateway in front of the actual server ?! Can this be configured @sacdallago ? |
Hey everyone, We published the new npm package with the information on the above comment from Jonas that should now show the predictions in the map: https://www.npmjs.com/package/pokemap-1 However, as a side note, we were not able to test it since the API is not working. Please let us know if anything else is needed from our side. Best, |
Extending the time out time is not the answer. Running a prediction should be an async process with polling. A runPrediction operation should return a ticketID and the polling process should return an event once the ticketId changes status to completed|error. This is a job for @PokemonGoers/pokedata. @PokemonGoers/pokedata please confirm you got the message and on it. |
@gyachdav looking in to the issue and will update soon |
updated the api for prediction, PokemonGoers/PokeData#199, but one of the build fails https://travis-ci.org/PokemonGoers/PokeData/jobs/184915843 |
and is there a way to test the predictions locally? I see on start the prediction requests for sightings on production environment, would be great if there is a configuration to test it offline, since the api is currently down |
I checked the integration of the prediction package and request parameters are passed successfully to the prediction package (more specifically the predictor.predict function). It would be nice of the prediction team to have a look at the integration into our project, since it seems to fail at their package (hint: it seems to happen at the createTestData function). Also I would like to reactivate @sacdallago to give his input on the server issues, maybe @gyachdav can do this for us? |
@jonas-he The url is hardcoded but can be changed, using |
@Aurel-Roci
|
Can you provide a sighting entire from the json data @jonas-he? Seems like a different key is expected 'pokemonId'. |
@bensLine
so the error gets thrown because the |
I see. So far we never had poke entries from the API without the key 'pokemonId'. The location is missing sometimes, in this case we ignore the entry. The missing pokemonId however is new. Why do we store sightings without pokemonId? |
i guess the idea was "the more data the better". But now scraping for sightings is basically dead, so we won't change our DB and it would be a hassle to delete all the "wrong" entries (as i would need to ask christian for DB access and so on and he seems to be out of reach). |
Yeah it's fine. Thanks for the debugging anyway. @Aurel-Roci can you update the npm package after merging #78 if it's fine? |
Yeah I can do that |
@gyachdav we solved the problems and I do see predictions returned now on my local machine. However the server at predictemall.online seems to have crashed and we need @sacdallago to resolve this, since he has access to it. |
Hello there PredictPokemon and @PokemonGoers/pokedata. We are trying to figure out where things stand and how come we do not see any predictions on the predictemall app. It is unclear to us whether integration ever took place or whether the prediction package is failing. We are now waiting on action to resolve this before we move on with grading the whole class so please resolve this asap so we can wrap up this project and this semester.
Thanks,
The mentors
The text was updated successfully, but these errors were encountered: