feat: temporal validation of alerts through a sidecar service - #415
Open
MateoLostanlen wants to merge 9 commits into
Open
feat: temporal validation of alerts through a sidecar service#415MateoLostanlen wants to merge 9 commits into
MateoLostanlen wants to merge 9 commits into
Conversation
…X temporal model
POST /jobs takes a window of frames plus YOLO boxes for one camera pose
and returns a job id at once; a worker thread scores it with
OnnxTemporalModel and GET /jobs/{id} serves the verdict. No torch.
With TEMPORAL_API_URL set, the engine keeps the last 10 inference frames and boxes per camera pose, submits them when an alert becomes ongoing and reads the verdict on the next round. Negative verdicts resubmit the longer window; service errors fail open.
bullseye LTS ended in August 2026: its security repo now serves an expired release file and apt-get update fails in every build.
…ge, compose profile Per-frame size limit and pending-job cap on POST /jobs, service bound to 127.0.0.1 on the host network, image added to the build-and-push matrix so make run can pull it, and the service placed behind the temporal compose profile so disabled stacks do not start it.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #415 +/- ##
===========================================
+ Coverage 78.83% 80.88% +2.04%
===========================================
Files 6 7 +1
Lines 841 905 +64
===========================================
+ Hits 663 732 +69
+ Misses 178 173 -5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pyro_temporal_apiwhen an alert becomes ongoing and reads the verdict on the next round. Negative verdicts resubmit with the new frame, service errors fail open.temporal; unsetTEMPORAL_API_URLkeeps today's behaviour.