On Connection opening socket sends either next contour to validate list[list[int]]
or"done" meaning the validation has already been completed (cached).
Based on user interaction Front-End sends Invalid = 0, Valid = 1, Skip = 2, Undo = -1
As a response it recieves next (previous) contour to validate list[list[int]] or "done".
On "done" the Front-End tells the user, that the validation has already been completed and offers an opportunity to save the resulting contours locally on disk.
Path of Websocket is:
/validation/{hash_str}/
On Connection opening socket sends either next contour to validate
list[list[int]]
or"done"
meaning the validation has already been completed (cached).Based on user interaction Front-End sends Invalid = 0, Valid = 1, Skip = 2, Undo = -1 As a response it recieves next (previous) contour to validate
list[list[int]]
or"done"
.On
"done"
the Front-End tells the user, that the validation has already been completed and offers an opportunity to save the resulting contours locally on disk.