Skip to content
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

Add attribute support for auto-annotation functions #9090

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

SpecLad
Copy link
Contributor

@SpecLad SpecLad commented Feb 11, 2025

Motivation and context

Remove one of the long-standing limitations on auto-annotation functions by adding the necessary validation and remapping logic to support attribute specifications and values. Add a utility module for attributes with functionality I needed, but felt didn't belong in the auto-annotation layer.

Adds the necessary code to support using functions with attributes via agents, as well. I will submit the necesssary server-side code will be submitted to the private repository later; until that is merged, attempts to create native functions with attributes will be rejected.

How has this been tested?

Unit tests and manual testing.

Checklist

  • I submit my changes into the develop branch
  • I have created a changelog fragment
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • [ ] I have linked related issues (see GitHub docs)

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.

@SpecLad SpecLad force-pushed the aa-attributes branch 2 times, most recently from 1a2b7ff to 2cb88b3 Compare February 11, 2025 13:17
@SpecLad SpecLad marked this pull request as ready for review February 11, 2025 13:37
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 33.93939% with 109 lines in your changes missing coverage. Please review.

Project coverage is 73.79%. Comparing base (fb3bde4) to head (6681b9b).
Report is 4 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #9090      +/-   ##
===========================================
- Coverage    73.91%   73.79%   -0.12%     
===========================================
  Files          428      429       +1     
  Lines        44530    44674     +144     
  Branches      3881     3881              
===========================================
+ Hits         32915    32969      +54     
- Misses       11615    11705      +90     
Components Coverage Δ
cvat-ui 77.45% <ø> (+0.01%) ⬆️
cvat-server 70.80% <33.73%> (-0.21%) ⬇️

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

Successfully merging this pull request may close these issues.

2 participants