Compatibility Guide (v0.1.0, v0.2.0 & v0.3.0 -> v0.3.1)¶
OpenBench AI v0.3.1 is a maintenance, security, and reliability release built directly on the v0.3.0 codebase.
1. Preserved Functionality¶
- Public Python APIs (
v0.1.0–v0.3.0): All existing classes, functions, exceptions, metrics, and adapters remain importable from their established module paths. - CLI Commands & Flags: All
v0.1.0,v0.2.0, andv0.3.0CLI subcommands and options remain intact;--ids-fileis added as an optional flag onopenbench evaluate. - Datasets: All 10 dataset files and all 200 records (including all 48 original
v0.1.0records) are preserved with identical IDs and content. - Experiment Artifacts:
v0.3.1reads and verifies existingv0.3.0experiments/run_<id>/directories without requiring regeneration.
2. Behavioral Refinements & Compatibility Notes in v0.3.1¶
openbench evaluateWarnings onstderr: Evaluation warnings (such as missing responses, unknown response IDs, or active ID filter exclusions) are now emitted tosys.stderrduring CLI execution while keepingsys.stdoutclean and preserving exit code0. Scripts that combined2>&1intostdoutshould readstdoutandstderrseparately.- Markdown Table Pipe Escaping: Model names, dataset names, categories, and provider names containing
|now render as\|inside Markdown table cells so tables remain valid Markdown. semantic_similarityDefault Provider Labeling:SemanticSimilarityMetricretains its class name and"semantic_similarity"metric key, but explicitly labels results from the defaultLocalNgramEmbeddingProviderwithdetails["similarity_type"] = "lexical_similarity"(and adds"lexical_similarity"as a first-class metric identifier).- SPDX License String in
pyproject.toml: Updated fromlicense = { text = "MIT" }tolicense = "MIT"(PEP 639 SPDX format). Very oldsetuptoolsversions (<61.0) may not recognize SPDX string format;pyproject.tomlspecifiessetuptools>=65.0.