trunk
Branches trunk
1 Branches 0 Tags
Go to file T
Code
__init__.py sway: scaffold standalone subproject (pyproject, LICENSE, README)
conftest.py sway(tests): PEFT disable_adapter sanity on SmolLM2-135M (slow+online)
test_api_ollama.py tests/integration: Ollama opt-in — ApiScoringBackend end-to-end (SWAY_OLLAMA_URL gate)
test_cluster_kl_e2e.py tests/integration: cluster_kl end-to-end on SmolLM2-135M + random LoRA (F02)
test_determinism_golden.py tests/determinism_golden: pytest timeout(600) — silent hang surfaces as test fail (F03)
test_dlm_api_compat.py tests: ruff N818/PT018 fixups on the F06 test additions
test_external_perplexity_e2e.py tests/integration: external_perplexity end-to-end on tiny model (slow+online)
test_hf_adapter_toggle.py tests/hf_adapter_toggle: ruff format collapse
test_hf_batched_s23.py tests/integration: HF-backend batched next_token_dist end-to-end (S23 followup)
test_hf_multi_rank_null.py tests/integration: HF multi-rank null calibration — correctness + no-reload timing
test_hf_null_adapter.py tests/hf_null_adapter: seed determinism + adapter restoration on clean/exception exit
test_hf_scaled_adapter.py tests/hf_scaled_adapter: λ sweep monotonicity + scaling restoration on clean/exception exit
test_hf_scoring.py tests: cover B6 None vs 0.0 distinction; widen integration assertion
test_mlx_converter_e2e.py tests/integration: end-to-end PEFT→MLX convert+load+score (S24 prove-the-value)
test_mlx_smoke.py tests/mlx_smoke: darwin-arm64 MLX backend smoke + reproducible adapter fixture builder (C5)
test_nan_adapter_regression.py ruff: format pass on S01 changes
test_pack_run_roundtrip.py tests/integration: pack→unpack→sway run round-trip identity (S26 X3-P7)
test_pre_commit_hook.py tests/pre_commit_hook: assert 3 hooks + PyPI pin + docker image path
test_probe_gradient_ghost.py tests/integration: gradient_ghost real-store FAIL + synthetic converged PASS + runner skip-backend e2e (S25 P8)
test_probe_multi_turn_coherence.py tests/integration: end-to-end multi-turn smoke on a tiny LoRA
test_probe_tool_use_fidelity.py tests/integration: end-to-end smoke for tool_use_fidelity on a real LoRA adapter
test_serve_warm_path.py Add slow integration test for warm-backend speedup
test_sway_gate_exit_code.py tests/sway_gate_exit_code: pass / fail-verdict / below-threshold exit codes (C6)