Repository navigation
Releases
Releases · tanaikech/gemini-decisions-api-python
v1.1.0 — Policy Versioning, Cryptographic Provenance & Calibration Suite
What's New in v1.1.0
This release upgrades gemini-decisions-api-python with deterministic policy versioning, cryptographic provenance, separated prompt/policy contracts, and a release-adjacent Mode A + Mode B calibration suite—while preserving 100% backward compatibility with v1.0.0.
Highlights
- Checklist Policy Versioning & Hardened Validation: Optional top-level
versionstring on checklists (all bundled checklists declare"version": "1.0.0"), plus strict validation onnoulexpectedvalues andchoicekeys to prevent YAML 1.1 boolean-coercion bugs. - Pure-Stdlib Governance Module (
cli/governance.py): Computes RFC 8785-inspired canonical SHA-256 digests (input_sha256,checklist_sha256,prompt_contract_sha256,policy_contract_sha256, andcombined_contract_sha256) and records a standardizedprovenanceenvelope in every report and--dry-runoutput. - Clean Separation of
prompt_contractvs.policy_contract: Isolates what the LLM sees (model, normalizedinput_preamble, effective imageresolution,questions) from what the offline deterministic evaluator executes (mode, effectiveconfidence_threshold, Mode B cutoffs/margins, and per-criterion policy parameters). - Privacy & Scale CLI Flags: Added strictly additive
--omit-prompt-contract,--omit-raw-responses,--redact-paths, and--versionflags tocli/decisions_audit.py. - Decoupled Calibration Suite (
calibration/+cli/verify_calibration.py): Includes versioned Mode A (cal_audit_v1.json+ YAML twin) and Mode B (cal_weighted_v1.json) checklists with 4 known-PASS / known-FAIL fixtures verified both offline (--mode offline, $0.00, including bit-exact replay of all 5v1.0.0benchmarks / 83 criteria) and live againstgemini-decision-1(--mode live, 4/4 passed, $0.000365 total, 0 output tokens).
Backward Compatibility
- Zero changes to
POST /v1beta/decisionswire payloads, input token counts, or evaluator scoring math. - All
v1.0.0CLI flags, Python exports, JSON report keys, and publishedresults/uc1..uc5_result.jsonbenchmarks remain fully intact. - Zero new required runtime dependencies.
v1.0.0 — Zero-Output Multimodal Auditing (ZOMA) Python CLI
Initial release of Zero-Output Multimodal Auditing (ZOMA) Python CLI powered by Google DeepMind's Gemini Decisions API (gemini-decision-1). Includes stateless multimodal client (cli/client.py), offline deterministic Mode A & Mode B evaluator (cli/evaluator.py), reusable CLI (cli/decisions_audit.py), Stage-3 zero-data stress tests (cli/test_evaluator_stress.py), five reproducible sample workloads (samples/), and saved live benchmark outputs (results/).