-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fixed CI/CD Tests for Edge-Endpoint #70
Merged
Changes from 44 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
2cebf22
Updated sdk version
honeytung 1f5e275
Updated sdk model
honeytung b90a327
Fixed pydantic checks
honeytung 6c73ba6
Removed metadata
honeytung 6b28fcb
Added pydantic module validation
honeytung 2157023
Increased confidence target value
honeytung 0513f53
Added debugging text
honeytung e07cdfc
Updated inference threshold
honeytung d66f149
Updated witb new patience_time
honeytung 627849f
Added more debugging messages
honeytung 86a0caa
Allowed pytest to display logs
honeytung 581f8ff
Changed the motion detection test so that it checks the confidence wh…
honeytung 59b05d6
Increased confidence threshold
honeytung 624bd0b
Fixed TypeError bug
honeytung eab80f9
Reverted test case
honeytung 37bd6a9
Pytest tests
honeytung 60553f8
Updated image
honeytung 3a1e41b
Added comments
honeytung 0e2fcd5
Added more information in error messages
honeytung 92a5ecb
Updated FrameGrab to 0.5.2
honeytung fb53c5e
Added logic to check if the request has timeout
honeytung a0f2523
Added comments
honeytung cd34d62
Fixed typo
honeytung 1bd778f
Increased wait time
honeytung 5c8c0b6
Added tests for human review
honeytung 2b715bc
Added confidence logging messages
honeytung 6e27aa0
Added confidence message
honeytung 12a31d3
Updated motion detection test
honeytung 84f4840
Removed debug logs
honeytung 0057541
Fixed confidence logic for pytest skip
honeytung 8f873e2
Automatically reformatting code with black and isort
fd8232b
Updated test to use a higher detector confidence threshold
honeytung a5db3ad
Update confidence threshold to be guarantee cloud escalation
honeytung 9ebc22c
Refactored code
honeytung ae78c67
Automatically reformatting code with black and isort
e85b22f
Added debug message for _is_confident_enough()
honeytung 703f65c
Automatically reformatting code with black and isort
75300e5
Removed threshold
honeytung 945d276
Automatically reformatting code with black and isort
66cf159
Updated threshold
honeytung a6aaf2c
Removed wait time to prevent from escalating to cloud labelers
honeytung a65561b
Automatically reformatting code with black and isort
c40d38c
Removed test case as it is based on sdk misunderstanding
honeytung 2d0e32f
Automatically reformatting code with black and isort
d4c8720
Added patience_time
honeytung a94c2cf
Automatically reformatting code with black and isort
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ fastapi = "^0.88.0" | |
pydantic = "<2.0" | ||
opencv-python = "^4.7.0.72" | ||
pillow = "^9.5.0" | ||
framegrab = "^0.4.3" | ||
framegrab = "^0.5.0" | ||
pyyaml = "^6.0" | ||
svix-ksuid = "^0.6.2" | ||
cachetools = "^5.3.1" | ||
|
@@ -21,7 +21,7 @@ kubernetes = "^27.2.0" | |
jinja2 = "^3.1.2" | ||
SQLAlchemy = "2.0.22" | ||
APScheduler = "3.10.4" | ||
groundlight = "^0.13.1" | ||
groundlight = "^0.17.0" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This makes me happy |
||
|
||
[tool.poetry.group.dev.dependencies] | ||
pytest = "^7.2.0" | ||
|
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was there a specific reason to add this? It should be taken as an argument to
create_iqe
and the true requested patience_time should be set here frompost_image_query
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea I added when I was doing some testing and forget to add to post_image_query. Will add it back.