ragops 2.0.2__tar.gz → 2.1.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (259) hide show
  1. {ragops-2.0.2 → ragops-2.1.1}/.claude-plugin/plugin.json +2 -2
  2. {ragops-2.0.2 → ragops-2.1.1}/.codex-plugin/plugin.json +2 -2
  3. ragops-2.1.1/.github/dependabot.yml +23 -0
  4. {ragops-2.0.2 → ragops-2.1.1}/.github/workflows/ci.yml +5 -3
  5. {ragops-2.0.2 → ragops-2.1.1}/.github/workflows/publish-pypi.yml +2 -1
  6. {ragops-2.0.2 → ragops-2.1.1}/.kimi-plugin/plugin.json +2 -2
  7. {ragops-2.0.2 → ragops-2.1.1}/CHANGELOG.md +34 -1
  8. ragops-2.1.1/LICENSE +202 -0
  9. ragops-2.1.1/NOTICE +6 -0
  10. {ragops-2.0.2 → ragops-2.1.1}/PKG-INFO +16 -5
  11. {ragops-2.0.2 → ragops-2.1.1}/README.md +10 -2
  12. {ragops-2.0.2 → ragops-2.1.1}/TERMS.md +1 -1
  13. ragops-2.1.1/action.yml +108 -0
  14. ragops-2.1.1/docs/examples/github-action-release-gate.yml +29 -0
  15. {ragops-2.0.2 → ragops-2.1.1}/docs/examples/github-actions-ragops.yml +1 -1
  16. {ragops-2.0.2 → ragops-2.1.1}/docs/examples/gitlab-ci-ragops.yml +1 -1
  17. ragops-2.1.1/docs/releases/v2.1.0.md +14 -0
  18. ragops-2.1.1/docs/releases/v2.1.1.md +3 -0
  19. {ragops-2.0.2 → ragops-2.1.1}/docs/submission/DIRECTORY_SUBMISSION.md +4 -4
  20. {ragops-2.0.2 → ragops-2.1.1}/pyproject.toml +12 -4
  21. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/__init__.py +1 -1
  22. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/cli.py +2 -331
  23. ragops-2.1.1/src/ragops/cli_parser.py +338 -0
  24. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/evaluators.py +34 -6
  25. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/plugins.py +2 -1
  26. {ragops-2.0.2 → ragops-2.1.1}/tests/test_adoption_recipes.py +17 -2
  27. ragops-2.1.1/tests/test_api_http.py +127 -0
  28. ragops-2.1.1/tests/test_baseline_contract.py +99 -0
  29. {ragops-2.0.2 → ragops-2.1.1}/tests/test_github_workflows.py +3 -3
  30. {ragops-2.0.2 → ragops-2.1.1}/tests/test_local_release.py +1 -1
  31. {ragops-2.0.2 → ragops-2.1.1}/tests/test_plugin_release.py +5 -5
  32. {ragops-2.0.2 → ragops-2.1.1}/tests/test_public_api.py +1 -1
  33. {ragops-2.0.2 → ragops-2.1.1}/tests/test_release_version.py +3 -3
  34. ragops-2.1.1/tests/test_reporters_markdown.py +47 -0
  35. ragops-2.1.1/tests/test_tokenizer.py +27 -0
  36. {ragops-2.0.2 → ragops-2.1.1}/tests/test_usage.py +1 -1
  37. ragops-2.1.1/tests/test_usage_contract.py +79 -0
  38. ragops-2.0.2/LICENSE +0 -21
  39. {ragops-2.0.2 → ragops-2.1.1}/.dockerignore +0 -0
  40. {ragops-2.0.2 → ragops-2.1.1}/.github/workflows/codeql.yml +0 -0
  41. {ragops-2.0.2 → ragops-2.1.1}/.gitignore +0 -0
  42. {ragops-2.0.2 → ragops-2.1.1}/CONTRIBUTING.md +0 -0
  43. {ragops-2.0.2 → ragops-2.1.1}/Dockerfile +0 -0
  44. {ragops-2.0.2 → ragops-2.1.1}/PRIVACY.md +0 -0
  45. {ragops-2.0.2 → ragops-2.1.1}/SECURITY.md +0 -0
  46. {ragops-2.0.2 → ragops-2.1.1}/SUPPORT.md +0 -0
  47. {ragops-2.0.2 → ragops-2.1.1}/apps/__init__.py +0 -0
  48. {ragops-2.0.2 → ragops-2.1.1}/apps/api/__init__.py +0 -0
  49. {ragops-2.0.2 → ragops-2.1.1}/apps/api/main.py +0 -0
  50. {ragops-2.0.2 → ragops-2.1.1}/apps/github_pr_comment.py +0 -0
  51. {ragops-2.0.2 → ragops-2.1.1}/apps/web/index.html +0 -0
  52. {ragops-2.0.2 → ragops-2.1.1}/assets/plugin-icon.png +0 -0
  53. {ragops-2.0.2 → ragops-2.1.1}/assets/plugin-icon.svg +0 -0
  54. {ragops-2.0.2 → ragops-2.1.1}/compose.yaml +0 -0
  55. {ragops-2.0.2 → ragops-2.1.1}/docs/ARCHITECTURE.md +0 -0
  56. {ragops-2.0.2 → ragops-2.1.1}/docs/CONTRACTS.md +0 -0
  57. {ragops-2.0.2 → ragops-2.1.1}/docs/OPERATIONS.md +0 -0
  58. {ragops-2.0.2 → ragops-2.1.1}/docs/adapters.md +0 -0
  59. {ragops-2.0.2 → ragops-2.1.1}/docs/demo/infographics/evidence-stack.svg +0 -0
  60. {ragops-2.0.2 → ragops-2.1.1}/docs/demo/infographics/release-gate-flow.svg +0 -0
  61. {ragops-2.0.2 → ragops-2.1.1}/docs/demo/ragops-demo-screenshot.png +0 -0
  62. {ragops-2.0.2 → ragops-2.1.1}/docs/demo/ragops-demo.gif +0 -0
  63. {ragops-2.0.2 → ragops-2.1.1}/docs/demo/ragops-pr-comment.png +0 -0
  64. {ragops-2.0.2 → ragops-2.1.1}/docs/demo/social-preview.png +0 -0
  65. {ragops-2.0.2 → ragops-2.1.1}/docs/examples/github-pr-comment.yml +0 -0
  66. {ragops-2.0.2 → ragops-2.1.1}/docs/governance.md +0 -0
  67. {ragops-2.0.2 → ragops-2.1.1}/docs/gtm/pilot-fixtures/synthetic-economics.json +0 -0
  68. {ragops-2.0.2 → ragops-2.1.1}/docs/gtm/pilot-fixtures/synthetic-manifest.json +0 -0
  69. {ragops-2.0.2 → ragops-2.1.1}/docs/gtm/pilot-fixtures/synthetic-observations.jsonl +0 -0
  70. {ragops-2.0.2 → ragops-2.1.1}/docs/gtm/production-pilot.md +0 -0
  71. {ragops-2.0.2 → ragops-2.1.1}/docs/releases/v1.0.0.md +0 -0
  72. {ragops-2.0.2 → ragops-2.1.1}/docs/releases/v1.2.0.md +0 -0
  73. {ragops-2.0.2 → ragops-2.1.1}/docs/releases/v2.0.0.md +0 -0
  74. {ragops-2.0.2 → ragops-2.1.1}/docs/releases/v2.0.1.md +0 -0
  75. {ragops-2.0.2 → ragops-2.1.1}/docs/releases/v2.0.2.md +0 -0
  76. {ragops-2.0.2 → ragops-2.1.1}/docs/superpowers/plans/2026-08-23-ragops-2-implementation.md +0 -0
  77. {ragops-2.0.2 → ragops-2.1.1}/docs/superpowers/plans/2026-08-23-ragops-post-release-hardening.md +0 -0
  78. {ragops-2.0.2 → ragops-2.1.1}/docs/superpowers/plans/2026-08-24-ragops-2.0.2-release.md +0 -0
  79. {ragops-2.0.2 → ragops-2.1.1}/docs/superpowers/specs/2026-08-23-ragops-production-flagship-adoption-design.md +0 -0
  80. {ragops-2.0.2 → ragops-2.1.1}/examples/__init__.py +0 -0
  81. {ragops-2.0.2 → ragops-2.1.1}/examples/customer_support_demo/knowledge_base.json +0 -0
  82. {ragops-2.0.2 → ragops-2.1.1}/examples/customer_support_demo/output/baseline.json +0 -0
  83. {ragops-2.0.2 → ragops-2.1.1}/examples/customer_support_demo/output/candidate.json +0 -0
  84. {ragops-2.0.2 → ragops-2.1.1}/examples/customer_support_demo/output/release-report.html +0 -0
  85. {ragops-2.0.2 → ragops-2.1.1}/examples/customer_support_demo/output/release-report.md +0 -0
  86. {ragops-2.0.2 → ragops-2.1.1}/examples/customer_support_demo/response_generator.py +0 -0
  87. {ragops-2.0.2 → ragops-2.1.1}/examples/customer_support_demo/run_demo.py +0 -0
  88. {ragops-2.0.2 → ragops-2.1.1}/examples/customer_support_demo/scenario.json +0 -0
  89. {ragops-2.0.2 → ragops-2.1.1}/examples/japanese_troubleshooting_agent/__init__.py +0 -0
  90. {ragops-2.0.2 → ragops-2.1.1}/examples/japanese_troubleshooting_agent/agent.py +0 -0
  91. {ragops-2.0.2 → ragops-2.1.1}/examples/japanese_troubleshooting_agent/cli.py +0 -0
  92. {ragops-2.0.2 → ragops-2.1.1}/examples/japanese_troubleshooting_agent/data/documents.json +0 -0
  93. {ragops-2.0.2 → ragops-2.1.1}/examples/japanese_troubleshooting_agent/data/graph.json +0 -0
  94. {ragops-2.0.2 → ragops-2.1.1}/examples/japanese_troubleshooting_agent/results/graph-traces.jsonl +0 -0
  95. {ragops-2.0.2 → ragops-2.1.1}/examples/japanese_troubleshooting_agent/results/lexical-traces.jsonl +0 -0
  96. {ragops-2.0.2 → ragops-2.1.1}/examples/japanese_troubleshooting_agent/scenario.json +0 -0
  97. {ragops-2.0.2 → ragops-2.1.1}/examples/japanese_troubleshooting_agent/suite.json +0 -0
  98. {ragops-2.0.2 → ragops-2.1.1}/examples/opentelemetry_trace_adapter/__init__.py +0 -0
  99. {ragops-2.0.2 → ragops-2.1.1}/examples/opentelemetry_trace_adapter/adapter.py +0 -0
  100. {ragops-2.0.2 → ragops-2.1.1}/examples/opentelemetry_trace_adapter/spans.jsonl +0 -0
  101. {ragops-2.0.2 → ragops-2.1.1}/examples/phoenix_recorded_scores/README.md +0 -0
  102. {ragops-2.0.2 → ragops-2.1.1}/examples/phoenix_recorded_scores/__init__.py +0 -0
  103. {ragops-2.0.2 → ragops-2.1.1}/examples/phoenix_recorded_scores/adapter.py +0 -0
  104. {ragops-2.0.2 → ragops-2.1.1}/examples/phoenix_recorded_scores/annotations.json +0 -0
  105. {ragops-2.0.2 → ragops-2.1.1}/examples/phoenix_recorded_scores/case_ids.json +0 -0
  106. {ragops-2.0.2 → ragops-2.1.1}/examples/phoenix_recorded_scores/expected-envelope.json +0 -0
  107. {ragops-2.0.2 → ragops-2.1.1}/ragops.toml +0 -0
  108. {ragops-2.0.2 → ragops-2.1.1}/scenarios/japanese_troubleshooting/attack-pack.json +0 -0
  109. {ragops-2.0.2 → ragops-2.1.1}/scenarios/japanese_troubleshooting/benchmark-adversarial.json +0 -0
  110. {ragops-2.0.2 → ragops-2.1.1}/scenarios/japanese_troubleshooting/benchmark-baseline.json +0 -0
  111. {ragops-2.0.2 → ragops-2.1.1}/scenarios/japanese_troubleshooting/benchmark-regressed.json +0 -0
  112. {ragops-2.0.2 → ragops-2.1.1}/scenarios/japanese_troubleshooting/benchmark-v0.2.json +0 -0
  113. {ragops-2.0.2 → ragops-2.1.1}/scenarios/japanese_troubleshooting/evaluation-policy.toml +0 -0
  114. {ragops-2.0.2 → ragops-2.1.1}/scenarios/japanese_troubleshooting/external-metric-policy.toml +0 -0
  115. {ragops-2.0.2 → ragops-2.1.1}/scenarios/japanese_troubleshooting/external-metrics-baseline.json +0 -0
  116. {ragops-2.0.2 → ragops-2.1.1}/scenarios/japanese_troubleshooting/external-metrics-candidate.json +0 -0
  117. {ragops-2.0.2 → ragops-2.1.1}/scenarios/japanese_troubleshooting/failure-zoo-candidate.json +0 -0
  118. {ragops-2.0.2 → ragops-2.1.1}/scenarios/japanese_troubleshooting/failure-zoo-policy.toml +0 -0
  119. {ragops-2.0.2 → ragops-2.1.1}/scenarios/japanese_troubleshooting/regressed_responses.json +0 -0
  120. {ragops-2.0.2 → ragops-2.1.1}/scenarios/japanese_troubleshooting/retrieval-poisoning-candidate.json +0 -0
  121. {ragops-2.0.2 → ragops-2.1.1}/scenarios/japanese_troubleshooting/sample_responses.json +0 -0
  122. {ragops-2.0.2 → ragops-2.1.1}/scenarios/japanese_troubleshooting/sample_traces.jsonl +0 -0
  123. {ragops-2.0.2 → ragops-2.1.1}/scenarios/japanese_troubleshooting/scenario.json +0 -0
  124. {ragops-2.0.2 → ragops-2.1.1}/scenarios/statistical_gate/baseline.json +0 -0
  125. {ragops-2.0.2 → ragops-2.1.1}/scenarios/statistical_gate/candidate-block.json +0 -0
  126. {ragops-2.0.2 → ragops-2.1.1}/scenarios/statistical_gate/candidate-pass.json +0 -0
  127. {ragops-2.0.2 → ragops-2.1.1}/scenarios/statistical_gate/drift-policy.toml +0 -0
  128. {ragops-2.0.2 → ragops-2.1.1}/scenarios/statistical_gate/policy.toml +0 -0
  129. {ragops-2.0.2 → ragops-2.1.1}/scenarios/statistical_gate/run-plan.json +0 -0
  130. {ragops-2.0.2 → ragops-2.1.1}/scenarios/statistical_gate/sequential-policy.toml +0 -0
  131. {ragops-2.0.2 → ragops-2.1.1}/schemas/attack-pack-0.1.schema.json +0 -0
  132. {ragops-2.0.2 → ragops-2.1.1}/schemas/baseline-manifest-0.1.schema.json +0 -0
  133. {ragops-2.0.2 → ragops-2.1.1}/schemas/calibration-report-1.0.schema.json +0 -0
  134. {ragops-2.0.2 → ragops-2.1.1}/schemas/calibration-set-1.0.schema.json +0 -0
  135. {ragops-2.0.2 → ragops-2.1.1}/schemas/dataset-manifest-1.0.schema.json +0 -0
  136. {ragops-2.0.2 → ragops-2.1.1}/schemas/evaluator-drift-report-0.1.schema.json +0 -0
  137. {ragops-2.0.2 → ragops-2.1.1}/schemas/evidence-bundle-1.0.schema.json +0 -0
  138. {ragops-2.0.2 → ragops-2.1.1}/schemas/external-metrics-0.1.schema.json +0 -0
  139. {ragops-2.0.2 → ragops-2.1.1}/schemas/local-usage-event-0.1.schema.json +0 -0
  140. {ragops-2.0.2 → ragops-2.1.1}/schemas/pilot-economics-0.1.schema.json +0 -0
  141. {ragops-2.0.2 → ragops-2.1.1}/schemas/pilot-manifest-0.1.schema.json +0 -0
  142. {ragops-2.0.2 → ragops-2.1.1}/schemas/pilot-observation-0.1.schema.json +0 -0
  143. {ragops-2.0.2 → ragops-2.1.1}/schemas/provenance-diagnosis-0.1.schema.json +0 -0
  144. {ragops-2.0.2 → ragops-2.1.1}/schemas/release-decision-1.0.schema.json +0 -0
  145. {ragops-2.0.2 → ragops-2.1.1}/schemas/release-policy-2.0.schema.json +0 -0
  146. {ragops-2.0.2 → ragops-2.1.1}/schemas/repeated-run-plan-0.1.schema.json +0 -0
  147. {ragops-2.0.2 → ragops-2.1.1}/schemas/replay-bundle-0.1.schema.json +0 -0
  148. {ragops-2.0.2 → ragops-2.1.1}/schemas/report-0.2.schema.json +0 -0
  149. {ragops-2.0.2 → ragops-2.1.1}/schemas/response-fixture-0.2.schema.json +0 -0
  150. {ragops-2.0.2 → ragops-2.1.1}/schemas/responses-0.1.schema.json +0 -0
  151. {ragops-2.0.2 → ragops-2.1.1}/schemas/scenario-0.1.schema.json +0 -0
  152. {ragops-2.0.2 → ragops-2.1.1}/schemas/scenario-0.2.schema.json +0 -0
  153. {ragops-2.0.2 → ragops-2.1.1}/schemas/sequential-report-0.1.schema.json +0 -0
  154. {ragops-2.0.2 → ragops-2.1.1}/schemas/statistical-report-0.1.schema.json +0 -0
  155. {ragops-2.0.2 → ragops-2.1.1}/schemas/trace-0.3.schema.json +0 -0
  156. {ragops-2.0.2 → ragops-2.1.1}/schemas/trace-0.4.schema.json +0 -0
  157. {ragops-2.0.2 → ragops-2.1.1}/schemas/trace-graph-1.0.schema.json +0 -0
  158. {ragops-2.0.2 → ragops-2.1.1}/scripts/local_release.py +0 -0
  159. {ragops-2.0.2 → ragops-2.1.1}/scripts/record_demo.sh +0 -0
  160. {ragops-2.0.2 → ragops-2.1.1}/scripts/render_demo_assets.py +0 -0
  161. {ragops-2.0.2 → ragops-2.1.1}/skills/evaluate-ai-release/SKILL.md +0 -0
  162. {ragops-2.0.2 → ragops-2.1.1}/skills/evaluate-ai-release/agents/openai.yaml +0 -0
  163. {ragops-2.0.2 → ragops-2.1.1}/skills/evaluate-ai-release/references/commands.md +0 -0
  164. {ragops-2.0.2 → ragops-2.1.1}/skills/evaluate-ai-release/scripts/run_ragops.py +0 -0
  165. {ragops-2.0.2 → ragops-2.1.1}/skills/ragops-feature/SKILL.md +0 -0
  166. {ragops-2.0.2 → ragops-2.1.1}/skills/ragops-presentation/SKILL.md +0 -0
  167. {ragops-2.0.2 → ragops-2.1.1}/skills/ragops-release/SKILL.md +0 -0
  168. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/adapter_sdk.py +0 -0
  169. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/adapters/__init__.py +0 -0
  170. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/adapters/external_metrics.py +0 -0
  171. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/adapters/http.py +0 -0
  172. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/adapters/import_profiles.py +0 -0
  173. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/adapters/otel_genai.py +0 -0
  174. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/adapters/provider_metrics.py +0 -0
  175. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/adapters/repeated_runs.py +0 -0
  176. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/adapters/signing.py +0 -0
  177. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/api/__init__.py +0 -0
  178. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/api/main.py +0 -0
  179. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/baseline.py +0 -0
  180. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/benchmarks.py +0 -0
  181. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/calibration.py +0 -0
  182. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/ci.py +0 -0
  183. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/config.py +0 -0
  184. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/contracts.py +0 -0
  185. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/control_plane.py +0 -0
  186. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/datasets.py +0 -0
  187. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/demo.py +0 -0
  188. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/distribution.py +0 -0
  189. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/drift.py +0 -0
  190. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/engine.py +0 -0
  191. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/evidence.py +0 -0
  192. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/explain.py +0 -0
  193. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/governance.py +0 -0
  194. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/loader.py +0 -0
  195. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/models.py +0 -0
  196. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/pilot.py +0 -0
  197. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/policy_v2.py +0 -0
  198. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/provenance.py +0 -0
  199. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/providers/__init__.py +0 -0
  200. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/providers/openai_responses.py +0 -0
  201. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/reporters.py +0 -0
  202. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/sequential.py +0 -0
  203. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/slices.py +0 -0
  204. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/statistical.py +0 -0
  205. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/store.py +0 -0
  206. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/trace_graph.py +0 -0
  207. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/traces.py +0 -0
  208. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/usage.py +0 -0
  209. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/web/__init__.py +0 -0
  210. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/web/app.js +0 -0
  211. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/web/index.html +0 -0
  212. {ragops-2.0.2 → ragops-2.1.1}/src/ragops/web/styles.css +0 -0
  213. {ragops-2.0.2 → ragops-2.1.1}/tests/test_adapter_sdk.py +0 -0
  214. {ragops-2.0.2 → ragops-2.1.1}/tests/test_answer_length_cli.py +0 -0
  215. {ragops-2.0.2 → ragops-2.1.1}/tests/test_api_contract.py +0 -0
  216. {ragops-2.0.2 → ragops-2.1.1}/tests/test_baseline_manifest.py +0 -0
  217. {ragops-2.0.2 → ragops-2.1.1}/tests/test_benchmarks.py +0 -0
  218. {ragops-2.0.2 → ragops-2.1.1}/tests/test_calibration.py +0 -0
  219. {ragops-2.0.2 → ragops-2.1.1}/tests/test_comparison.py +0 -0
  220. {ragops-2.0.2 → ragops-2.1.1}/tests/test_config.py +0 -0
  221. {ragops-2.0.2 → ragops-2.1.1}/tests/test_contracts_v2.py +0 -0
  222. {ragops-2.0.2 → ragops-2.1.1}/tests/test_control_plane.py +0 -0
  223. {ragops-2.0.2 → ragops-2.1.1}/tests/test_datasets.py +0 -0
  224. {ragops-2.0.2 → ragops-2.1.1}/tests/test_demo.py +0 -0
  225. {ragops-2.0.2 → ragops-2.1.1}/tests/test_engine.py +0 -0
  226. {ragops-2.0.2 → ragops-2.1.1}/tests/test_evaluator_depth.py +0 -0
  227. {ragops-2.0.2 → ragops-2.1.1}/tests/test_evaluator_drift.py +0 -0
  228. {ragops-2.0.2 → ragops-2.1.1}/tests/test_evidence_bundle.py +0 -0
  229. {ragops-2.0.2 → ragops-2.1.1}/tests/test_explain_ci.py +0 -0
  230. {ragops-2.0.2 → ragops-2.1.1}/tests/test_external_metrics.py +0 -0
  231. {ragops-2.0.2 → ragops-2.1.1}/tests/test_flagship_demo.py +0 -0
  232. {ragops-2.0.2 → ragops-2.1.1}/tests/test_governance.py +0 -0
  233. {ragops-2.0.2 → ragops-2.1.1}/tests/test_http_adapter.py +0 -0
  234. {ragops-2.0.2 → ragops-2.1.1}/tests/test_loader.py +0 -0
  235. {ragops-2.0.2 → ragops-2.1.1}/tests/test_openai_provider.py +0 -0
  236. {ragops-2.0.2 → ragops-2.1.1}/tests/test_opentelemetry_adapter.py +0 -0
  237. {ragops-2.0.2 → ragops-2.1.1}/tests/test_packaged_api.py +0 -0
  238. {ragops-2.0.2 → ragops-2.1.1}/tests/test_phoenix_recorded_scores.py +0 -0
  239. {ragops-2.0.2 → ragops-2.1.1}/tests/test_pilot.py +0 -0
  240. {ragops-2.0.2 → ragops-2.1.1}/tests/test_plugins_and_traces.py +0 -0
  241. {ragops-2.0.2 → ragops-2.1.1}/tests/test_policy_v2.py +0 -0
  242. {ragops-2.0.2 → ragops-2.1.1}/tests/test_pr_comment_publisher.py +0 -0
  243. {ragops-2.0.2 → ragops-2.1.1}/tests/test_provenance_diagnosis.py +0 -0
  244. {ragops-2.0.2 → ragops-2.1.1}/tests/test_provider_metric_adapters.py +0 -0
  245. {ragops-2.0.2 → ragops-2.1.1}/tests/test_readme_visuals.py +0 -0
  246. {ragops-2.0.2 → ragops-2.1.1}/tests/test_reference_agent.py +0 -0
  247. {ragops-2.0.2 → ragops-2.1.1}/tests/test_reference_benchmark.py +0 -0
  248. {ragops-2.0.2 → ragops-2.1.1}/tests/test_repeated_runs.py +0 -0
  249. {ragops-2.0.2 → ragops-2.1.1}/tests/test_response_fixtures.py +0 -0
  250. {ragops-2.0.2 → ragops-2.1.1}/tests/test_scenario_v02_and_attacks.py +0 -0
  251. {ragops-2.0.2 → ragops-2.1.1}/tests/test_schema_files.py +0 -0
  252. {ragops-2.0.2 → ragops-2.1.1}/tests/test_sequential_gate.py +0 -0
  253. {ragops-2.0.2 → ragops-2.1.1}/tests/test_slice_distribution.py +0 -0
  254. {ragops-2.0.2 → ragops-2.1.1}/tests/test_statistical_gate.py +0 -0
  255. {ragops-2.0.2 → ragops-2.1.1}/tests/test_statistical_schema_instances.py +0 -0
  256. {ragops-2.0.2 → ragops-2.1.1}/tests/test_store_and_html.py +0 -0
  257. {ragops-2.0.2 → ragops-2.1.1}/tests/test_team_workflow.py +0 -0
  258. {ragops-2.0.2 → ragops-2.1.1}/tests/test_trace_graph.py +0 -0
  259. {ragops-2.0.2 → ragops-2.1.1}/tests/test_workbench.py +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ragops",
3
- "version": "2.0.2",
3
+ "version": "2.1.1",
4
4
  "description": "Explainable regression tests and release gates for RAG systems and AI agents.",
5
5
  "author": {
6
6
  "name": "Thang Luu",
@@ -8,6 +8,6 @@
8
8
  },
9
9
  "homepage": "https://github.com/thangldw/ragops",
10
10
  "repository": "https://github.com/thangldw/ragops",
11
- "license": "MIT",
11
+ "license": "Apache-2.0",
12
12
  "keywords": ["rag", "ai-agents", "evaluation", "release-gates"]
13
13
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ragops",
3
- "version": "2.0.2",
3
+ "version": "2.1.1",
4
4
  "description": "Offline, explainable release gates and evidence bundles for RAG systems and AI agents.",
5
5
  "author": {
6
6
  "name": "Thang Luu",
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "homepage": "https://github.com/thangldw/ragops",
10
10
  "repository": "https://github.com/thangldw/ragops",
11
- "license": "MIT",
11
+ "license": "Apache-2.0",
12
12
  "keywords": ["rag", "ai-agents", "evaluation", "release-gates", "regression-testing"],
13
13
  "skills": "./skills/",
14
14
  "interface": {
@@ -0,0 +1,23 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: pip
4
+ directory: /
5
+ schedule:
6
+ interval: weekly
7
+ open-pull-requests-limit: 3
8
+ cooldown:
9
+ default-days: 7
10
+ - package-ecosystem: docker
11
+ directory: /
12
+ schedule:
13
+ interval: weekly
14
+ open-pull-requests-limit: 3
15
+ cooldown:
16
+ default-days: 7
17
+ - package-ecosystem: github-actions
18
+ directory: /
19
+ schedule:
20
+ interval: monthly
21
+ open-pull-requests-limit: 3
22
+ cooldown:
23
+ default-days: 7
@@ -30,7 +30,9 @@ jobs:
30
30
  - name: Test
31
31
  env:
32
32
  PYTEST_DISABLE_PLUGIN_AUTOLOAD: "1"
33
- run: pytest -q
33
+ run: |
34
+ coverage run -m pytest -q
35
+ coverage report
34
36
  - name: Build and inspect distributions
35
37
  run: |
36
38
  python -m build
@@ -55,7 +57,7 @@ jobs:
55
57
  - name: Run published credential-free demo without checkout
56
58
  shell: pwsh
57
59
  run: |
58
- $demoJson = (& uvx --from "ragops==2.0.1" ragops demo --profile engineer --output demo-output | Out-String)
60
+ $demoJson = (& uvx --from "ragops==2.0.2" ragops demo --profile engineer --output demo-output | Out-String)
59
61
  if ($LASTEXITCODE -ne 0) {
60
62
  throw "ragops demo returned $LASTEXITCODE"
61
63
  }
@@ -66,7 +68,7 @@ jobs:
66
68
  if (-not (Test-Path "demo-output/release-report.html" -PathType Leaf)) {
67
69
  throw "release-report.html was not generated"
68
70
  }
69
- uvx --from "ragops==2.0.1" ragops evidence verify --bundle demo-output/evidence
71
+ uvx --from "ragops==2.0.2" ragops evidence verify --bundle demo-output/evidence
70
72
  if ($LASTEXITCODE -ne 0) {
71
73
  throw "evidence verification returned $LASTEXITCODE"
72
74
  }
@@ -18,6 +18,7 @@ jobs:
18
18
  steps:
19
19
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
20
20
  with:
21
+ persist-credentials: false
21
22
  ref: ${{ inputs.tag }}
22
23
  - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
23
24
  with:
@@ -62,4 +63,4 @@ jobs:
62
63
  cp release-assets/ragops-*.whl release-assets/ragops-*.tar.gz dist/
63
64
  - name: Publish distributions with Trusted Publishing
64
65
  # Upstream container images are published for exact release tags, not commit-SHA refs.
65
- uses: pypa/gh-action-pypi-publish@v1.14.2
66
+ uses: pypa/gh-action-pypi-publish@v1.14.3
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "ragops",
3
- "version": "2.0.2",
3
+ "version": "2.1.1",
4
4
  "description": "Explainable regression tests and release gates for RAG systems and AI agents.",
5
5
  "author": {
6
6
  "name": "Thang Luu",
7
7
  "url": "https://github.com/thangldw"
8
8
  },
9
9
  "homepage": "https://github.com/thangldw/ragops",
10
- "license": "MIT",
10
+ "license": "Apache-2.0",
11
11
  "keywords": ["rag", "ai-agents", "evaluation", "release-gates"],
12
12
  "skills": "./skills/",
13
13
  "interface": {
@@ -1,6 +1,39 @@
1
1
  # RAGOps changelog / Lịch sử thay đổi / 変更履歴
2
2
 
3
- ## Unreleased
3
+ ## [2.1.1] - 2026-11-19
4
+
5
+ ### English
6
+
7
+ - Same content as 2.1.0. PyPI refused the 2.1.0 filename because it was used by a since-deleted file, so 2.1.0 exists only as a GitHub pre-release and 2.1.1 is the first PyPI release of these changes.
8
+
9
+ ### Tiếng Việt
10
+
11
+ - Nội dung giống 2.1.0. PyPI từ chối tên file 2.1.0 vì từng được dùng bởi file đã xoá, nên 2.1.0 chỉ còn là pre-release trên GitHub và 2.1.1 là bản PyPI đầu tiên chứa các thay đổi này.
12
+
13
+ ### 日本語
14
+
15
+ - 内容は 2.1.0 と同じです。2.1.0 のファイル名は削除済みファイルが使用していたため PyPI に拒否され、2.1.0 は GitHub の pre-release のみとなり、2.1.1 がこれらの変更を含む最初の PyPI release です。
16
+
17
+ ## [2.1.0] - 2026-11-19
18
+
19
+ ### English
20
+
21
+ - Moved the argument parser out of `cli.py` into `cli_parser.py` (`ragops.cli.build_parser` is unchanged).
22
+ - Added API HTTP, baseline-manifest, usage and Markdown-reporter tests and a CI coverage gate (`fail_under = 82`).
23
+ - Lexical groundedness now splits Japanese/Chinese runs into character bigrams and NFC-normalizes text; documented that it is a lexical baseline, not a semantic judge.
24
+ - Added a composite GitHub Action (`action.yml`) that applies a release policy v2 with `ragops gate-v2`, writes the canonical decision plus JUnit, SARIF and GitHub Summary renderings, and fails the step only when the decision is BLOCK. See `docs/examples/github-action-release-gate.yml`.
25
+
26
+ ### Tiếng Việt
27
+
28
+ - Chuyển bộ phân tích tham số khỏi `cli.py` sang `cli_parser.py`; thêm test API/baseline/usage/reporter và ngưỡng coverage trong CI (`fail_under = 82`).
29
+ - Lexical groundedness tách chuỗi tiếng Nhật/Trung thành bigram ký tự và chuẩn hoá NFC; ghi rõ đây là baseline từ vựng, không phải bộ đánh giá ngữ nghĩa.
30
+ - Bổ sung GitHub Action dạng composite (`action.yml`) áp dụng release policy v2 bằng `ragops gate-v2`, ghi quyết định chuẩn cùng bản render JUnit, SARIF và GitHub Summary, và chỉ làm step thất bại khi quyết định là BLOCK. Xem `docs/examples/github-action-release-gate.yml`.
31
+
32
+ ### 日本語
33
+
34
+ - 引数パーサーを `cli.py` から `cli_parser.py` に移動し、API・baseline・usage・reporter のテストと CI のカバレッジ基準 (`fail_under = 82`) を追加しました。
35
+ - lexical groundedness は日本語・中国語の連続文字を文字 bigram に分割し NFC 正規化します。意味的な評価器ではなく語彙ベースラインであることを明記しました。
36
+ - `ragops gate-v2` でリリースポリシー v2 を適用し、正規の判定と JUnit・SARIF・GitHub Summary を出力し、判定が BLOCK の場合のみステップを失敗させる composite GitHub Action (`action.yml`) を追加しました。`docs/examples/github-action-release-gate.yml` を参照してください。
4
37
 
5
38
  ## [2.0.2] - 2026-08-24
6
39
 
ragops-2.1.1/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
ragops-2.1.1/NOTICE ADDED
@@ -0,0 +1,6 @@
1
+ ragops
2
+ Copyright 2026 Thang Luu
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this project except in compliance with the License.
6
+ A copy of the License is in the LICENSE file.
@@ -1,19 +1,20 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: ragops
3
- Version: 2.0.2
3
+ Version: 2.1.1
4
4
  Summary: Regression tests and explainable release gates for RAG and AI agents
5
5
  Project-URL: Homepage, https://github.com/thangldw/ragops
6
6
  Project-URL: Documentation, https://github.com/thangldw/ragops#readme
7
7
  Project-URL: Issues, https://github.com/thangldw/ragops/issues
8
8
  Project-URL: Changelog, https://github.com/thangldw/ragops/blob/main/CHANGELOG.md
9
9
  Author: Thang Luu
10
- License: MIT
10
+ License: Apache-2.0
11
11
  License-File: LICENSE
12
+ License-File: NOTICE
12
13
  Keywords: ai-agents,evaluation,rag,regression-testing,release-gates
13
14
  Classifier: Development Status :: 4 - Beta
14
15
  Classifier: Environment :: Console
15
16
  Classifier: Intended Audience :: Developers
16
- Classifier: License :: OSI Approved :: MIT License
17
+ Classifier: License :: OSI Approved :: Apache Software License
17
18
  Classifier: Programming Language :: Python :: 3
18
19
  Classifier: Programming Language :: Python :: 3.11
19
20
  Classifier: Programming Language :: Python :: 3.12
@@ -24,7 +25,9 @@ Provides-Extra: api
24
25
  Requires-Dist: fastapi>=0.115; extra == 'api'
25
26
  Requires-Dist: uvicorn>=0.30; extra == 'api'
26
27
  Provides-Extra: dev
28
+ Requires-Dist: coverage>=7.6; extra == 'dev'
27
29
  Requires-Dist: fastapi>=0.115; extra == 'dev'
30
+ Requires-Dist: httpx>=0.27; extra == 'dev'
28
31
  Requires-Dist: jsonschema>=4.23; extra == 'dev'
29
32
  Requires-Dist: pytest>=8.0; extra == 'dev'
30
33
  Requires-Dist: ruff>=0.6; extra == 'dev'
@@ -60,11 +63,13 @@ flowchart LR
60
63
 
61
64
  ## English
62
65
 
66
+ Product introduction: [thangldw.github.io/ragops/](https://thangldw.github.io/ragops/). Latest published release: [v2.1.1](https://github.com/thangldw/ragops/releases/tag/v2.1.1). Main may contain later source or documentation changes; they do not replace the published artifact or its recorded verification.
67
+
63
68
  RAGOps compares recorded candidate behavior with an accepted baseline, applies a versioned release policy, and emits one canonical `PASS`, `WARN`, or `BLOCK` decision across JSON, Markdown, HTML, JUnit, SARIF, and GitHub Summary. The dependency-free core performs no network calls. Optional adapters import vendor exports; the API/workbench ships in the wheel through the `api` extra.
64
69
 
65
70
  Requirements: Python 3.11+.
66
71
 
67
- Current technical references: [architecture](docs/ARCHITECTURE.md), [contracts](docs/CONTRACTS.md), [governance](docs/governance.md), [operations](docs/OPERATIONS.md), [security](SECURITY.md), and [v2.0.2 release notes](docs/releases/v2.0.2.md).
72
+ Current technical references: [architecture](docs/ARCHITECTURE.md), [contracts](docs/CONTRACTS.md), [governance](docs/governance.md), [operations](docs/OPERATIONS.md), [security](SECURITY.md), and [v2.1.1 release notes](docs/releases/v2.1.1.md).
68
73
 
69
74
  The repository is also a skills-only plugin for ChatGPT, Codex, Claude Code and Cowork. It does not include a hosted MCP connector. See the [directory submission package](docs/submission/DIRECTORY_SUBMISSION.md), [privacy policy](PRIVACY.md), [terms](TERMS.md), and [support guidance](SUPPORT.md).
70
75
 
@@ -82,18 +87,24 @@ The credential-free demo intentionally returns `BLOCK`: citation coverage `1.0 -
82
87
 
83
88
  Install `ragops[api]` and run `ragops serve` for the local authenticated API/workbench. Use `ragops adapter list` for Phoenix, Ragas, DeepEval, LangSmith, MLflow, Promptfoo, custom JSON, and installed entry-point adapters.
84
89
 
90
+ `lexical_groundedness` is a transparent lexical-overlap baseline, not a semantic judge: a correct paraphrase can score low and a wrong answer that reuses evidence vocabulary can score high. Japanese/Chinese text is compared as character bigrams and Vietnamese is NFC-normalized. For semantic grounding, import Ragas/DeepEval scores through the adapters and calibrate against human labels.
91
+
85
92
  Local CLI usage evidence is disabled by default. Set `RAGOPS_USAGE_LOG` to an explicit JSONL path to record only the UTC timestamp, RAGOps version, top-level command, and exit code; arguments and file paths are never recorded. Summarize the file with `ragops usage-report --events usage.jsonl`. Use the consent-aware `pilot-report` contract and the [production pilot runbook](docs/gtm/production-pilot.md) for production adoption evidence.
86
93
 
87
94
  ## Tiếng Việt
88
95
 
96
+ Trang giới thiệu: [thangldw.github.io/ragops/](https://thangldw.github.io/ragops/). Release đã phát hành mới nhất: [v2.1.1](https://github.com/thangldw/ragops/releases/tag/v2.1.1). Main có thể chứa source hoặc tài liệu mới hơn; chúng không thay thế artifact đã phát hành hay evidence kiểm chứng của artifact.
97
+
89
98
  RAGOps so sánh trace ứng viên với baseline được chấp nhận, áp dụng release policy có version và xuất cùng một quyết định `PASS`, `WARN` hoặc `BLOCK` sang JSON/Markdown/HTML/JUnit/SARIF. Core không dependency, chạy offline; API/workbench là extra tùy chọn. Demo synthetic cố ý tạo `BLOCK`, không phải bằng chứng production adoption.
90
99
 
91
100
  Yêu cầu: Python 3.11+. Dùng các lệnh ở phần English để cài đặt, kiểm tra scenario, lint và test.
92
101
 
93
102
  ## 日本語
94
103
 
104
+ 紹介ページ: [thangldw.github.io/ragops/](https://thangldw.github.io/ragops/)。最新の公開 release は [v2.1.1](https://github.com/thangldw/ragops/releases/tag/v2.1.1) です。Main の新しい source/documentation change は公開 artifact やその検証記録を置換しません。
105
+
95
106
  RAGOps は記録済み候補を承認済みベースラインと比較し、バージョン管理された方針から一つの `PASS`・`WARN`・`BLOCK` 判定を JSON、Markdown、HTML、JUnit、SARIF に出力します。依存関係のない core はオフラインで動作し、API/workbench は任意の extra です。デモは synthetic evidence であり、本番導入実績ではありません。
96
107
 
97
108
  必要環境は Python 3.11 以上です。セットアップ、lint、テストには English セクションのコマンドを使用してください。
98
109
 
99
- Released under the [MIT License](LICENSE).
110
+ Released under the [Apache License 2.0](LICENSE).
@@ -24,11 +24,13 @@ flowchart LR
24
24
 
25
25
  ## English
26
26
 
27
+ Product introduction: [thangldw.github.io/ragops/](https://thangldw.github.io/ragops/). Latest published release: [v2.1.1](https://github.com/thangldw/ragops/releases/tag/v2.1.1). Main may contain later source or documentation changes; they do not replace the published artifact or its recorded verification.
28
+
27
29
  RAGOps compares recorded candidate behavior with an accepted baseline, applies a versioned release policy, and emits one canonical `PASS`, `WARN`, or `BLOCK` decision across JSON, Markdown, HTML, JUnit, SARIF, and GitHub Summary. The dependency-free core performs no network calls. Optional adapters import vendor exports; the API/workbench ships in the wheel through the `api` extra.
28
30
 
29
31
  Requirements: Python 3.11+.
30
32
 
31
- Current technical references: [architecture](docs/ARCHITECTURE.md), [contracts](docs/CONTRACTS.md), [governance](docs/governance.md), [operations](docs/OPERATIONS.md), [security](SECURITY.md), and [v2.0.2 release notes](docs/releases/v2.0.2.md).
33
+ Current technical references: [architecture](docs/ARCHITECTURE.md), [contracts](docs/CONTRACTS.md), [governance](docs/governance.md), [operations](docs/OPERATIONS.md), [security](SECURITY.md), and [v2.1.1 release notes](docs/releases/v2.1.1.md).
32
34
 
33
35
  The repository is also a skills-only plugin for ChatGPT, Codex, Claude Code and Cowork. It does not include a hosted MCP connector. See the [directory submission package](docs/submission/DIRECTORY_SUBMISSION.md), [privacy policy](PRIVACY.md), [terms](TERMS.md), and [support guidance](SUPPORT.md).
34
36
 
@@ -46,18 +48,24 @@ The credential-free demo intentionally returns `BLOCK`: citation coverage `1.0 -
46
48
 
47
49
  Install `ragops[api]` and run `ragops serve` for the local authenticated API/workbench. Use `ragops adapter list` for Phoenix, Ragas, DeepEval, LangSmith, MLflow, Promptfoo, custom JSON, and installed entry-point adapters.
48
50
 
51
+ `lexical_groundedness` is a transparent lexical-overlap baseline, not a semantic judge: a correct paraphrase can score low and a wrong answer that reuses evidence vocabulary can score high. Japanese/Chinese text is compared as character bigrams and Vietnamese is NFC-normalized. For semantic grounding, import Ragas/DeepEval scores through the adapters and calibrate against human labels.
52
+
49
53
  Local CLI usage evidence is disabled by default. Set `RAGOPS_USAGE_LOG` to an explicit JSONL path to record only the UTC timestamp, RAGOps version, top-level command, and exit code; arguments and file paths are never recorded. Summarize the file with `ragops usage-report --events usage.jsonl`. Use the consent-aware `pilot-report` contract and the [production pilot runbook](docs/gtm/production-pilot.md) for production adoption evidence.
50
54
 
51
55
  ## Tiếng Việt
52
56
 
57
+ Trang giới thiệu: [thangldw.github.io/ragops/](https://thangldw.github.io/ragops/). Release đã phát hành mới nhất: [v2.1.1](https://github.com/thangldw/ragops/releases/tag/v2.1.1). Main có thể chứa source hoặc tài liệu mới hơn; chúng không thay thế artifact đã phát hành hay evidence kiểm chứng của artifact.
58
+
53
59
  RAGOps so sánh trace ứng viên với baseline được chấp nhận, áp dụng release policy có version và xuất cùng một quyết định `PASS`, `WARN` hoặc `BLOCK` sang JSON/Markdown/HTML/JUnit/SARIF. Core không dependency, chạy offline; API/workbench là extra tùy chọn. Demo synthetic cố ý tạo `BLOCK`, không phải bằng chứng production adoption.
54
60
 
55
61
  Yêu cầu: Python 3.11+. Dùng các lệnh ở phần English để cài đặt, kiểm tra scenario, lint và test.
56
62
 
57
63
  ## 日本語
58
64
 
65
+ 紹介ページ: [thangldw.github.io/ragops/](https://thangldw.github.io/ragops/)。最新の公開 release は [v2.1.1](https://github.com/thangldw/ragops/releases/tag/v2.1.1) です。Main の新しい source/documentation change は公開 artifact やその検証記録を置換しません。
66
+
59
67
  RAGOps は記録済み候補を承認済みベースラインと比較し、バージョン管理された方針から一つの `PASS`・`WARN`・`BLOCK` 判定を JSON、Markdown、HTML、JUnit、SARIF に出力します。依存関係のない core はオフラインで動作し、API/workbench は任意の extra です。デモは synthetic evidence であり、本番導入実績ではありません。
60
68
 
61
69
  必要環境は Python 3.11 以上です。セットアップ、lint、テストには English セクションのコマンドを使用してください。
62
70
 
63
- Released under the [MIT License](LICENSE).
71
+ Released under the [Apache License 2.0](LICENSE).
@@ -2,7 +2,7 @@
2
2
 
3
3
  Last updated: 2026-08-02
4
4
 
5
- RAGOps is provided under the MIT License. It produces evaluation evidence and release recommendations, not guarantees of correctness, security, compliance, or production fitness.
5
+ RAGOps is provided under the Apache License, Version 2.0. It produces evaluation evidence and release recommendations, not guarantees of correctness, security, compliance, or production fitness.
6
6
 
7
7
  Users are responsible for selecting representative datasets, lawful data, appropriate thresholds, access controls, and human approval processes. Do not use RAGOps output as the sole basis for a safety-critical, legal, financial, employment, or other high-impact decision.
8
8
 
@@ -0,0 +1,108 @@
1
+ name: RAGOps release gate
2
+ description: >-
3
+ Apply a RAGOps release policy v2 to recorded baseline and candidate responses,
4
+ write the canonical decision plus JUnit, SARIF and GitHub Summary renderings, and
5
+ fail the step only when the decision is BLOCK.
6
+ author: thangldw
7
+ branding:
8
+ icon: shield
9
+ color: orange
10
+
11
+ inputs:
12
+ scenario:
13
+ description: Path to the scenario JSON file.
14
+ required: true
15
+ baseline:
16
+ description: Path to the accepted baseline responses JSON file.
17
+ required: true
18
+ candidate:
19
+ description: Path to the candidate responses JSON file.
20
+ required: true
21
+ policy:
22
+ description: Path to the release policy v2 TOML file.
23
+ required: true
24
+ version:
25
+ description: RAGOps version installed from PyPI.
26
+ required: false
27
+ default: "2.1.1"
28
+ python-version:
29
+ description: Python version used to run RAGOps (3.11 or newer).
30
+ required: false
31
+ default: "3.12"
32
+ output-dir:
33
+ description: Directory for decision.json, junit.xml, release.sarif and github-summary.md.
34
+ required: false
35
+ default: ragops-output
36
+ now:
37
+ description: Optional UTC timestamp (RFC 3339) used to evaluate waiver expiry deterministically.
38
+ required: false
39
+ default: ""
40
+
41
+ outputs:
42
+ decision:
43
+ description: Canonical release decision, one of PASS, WARN or BLOCK.
44
+ value: ${{ steps.gate.outputs.decision }}
45
+ decision-path:
46
+ description: Path to the canonical decision.json file.
47
+ value: ${{ steps.gate.outputs.decision-path }}
48
+
49
+ runs:
50
+ using: composite
51
+ steps:
52
+ - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
53
+ with:
54
+ python-version: ${{ inputs.python-version }}
55
+ - name: Install RAGOps
56
+ shell: bash
57
+ env:
58
+ RAGOPS_VERSION: ${{ inputs.version }}
59
+ run: python -m pip install --disable-pip-version-check "ragops==${RAGOPS_VERSION}"
60
+ - name: Apply release policy
61
+ id: gate
62
+ shell: bash
63
+ env:
64
+ RAGOPS_SCENARIO: ${{ inputs.scenario }}
65
+ RAGOPS_BASELINE: ${{ inputs.baseline }}
66
+ RAGOPS_CANDIDATE: ${{ inputs.candidate }}
67
+ RAGOPS_POLICY: ${{ inputs.policy }}
68
+ RAGOPS_NOW: ${{ inputs.now }}
69
+ RAGOPS_OUTPUT_DIR: ${{ inputs.output-dir }}
70
+ run: |
71
+ set -uo pipefail
72
+ mkdir -p "$RAGOPS_OUTPUT_DIR"
73
+ decision_path="$RAGOPS_OUTPUT_DIR/decision.json"
74
+ args=(gate-v2 --scenario "$RAGOPS_SCENARIO" --baseline "$RAGOPS_BASELINE"
75
+ --candidate "$RAGOPS_CANDIDATE" --policy "$RAGOPS_POLICY" --output "$decision_path")
76
+ if [ -n "$RAGOPS_NOW" ]; then args+=(--now "$RAGOPS_NOW"); fi
77
+ ragops "${args[@]}" > /dev/null
78
+ status=$?
79
+ # Exit 0 is PASS or WARN, 2 is BLOCK. Anything else is a contract or usage error.
80
+ if [ "$status" -ne 0 ] && [ "$status" -ne 2 ]; then
81
+ echo "::error::ragops gate-v2 failed with exit code $status before producing a decision"
82
+ exit "$status"
83
+ fi
84
+ decision=$(python -c 'import json,sys; print(json.load(open(sys.argv[1], encoding="utf-8"))["decision"])' "$decision_path")
85
+ {
86
+ echo "decision=$decision"
87
+ echo "decision-path=$decision_path"
88
+ } >> "$GITHUB_OUTPUT"
89
+ - name: Render CI reports
90
+ shell: bash
91
+ env:
92
+ RAGOPS_OUTPUT_DIR: ${{ inputs.output-dir }}
93
+ run: |
94
+ set -euo pipefail
95
+ decision_path="$RAGOPS_OUTPUT_DIR/decision.json"
96
+ ragops ci-render --input "$decision_path" --format junit --output "$RAGOPS_OUTPUT_DIR/junit.xml"
97
+ ragops ci-render --input "$decision_path" --format sarif --output "$RAGOPS_OUTPUT_DIR/release.sarif"
98
+ ragops ci-render --input "$decision_path" --format github --output "$RAGOPS_OUTPUT_DIR/github-summary.md"
99
+ cat "$RAGOPS_OUTPUT_DIR/github-summary.md" >> "$GITHUB_STEP_SUMMARY"
100
+ - name: Fail on BLOCK
101
+ shell: bash
102
+ env:
103
+ RAGOPS_DECISION: ${{ steps.gate.outputs.decision }}
104
+ run: |
105
+ if [ "$RAGOPS_DECISION" = "BLOCK" ]; then
106
+ echo "::error::RAGOps release decision is BLOCK. Review the gate summary before shipping."
107
+ exit 1
108
+ fi
@@ -0,0 +1,29 @@
1
+ name: RAGOps
2
+
3
+ on:
4
+ pull_request:
5
+
6
+ permissions:
7
+ contents: read
8
+
9
+ jobs:
10
+ release-gate:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
14
+ with:
15
+ persist-credentials: false
16
+ # Pin the action to a full commit SHA of a reviewed RAGOps revision.
17
+ - uses: thangldw/ragops@<full-commit-sha>
18
+ id: ragops
19
+ with:
20
+ scenario: ragops/scenario.json
21
+ baseline: ragops/baseline.json
22
+ candidate: ragops/candidate.json
23
+ policy: ragops/policy.toml
24
+ - name: Upload decision and CI reports
25
+ if: always()
26
+ uses: actions/upload-artifact@<full-commit-sha>
27
+ with:
28
+ name: ragops-output
29
+ path: ragops-output
@@ -16,7 +16,7 @@ jobs:
16
16
  - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
17
17
  with:
18
18
  python-version: "3.12"
19
- - run: python -m pip install --disable-pip-version-check "ragops==2.0.2"
19
+ - run: python -m pip install --disable-pip-version-check "ragops==2.1.1"
20
20
  - name: Evaluate release candidate
21
21
  run: ragops demo --profile engineer --output ragops-output
22
22
  - name: Verify evidence bundle