You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: add unit tests for granite formatters (3.2, 3.3, intrinsics) #812
mellea/formatters/granite/ has 7–13% line coverage. The only existing tests (test_intrinsics_formatters.py) are gated behind e2e + huggingface + require_gpu(min_vram_gb=12), so they never run in CI or on most developer machines. Regressions in parsing, serialisation, and OpenAI SDK compatibility go undetected until someone runs the full GPU suite.
Proposal
Add 199 pure unit tests (no GPU, no network, no model downloads, ~35s total) covering:
Granite 4 models reuse Granite 3 formatters — no separate tests needed
Canned output regression tests currently cover scenarios with local YAML configs (answerability, query_rewrite, query_clarification); additional scenarios need HuggingFace Hub YAML and are covered by the existing e2e suite
Activity
test: add 199 unit tests for granite formatters (generative-computing…
test: add 199 unit tests for granite formatters (generative-computing…
test: add unit tests for granite formatters (#812) (#818)
test: add unit tests for granite formatters (generative-computing#812) (