mirror of
https://github.com/azaion/ai-training.git
synced 2026-04-22 09:06:35 +00:00
Update configuration and test structure for improved clarity and functionality
- Modified `.gitignore` to include test fixture data while excluding test results. - Updated `config.yaml` to change the model from 'yolo11m.yaml' to 'yolo26m.pt'. - Enhanced `.cursor/rules/coderule.mdc` with additional guidelines for test environment consistency and infrastructure handling. - Revised autopilot state management in `_docs/_autopilot_state.md` to reflect current progress and tasks. - Removed outdated augmentation tests and adjusted dataset formation tests to align with the new structure. These changes streamline the configuration and testing processes, ensuring better organization and clarity in the project.
This commit is contained in:
@@ -3,12 +3,12 @@ import constants as c
|
||||
|
||||
def test_fixture_images_dir_has_jpegs(fixture_images_dir):
|
||||
jpgs = list(fixture_images_dir.glob("*.jpg"))
|
||||
assert len(jpgs) == 100
|
||||
assert len(jpgs) == 20
|
||||
|
||||
|
||||
def test_fixture_labels_dir_has_yolo_labels(fixture_labels_dir):
|
||||
txts = list(fixture_labels_dir.glob("*.txt"))
|
||||
assert len(txts) == 100
|
||||
assert len(txts) == 20
|
||||
|
||||
|
||||
def test_fixture_onnx_model_bytes(fixture_onnx_model):
|
||||
@@ -54,6 +54,6 @@ def test_empty_label_file(empty_label):
|
||||
|
||||
def test_constants_patch_uses_tmp(constants_patch, tmp_path):
|
||||
constants_patch(tmp_path)
|
||||
assert c.config.azaion.startswith(str(tmp_path))
|
||||
assert c.config.root.startswith(str(tmp_path))
|
||||
assert c.config.data_dir.startswith(str(tmp_path))
|
||||
assert c.config.current_onnx_model.startswith(str(tmp_path))
|
||||
|
||||
Reference in New Issue
Block a user