iai-mcp-opencode/bench/__init__.py
Areg Noya f6b876fbe7 Initial release: iai-mcp v0.1.0
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: XNLLLLH <XNLLLLH@users.noreply.github.com>
2026-05-06 01:04:47 -07:00

10 lines
422 B
Python

"""IAI-MCP benchmark harness.
Phase-1 benchmarks:
- bench.tokens -- (steady <=3000) + (fresh <=8000)
- bench.verbatim -- (verbatim recall >=99% on pinned records)
Both runners are invokable as CLIs (`python -m bench.tokens`, `python -m bench.verbatim`)
and exit non-zero on failure. They fall back to a heuristic token count when
ANTHROPIC_API_KEY is absent so CI (and first-time users) can run the suite offline.
"""