Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Use the correct logic for choosing which pieces to focus on when assigning them to someone #87

Open
Lingnik opened this issue Jan 20, 2020 · 0 comments

Comments

@Lingnik
Copy link
Contributor

Lingnik commented Jan 20, 2020

it looks like PuzzlePieceViewSet.get_random() is what the API is calling and needs to be updated to factor in the SQL query in findUnconfidentPuzzlePieces(), which I think should consistently find a batch of 100 "do these first" pieces, focusing on ones that are about to be finished first but ordered randomly.

This is very similar to #86, but actually fixing #86 as-written (which I think would mean ignoring that they have a solution?) would result in us focusing on a bunch of old ones in the near term that we probably don't care about as much right now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant