Target: Python runtimeBaseline: LLMSlim v0.4.0 release gate
v0.4.0 Release Verification
Measured test, coverage, lint, and schema-tax benchmark results
The release gate verifies correctness and schema-tax measurements. It does not make a universal latency, retention, or provider-cost claim.
Empirical benchmark matrix
Limitations and non-recommended workloads
- Compression ratio and latency vary with text, hardware, tokenizer availability, and strategy.
- The schema-tax benchmark contains 375 generated schemas in 18 catalogs; it is not a broad model-quality evaluation.
- LLMSlim mitigates compression-induced instruction elevation; it is not a complete prompt-injection defense.
Raw evaluation dataset
{
"release": "v0.4.0",
"tests_passed": 489,
"tests_failed": 0,
"coverage_percent": 90.93,
"schema_tax_catalogs": 18,
"generated_tool_schemas": 375
}Reproducible Python script
pytest tests
pytest --cov=llmslim --cov-branch --cov-report=term-missing
ruff check llmslim benchmarks/benchmark.py tests
python benchmark.py