Skip to content

fix(yolo): emit accurate dataset YAML - #68

Merged
amanharshx merged 1 commit into
mainfrom
fix/data-yaml-correctness
Jul 26, 2026
Merged

fix(yolo): emit accurate dataset YAML#68
amanharshx merged 1 commit into
mainfrom
fix/data-yaml-correctness

Conversation

@amanharshx

Copy link
Copy Markdown
Owner

Summary

Correct YOLO dataset metadata generation for detection and classification exports.

Motivation

Generated YAML referenced nonexistent splits and was invalid for folder-based classification datasets.

Key Changes

  • Emit only splits represented in final ZIP.
  • Warn when detection data lacks required train or val split.
  • Omit data.yaml for classification exports.
  • Add regression coverage for split combinations, failed downloads, labels-only exports, and classification.
  • Verified with Cargo tests, Clippy, formatting, Rust build, Bun tests, and frontend build.
  • Sanity check: source splits → expected YAML keys → actual keys matched across all tested combinations.

@github-actions github-actions Bot added the backend Rust/Tauri changes label Jul 26, 2026
@amanharshx amanharshx added the bug Something isn't working label Jul 26, 2026
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@amanharshx
amanharshx merged commit 14ac2c8 into main Jul 26, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Rust/Tauri changes bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants