Closed restyled-io[bot] closed 2 months ago
Unable to locate .performanceTestingBot config file
Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information
Processing PR updates...
Thanks @restyled-io[bot] for opening this PR!
For COLLABORATOR only :
To add labels, comment on the issue
/label add label1,label2,label3
To remove labels, comment on the issue
/label remove label1,label2,label3
[!IMPORTANT]
Review skipped
Auto reviews are disabled on base/target branches other than the default branch.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yaml
file in this repository. To trigger a single review, invoke the@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Hello @restyled-io[bot]! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:
solaris/eval/vector.py
:Line 113:80: E501 line too long (81 > 79 characters)
PR Details of @restyled-io[bot] in CosmiQ-solaris : | OPEN | CLOSED | TOTAL |
---|---|---|---|
3 | 1 | 4 |
Description has been updated!
Description
This pull request makes changes to the
vector.py
file in thesolaris/eval
directory and thevector_test.py
file in thetests/test_eval
directory. The modifications include restructuring the code, updating function signatures, and adding docstrings for better documentation and consistency.Changes in
solaris/eval/vector.py
file:average_score_by_class
,get_all_objects
,precision_calc
,recall_calc
,mF1
, andmAP_score
.get_all_objects
,precision_calc
,recall_calc
,mF1
, andmAP_score
functions.Changes in
tests/test_eval/vector_test.py
file:test_vector_metrics
to match the updated function signature ofvector.mAP_score
and added necessary imports.These changes aim to improve code readability, maintainability, and consistency across the codebase.