Files
ai-training/_docs/02_document/tests/resilience-tests.md
T
Oleksandr Bezdieniezhnykh a47fa135de 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.
2026-03-28 06:11:55 +02:00

789 B

Resilience Test Scenarios

RT-DSF-01: Dataset formation with empty data directory

  • Input: Empty data images dir
  • Action: Run form_dataset()
  • Expected: Creates empty train/valid/test directories; no crash
  • Traces: Restriction: Edge case handling

RT-ENC-01: Decrypt with corrupted ciphertext

  • Input: Randomly modified ciphertext bytes
  • Action: Security.decrypt_to(corrupted_bytes, key)
  • Expected: Either raises exception or returns garbage bytes (not original)
  • Traces: AC: Encryption integrity

RT-AQM-01: Malformed msgpack message

  • Input: Random bytes that aren't valid msgpack
  • Action: Pass to message handler
  • Expected: Exception caught; handler doesn't crash
  • Traces: AC: Error handling for malformed messages