auditkit 1.1.8__tar.gz → 1.1.9__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 (443) hide show
  1. {auditkit-1.1.8 → auditkit-1.1.9}/.github/workflows/patch-release.yml +2 -2
  2. {auditkit-1.1.8 → auditkit-1.1.9}/CHANGELOG.md +10 -0
  3. {auditkit-1.1.8 → auditkit-1.1.9}/CITATION.cff +1 -1
  4. {auditkit-1.1.8 → auditkit-1.1.9}/PKG-INFO +1 -1
  5. {auditkit-1.1.8 → auditkit-1.1.9}/docs/GUIDE.md +4 -0
  6. {auditkit-1.1.8 → auditkit-1.1.9}/examples/16_agentic_endpoints_live.ipynb +2 -8
  7. {auditkit-1.1.8 → auditkit-1.1.9}/examples/cohere/README.md +1 -2
  8. {auditkit-1.1.8 → auditkit-1.1.9}/examples/cohere/compare_models.ipynb +4 -14
  9. {auditkit-1.1.8 → auditkit-1.1.9}/examples/cohere/metrics_generation.ipynb +4 -13
  10. {auditkit-1.1.8 → auditkit-1.1.9}/examples/cohere/run_lmeval.ipynb +4 -13
  11. {auditkit-1.1.8 → auditkit-1.1.9}/examples/cohere/sglang_auditkit.ipynb +4 -13
  12. {auditkit-1.1.8 → auditkit-1.1.9}/examples/cohere/tgi_endpoint.ipynb +3 -12
  13. {auditkit-1.1.8 → auditkit-1.1.9}/examples/colab/01_cohere_and_hf_api_models.ipynb +4 -13
  14. {auditkit-1.1.8 → auditkit-1.1.9}/examples/colab/02_agentic_rag_real_agent.ipynb +4 -13
  15. {auditkit-1.1.8 → auditkit-1.1.9}/examples/colab/03_vllm_integration.ipynb +4 -13
  16. {auditkit-1.1.8 → auditkit-1.1.9}/examples/colab/04_cohere_hf_fixes_live.ipynb +13 -17
  17. {auditkit-1.1.8 → auditkit-1.1.9}/examples/colab/05_real_world_agentic_rag.ipynb +4 -13
  18. {auditkit-1.1.8 → auditkit-1.1.9}/examples/colab/06_cohere_all_backends.ipynb +5 -8
  19. {auditkit-1.1.8 → auditkit-1.1.9}/examples/colab/README.md +7 -7
  20. {auditkit-1.1.8 → auditkit-1.1.9}/pyproject.toml +1 -1
  21. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/__init__.py +1 -1
  22. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/lexsi_login.py +1 -1
  23. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/redteam/probe.py +3 -0
  24. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/redteam/runner.py +50 -6
  25. {auditkit-1.1.8 → auditkit-1.1.9}/tests/agentic_suite/FINDINGS.md +7 -8
  26. {auditkit-1.1.8 → auditkit-1.1.9}/tests/agentic_suite/README.md +3 -3
  27. {auditkit-1.1.8 → auditkit-1.1.9}/tests/agentic_suite/colab_model_matrix.ipynb +2 -2
  28. {auditkit-1.1.8 → auditkit-1.1.9}/tests/agentic_suite/test_resolved_issues.py +3 -3
  29. {auditkit-1.1.8 → auditkit-1.1.9}/tests/integrations_suite/README.md +2 -2
  30. {auditkit-1.1.8 → auditkit-1.1.9}/tests/integrations_suite/colab_cohere_models.ipynb +8 -19
  31. {auditkit-1.1.8 → auditkit-1.1.9}/tests/integrations_suite/colab_integrations.ipynb +5 -8
  32. {auditkit-1.1.8 → auditkit-1.1.9}/tests/integrations_suite/colab_sglang.ipynb +6 -9
  33. {auditkit-1.1.8 → auditkit-1.1.9}/tests/integrations_suite/colab_sglang_32b_north.ipynb +10 -11
  34. {auditkit-1.1.8 → auditkit-1.1.9}/tests/integrations_suite/colab_sglang_cohere_matrix.ipynb +11 -13
  35. {auditkit-1.1.8 → auditkit-1.1.9}/tests/integrations_suite/colab_vllm_32b.ipynb +12 -15
  36. {auditkit-1.1.8 → auditkit-1.1.9}/tests/integrations_suite/colab_vllm_cohere_matrix.ipynb +14 -18
  37. {auditkit-1.1.8 → auditkit-1.1.9}/tests/pipeline_suite/README.md +1 -1
  38. {auditkit-1.1.8 → auditkit-1.1.9}/tests/pipeline_suite/test_pr1_additions.py +1 -1
  39. auditkit-1.1.9/tests/test_redteam_invalid.py +66 -0
  40. {auditkit-1.1.8 → auditkit-1.1.9}/.gitattributes +0 -0
  41. {auditkit-1.1.8 → auditkit-1.1.9}/.github/CODEOWNERS +0 -0
  42. {auditkit-1.1.8 → auditkit-1.1.9}/.github/workflows/check-release-version.yml +0 -0
  43. {auditkit-1.1.8 → auditkit-1.1.9}/.github/workflows/tests.yml +0 -0
  44. {auditkit-1.1.8 → auditkit-1.1.9}/.gitignore +0 -0
  45. {auditkit-1.1.8 → auditkit-1.1.9}/AGENTS.md +0 -0
  46. {auditkit-1.1.8 → auditkit-1.1.9}/LICENSE.md +0 -0
  47. {auditkit-1.1.8 → auditkit-1.1.9}/README.md +0 -0
  48. {auditkit-1.1.8 → auditkit-1.1.9}/docs/CNAME +0 -0
  49. {auditkit-1.1.8 → auditkit-1.1.9}/docs/HF_ENDPOINT.md +0 -0
  50. {auditkit-1.1.8 → auditkit-1.1.9}/docs/SGLANG.md +0 -0
  51. {auditkit-1.1.8 → auditkit-1.1.9}/docs/VLLM_KNOWN_ISSUES.md +0 -0
  52. {auditkit-1.1.8 → auditkit-1.1.9}/docs/about/glossary.md +0 -0
  53. {auditkit-1.1.8 → auditkit-1.1.9}/docs/about/platform-integration.md +0 -0
  54. {auditkit-1.1.8 → auditkit-1.1.9}/docs/agent_eval.md +0 -0
  55. {auditkit-1.1.8 → auditkit-1.1.9}/docs/agents_and_rag.md +0 -0
  56. {auditkit-1.1.8 → auditkit-1.1.9}/docs/annotators.md +0 -0
  57. {auditkit-1.1.8 → auditkit-1.1.9}/docs/api.md +0 -0
  58. {auditkit-1.1.8 → auditkit-1.1.9}/docs/architecture/data-model.md +0 -0
  59. {auditkit-1.1.8 → auditkit-1.1.9}/docs/architecture/system-design.md +0 -0
  60. {auditkit-1.1.8 → auditkit-1.1.9}/docs/assets/auditkit-logo-black.png +0 -0
  61. {auditkit-1.1.8 → auditkit-1.1.9}/docs/assets/auditkit-logo-dark.png +0 -0
  62. {auditkit-1.1.8 → auditkit-1.1.9}/docs/assets/auditkit-logo-light.png +0 -0
  63. {auditkit-1.1.8 → auditkit-1.1.9}/docs/assets/auditkit-logo-white.png +0 -0
  64. {auditkit-1.1.8 → auditkit-1.1.9}/docs/assets/extra.css +0 -0
  65. {auditkit-1.1.8 → auditkit-1.1.9}/docs/assets/extra.js +0 -0
  66. {auditkit-1.1.8 → auditkit-1.1.9}/docs/assets/favicon.png +0 -0
  67. {auditkit-1.1.8 → auditkit-1.1.9}/docs/assets/icon.png +0 -0
  68. {auditkit-1.1.8 → auditkit-1.1.9}/docs/assets/icon.svg +0 -0
  69. {auditkit-1.1.8 → auditkit-1.1.9}/docs/assets/logo.svg +0 -0
  70. {auditkit-1.1.8 → auditkit-1.1.9}/docs/best_practices/scorers.md +0 -0
  71. {auditkit-1.1.8 → auditkit-1.1.9}/docs/cli.md +0 -0
  72. {auditkit-1.1.8 → auditkit-1.1.9}/docs/community/changelog.md +0 -0
  73. {auditkit-1.1.8 → auditkit-1.1.9}/docs/community/contributing.md +0 -0
  74. {auditkit-1.1.8 → auditkit-1.1.9}/docs/community/faq.md +0 -0
  75. {auditkit-1.1.8 → auditkit-1.1.9}/docs/community/roadmap.md +0 -0
  76. {auditkit-1.1.8 → auditkit-1.1.9}/docs/configuration.md +0 -0
  77. {auditkit-1.1.8 → auditkit-1.1.9}/docs/cookbook/llm_judge.md +0 -0
  78. {auditkit-1.1.8 → auditkit-1.1.9}/docs/cookbook/rag_evaluation.md +0 -0
  79. {auditkit-1.1.8 → auditkit-1.1.9}/docs/development.md +0 -0
  80. {auditkit-1.1.8 → auditkit-1.1.9}/docs/encoder_judge.md +0 -0
  81. {auditkit-1.1.8 → auditkit-1.1.9}/docs/encoder_judge_prebuilts.md +0 -0
  82. {auditkit-1.1.8 → auditkit-1.1.9}/docs/examples/custom_scorer.md +0 -0
  83. {auditkit-1.1.8 → auditkit-1.1.9}/docs/examples/experiments.md +0 -0
  84. {auditkit-1.1.8 → auditkit-1.1.9}/docs/examples/many_datasets.md +0 -0
  85. {auditkit-1.1.8 → auditkit-1.1.9}/docs/examples/model_comparison.md +0 -0
  86. {auditkit-1.1.8 → auditkit-1.1.9}/docs/examples/quickstart.md +0 -0
  87. {auditkit-1.1.8 → auditkit-1.1.9}/docs/experiments.md +0 -0
  88. {auditkit-1.1.8 → auditkit-1.1.9}/docs/getting_started.md +0 -0
  89. {auditkit-1.1.8 → auditkit-1.1.9}/docs/guard_models.md +0 -0
  90. {auditkit-1.1.8 → auditkit-1.1.9}/docs/index.md +0 -0
  91. {auditkit-1.1.8 → auditkit-1.1.9}/docs/integrations.md +0 -0
  92. {auditkit-1.1.8 → auditkit-1.1.9}/docs/known_issues.md +0 -0
  93. {auditkit-1.1.8 → auditkit-1.1.9}/docs/lexsi_integration.md +0 -0
  94. {auditkit-1.1.8 → auditkit-1.1.9}/docs/llm_judge_rendering.md +0 -0
  95. {auditkit-1.1.8 → auditkit-1.1.9}/docs/metrics.md +0 -0
  96. {auditkit-1.1.8 → auditkit-1.1.9}/docs/model_backends.md +0 -0
  97. {auditkit-1.1.8 → auditkit-1.1.9}/docs/rag_stress.md +0 -0
  98. {auditkit-1.1.8 → auditkit-1.1.9}/docs/reports.md +0 -0
  99. {auditkit-1.1.8 → auditkit-1.1.9}/docs/requirements.txt +0 -0
  100. {auditkit-1.1.8 → auditkit-1.1.9}/docs/scenarios.md +0 -0
  101. {auditkit-1.1.8 → auditkit-1.1.9}/docs/scorers_reference.md +0 -0
  102. {auditkit-1.1.8 → auditkit-1.1.9}/examples/01_full_evaluation_pipeline.ipynb +0 -0
  103. {auditkit-1.1.8 → auditkit-1.1.9}/examples/02_generation_across_hf_families.ipynb +0 -0
  104. {auditkit-1.1.8 → auditkit-1.1.9}/examples/03_custom_annotators.ipynb +0 -0
  105. {auditkit-1.1.8 → auditkit-1.1.9}/examples/04_metrics_deep_dive.ipynb +0 -0
  106. {auditkit-1.1.8 → auditkit-1.1.9}/examples/05_data_types.ipynb +0 -0
  107. {auditkit-1.1.8 → auditkit-1.1.9}/examples/06_model_comparison.ipynb +0 -0
  108. {auditkit-1.1.8 → auditkit-1.1.9}/examples/07_annotators_across_models.ipynb +0 -0
  109. {auditkit-1.1.8 → auditkit-1.1.9}/examples/08_compare_result_deep_dive.ipynb +0 -0
  110. {auditkit-1.1.8 → auditkit-1.1.9}/examples/09_guard_judge_implementation_check.ipynb +0 -0
  111. {auditkit-1.1.8 → auditkit-1.1.9}/examples/10_guard_judge_legit_models.ipynb +0 -0
  112. {auditkit-1.1.8 → auditkit-1.1.9}/examples/11_encoder_judge_prebuilts.ipynb +0 -0
  113. {auditkit-1.1.8 → auditkit-1.1.9}/examples/12_performance_metrics_demo.ipynb +0 -0
  114. {auditkit-1.1.8 → auditkit-1.1.9}/examples/13_sglang_compatibility.ipynb +0 -0
  115. {auditkit-1.1.8 → auditkit-1.1.9}/examples/14_agent_and_rag_evals.ipynb +0 -0
  116. {auditkit-1.1.8 → auditkit-1.1.9}/examples/15_agentic_rag_metrics_walkthrough.ipynb +0 -0
  117. {auditkit-1.1.8 → auditkit-1.1.9}/examples/17_multi_route_references.ipynb +0 -0
  118. {auditkit-1.1.8 → auditkit-1.1.9}/examples/README.md +0 -0
  119. {auditkit-1.1.8 → auditkit-1.1.9}/examples/agent_eval_offline.py +0 -0
  120. {auditkit-1.1.8 → auditkit-1.1.9}/examples/applications/01_application_pruned_llama_boolq.ipynb +0 -0
  121. {auditkit-1.1.8 → auditkit-1.1.9}/examples/applications/02_application_healthcare_pubmedqa.ipynb +0 -0
  122. {auditkit-1.1.8 → auditkit-1.1.9}/examples/applications/03_application_finance_10k_qa.ipynb +0 -0
  123. {auditkit-1.1.8 → auditkit-1.1.9}/examples/applications/04_application_ecommerce_review_triage.ipynb +0 -0
  124. {auditkit-1.1.8 → auditkit-1.1.9}/examples/applications/05_application_education_arc_tutor.ipynb +0 -0
  125. {auditkit-1.1.8 → auditkit-1.1.9}/examples/applications/06_application_enterprise_search_rag.ipynb +0 -0
  126. {auditkit-1.1.8 → auditkit-1.1.9}/examples/applications/07_application_bert_nli_judge.ipynb +0 -0
  127. {auditkit-1.1.8 → auditkit-1.1.9}/examples/applications/README.md +0 -0
  128. {auditkit-1.1.8 → auditkit-1.1.9}/examples/auditkit.yaml +0 -0
  129. {auditkit-1.1.8 → auditkit-1.1.9}/examples/model_comparison_notebook.py +0 -0
  130. {auditkit-1.1.8 → auditkit-1.1.9}/examples/stress_tests/README.md +0 -0
  131. {auditkit-1.1.8 → auditkit-1.1.9}/examples/stress_tests/test_stress_gated_model.py +0 -0
  132. {auditkit-1.1.8 → auditkit-1.1.9}/examples/stress_tests/test_stress_open_model_load.py +0 -0
  133. {auditkit-1.1.8 → auditkit-1.1.9}/mkdocs.yml +0 -0
  134. {auditkit-1.1.8 → auditkit-1.1.9}/scripts/__init__.py +0 -0
  135. {auditkit-1.1.8 → auditkit-1.1.9}/scripts/release.py +0 -0
  136. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/README.md +0 -0
  137. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/__main__.py +0 -0
  138. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/_bootstrap.py +0 -0
  139. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/_identity_guard.py +0 -0
  140. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/_text.py +0 -0
  141. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/adapter.py +0 -0
  142. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/agent_eval/README.md +0 -0
  143. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/agent_eval/__init__.py +0 -0
  144. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/agent_eval/importers.py +0 -0
  145. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/agent_eval/lexsi.py +0 -0
  146. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/agent_eval/outcome.py +0 -0
  147. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/agent_eval/reliability.py +0 -0
  148. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/agent_eval/report.py +0 -0
  149. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/agent_eval/runner.py +0 -0
  150. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/agent_eval/sidecar.py +0 -0
  151. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/agent_eval/types.py +0 -0
  152. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/annotator.py +0 -0
  153. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/api.py +0 -0
  154. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/assets/auditkit_logo.png +0 -0
  155. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/bfcl.py +0 -0
  156. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/cache.py +0 -0
  157. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/cli.py +0 -0
  158. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/comparison.py +0 -0
  159. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/compat.py +0 -0
  160. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/diff.py +0 -0
  161. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/errors.py +0 -0
  162. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/evaluator.py +0 -0
  163. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/experiment.py +0 -0
  164. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/hf_publish.py +0 -0
  165. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/lexsi_relay.py +0 -0
  166. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/lmeval_engine.py +0 -0
  167. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/loaders.py +0 -0
  168. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/logs.py +0 -0
  169. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/metric.py +0 -0
  170. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/metrics/README.md +0 -0
  171. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/metrics/__init__.py +0 -0
  172. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/metrics/agent.py +0 -0
  173. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/metrics/code.py +0 -0
  174. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/metrics/embedding.py +0 -0
  175. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/metrics/encoder_judge.py +0 -0
  176. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/metrics/generation.py +0 -0
  177. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/metrics/guard.py +0 -0
  178. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/metrics/hallucination.py +0 -0
  179. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/metrics/judge.py +0 -0
  180. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/metrics/pairwise.py +0 -0
  181. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/metrics/perf.py +0 -0
  182. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/metrics/rag.py +0 -0
  183. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/metrics/rag_judge.py +0 -0
  184. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/metrics/rag_stress.py +0 -0
  185. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/metrics/rag_stress_ops.py +0 -0
  186. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/metrics/rag_stress_runner.py +0 -0
  187. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/metrics/retrieval.py +0 -0
  188. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/metrics/security.py +0 -0
  189. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/metrics/structured.py +0 -0
  190. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/metrics/toxicity.py +0 -0
  191. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/model/README.md +0 -0
  192. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/model/__init__.py +0 -0
  193. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/model/agent_endpoint.py +0 -0
  194. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/model/anthropic.py +0 -0
  195. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/model/api_gen.py +0 -0
  196. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/model/groq_gen.py +0 -0
  197. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/model/hf_gen.py +0 -0
  198. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/model/lexsi.py +0 -0
  199. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/model/litellm_gen.py +0 -0
  200. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/model/openai.py +0 -0
  201. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/model/openrouter_gen.py +0 -0
  202. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/model/vllm_gen.py +0 -0
  203. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/model_compare.py +0 -0
  204. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/provenance.py +0 -0
  205. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/redteam/README.md +0 -0
  206. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/redteam/__init__.py +0 -0
  207. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/redteam/detector.py +0 -0
  208. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/redteam/detectors/README.md +0 -0
  209. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/redteam/detectors/builtin.py +0 -0
  210. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/redteam/probes/README.md +0 -0
  211. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/redteam/probes/builtin.py +0 -0
  212. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/registry.py +0 -0
  213. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/report.py +0 -0
  214. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/report_format.py +0 -0
  215. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/router.py +0 -0
  216. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/runner.py +0 -0
  217. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/runspec.py +0 -0
  218. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/sample.py +0 -0
  219. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/scenario.py +0 -0
  220. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/scenarios/README.md +0 -0
  221. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/scenarios/__init__.py +0 -0
  222. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/scenarios/arc.py +0 -0
  223. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/scenarios/gsm8k.py +0 -0
  224. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/scenarios/hellaswag.py +0 -0
  225. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/scenarios/humaneval.py +0 -0
  226. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/scenarios/mmlu.py +0 -0
  227. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/scenarios/truthfulqa.py +0 -0
  228. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/score.py +0 -0
  229. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/scorers.py +0 -0
  230. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/scoring.py +0 -0
  231. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/trace.py +0 -0
  232. {auditkit-1.1.8 → auditkit-1.1.9}/src/auditkit/types.py +0 -0
  233. {auditkit-1.1.8 → auditkit-1.1.9}/tests/README.md +0 -0
  234. {auditkit-1.1.8 → auditkit-1.1.9}/tests/__init__.py +0 -0
  235. {auditkit-1.1.8 → auditkit-1.1.9}/tests/agentic_suite/.gitignore +0 -0
  236. {auditkit-1.1.8 → auditkit-1.1.9}/tests/agentic_suite/__init__.py +0 -0
  237. {auditkit-1.1.8 → auditkit-1.1.9}/tests/agentic_suite/catalog.py +0 -0
  238. {auditkit-1.1.8 → auditkit-1.1.9}/tests/agentic_suite/colab_offline_suite.ipynb +0 -0
  239. {auditkit-1.1.8 → auditkit-1.1.9}/tests/agentic_suite/conftest.py +0 -0
  240. {auditkit-1.1.8 → auditkit-1.1.9}/tests/agentic_suite/make_metric_reports.py +0 -0
  241. {auditkit-1.1.8 → auditkit-1.1.9}/tests/agentic_suite/test_agentic_pipeline_all_metrics.py +0 -0
  242. {auditkit-1.1.8 → auditkit-1.1.9}/tests/agentic_suite/test_fingerprint_offline.py +0 -0
  243. {auditkit-1.1.8 → auditkit-1.1.9}/tests/agentic_suite/test_formats_offline.py +0 -0
  244. {auditkit-1.1.8 → auditkit-1.1.9}/tests/agentic_suite/test_live.py +0 -0
  245. {auditkit-1.1.8 → auditkit-1.1.9}/tests/agentic_suite/test_live_rag.py +0 -0
  246. {auditkit-1.1.8 → auditkit-1.1.9}/tests/agentic_suite/test_metrics_offline.py +0 -0
  247. {auditkit-1.1.8 → auditkit-1.1.9}/tests/agentic_suite/test_pipeline_offline.py +0 -0
  248. {auditkit-1.1.8 → auditkit-1.1.9}/tests/agentic_suite/test_rag_offline.py +0 -0
  249. {auditkit-1.1.8 → auditkit-1.1.9}/tests/conftest.py +0 -0
  250. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/chat_templates/aya_expanse.jinja +0 -0
  251. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/chat_templates/command_r7b_tool_use.jinja +0 -0
  252. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/chat_templates/tiny_aya_default.jinja +0 -0
  253. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/agenttune/dataset_train_grpo.jsonl +0 -0
  254. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/agenttune/report_constructed.json +0 -0
  255. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/agenttune/trace_finder.jsonl +0 -0
  256. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/agenttune/trace_hotpotqa.jsonl +0 -0
  257. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/agenttune/trajectory_store_export.jsonl +0 -0
  258. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/aligntune/AuditReport.json +0 -0
  259. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/aligntune/RegressionReport.json +0 -0
  260. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/circuitkit/faithfulness_report.json +0 -0
  261. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/circuitkit/faithfulness_report_default.json +0 -0
  262. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/circuitkit/faithfulness_report_ib_fastpath.json +0 -0
  263. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/circuitkit/faithfulness_report_nonfinite.json +0 -0
  264. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/circuitkit/faithfulness_report_unknown_sentinels.json +0 -0
  265. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/curatorkit/checkpoint_TextCleaner.jsonl +0 -0
  266. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/curatorkit/data_sample.json +0 -0
  267. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/curatorkit/data_sample_pdf.json +0 -0
  268. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/curatorkit/manifest.json +0 -0
  269. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/curatorkit/manifest_pdf.json +0 -0
  270. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/curatorkit/rejected.jsonl +0 -0
  271. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/curatorkit/rejected_pdf.jsonl +0 -0
  272. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/curatorkit/sft_alpaca.jsonl +0 -0
  273. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/curatorkit/sft_sharegpt.jsonl +0 -0
  274. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/safetune/placeholder-model__base__placeholder_bench.jsonl +0 -0
  275. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/safetune/placeholder-model__base__placeholder_bench_scored.jsonl +0 -0
  276. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/safetune/safety_audit_event__post_allow_long_redacted.json +0 -0
  277. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/safetune/safety_audit_event__post_keyword_classifier_block.json +0 -0
  278. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/safetune/safety_audit_event__pre_allow.json +0 -0
  279. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/lexsi_real/safetune/safety_audit_event__pre_tool_block.json +0 -0
  280. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/sglang_0520/commandr_excerpt.py +0 -0
  281. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/sglang_0520/transformers_backend_excerpt.py +0 -0
  282. {auditkit-1.1.8 → auditkit-1.1.9}/tests/fixtures/sglang_0520/unified_radix_cache_excerpt.py +0 -0
  283. {auditkit-1.1.8 → auditkit-1.1.9}/tests/integrations_suite/__init__.py +0 -0
  284. {auditkit-1.1.8 → auditkit-1.1.9}/tests/integrations_suite/conftest.py +0 -0
  285. {auditkit-1.1.8 → auditkit-1.1.9}/tests/integrations_suite/test_agenttune.py +0 -0
  286. {auditkit-1.1.8 → auditkit-1.1.9}/tests/integrations_suite/test_cohere.py +0 -0
  287. {auditkit-1.1.8 → auditkit-1.1.9}/tests/integrations_suite/test_hf.py +0 -0
  288. {auditkit-1.1.8 → auditkit-1.1.9}/tests/integrations_suite/test_live.py +0 -0
  289. {auditkit-1.1.8 → auditkit-1.1.9}/tests/integrations_suite/test_sglang.py +0 -0
  290. {auditkit-1.1.8 → auditkit-1.1.9}/tests/issues_suite/README.md +0 -0
  291. {auditkit-1.1.8 → auditkit-1.1.9}/tests/issues_suite/__init__.py +0 -0
  292. {auditkit-1.1.8 → auditkit-1.1.9}/tests/issues_suite/conftest.py +0 -0
  293. {auditkit-1.1.8 → auditkit-1.1.9}/tests/issues_suite/serve_model.py +0 -0
  294. {auditkit-1.1.8 → auditkit-1.1.9}/tests/issues_suite/test_issue43_specs.py +0 -0
  295. {auditkit-1.1.8 → auditkit-1.1.9}/tests/issues_suite/test_issue44_user_flows.py +0 -0
  296. {auditkit-1.1.8 → auditkit-1.1.9}/tests/issues_suite/test_issue45_bfcl.py +0 -0
  297. {auditkit-1.1.8 → auditkit-1.1.9}/tests/issues_suite/test_issue45_routes.py +0 -0
  298. {auditkit-1.1.8 → auditkit-1.1.9}/tests/issues_suite/test_live.py +0 -0
  299. {auditkit-1.1.8 → auditkit-1.1.9}/tests/issues_suite/test_vllm_cohere_templates.py +0 -0
  300. {auditkit-1.1.8 → auditkit-1.1.9}/tests/nonmetric_suite/README.md +0 -0
  301. {auditkit-1.1.8 → auditkit-1.1.9}/tests/nonmetric_suite/__init__.py +0 -0
  302. {auditkit-1.1.8 → auditkit-1.1.9}/tests/nonmetric_suite/conftest.py +0 -0
  303. {auditkit-1.1.8 → auditkit-1.1.9}/tests/nonmetric_suite/test_agent_eval_and_loaders.py +0 -0
  304. {auditkit-1.1.8 → auditkit-1.1.9}/tests/nonmetric_suite/test_mrm_evidence.py +0 -0
  305. {auditkit-1.1.8 → auditkit-1.1.9}/tests/nonmetric_suite/test_redteam_machinery.py +0 -0
  306. {auditkit-1.1.8 → auditkit-1.1.9}/tests/pipeline_suite/__init__.py +0 -0
  307. {auditkit-1.1.8 → auditkit-1.1.9}/tests/pipeline_suite/conftest.py +0 -0
  308. {auditkit-1.1.8 → auditkit-1.1.9}/tests/pipeline_suite/test_edge_agent_and_rag_judges.py +0 -0
  309. {auditkit-1.1.8 → auditkit-1.1.9}/tests/pipeline_suite/test_edge_mrm.py +0 -0
  310. {auditkit-1.1.8 → auditkit-1.1.9}/tests/pipeline_suite/test_edge_rag_stress.py +0 -0
  311. {auditkit-1.1.8 → auditkit-1.1.9}/tests/pipeline_suite/test_edge_redteam_judges.py +0 -0
  312. {auditkit-1.1.8 → auditkit-1.1.9}/tests/pipeline_suite/test_edge_uncertainty.py +0 -0
  313. {auditkit-1.1.8 → auditkit-1.1.9}/tests/pipeline_suite/test_pr2_redteam.py +0 -0
  314. {auditkit-1.1.8 → auditkit-1.1.9}/tests/pipeline_suite/test_pr3_mrm.py +0 -0
  315. {auditkit-1.1.8 → auditkit-1.1.9}/tests/pipeline_suite/test_pr4_uncertainty.py +0 -0
  316. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_adapter.py +0 -0
  317. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_adapter_params.py +0 -0
  318. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_agent_endpoint.py +0 -0
  319. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_agent_eval_cli.py +0 -0
  320. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_agent_eval_disagreement.py +0 -0
  321. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_agent_eval_eventlog.py +0 -0
  322. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_agent_eval_harness.py +0 -0
  323. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_agent_eval_importers.py +0 -0
  324. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_agent_eval_outcome.py +0 -0
  325. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_agent_eval_reliability.py +0 -0
  326. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_agent_eval_runner.py +0 -0
  327. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_agent_eval_secrets.py +0 -0
  328. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_agent_eval_sidecar.py +0 -0
  329. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_agent_eval_types.py +0 -0
  330. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_agent_metrics.py +0 -0
  331. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_agent_reference_free.py +0 -0
  332. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_agenttune_fix_plan.py +0 -0
  333. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_agenttune_integration.py +0 -0
  334. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_annotator.py +0 -0
  335. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_api.py +0 -0
  336. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_api_backend.py +0 -0
  337. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_api_images.py +0 -0
  338. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_api_tool_calls.py +0 -0
  339. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_api_unverified_fields.py +0 -0
  340. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_apostrophe_fold.py +0 -0
  341. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_benchmark.py +0 -0
  342. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_bootstrap_ties.py +0 -0
  343. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_callable_model_cache.py +0 -0
  344. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_chat_messages.py +0 -0
  345. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_chat_template_kwargs_everywhere.py +0 -0
  346. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_cli.py +0 -0
  347. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_cli_yaml_model.py +0 -0
  348. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_code_metrics.py +0 -0
  349. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_cohere_aya.py +0 -0
  350. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_cohere_hf_fix_plan.py +0 -0
  351. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_cohere_tool_calls.py +0 -0
  352. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_compare.py +0 -0
  353. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_comparison.py +0 -0
  354. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_compat.py +0 -0
  355. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_core_engine.py +0 -0
  356. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_custom_judge_pipeline.py +0 -0
  357. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_diff.py +0 -0
  358. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_embedding_metrics.py +0 -0
  359. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_encoder_judge.py +0 -0
  360. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_env_compat_fix_plan.py +0 -0
  361. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_errors.py +0 -0
  362. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_evaluate_many.py +0 -0
  363. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_eventlog_action_shapes.py +0 -0
  364. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_execute_concurrency.py +0 -0
  365. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_experiment.py +0 -0
  366. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_failed_as_zero.py +0 -0
  367. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_fingerprint_stability.py +0 -0
  368. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_function_scorer_identity.py +0 -0
  369. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_generation_kwargs.py +0 -0
  370. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_generation_metrics.py +0 -0
  371. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_gsm8k_numeric.py +0 -0
  372. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_guard.py +0 -0
  373. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_hallucination_metrics.py +0 -0
  374. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_hf_device_map.py +0 -0
  375. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_hf_dtype_fallback.py +0 -0
  376. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_hf_gen_import_error.py +0 -0
  377. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_hf_gen_logits_sanitizer.py +0 -0
  378. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_hf_gen_loglikelihood_float32.py +0 -0
  379. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_hf_interop.py +0 -0
  380. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_hf_wire_format.py +0 -0
  381. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_integration.py +0 -0
  382. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_judge.py +0 -0
  383. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_judge_flow.py +0 -0
  384. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_judge_indic_choices.py +0 -0
  385. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_judge_number_parse.py +0 -0
  386. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_judge_option_labels.py +0 -0
  387. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_lexsi_compat.py +0 -0
  388. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_lexsi_relay.py +0 -0
  389. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_llm_judge.py +0 -0
  390. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_lmeval_engine.py +0 -0
  391. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_lmeval_real_pipeline.py +0 -0
  392. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_load_dataset.py +0 -0
  393. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_loaders.py +0 -0
  394. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_loaders_agent.py +0 -0
  395. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_mcq_gen_params.py +0 -0
  396. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_metric.py +0 -0
  397. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_metric_properties.py +0 -0
  398. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_metrics_via_pipeline.py +0 -0
  399. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_minimize_direction_correct.py +0 -0
  400. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_missing_is_not_zero.py +0 -0
  401. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_model.py +0 -0
  402. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_model_backends.py +0 -0
  403. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_model_spec_label.py +0 -0
  404. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_multipath_references.py +0 -0
  405. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_paired_bootstrap.py +0 -0
  406. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_pairwise_metrics.py +0 -0
  407. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_pipeline_live_hf.py +0 -0
  408. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_practical.py +0 -0
  409. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_provenance.py +0 -0
  410. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_rag_judge.py +0 -0
  411. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_rag_metrics.py +0 -0
  412. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_rag_reference_free.py +0 -0
  413. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_rag_stress.py +0 -0
  414. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_rag_stress_ops.py +0 -0
  415. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_rag_stress_runner.py +0 -0
  416. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_redteam.py +0 -0
  417. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_reference_fingerprint.py +0 -0
  418. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_registry.py +0 -0
  419. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_release.py +0 -0
  420. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_retrieval_metrics.py +0 -0
  421. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_review27_followups.py +0 -0
  422. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_route_distribution.py +0 -0
  423. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_router.py +0 -0
  424. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_runner.py +0 -0
  425. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_sample.py +0 -0
  426. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_scenario_dataset_ids.py +0 -0
  427. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_scenarios.py +0 -0
  428. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_score.py +0 -0
  429. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_scorer_context_typeerror.py +0 -0
  430. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_scorer_order_cache.py +0 -0
  431. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_security_perf.py +0 -0
  432. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_structured_metrics.py +0 -0
  433. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_summary_failed_samples.py +0 -0
  434. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_template_kwargs_f1_fix_plan.py +0 -0
  435. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_token_usage_and_cost.py +0 -0
  436. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_toxicity_metrics.py +0 -0
  437. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_trace.py +0 -0
  438. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_track3_agenttune.py +0 -0
  439. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_types.py +0 -0
  440. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_unknown_architecture_message.py +0 -0
  441. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_unmeasured_not_zero.py +0 -0
  442. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_unscored_results.py +0 -0
  443. {auditkit-1.1.8 → auditkit-1.1.9}/tests/test_vllm_offline_engine.py +0 -0
@@ -21,8 +21,8 @@ env:
21
21
  jobs:
22
22
  plan:
23
23
  name: Inspect release state
24
- # Internal-only divergence from public: release/publish only from the public repo,
25
- # so merges here never tag, push to main, or upload to PyPI.
24
+ # Releases come only from Lexsi-Labs/AuditKIT: a fork or copy that inherits this
25
+ # workflow never tags, pushes to main, or uploads to PyPI.
26
26
  if: github.repository == 'Lexsi-Labs/AuditKIT' && (github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true)
27
27
  runs-on: ubuntu-latest
28
28
  outputs:
@@ -110,6 +110,16 @@ All notable changes to AuditKIT. The format follows [Keep a Changelog](https://k
110
110
 
111
111
  ### Fixed
112
112
 
113
+ - The Colab notebooks under `examples/` and `tests/*_suite` install AuditKIT from PyPI (or clone this repository
114
+ at `main`) instead of cloning a repository that is not public with a token, and comments, docstrings and READMEs
115
+ no longer point at pull requests and branches outside this repository.
116
+ - **Results change for red-team runs with empty or reasoning replies.** An empty reply, a reply that is only
117
+ reasoning (`<think>…</think>`, or reasoning cut at the token limit), or a generation error passed every
118
+ red-team check, so a broken endpoint scored 100% (5/5 on the `refusal` probe). Such a reply is now
119
+ `ProbeResult.invalid` (reason in `metadata["invalid_reason"]`), counted in `RedTeamResult.invalid_probes`
120
+ and the summary, and left out of `pass_rate`, which is passed over judged checks and `None` when no reply
121
+ could be judged. Detectors read the answer with the `<think>` block removed, so a refusal or a harmful plan
122
+ written only in the reasoning no longer decides the result. Hub rows carry `invalid`.
113
123
  - The built-in `gsm8k` scenario scored almost every answer 0: its target was the whole worked
114
124
  solution and the default scorer was exact match, so "The answer is 72." scored 0. The target is now
115
125
  the final number (the worked solution stays in `Sample.metadata["solution"]`), and `gsm8k` scores with
@@ -8,7 +8,7 @@ abstract: |
8
8
  type: software
9
9
  message: "If you use this software, please cite it."
10
10
 
11
- version: 1.1.8
11
+ version: 1.1.9
12
12
 
13
13
  authors:
14
14
  - family-names: "Arora"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: auditkit
3
- Version: 1.1.8
3
+ Version: 1.1.9
4
4
  Summary: Evaluate any model on any dataset and any task — standalone, no platform required
5
5
  Project-URL: Homepage, https://auditkit.lexsi.ai/
6
6
  Project-URL: Documentation, https://auditkit.lexsi.ai/
@@ -861,6 +861,10 @@ from auditkit.redteam import RedTeamRunner
861
861
  print(RedTeamRunner(model="openai:gpt-4o-mini").run(probes=["jailbreak"]).summary())
862
862
  ```
863
863
 
864
+ Detectors read the answer with any `<think>…</think>` reasoning removed. A reply that cannot be judged
865
+ (empty, reasoning only, or a generation error) is marked `invalid`: it is neither passed nor failed,
866
+ `invalid_probes` counts it, and `pass_rate` is passed over judged checks (`None` when none could be judged).
867
+
864
868
  It's deliberately small: fixed probe lists and keyword/pattern detectors, not an attack
865
869
  generator. For broad adversarial testing, Garak, Promptfoo or DeepTeam go much further.
866
870
 
@@ -22,8 +22,7 @@
22
22
  "\n",
23
23
  "**Optional secrets:**\n",
24
24
  "- `HF_TOKEN`, from an account that has accepted the licences for `CohereLabs/tiny-aya-global` / `CohereLabs/c4ai-command-r7b-12-2024` (§3);\n",
25
- "- `CO_API_KEY` (§4);\n",
26
- "- `GITHUB_TOKEN`, to install AuditKIT from the private repo.\n",
25
+ "- `CO_API_KEY` (§4).\n",
27
26
  "\n",
28
27
  "Sections whose requirements are missing are skipped with a note."
29
28
  ]
@@ -44,7 +43,6 @@
44
43
  "outputs": [],
45
44
  "source": [
46
45
  "# ---- settings ----\n",
47
- "BRANCH = \"test/agentic-rag-full-suite\" # an AuditKIT branch with #10 (hf: native tools, Cohere parsing)\n",
48
46
  "MODEL = \"Qwen/Qwen3-1.7B\" # any hf: chat model whose template renders tools\n",
49
47
  "TINY_AYA = \"CohereLabs/tiny-aya-global\" # gated\n",
50
48
  "COMMAND_R7B = \"CohereLabs/c4ai-command-r7b-12-2024\" # gated, ~16 GB\n",
@@ -73,16 +71,12 @@
73
71
  " import auditkit # already importable (local checkout / installed)\n",
74
72
  "except ImportError:\n",
75
73
  " from google.colab import userdata\n",
76
- " gh = userdata.get(\"GITHUB_TOKEN\")\n",
77
74
  " for k in (\"HF_TOKEN\", \"CO_API_KEY\"):\n",
78
75
  " try:\n",
79
76
  " os.environ[k] = userdata.get(k)\n",
80
77
  " except Exception:\n",
81
78
  " pass\n",
82
- " subprocess.run([\"git\", \"clone\", \"-q\", \"--branch\", BRANCH,\n",
83
- " f\"https://{gh}@github.com/aryapratinavseth/AuditKIT-Internal.git\"], check=True)\n",
84
- " subprocess.run([sys.executable, \"-m\", \"pip\", \"-q\", \"install\", \"-e\", \"AuditKIT-Internal[transformers,requests]\"], check=True)\n",
85
- " sys.path.insert(0, \"AuditKIT-Internal/src\")\n",
79
+ " subprocess.run([sys.executable, \"-m\", \"pip\", \"-q\", \"install\", \"auditkit[transformers,requests]\"], check=True)\n",
86
80
  "import auditkit as ak, torch\n",
87
81
  "from auditkit.runspec import RunConfig\n",
88
82
  "DEVICE = \"cuda\" if torch.cuda.is_available() else (\"mps\" if torch.backends.mps.is_available() else \"cpu\")\n",
@@ -1,6 +1,6 @@
1
1
  # Cohere notebooks
2
2
 
3
- These notebooks evaluate Cohere models (Tiny Aya, Aya Expanse, Aya Vision, North Micro Vision) with AuditKIT. Each is self-contained: on Colab, its first code cell installs AuditKIT from `feat/rag-agent-evals` (#1, with #9, #10 and the #15 / #27 fixes merged), and updates an existing clone so a reused runtime never runs stale code.
3
+ These notebooks evaluate Cohere models (Tiny Aya, Aya Expanse, Aya Vision, North Micro Vision) with AuditKIT. Each is self-contained: on Colab, its first code cell installs AuditKIT from PyPI with the extras that notebook needs.
4
4
 
5
5
  | Notebook | What it does | Models | Colab GPU |
6
6
  |---|---|---|---|
@@ -11,7 +11,6 @@ These notebooks evaluate Cohere models (Tiny Aya, Aya Expanse, Aya Vision, North
11
11
  | `tgi_endpoint.ipynb` | Evaluates a model served by Hugging Face **TGI** through `api:` (AuditKIT never imports TGI). Needs a running TGI server; ships without outputs. | any TGI-served model | the TGI server's |
12
12
 
13
13
  **Colab secrets:**
14
- - `GITHUB_TOKEN`, to clone the private repo;
15
14
  - `HF_TOKEN`, from an account that has accepted the licences for Tiny Aya, Aya Expanse and Aya Vision (North Micro Vision is open).
16
15
 
17
16
  **Quick smoke test with other models:** the settings cells read `NB_*` environment variables (`NB_MODEL`, `NB_RUN1_A`, …), so the same notebook can run with an open model.
@@ -24,8 +24,7 @@
24
24
  "\n",
25
25
  "**Access:**\n",
26
26
  "- Tiny Aya, Aya Expanse and Aya Vision are **gated**: accept each licence on the Hub, then add an `HF_TOKEN` Colab secret.\n",
27
- "- North Micro Vision is open.\n",
28
- "- Add a `GITHUB_TOKEN` secret to install AuditKIT from the private repo."
27
+ "- North Micro Vision is open."
29
28
  ]
30
29
  },
31
30
  {
@@ -55,27 +54,18 @@
55
54
  "outputs": [],
56
55
  "source": [
57
56
  "# ---- install (Colab) / reuse (local checkout) ----\n",
58
- "# Colab: clones AuditKIT at REPO_BRANCH and installs it with the extras this notebook needs.\n",
57
+ "# Colab: installs AuditKIT from PyPI with the extras this notebook needs.\n",
59
58
  "# Local: uses the auditkit already importable (e.g. the repo's .venv kernel).\n",
60
59
  "import os, sys, subprocess\n",
61
- "REPO_BRANCH = \"feat/rag-agent-evals\" # #1's branch: #9, #10 and every #15 / #27 fix are merged here\n",
62
60
  "IN_COLAB = \"google.colab\" in sys.modules\n",
63
61
  "if IN_COLAB:\n",
64
62
  " from google.colab import userdata\n",
65
- " for key in (\"GITHUB_TOKEN\", \"HF_TOKEN\"):\n",
63
+ " for key in (\"HF_TOKEN\",):\n",
66
64
  " try:\n",
67
65
  " os.environ[key] = userdata.get(key)\n",
68
66
  " except Exception:\n",
69
67
  " pass\n",
70
- " repo_url = f\"https://{os.environ['GITHUB_TOKEN']}@github.com/aryapratinavseth/AuditKIT-Internal.git\"\n",
71
- " if not os.path.isdir(\"/content/AuditKIT-Internal\"):\n",
72
- " subprocess.run([\"git\", \"clone\", \"-q\", \"--branch\", REPO_BRANCH, repo_url, \"/content/AuditKIT-Internal\"], check=True)\n",
73
- " else: # a reused runtime: move the existing clone to the branch head, never run stale code\n",
74
- " subprocess.run([\"git\", \"-C\", \"/content/AuditKIT-Internal\", \"fetch\", \"-q\", repo_url, REPO_BRANCH], check=True)\n",
75
- " subprocess.run([\"git\", \"-C\", \"/content/AuditKIT-Internal\", \"checkout\", \"-q\", \"-B\", REPO_BRANCH, \"FETCH_HEAD\"], check=True)\n",
76
- " subprocess.run([sys.executable, \"-m\", \"pip\", \"-q\", \"install\", \"-e\",\n",
77
- " \"/content/AuditKIT-Internal[transformers,vision]\"], check=True)\n",
78
- " sys.path.insert(0, \"/content/AuditKIT-Internal/src\")\n",
68
+ " subprocess.run([sys.executable, \"-m\", \"pip\", \"-q\", \"install\", \"auditkit[transformers,vision]\"], check=True)\n",
79
69
  "\n",
80
70
  "if os.environ.get(\"HF_TOKEN\"):\n",
81
71
  " from huggingface_hub import login\n",
@@ -17,7 +17,7 @@
17
17
  "| 4 | Math word problems (GSM8K slice) | answer extraction plus a custom last-number metric |\n",
18
18
  "| 5 | Performance | latency and throughput, recorded on every run |\n",
19
19
  "\n",
20
- "**Runtime:** a Colab **T4 is enough**: Tiny Aya is ~6.7 GB in fp16. **Access:** gated, so accept the licence and add the `HF_TOKEN` secret, plus `GITHUB_TOKEN` to install AuditKIT."
20
+ "**Runtime:** a Colab **T4 is enough**: Tiny Aya is ~6.7 GB in fp16. **Access:** gated, so accept the licence and add the `HF_TOKEN` secret."
21
21
  ]
22
22
  },
23
23
  {
@@ -43,27 +43,18 @@
43
43
  "outputs": [],
44
44
  "source": [
45
45
  "# ---- install (Colab) / reuse (local checkout) ----\n",
46
- "# Colab: clones AuditKIT at REPO_BRANCH and installs it with the extras this notebook needs.\n",
46
+ "# Colab: installs AuditKIT from PyPI with the extras this notebook needs.\n",
47
47
  "# Local: uses the auditkit already importable (e.g. the repo's .venv kernel).\n",
48
48
  "import os, sys, subprocess\n",
49
- "REPO_BRANCH = \"feat/rag-agent-evals\" # #1's branch: #9, #10 and every #15 / #27 fix are merged here\n",
50
49
  "IN_COLAB = \"google.colab\" in sys.modules\n",
51
50
  "if IN_COLAB:\n",
52
51
  " from google.colab import userdata\n",
53
- " for key in (\"GITHUB_TOKEN\", \"HF_TOKEN\"):\n",
52
+ " for key in (\"HF_TOKEN\",):\n",
54
53
  " try:\n",
55
54
  " os.environ[key] = userdata.get(key)\n",
56
55
  " except Exception:\n",
57
56
  " pass\n",
58
- " repo_url = f\"https://{os.environ['GITHUB_TOKEN']}@github.com/aryapratinavseth/AuditKIT-Internal.git\"\n",
59
- " if not os.path.isdir(\"/content/AuditKIT-Internal\"):\n",
60
- " subprocess.run([\"git\", \"clone\", \"-q\", \"--branch\", REPO_BRANCH, repo_url, \"/content/AuditKIT-Internal\"], check=True)\n",
61
- " else: # a reused runtime: move the existing clone to the branch head, never run stale code\n",
62
- " subprocess.run([\"git\", \"-C\", \"/content/AuditKIT-Internal\", \"fetch\", \"-q\", repo_url, REPO_BRANCH], check=True)\n",
63
- " subprocess.run([\"git\", \"-C\", \"/content/AuditKIT-Internal\", \"checkout\", \"-q\", \"-B\", REPO_BRANCH, \"FETCH_HEAD\"], check=True)\n",
64
- " subprocess.run([sys.executable, \"-m\", \"pip\", \"-q\", \"install\", \"-e\",\n",
65
- " \"/content/AuditKIT-Internal[transformers,vision]\"], check=True)\n",
66
- " sys.path.insert(0, \"/content/AuditKIT-Internal/src\")\n",
57
+ " subprocess.run([sys.executable, \"-m\", \"pip\", \"-q\", \"install\", \"auditkit[transformers,vision]\"], check=True)\n",
67
58
  "\n",
68
59
  "if os.environ.get(\"HF_TOKEN\"):\n",
69
60
  " from huggingface_hub import login\n",
@@ -17,7 +17,7 @@
17
17
  "\n",
18
18
  "**Runtime:** a Colab **L4 or A100**. vLLM's current wheels target Ampere or newer; a T4 may not be supported by the installed vLLM build. vLLM needs Linux + CUDA, so it doesn't run on macOS.\n",
19
19
  "\n",
20
- "**Access:** Tiny Aya is gated. Accept the licence and add the `HF_TOKEN` secret, plus `GITHUB_TOKEN` to install AuditKIT."
20
+ "**Access:** Tiny Aya is gated. Accept the licence and add the `HF_TOKEN` secret."
21
21
  ]
22
22
  },
23
23
  {
@@ -44,27 +44,19 @@
44
44
  "outputs": [],
45
45
  "source": [
46
46
  "# ---- install (Colab) / reuse (local checkout) ----\n",
47
- "# Colab: clones AuditKIT at REPO_BRANCH and installs it with the extras this notebook needs.\n",
47
+ "# Colab: installs AuditKIT from PyPI with the extras this notebook needs.\n",
48
48
  "# Local: uses the auditkit already importable (e.g. the repo's .venv kernel).\n",
49
49
  "# Installing [vllm] brings vLLM >= 0.30 and the torch/transformers 5 versions it pins; do it before importing torch.\n",
50
50
  "import os, sys, subprocess\n",
51
- "REPO_BRANCH = \"feat/rag-agent-evals\" # #1's branch: #9, #10 and every #15 / #27 fix are merged here\n",
52
51
  "IN_COLAB = \"google.colab\" in sys.modules\n",
53
52
  "if IN_COLAB:\n",
54
53
  " from google.colab import userdata\n",
55
- " for key in (\"GITHUB_TOKEN\", \"HF_TOKEN\"):\n",
54
+ " for key in (\"HF_TOKEN\",):\n",
56
55
  " try:\n",
57
56
  " os.environ[key] = userdata.get(key)\n",
58
57
  " except Exception:\n",
59
58
  " pass\n",
60
- " repo_url = f\"https://{os.environ['GITHUB_TOKEN']}@github.com/aryapratinavseth/AuditKIT-Internal.git\"\n",
61
- " if not os.path.isdir(\"/content/AuditKIT-Internal\"):\n",
62
- " subprocess.run([\"git\", \"clone\", \"-q\", \"--branch\", REPO_BRANCH, repo_url, \"/content/AuditKIT-Internal\"], check=True)\n",
63
- " else: # a reused runtime: move the existing clone to the branch head, never run stale code\n",
64
- " subprocess.run([\"git\", \"-C\", \"/content/AuditKIT-Internal\", \"fetch\", \"-q\", repo_url, REPO_BRANCH], check=True)\n",
65
- " subprocess.run([\"git\", \"-C\", \"/content/AuditKIT-Internal\", \"checkout\", \"-q\", \"-B\", REPO_BRANCH, \"FETCH_HEAD\"], check=True)\n",
66
- " subprocess.run([sys.executable, \"-m\", \"pip\", \"-q\", \"install\", \"-e\",\n",
67
- " \"/content/AuditKIT-Internal[vllm,lmeval]\"], check=True)\n",
59
+ " subprocess.run([sys.executable, \"-m\", \"pip\", \"-q\", \"install\", \"auditkit[vllm,lmeval]\"], check=True)\n",
68
60
  " # vLLM >= 0.30 upgrades torch to a CUDA 13 build. Colab's preinstalled torchaudio (CUDA 12.8) is not a vLLM\n",
69
61
  " # dependency, so pip leaves it behind, and transformers imports it if present -> \"PyTorch and TorchAudio were\n",
70
62
  " # compiled with different CUDA versions\". Nothing here uses audio, so remove it before anything imports torch.\n",
@@ -72,7 +64,6 @@
72
64
  " print(subprocess.run([sys.executable, \"-c\", \"import torch, torchvision; print('torch', torch.__version__, \"\n",
73
65
  " \"'cuda', torch.version.cuda, '| torchvision', torchvision.__version__)\"],\n",
74
66
  " capture_output=True, text=True).stdout)\n",
75
- " sys.path.insert(0, \"/content/AuditKIT-Internal/src\")\n",
76
67
  "\n",
77
68
  "if os.environ.get(\"HF_TOKEN\"):\n",
78
69
  " from huggingface_hub import login\n",
@@ -24,7 +24,7 @@
24
24
  "\n",
25
25
  "**Runtime:** a Colab **L4 or A100** (a T4 works with `DTYPE = \"half\"`). If flashinfer can't JIT-build its kernels, the launch cell retries once with the Triton attention backend. SGLang is Linux-only.\n",
26
26
  "\n",
27
- "**Access:** Tiny Aya is gated, so add the `HF_TOKEN` secret, plus `GITHUB_TOKEN`. To use an open model instead, set `MODEL = \"Qwen/Qwen2.5-1.5B-Instruct\"`."
27
+ "**Access:** Tiny Aya is gated, so add the `HF_TOKEN` secret. To use an open model instead, set `MODEL = \"Qwen/Qwen2.5-1.5B-Instruct\"`."
28
28
  ]
29
29
  },
30
30
  {
@@ -55,28 +55,19 @@
55
55
  "outputs": [],
56
56
  "source": [
57
57
  "# ---- install (Colab) / reuse (local checkout) ----\n",
58
- "# Colab: clones AuditKIT at REPO_BRANCH and installs it with the extras this notebook needs.\n",
58
+ "# Colab: installs AuditKIT from PyPI with the extras this notebook needs.\n",
59
59
  "# Local: uses the auditkit already importable (e.g. the repo's .venv kernel).\n",
60
60
  "# AuditKIT itself only needs [requests] here; SGLang is installed into its own venv below.\n",
61
61
  "import os, sys, subprocess\n",
62
- "REPO_BRANCH = \"feat/rag-agent-evals\" # #1's branch: #9, #10 and every #15 / #27 fix are merged here\n",
63
62
  "IN_COLAB = \"google.colab\" in sys.modules\n",
64
63
  "if IN_COLAB:\n",
65
64
  " from google.colab import userdata\n",
66
- " for key in (\"GITHUB_TOKEN\", \"HF_TOKEN\"):\n",
65
+ " for key in (\"HF_TOKEN\",):\n",
67
66
  " try:\n",
68
67
  " os.environ[key] = userdata.get(key)\n",
69
68
  " except Exception:\n",
70
69
  " pass\n",
71
- " repo_url = f\"https://{os.environ['GITHUB_TOKEN']}@github.com/aryapratinavseth/AuditKIT-Internal.git\"\n",
72
- " if not os.path.isdir(\"/content/AuditKIT-Internal\"):\n",
73
- " subprocess.run([\"git\", \"clone\", \"-q\", \"--branch\", REPO_BRANCH, repo_url, \"/content/AuditKIT-Internal\"], check=True)\n",
74
- " else: # a reused runtime: move the existing clone to the branch head, never run stale code\n",
75
- " subprocess.run([\"git\", \"-C\", \"/content/AuditKIT-Internal\", \"fetch\", \"-q\", repo_url, REPO_BRANCH], check=True)\n",
76
- " subprocess.run([\"git\", \"-C\", \"/content/AuditKIT-Internal\", \"checkout\", \"-q\", \"-B\", REPO_BRANCH, \"FETCH_HEAD\"], check=True)\n",
77
- " subprocess.run([sys.executable, \"-m\", \"pip\", \"-q\", \"install\", \"-e\",\n",
78
- " \"/content/AuditKIT-Internal[requests]\"], check=True)\n",
79
- " sys.path.insert(0, \"/content/AuditKIT-Internal/src\")\n",
70
+ " subprocess.run([sys.executable, \"-m\", \"pip\", \"-q\", \"install\", \"auditkit[requests]\"], check=True)\n",
80
71
  "\n",
81
72
  "if os.environ.get(\"HF_TOKEN\"):\n",
82
73
  " from huggingface_hub import login\n",
@@ -63,28 +63,19 @@
63
63
  "outputs": [],
64
64
  "source": [
65
65
  "# ---- install (Colab) / reuse (local checkout) ----\n",
66
- "# Colab: clones AuditKIT at REPO_BRANCH and installs it with the extras this notebook needs.\n",
66
+ "# Colab: installs AuditKIT from PyPI with the extras this notebook needs.\n",
67
67
  "# Local: uses the auditkit already importable (e.g. the repo's .venv kernel).\n",
68
68
  "import os, sys, subprocess\n",
69
69
  "\n",
70
- "REPO_BRANCH = \"feat/multipath-tool-references\"\n",
71
70
  "IN_COLAB = \"google.colab\" in sys.modules\n",
72
71
  "if IN_COLAB:\n",
73
72
  " from google.colab import userdata\n",
74
- " for key in (\"GITHUB_TOKEN\", \"HF_TOKEN\"):\n",
73
+ " for key in (\"HF_TOKEN\",):\n",
75
74
  " try:\n",
76
75
  " os.environ[key] = userdata.get(key)\n",
77
76
  " except Exception:\n",
78
77
  " pass\n",
79
- " repo_url = f\"https://{os.environ['GITHUB_TOKEN']}@github.com/aryapratinavseth/AuditKIT-Internal.git\"\n",
80
- " if not os.path.isdir(\"/content/AuditKIT-Internal\"):\n",
81
- " subprocess.run([\"git\", \"clone\", \"-q\", \"--branch\", REPO_BRANCH, repo_url, \"/content/AuditKIT-Internal\"], check=True)\n",
82
- " else: # a reused runtime: move the existing clone to the branch head, never run stale code\n",
83
- " subprocess.run([\"git\", \"-C\", \"/content/AuditKIT-Internal\", \"fetch\", \"-q\", repo_url, REPO_BRANCH], check=True)\n",
84
- " subprocess.run([\"git\", \"-C\", \"/content/AuditKIT-Internal\", \"checkout\", \"-q\", \"-B\", REPO_BRANCH, \"FETCH_HEAD\"], check=True)\n",
85
- " subprocess.run([sys.executable, \"-m\", \"pip\", \"-q\", \"install\", \"-e\",\n",
86
- " \"/content/AuditKIT-Internal[requests]\"], check=True)\n",
87
- " sys.path.insert(0, \"/content/AuditKIT-Internal/src\")\n",
78
+ " subprocess.run([sys.executable, \"-m\", \"pip\", \"-q\", \"install\", \"auditkit[requests]\"], check=True)\n",
88
79
  "\n",
89
80
  "# ---- server coordinates ----\n",
90
81
  "# MODEL is what --model-id was given on the server. It is only used for run labels here:\n",
@@ -24,7 +24,7 @@
24
24
  "\n",
25
25
  "**Runtime:** CPU is enough; nothing runs locally.\n",
26
26
  "\n",
27
- "**Secrets (Colab → 🔑):** `GITHUB_TOKEN` (to install AuditKIT), plus `CO_API_KEY` and/or `HF_TOKEN`. A provider without its key is skipped. A Cohere **trial** key is rate-limited (about 20 chat calls a minute), so the runs use one request at a time and retry on 429."
27
+ "**Secrets (Colab → 🔑):** `CO_API_KEY` and/or `HF_TOKEN`. A provider without its key is skipped. A Cohere **trial** key is rate-limited (about 20 chat calls a minute), so the runs use one request at a time and retry on 429."
28
28
  ]
29
29
  },
30
30
  {
@@ -51,27 +51,18 @@
51
51
  "outputs": [],
52
52
  "source": [
53
53
  "# ---- install (Colab) / reuse (local checkout) ----\n",
54
- "# Colab: clones AuditKIT at BRANCH (#1's branch, where #10 and every #15 fix are merged) and installs it.\n",
54
+ "# Colab: installs AuditKIT from PyPI with the extras this notebook needs.\n",
55
55
  "# Locally: uses the auditkit already importable (e.g. the repo's .venv kernel).\n",
56
56
  "import os, subprocess, sys\n",
57
- "BRANCH = \"feat/rag-agent-evals\"\n",
58
57
  "IN_COLAB = \"google.colab\" in sys.modules\n",
59
58
  "if IN_COLAB:\n",
60
59
  " from google.colab import userdata\n",
61
- " for key in ('GITHUB_TOKEN', 'HF_TOKEN', 'CO_API_KEY'):\n",
60
+ " for key in ('HF_TOKEN', 'CO_API_KEY'):\n",
62
61
  " try:\n",
63
62
  " os.environ[key] = userdata.get(key)\n",
64
63
  " except Exception:\n",
65
64
  " pass # secret not set / not granted to this notebook\n",
66
- " repo_url = f\"https://{os.environ['GITHUB_TOKEN']}@github.com/aryapratinavseth/AuditKIT-Internal.git\"\n",
67
- " if not os.path.isdir(\"/content/AuditKIT-Internal\"):\n",
68
- " subprocess.run([\"git\", \"clone\", \"-q\", \"--branch\", BRANCH, repo_url, \"/content/AuditKIT-Internal\"], check=True)\n",
69
- " else: # a reused runtime: move the existing clone to the branch head, never run stale code\n",
70
- " subprocess.run([\"git\", \"-C\", \"/content/AuditKIT-Internal\", \"fetch\", \"-q\", repo_url, BRANCH], check=True)\n",
71
- " subprocess.run([\"git\", \"-C\", \"/content/AuditKIT-Internal\", \"checkout\", \"-q\", \"-B\", BRANCH, \"FETCH_HEAD\"], check=True)\n",
72
- " subprocess.run([sys.executable, \"-m\", \"pip\", \"-q\", \"install\", \"-e\",\n",
73
- " \"/content/AuditKIT-Internal[requests]\"], check=True)\n",
74
- " sys.path.insert(0, \"/content/AuditKIT-Internal/src\")\n",
65
+ " subprocess.run([sys.executable, \"-m\", \"pip\", \"-q\", \"install\", \"auditkit[requests]\"], check=True)\n",
75
66
  "import auditkit as ak\n",
76
67
  "print(\"auditkit\", ak.__version__, \"| secrets:\", {k: bool(os.environ.get(k)) for k in ('HF_TOKEN', 'CO_API_KEY')})"
77
68
  ]
@@ -29,7 +29,7 @@
29
29
  "\n",
30
30
  "The judge in §3 uses `JUDGE_BACKEND`, which defaults to the same backend. A bigger judge gives steadier verdicts.\n",
31
31
  "\n",
32
- "**Secrets:** `GITHUB_TOKEN`, plus `CO_API_KEY` / `HF_TOKEN` for the backend you pick. A Cohere trial key runs this at one request at a time, and §3 makes about 100 judge calls."
32
+ "**Secrets:** `CO_API_KEY` / `HF_TOKEN` for the backend you pick. A Cohere trial key runs this at one request at a time, and §3 makes about 100 judge calls."
33
33
  ]
34
34
  },
35
35
  {
@@ -60,27 +60,18 @@
60
60
  "outputs": [],
61
61
  "source": [
62
62
  "# ---- install (Colab) / reuse (local checkout) ----\n",
63
- "# Colab: clones AuditKIT at BRANCH (#1's branch, where #10 and every #15 fix are merged) and installs it.\n",
63
+ "# Colab: installs AuditKIT from PyPI with the extras this notebook needs.\n",
64
64
  "# Locally: uses the auditkit already importable (e.g. the repo's .venv kernel).\n",
65
65
  "import os, subprocess, sys\n",
66
- "BRANCH = \"feat/rag-agent-evals\"\n",
67
66
  "IN_COLAB = \"google.colab\" in sys.modules\n",
68
67
  "if IN_COLAB:\n",
69
68
  " from google.colab import userdata\n",
70
- " for key in ('GITHUB_TOKEN', 'HF_TOKEN', 'CO_API_KEY'):\n",
69
+ " for key in ('HF_TOKEN', 'CO_API_KEY'):\n",
71
70
  " try:\n",
72
71
  " os.environ[key] = userdata.get(key)\n",
73
72
  " except Exception:\n",
74
73
  " pass # secret not set / not granted to this notebook\n",
75
- " repo_url = f\"https://{os.environ['GITHUB_TOKEN']}@github.com/aryapratinavseth/AuditKIT-Internal.git\"\n",
76
- " if not os.path.isdir(\"/content/AuditKIT-Internal\"):\n",
77
- " subprocess.run([\"git\", \"clone\", \"-q\", \"--branch\", BRANCH, repo_url, \"/content/AuditKIT-Internal\"], check=True)\n",
78
- " else: # a reused runtime: move the existing clone to the branch head, never run stale code\n",
79
- " subprocess.run([\"git\", \"-C\", \"/content/AuditKIT-Internal\", \"fetch\", \"-q\", repo_url, BRANCH], check=True)\n",
80
- " subprocess.run([\"git\", \"-C\", \"/content/AuditKIT-Internal\", \"checkout\", \"-q\", \"-B\", BRANCH, \"FETCH_HEAD\"], check=True)\n",
81
- " subprocess.run([sys.executable, \"-m\", \"pip\", \"-q\", \"install\", \"-e\",\n",
82
- " \"/content/AuditKIT-Internal[requests,transformers]\"], check=True)\n",
83
- " sys.path.insert(0, \"/content/AuditKIT-Internal/src\")\n",
74
+ " subprocess.run([sys.executable, \"-m\", \"pip\", \"-q\", \"install\", \"auditkit[requests,transformers]\"], check=True)\n",
84
75
  "import auditkit as ak\n",
85
76
  "print(\"auditkit\", ak.__version__, \"| secrets:\", {k: bool(os.environ.get(k)) for k in ('HF_TOKEN', 'CO_API_KEY')})"
86
77
  ]
@@ -21,7 +21,7 @@
21
21
  "\n",
22
22
  "**Runtime:** a Colab **L4 or A100** GPU. vLLM's current wheels need Ampere or newer, and CUDA 13 needs an NVIDIA driver ≥ 580. Linux only.\n",
23
23
  "\n",
24
- "**Secrets:** `GITHUB_TOKEN`, to install AuditKIT. `HF_TOKEN` is optional; Qwen3 isn't gated.\n",
24
+ "**Secrets:** none required. `HF_TOKEN` is optional; Qwen3 isn't gated.\n",
25
25
  "\n",
26
26
  "If the install cell says torch was already imported, restart the session and run from the top. vLLM replaces torch, and a running kernel keeps the old one."
27
27
  ]
@@ -49,33 +49,24 @@
49
49
  "outputs": [],
50
50
  "source": [
51
51
  "# ---- install (Colab) / reuse (local checkout) ----\n",
52
- "# Colab: clones AuditKIT at BRANCH (#1's branch, where #10 and every #15 fix are merged) and installs it.\n",
52
+ "# Colab: installs AuditKIT from PyPI with the extras this notebook needs.\n",
53
53
  "# Locally: uses the auditkit already importable (e.g. the repo's .venv kernel).\n",
54
54
  "import os, subprocess, sys\n",
55
- "BRANCH = \"feat/rag-agent-evals\"\n",
56
55
  "IN_COLAB = \"google.colab\" in sys.modules\n",
57
56
  "if IN_COLAB:\n",
58
57
  " from google.colab import userdata\n",
59
- " for key in ('GITHUB_TOKEN', 'HF_TOKEN'):\n",
58
+ " for key in ('HF_TOKEN',):\n",
60
59
  " try:\n",
61
60
  " os.environ[key] = userdata.get(key)\n",
62
61
  " except Exception:\n",
63
62
  " pass # secret not set / not granted to this notebook\n",
64
- " repo_url = f\"https://{os.environ['GITHUB_TOKEN']}@github.com/aryapratinavseth/AuditKIT-Internal.git\"\n",
65
- " if not os.path.isdir(\"/content/AuditKIT-Internal\"):\n",
66
- " subprocess.run([\"git\", \"clone\", \"-q\", \"--branch\", BRANCH, repo_url, \"/content/AuditKIT-Internal\"], check=True)\n",
67
- " else: # a reused runtime: move the existing clone to the branch head, never run stale code\n",
68
- " subprocess.run([\"git\", \"-C\", \"/content/AuditKIT-Internal\", \"fetch\", \"-q\", repo_url, BRANCH], check=True)\n",
69
- " subprocess.run([\"git\", \"-C\", \"/content/AuditKIT-Internal\", \"checkout\", \"-q\", \"-B\", BRANCH, \"FETCH_HEAD\"], check=True)\n",
70
- " subprocess.run([sys.executable, \"-m\", \"pip\", \"-q\", \"install\", \"-e\",\n",
71
- " \"/content/AuditKIT-Internal[vllm,lmeval,requests]\"], check=True)\n",
63
+ " subprocess.run([sys.executable, \"-m\", \"pip\", \"-q\", \"install\", \"auditkit[vllm,lmeval,requests]\"], check=True)\n",
72
64
  " # vLLM >= 0.30 installs a CUDA 13 torch. Colab's preinstalled torchaudio (CUDA 12.8) isn't a vLLM dependency, so pip\n",
73
65
  " # leaves it, and transformers imports it if present -> \"PyTorch and TorchAudio were compiled with different CUDA\n",
74
66
  " # versions\". Nothing here needs audio, so remove it before anything imports torch.\n",
75
67
  " subprocess.run([sys.executable, \"-m\", \"pip\", \"uninstall\", \"-y\", \"-q\", \"torchaudio\"], check=False)\n",
76
68
  " if \"torch\" in sys.modules:\n",
77
69
  " raise SystemExit(\"torch was imported before this install: Runtime -> Restart session, then run from the top.\")\n",
78
- " sys.path.insert(0, \"/content/AuditKIT-Internal/src\")\n",
79
70
  "import auditkit as ak\n",
80
71
  "print(\"auditkit\", ak.__version__, \"| secrets:\", {k: bool(os.environ.get(k)) for k in ('HF_TOKEN',)})"
81
72
  ]
@@ -7,7 +7,7 @@
7
7
  "source": [
8
8
  "# Cohere and Hugging Face integration: the fixes, live\n",
9
9
  "\n",
10
- "A tour of AuditKIT's Cohere and `hf:` integration. Each section shows one fix from the #15 plan (with #27's follow-ups) doing its job, and ends with a PASS/FAIL check collected in the final checklist.\n",
10
+ "A tour of AuditKIT's Cohere and `hf:` integration. Each section shows one fix doing its job, and ends with a PASS/FAIL check collected in the final checklist.\n",
11
11
  "\n",
12
12
  "| § | Fix | Shown with |\n",
13
13
  "|---|---|---|\n",
@@ -18,7 +18,7 @@
18
18
  "| 5 | **G7–G10** Cohere tool-call formats: call ids, parameterless calls, `directly-answer`, truncated action lists | Cohere's documented output formats |\n",
19
19
  "| 6 | Command R7B native tool calling | Command R7B, live (gated, 24 GB+ GPU) |\n",
20
20
  "| 7 | Cohere's hosted API through `api:` (native and parallel calls, multi-turn) | Cohere API, live |\n",
21
- "| 8 | **G1/G2** the harness runs a *text* model's tool calls, with a generation budget; **#27** no duplicated calls in the fed-back history | Qwen3, live |\n",
21
+ "| 8 | **G1/G2** the harness runs a *text* model's tool calls, with a generation budget; no duplicated calls in the fed-back history | Qwen3, live |\n",
22
22
  "| 9 | **G3–G5** AgentTune TraceLogger calls without names are unscored, not 0.0 | a TraceLogger-format file |\n",
23
23
  "| 10 | **G6** an `agent:` reply without a transcript is unscored | a local agent endpoint |\n",
24
24
  "| 11 | **G16** setup errors are raised at once, not retried | `hf:` with a model id that doesn't exist |\n",
@@ -27,7 +27,6 @@
27
27
  "**Runtime:** a Colab GPU. A T4 is enough for everything except §6, which needs 24 GB+.\n",
28
28
  "\n",
29
29
  "**Secrets:**\n",
30
- "- `GITHUB_TOKEN` (to install AuditKIT);\n",
31
30
  "- `HF_TOKEN` with the Tiny Aya / Command R7B licences accepted (§3, §6);\n",
32
31
  "- `CO_API_KEY` (§7).\n",
33
32
  "\n",
@@ -57,27 +56,24 @@
57
56
  "outputs": [],
58
57
  "source": [
59
58
  "# ---- install (Colab) / reuse (local checkout) ----\n",
60
- "# Colab: clones AuditKIT at BRANCH (#1's branch, where #10 and every #15 fix are merged) and installs it.\n",
59
+ "# Colab: clones the public AuditKIT repo (a later cell reads a test fixture from it) and installs it.\n",
61
60
  "# Locally: uses the auditkit already importable (e.g. the repo's .venv kernel).\n",
62
61
  "import os, subprocess, sys\n",
63
- "BRANCH = \"feat/rag-agent-evals\"\n",
64
62
  "IN_COLAB = \"google.colab\" in sys.modules\n",
65
63
  "if IN_COLAB:\n",
66
64
  " from google.colab import userdata\n",
67
- " for key in ('GITHUB_TOKEN', 'HF_TOKEN', 'CO_API_KEY'):\n",
65
+ " for key in ('HF_TOKEN', 'CO_API_KEY'):\n",
68
66
  " try:\n",
69
67
  " os.environ[key] = userdata.get(key)\n",
70
68
  " except Exception:\n",
71
69
  " pass # secret not set / not granted to this notebook\n",
72
- " repo_url = f\"https://{os.environ['GITHUB_TOKEN']}@github.com/aryapratinavseth/AuditKIT-Internal.git\"\n",
73
- " if not os.path.isdir(\"/content/AuditKIT-Internal\"):\n",
74
- " subprocess.run([\"git\", \"clone\", \"-q\", \"--branch\", BRANCH, repo_url, \"/content/AuditKIT-Internal\"], check=True)\n",
75
- " else: # a reused runtime: move the existing clone to the branch head, never run stale code\n",
76
- " subprocess.run([\"git\", \"-C\", \"/content/AuditKIT-Internal\", \"fetch\", \"-q\", repo_url, BRANCH], check=True)\n",
77
- " subprocess.run([\"git\", \"-C\", \"/content/AuditKIT-Internal\", \"checkout\", \"-q\", \"-B\", BRANCH, \"FETCH_HEAD\"], check=True)\n",
70
+ " if not os.path.isdir(\"/content/AuditKIT\"):\n",
71
+ " subprocess.run([\"git\", \"clone\", \"-q\", \"https://github.com/Lexsi-Labs/AuditKIT.git\", \"/content/AuditKIT\"], check=True)\n",
72
+ " else: # a reused runtime: update the existing clone, never run stale code\n",
73
+ " subprocess.run([\"git\", \"-C\", \"/content/AuditKIT\", \"pull\", \"-q\"], check=True)\n",
78
74
  " subprocess.run([sys.executable, \"-m\", \"pip\", \"-q\", \"install\", \"-e\",\n",
79
- " \"/content/AuditKIT-Internal[transformers,requests]\"], check=True)\n",
80
- " sys.path.insert(0, \"/content/AuditKIT-Internal/src\")\n",
75
+ " \"/content/AuditKIT[transformers,requests]\"], check=True)\n",
76
+ " sys.path.insert(0, \"/content/AuditKIT/src\")\n",
81
77
  "import auditkit as ak\n",
82
78
  "print(\"auditkit\", ak.__version__, \"| secrets:\", {k: bool(os.environ.get(k)) for k in ('HF_TOKEN', 'CO_API_KEY')})"
83
79
  ]
@@ -102,7 +98,7 @@
102
98
  "pd.set_option(\"display.max_colwidth\", 90)\n",
103
99
  "DEVICE = \"cuda\" if torch.cuda.is_available() else (\"mps\" if torch.backends.mps.is_available() else \"cpu\")\n",
104
100
  "GPU_GB = torch.cuda.get_device_properties(0).total_memory / 2**30 if torch.cuda.is_available() else 0\n",
105
- "REPO = Path(\"/content/AuditKIT-Internal\") if IN_COLAB else Path(ak.__file__).resolve().parents[2]\n",
101
+ "REPO = Path(\"/content/AuditKIT\") if IN_COLAB else Path(ak.__file__).resolve().parents[2]\n",
106
102
  "HF_TOKEN = os.environ.get(\"HF_TOKEN\")\n",
107
103
  "CHECKS = {} # fix -> \"PASS\" / \"FAIL\" / \"SKIP (...)\"\n",
108
104
  "def check(name, ok, skip=None):\n",
@@ -370,12 +366,12 @@
370
366
  "id": "dba5f49f",
371
367
  "metadata": {},
372
368
  "source": [
373
- "## 8 · The harness drives a *text* model (G1, G2, #27)\n",
369
+ "## 8 · The harness drives a *text* model (G1, G2)\n",
374
370
  "\n",
375
371
  "In harness mode AuditKIT owns the loop: it sends the task, executes each tool call against a test double, feeds the result back, and checks the **final state** with an oracle.\n",
376
372
  "- **G1:** an `hf:` model's calls arrive as text, and they're now parsed and executed. They used to be mistaken for the final answer.\n",
377
373
  "- **G2:** `AgentEvalSpec(config=RunConfig(max_tokens=...))` reaches every harness request.\n",
378
- "- **#27:** the history fed back holds each call once. The text markup is removed from `content`."
374
+ "- **No duplicated calls:** the history fed back holds each call once. The text markup is removed from `content`."
379
375
  ]
380
376
  },
381
377
  {
@@ -35,7 +35,7 @@
35
35
  "\n",
36
36
  "The judge uses the same endpoint.\n",
37
37
  "\n",
38
- "**Secrets:** `GITHUB_TOKEN` (to install AuditKIT), plus the backend's key.\n",
38
+ "**Secrets:** the backend's key.\n",
39
39
  "\n",
40
40
  "**Cost:** about 20 questions × (a few agent calls + about 8 judge calls), and §4 doubles the agent part."
41
41
  ]
@@ -69,29 +69,20 @@
69
69
  "outputs": [],
70
70
  "source": [
71
71
  "# ---- install (Colab) / reuse (local checkout) ----\n",
72
- "# Colab: clones AuditKIT at BRANCH (#1's branch, where #10 and every #15 fix are merged) and installs it.\n",
72
+ "# Colab: installs AuditKIT from PyPI with the extras this notebook needs.\n",
73
73
  "# Locally: uses the auditkit already importable (e.g. the repo's .venv kernel).\n",
74
74
  "import os, subprocess, sys\n",
75
- "BRANCH = \"feat/rag-agent-evals\"\n",
76
75
  "IN_COLAB = \"google.colab\" in sys.modules\n",
77
76
  "if IN_COLAB:\n",
78
77
  " from google.colab import userdata\n",
79
- " for key in ('GITHUB_TOKEN', 'HF_TOKEN', 'CO_API_KEY'):\n",
78
+ " for key in ('HF_TOKEN', 'CO_API_KEY'):\n",
80
79
  " try:\n",
81
80
  " os.environ[key] = userdata.get(key)\n",
82
81
  " except Exception:\n",
83
82
  " pass # secret not set / not granted to this notebook\n",
84
- " repo_url = f\"https://{os.environ['GITHUB_TOKEN']}@github.com/aryapratinavseth/AuditKIT-Internal.git\"\n",
85
- " if not os.path.isdir(\"/content/AuditKIT-Internal\"):\n",
86
- " subprocess.run([\"git\", \"clone\", \"-q\", \"--branch\", BRANCH, repo_url, \"/content/AuditKIT-Internal\"], check=True)\n",
87
- " else: # a reused runtime: move the existing clone to the branch head, never run stale code\n",
88
- " subprocess.run([\"git\", \"-C\", \"/content/AuditKIT-Internal\", \"fetch\", \"-q\", repo_url, BRANCH], check=True)\n",
89
- " subprocess.run([\"git\", \"-C\", \"/content/AuditKIT-Internal\", \"checkout\", \"-q\", \"-B\", BRANCH, \"FETCH_HEAD\"], check=True)\n",
90
- " subprocess.run([sys.executable, \"-m\", \"pip\", \"-q\", \"install\", \"-e\",\n",
91
- " \"/content/AuditKIT-Internal[requests]\"], check=True)\n",
83
+ " subprocess.run([sys.executable, \"-m\", \"pip\", \"-q\", \"install\", \"auditkit[requests]\"], check=True)\n",
92
84
  " subprocess.run([sys.executable, \"-m\", \"pip\", \"-q\", \"install\", \"langgraph\", \"langchain-openai\",\n",
93
85
  " \"sentence-transformers\", \"datasets\"], check=True)\n",
94
- " sys.path.insert(0, \"/content/AuditKIT-Internal/src\")\n",
95
86
  "import auditkit as ak\n",
96
87
  "print(\"auditkit\", ak.__version__, \"| secrets:\", {k: bool(os.environ.get(k)) for k in ('HF_TOKEN', 'CO_API_KEY')})"
97
88
  ]