Closed klakhov closed 2 days ago
A fix has been applied to the task quality page in the CVAT project, addressing the sorting functionality for the frame intersection
column. This fix updates the relevant onFilter
and sorter
functions to correctly handle different data types and use appropriate fields for ordering jobs.
File | Change Summary |
---|---|
changelog.d/20240626_104311_klakhov_fix_frame_intersection_ordering.md | Documented the fix for ordering of the frame intersection column on the task quality page. |
cvat-ui/package.json | Updated version from "1.63.11" to "1.63.12". |
cvat-ui/src/components/analytics-page/task-quality/job-list.tsx | Modified onFilter functions in JobListComponent to accept boolean or Key types and updated sorter function for frame_intersection column to reference frameCount within summary object. |
No significant changes to the control flow, so sequence diagrams are not applicable.
Objective (from linked issue #8022) | Addressed | Explanation |
---|---|---|
Jobs are sorted according to the intersection instead of job ID | ✅ |
In CVAT's code, a fix was born, To sort by frames where jobs adorn. No more chaos, order leads, As intersections now take heed. Versioned up, the change is bright, In tasks, all jobs aligned just right! 🌟
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?
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 83.61%. Comparing base (
cdf50d3
) to head (416910b
). Report is 1 commits behind head on develop.
Motivation and context
Resolved #8022
Before:
After:
![ordering-updated](https://github.com/cvat-ai/cvat/assets/50956430/998513cf-aa0c-4bf1-b04b-032047d85c21)
How has this been tested?
Checklist
develop
branch[ ] I have updated the documentation accordingly[ ] I have added tests to cover my changesLicense
Summary by CodeRabbit
Bug Fixes
frame intersection
column on the task quality page.New Features
Chores
cvat-ui
package version from 1.63.11 to 1.63.12.