gansta / tests /README.md
Elliotasdasdasfasas's picture
Deploy CTM Codebase bypass FUSE 503
ed89628

A newer version of the Gradio SDK is available: 6.13.0

Upgrade

Tests

To execute all tests, run the following:

PYTHONPATH=. pytest tests/tests.py

Golden Test

The golden test is designed to check if changes in the code have resulted in a difference in model behaviour. It takes a pre-defined input, runs the model, and compares the output to what is expected. If something changed in the model and the outputs are different, the test will fail.

The golden test can be ran with:

PYTHONPATH=. pytest tests/tests.py::test_golden_<task>

where <task> is one of parity, qamnist, rl.