Build Validator - adviser_allocation

Validates code changes for the adviser allocation engine, including tests, linting, and type checking.

Sby Skills Guide Bot
TestingIntermediate
109/7/2026
Claude Code
#build-validator#testing#python#cloud-run#adviser-allocation

Recommended for

Build Validator - adviser_allocation

Validates code changes for the adviser allocation engine.

When to Use

Run after modifying allocation logic, API endpoints, or Firestore interactions.

Commands

# Run tests with coverage
pytest tests/ -v --cov=src/adviser_allocation

# Lint check
uv run ruff check src/ tests/

# Type check
mypy src/

Key Test Areas

  • Allocation algorithm: tests/test_allocation.py
  • API endpoints: tests/test_api.py
  • Firestore operations: tests/test_firestore.py
  • Employment Hero sync: tests/test_eh_sync.py

Deployment Note

This repo deploys to Cloud Run. CI/CD auto-deploys on push to main if tests pass.

Related skills