This document explains how to run the test suite, execute performance benchmarks, and understand the automated quality checks for the gate_learner project.
To run all unit tests and integration tests:
uv run pytestTo verify that all code examples in the documentation and doc comments compile and run correctly:
uv run pytest --doctest-modulesWe use ruff to enforce strict code quality and formatting standards:
# Check for lint errors
uv run ruff check
# Format code
uv run ruff formatUntuk menjalankan pengujian performa menggunakan pyperf dan menghasilkan laporan JSON serta HTML secara otomatis:
uv run python benches/mlp_benchmark.py -o benchmark_results.json