Test Documentation Archive

Documentation for the COSET test suite.

Contents

Test Summaries

  1. TESTING_SUMMARY - Testing overview
  2. PYTEST_CONVERSION_SUMMARY - Pytest structure

Quick Reference

Test Structure

tests/
└── legacy/
    ├── test_lattices.py
    ├── test_nn.py
    ├── test_quant.py
    └── test_quantized_vectors_pytest.py

Running Tests

pytest tests/ -v -m "not slow"

Specific Tests

# Quantized vectors only
pytest tests/legacy/test_quantized_vectors_pytest.py -v

# Performance benchmarks
pytest tests/ -v -m "slow"

See tests/README.md for complete usage.

Current Focus

The supported API focuses on: - QAT Layers - create_e8_hnlq_linear, HNLQLinear - E8 and D4 lattice quantization - Quantized vectors - Encoding/decoding validation

Legacy tests cover deprecated modules for backward compatibility.