ab-analysis-kit 0.5.0__tar.gz → 0.6.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 (180) hide show
  1. {ab_analysis_kit-0.5.0/ab_analysis_kit.egg-info → ab_analysis_kit-0.6.1}/PKG-INFO +22 -15
  2. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/README.md +21 -14
  3. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1/ab_analysis_kit.egg-info}/PKG-INFO +22 -15
  4. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/ab_analysis_kit.egg-info/SOURCES.txt +5 -0
  5. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/__init__.py +1 -1
  6. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/assets/claude/CLAUDE.section.md +1 -1
  7. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/assets/claude/rules/cli.md +72 -6
  8. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/assets/claude/rules/explore.md +3 -0
  9. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/assets/claude/rules/metrics.md +4 -1
  10. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/assets/claude/rules/overview.md +2 -1
  11. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/assets/claude/rules/plan.md +11 -5
  12. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/assets/claude/skills/abk-new-metric/SKILL.md +4 -1
  13. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/assets/claude/skills/abk-plan/SKILL.md +12 -6
  14. ab_analysis_kit-0.6.1/abkit/cli/commands/dashboard.py +158 -0
  15. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/commands/plan.py +77 -6
  16. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/commands/run.py +103 -1
  17. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/main.py +41 -1
  18. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/config/experiment_config.py +12 -0
  19. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/pipeline/driver.py +39 -0
  20. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/pipeline/state.py +61 -1
  21. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/planning/sizing.py +152 -21
  22. ab_analysis_kit-0.6.1/abkit/tuning/__init__.py +106 -0
  23. ab_analysis_kit-0.6.1/abkit/tuning/assets/dashboard.js +171 -0
  24. ab_analysis_kit-0.6.1/abkit/tuning/dashboard_server.py +1353 -0
  25. ab_analysis_kit-0.6.1/abkit/tuning/html.py +181 -0
  26. ab_analysis_kit-0.6.1/abkit/tuning/jobs.py +590 -0
  27. ab_analysis_kit-0.6.1/abkit/tuning/overview.py +716 -0
  28. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/pyproject.toml +3 -1
  29. ab_analysis_kit-0.5.0/abkit/tuning/__init__.py +0 -61
  30. ab_analysis_kit-0.5.0/abkit/tuning/html.py +0 -93
  31. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/LICENSE +0 -0
  32. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/MANIFEST.in +0 -0
  33. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/ab_analysis_kit.egg-info/dependency_links.txt +0 -0
  34. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/ab_analysis_kit.egg-info/entry_points.txt +0 -0
  35. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/ab_analysis_kit.egg-info/requires.txt +0 -0
  36. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/ab_analysis_kit.egg-info/top_level.txt +0 -0
  37. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/__init__.py +0 -0
  38. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/_output.py +0 -0
  39. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/assets/claude/rules/experiments.md +0 -0
  40. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/assets/claude/rules/methods.md +0 -0
  41. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/assets/claude/rules/project.md +0 -0
  42. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/assets/claude/rules/validate.md +0 -0
  43. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/assets/claude/skills/abk-explore/SKILL.md +0 -0
  44. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/assets/claude/skills/abk-feedback/SKILL.md +0 -0
  45. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/assets/claude/skills/abk-new-experiment/SKILL.md +0 -0
  46. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/assets/claude/skills/abk-setup-project/SKILL.md +0 -0
  47. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/assets/claude/skills/abk-validate/SKILL.md +0 -0
  48. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/commands/__init__.py +0 -0
  49. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/commands/_context.py +0 -0
  50. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/commands/clean.py +0 -0
  51. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/commands/explore.py +0 -0
  52. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/commands/init.py +0 -0
  53. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/commands/init_claude.py +0 -0
  54. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/commands/test_report.py +0 -0
  55. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/commands/unlock.py +0 -0
  56. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/commands/validate.py +0 -0
  57. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/cli/commands/verify_incremental.py +0 -0
  58. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/compute/__init__.py +0 -0
  59. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/compute/incremental_backend.py +0 -0
  60. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/compute/recompute_backend.py +0 -0
  61. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/compute/reconcile.py +0 -0
  62. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/config/__init__.py +0 -0
  63. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/config/discovery.py +0 -0
  64. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/config/method_config.py +0 -0
  65. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/config/metric_config.py +0 -0
  66. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/config/profile.py +0 -0
  67. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/config/project_config.py +0 -0
  68. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/config/validator.py +0 -0
  69. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/core/__init__.py +0 -0
  70. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/core/exposure_counting.py +0 -0
  71. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/core/interval.py +0 -0
  72. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/core/models.py +0 -0
  73. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/core/period_planner.py +0 -0
  74. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/database/__init__.py +0 -0
  75. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/database/_sql_manager.py +0 -0
  76. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/database/clickhouse_manager.py +0 -0
  77. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/database/internal_tables/__init__.py +0 -0
  78. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/database/internal_tables/_aa_runs.py +0 -0
  79. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/database/internal_tables/_base.py +0 -0
  80. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/database/internal_tables/_experiments.py +0 -0
  81. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/database/internal_tables/_exposures.py +0 -0
  82. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/database/internal_tables/_maintenance.py +0 -0
  83. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/database/internal_tables/_results.py +0 -0
  84. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/database/internal_tables/_schema.py +0 -0
  85. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/database/internal_tables/_tasks.py +0 -0
  86. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/database/internal_tables/_unit_state.py +0 -0
  87. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/database/internal_tables/manager.py +0 -0
  88. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/database/manager.py +0 -0
  89. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/database/mysql_manager.py +0 -0
  90. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/database/postgres_manager.py +0 -0
  91. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/database/tables.py +0 -0
  92. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/loaders/__init__.py +0 -0
  93. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/loaders/exposure_copy.py +0 -0
  94. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/loaders/exposure_loader.py +0 -0
  95. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/loaders/exposure_source.py +0 -0
  96. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/loaders/metric_loader.py +0 -0
  97. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/loaders/query_template.py +0 -0
  98. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/loaders/state_loader.py +0 -0
  99. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/loaders/templates/abkit_assignment.jinja +0 -0
  100. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/notify/__init__.py +0 -0
  101. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/notify/base.py +0 -0
  102. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/notify/branding.py +0 -0
  103. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/notify/email.py +0 -0
  104. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/notify/factory.py +0 -0
  105. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/notify/mattermost.py +0 -0
  106. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/notify/mock.py +0 -0
  107. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/notify/slack.py +0 -0
  108. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/notify/telegram.py +0 -0
  109. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/notify/webhook.py +0 -0
  110. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/pipeline/__init__.py +0 -0
  111. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/pipeline/_types.py +0 -0
  112. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/pipeline/analyze.py +0 -0
  113. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/pipeline/enrich.py +0 -0
  114. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/pipeline/readout.py +0 -0
  115. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/planning/__init__.py +0 -0
  116. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/reporting/__init__.py +0 -0
  117. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/reporting/assets/report.js +0 -0
  118. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/reporting/builder.py +0 -0
  119. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/reporting/calibration.py +0 -0
  120. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/reporting/html_report.py +0 -0
  121. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/__init__.py +0 -0
  122. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/accumulate.py +0 -0
  123. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/base.py +0 -0
  124. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/bootstrap/__init__.py +0 -0
  125. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/bootstrap/applier.py +0 -0
  126. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/bootstrap/bootstrap.py +0 -0
  127. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/bootstrap/ci.py +0 -0
  128. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/bootstrap/engine.py +0 -0
  129. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/bootstrap/paired_bootstrap.py +0 -0
  130. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/bootstrap/paired_post_normed_bootstrap.py +0 -0
  131. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/bootstrap/poisson_bootstrap.py +0 -0
  132. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/bootstrap/post_normed_bootstrap.py +0 -0
  133. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/correction.py +0 -0
  134. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/effects.py +0 -0
  135. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/exceptions.py +0 -0
  136. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/factory.py +0 -0
  137. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/parametric/__init__.py +0 -0
  138. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/parametric/cuped_ttest.py +0 -0
  139. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/parametric/paired_cuped_ttest.py +0 -0
  140. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/parametric/paired_ttest.py +0 -0
  141. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/parametric/ratio_delta.py +0 -0
  142. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/parametric/ttest.py +0 -0
  143. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/parametric/ztest.py +0 -0
  144. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/power.py +0 -0
  145. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/registry.py +0 -0
  146. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/result.py +0 -0
  147. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/rng.py +0 -0
  148. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/samples.py +0 -0
  149. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/sequential/__init__.py +0 -0
  150. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/sequential/apply.py +0 -0
  151. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/sequential/confidence_sequence.py +0 -0
  152. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/sequential/mixture.py +0 -0
  153. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/stats/srm.py +0 -0
  154. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/tuning/assets/explore.js +0 -0
  155. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/tuning/config_writer.py +0 -0
  156. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/tuning/payload.py +0 -0
  157. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/tuning/recompute.py +0 -0
  158. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/tuning/server.py +0 -0
  159. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/tuning/session.py +0 -0
  160. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/utils/__init__.py +0 -0
  161. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/utils/datetime_utils.py +0 -0
  162. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/utils/env_interpolation.py +0 -0
  163. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/utils/json_utils.py +0 -0
  164. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/utils/warn_scope.py +0 -0
  165. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/validate/__init__.py +0 -0
  166. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/validate/_types.py +0 -0
  167. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/validate/family.py +0 -0
  168. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/validate/inject.py +0 -0
  169. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/validate/load.py +0 -0
  170. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/validate/panel.py +0 -0
  171. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/validate/persistence.py +0 -0
  172. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/validate/resample.py +0 -0
  173. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/validate/result.py +0 -0
  174. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/validate/run_id.py +0 -0
  175. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/validate/runner.py +0 -0
  176. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/validate/scoring.py +0 -0
  177. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/abkit/validate/vector_resample.py +0 -0
  178. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/requirements.txt +0 -0
  179. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/setup.cfg +0 -0
  180. {ab_analysis_kit-0.5.0 → ab_analysis_kit-0.6.1}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ab-analysis-kit
3
- Version: 0.5.0
3
+ Version: 0.6.1
4
4
  Summary: A/B experiment analysis as declarative YAML + SQL
5
5
  Author: ab-analysis-kit authors
6
6
  License: MIT
@@ -76,16 +76,19 @@ stabilization chart), writes them to a clean warehouse table any BI can read, an
76
76
  gives you a local cockpit to tune the analysis and a harness to prove your method is
77
77
  actually calibrated.
78
78
 
79
- > **Status: `0.5.0` (Alpha) — release-ready; `0.4.0` is the latest on PyPI**
80
- > (milestones **M1–M10** shipped — M10 makes an experiment's window a pair of
81
- > real timestamps (`start_ts`/`horizon_ts`, with `interval_anchor` deciding
82
- > where the cutoff lattice sits), collects both breaking schema changes of the
83
- > polish track into this one release with a single recreate instruction, and
84
- > fixes two live `abk explore` defects: a knob turn no longer queues behind a
85
- > Reload or Auto-validate, and dragging alpha over a bootstrap series stops
86
- > redrawing the replicates — 6.01 s → 1.01 s over six turns). The
87
- > statistical core, the declarative config / DB / pipeline layer, the explore cockpit +
88
- > self-contained reports, `abk validate` (now numpy-vectorized — minutes → sub-seconds),
79
+ > **Status: `0.6.1` (Alpha) — release-ready; `0.6.0` is the latest on PyPI**
80
+ > (milestones **M1–M11** shipped — M11 added **`abk dashboard`**, the
81
+ > project-level cockpit: one row per experiment with its headline verdict,
82
+ > effect + CI, p/α and a sparkline of the cumulative series, plus buttons that
83
+ > spawn real `abk` subprocesses (Run — for the whole experiment or one metric —
84
+ > Unlock, Clean, Explore, Open report) and stream their logs. It is a
85
+ > **launcher**: it computes no statistic and never takes the pipeline lock, so
86
+ > every verdict on the page is the readout's own. `0.6.1` adds the first half of
87
+ > the `abk plan` sizing interstitial: a CUPED comparison is sized on the
88
+ > covariate correlation its own results row already persists, so required-N is
89
+ > `(1 − ρ²)×` the old raw-variance bound). The statistical core, the
90
+ > declarative config / DB / pipeline layer, the explore cockpit +
91
+ > self-contained reports, `abk validate` (numpy-vectorized — minutes → sub-seconds),
89
92
  > opt-in sequential analysis + `abk plan`, and the DX layer (`abk init-claude`, docs site,
90
93
  > Prefect scaffolding) are all shipped. Docs: [abkit.pipelab.dev](https://abkit.pipelab.dev).
91
94
 
@@ -96,10 +99,9 @@ pip install ab-analysis-kit # Python 3.10+; add a DB extra for real dat
96
99
  pip install "ab-analysis-kit[clickhouse]" # or [postgres] / [mysql] / [all-db]
97
100
  ```
98
101
 
99
- (`0.5.0`'s renamed window fields + explore fixes land with its tag; until then
100
- `pip install ab-analysis-kit` gets `0.4.0`, which still expects
101
- `start_date`/`end_date` — for the M10 behavior install from source:
102
- `pip install -e ".[dev]"`.)
102
+ (`pip install ab-analysis-kit` gets `0.6.0` — `abk dashboard` included. `0.6.1`'s
103
+ CUPED-aware `abk plan` sizing lands with its tag; until then install from source
104
+ for it: `pip install -e ".[dev]"`.)
103
105
 
104
106
  `abk --version` and `abk --help` work with no database driver; you can even lint a
105
107
  config (`abk run --steps validate`) with no database at all. See the
@@ -115,6 +117,11 @@ config (`abk run --steps validate`) with no database at all. See the
115
117
  correction. Ported from a battle-tested legacy engine and improved deliberately.
116
118
  - **The cumulative stabilization chart** — effect + CI per day from experiment
117
119
  start, so you see the estimate converge and call a winner only once it stabilizes.
120
+ - **`abk dashboard`** — the project-level cockpit: every experiment as one row
121
+ (verdict, effect + CI, p/α, sparkline), with Run / Unlock / Clean / Explore /
122
+ Open-report buttons that spawn real `abk` subprocesses and stream their logs.
123
+ It never computes a statistic itself, so what you read is the readout's own
124
+ verdict.
118
125
  - **`abk explore`** — a local, chart-first cockpit to turn method knobs (CUPED,
119
126
  stratification, alpha…) and watch the result recompute live, with A/A calibration
120
127
  always in view. *The priority interface.*
@@ -11,16 +11,19 @@ stabilization chart), writes them to a clean warehouse table any BI can read, an
11
11
  gives you a local cockpit to tune the analysis and a harness to prove your method is
12
12
  actually calibrated.
13
13
 
14
- > **Status: `0.5.0` (Alpha) — release-ready; `0.4.0` is the latest on PyPI**
15
- > (milestones **M1–M10** shipped — M10 makes an experiment's window a pair of
16
- > real timestamps (`start_ts`/`horizon_ts`, with `interval_anchor` deciding
17
- > where the cutoff lattice sits), collects both breaking schema changes of the
18
- > polish track into this one release with a single recreate instruction, and
19
- > fixes two live `abk explore` defects: a knob turn no longer queues behind a
20
- > Reload or Auto-validate, and dragging alpha over a bootstrap series stops
21
- > redrawing the replicates — 6.01 s → 1.01 s over six turns). The
22
- > statistical core, the declarative config / DB / pipeline layer, the explore cockpit +
23
- > self-contained reports, `abk validate` (now numpy-vectorized — minutes → sub-seconds),
14
+ > **Status: `0.6.1` (Alpha) — release-ready; `0.6.0` is the latest on PyPI**
15
+ > (milestones **M1–M11** shipped — M11 added **`abk dashboard`**, the
16
+ > project-level cockpit: one row per experiment with its headline verdict,
17
+ > effect + CI, p/α and a sparkline of the cumulative series, plus buttons that
18
+ > spawn real `abk` subprocesses (Run — for the whole experiment or one metric —
19
+ > Unlock, Clean, Explore, Open report) and stream their logs. It is a
20
+ > **launcher**: it computes no statistic and never takes the pipeline lock, so
21
+ > every verdict on the page is the readout's own. `0.6.1` adds the first half of
22
+ > the `abk plan` sizing interstitial: a CUPED comparison is sized on the
23
+ > covariate correlation its own results row already persists, so required-N is
24
+ > `(1 − ρ²)×` the old raw-variance bound). The statistical core, the
25
+ > declarative config / DB / pipeline layer, the explore cockpit +
26
+ > self-contained reports, `abk validate` (numpy-vectorized — minutes → sub-seconds),
24
27
  > opt-in sequential analysis + `abk plan`, and the DX layer (`abk init-claude`, docs site,
25
28
  > Prefect scaffolding) are all shipped. Docs: [abkit.pipelab.dev](https://abkit.pipelab.dev).
26
29
 
@@ -31,10 +34,9 @@ pip install ab-analysis-kit # Python 3.10+; add a DB extra for real dat
31
34
  pip install "ab-analysis-kit[clickhouse]" # or [postgres] / [mysql] / [all-db]
32
35
  ```
33
36
 
34
- (`0.5.0`'s renamed window fields + explore fixes land with its tag; until then
35
- `pip install ab-analysis-kit` gets `0.4.0`, which still expects
36
- `start_date`/`end_date` — for the M10 behavior install from source:
37
- `pip install -e ".[dev]"`.)
37
+ (`pip install ab-analysis-kit` gets `0.6.0` — `abk dashboard` included. `0.6.1`'s
38
+ CUPED-aware `abk plan` sizing lands with its tag; until then install from source
39
+ for it: `pip install -e ".[dev]"`.)
38
40
 
39
41
  `abk --version` and `abk --help` work with no database driver; you can even lint a
40
42
  config (`abk run --steps validate`) with no database at all. See the
@@ -50,6 +52,11 @@ config (`abk run --steps validate`) with no database at all. See the
50
52
  correction. Ported from a battle-tested legacy engine and improved deliberately.
51
53
  - **The cumulative stabilization chart** — effect + CI per day from experiment
52
54
  start, so you see the estimate converge and call a winner only once it stabilizes.
55
+ - **`abk dashboard`** — the project-level cockpit: every experiment as one row
56
+ (verdict, effect + CI, p/α, sparkline), with Run / Unlock / Clean / Explore /
57
+ Open-report buttons that spawn real `abk` subprocesses and stream their logs.
58
+ It never computes a statistic itself, so what you read is the readout's own
59
+ verdict.
53
60
  - **`abk explore`** — a local, chart-first cockpit to turn method knobs (CUPED,
54
61
  stratification, alpha…) and watch the result recompute live, with A/A calibration
55
62
  always in view. *The priority interface.*
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ab-analysis-kit
3
- Version: 0.5.0
3
+ Version: 0.6.1
4
4
  Summary: A/B experiment analysis as declarative YAML + SQL
5
5
  Author: ab-analysis-kit authors
6
6
  License: MIT
@@ -76,16 +76,19 @@ stabilization chart), writes them to a clean warehouse table any BI can read, an
76
76
  gives you a local cockpit to tune the analysis and a harness to prove your method is
77
77
  actually calibrated.
78
78
 
79
- > **Status: `0.5.0` (Alpha) — release-ready; `0.4.0` is the latest on PyPI**
80
- > (milestones **M1–M10** shipped — M10 makes an experiment's window a pair of
81
- > real timestamps (`start_ts`/`horizon_ts`, with `interval_anchor` deciding
82
- > where the cutoff lattice sits), collects both breaking schema changes of the
83
- > polish track into this one release with a single recreate instruction, and
84
- > fixes two live `abk explore` defects: a knob turn no longer queues behind a
85
- > Reload or Auto-validate, and dragging alpha over a bootstrap series stops
86
- > redrawing the replicates — 6.01 s → 1.01 s over six turns). The
87
- > statistical core, the declarative config / DB / pipeline layer, the explore cockpit +
88
- > self-contained reports, `abk validate` (now numpy-vectorized — minutes → sub-seconds),
79
+ > **Status: `0.6.1` (Alpha) — release-ready; `0.6.0` is the latest on PyPI**
80
+ > (milestones **M1–M11** shipped — M11 added **`abk dashboard`**, the
81
+ > project-level cockpit: one row per experiment with its headline verdict,
82
+ > effect + CI, p/α and a sparkline of the cumulative series, plus buttons that
83
+ > spawn real `abk` subprocesses (Run — for the whole experiment or one metric —
84
+ > Unlock, Clean, Explore, Open report) and stream their logs. It is a
85
+ > **launcher**: it computes no statistic and never takes the pipeline lock, so
86
+ > every verdict on the page is the readout's own. `0.6.1` adds the first half of
87
+ > the `abk plan` sizing interstitial: a CUPED comparison is sized on the
88
+ > covariate correlation its own results row already persists, so required-N is
89
+ > `(1 − ρ²)×` the old raw-variance bound). The statistical core, the
90
+ > declarative config / DB / pipeline layer, the explore cockpit +
91
+ > self-contained reports, `abk validate` (numpy-vectorized — minutes → sub-seconds),
89
92
  > opt-in sequential analysis + `abk plan`, and the DX layer (`abk init-claude`, docs site,
90
93
  > Prefect scaffolding) are all shipped. Docs: [abkit.pipelab.dev](https://abkit.pipelab.dev).
91
94
 
@@ -96,10 +99,9 @@ pip install ab-analysis-kit # Python 3.10+; add a DB extra for real dat
96
99
  pip install "ab-analysis-kit[clickhouse]" # or [postgres] / [mysql] / [all-db]
97
100
  ```
98
101
 
99
- (`0.5.0`'s renamed window fields + explore fixes land with its tag; until then
100
- `pip install ab-analysis-kit` gets `0.4.0`, which still expects
101
- `start_date`/`end_date` — for the M10 behavior install from source:
102
- `pip install -e ".[dev]"`.)
102
+ (`pip install ab-analysis-kit` gets `0.6.0` — `abk dashboard` included. `0.6.1`'s
103
+ CUPED-aware `abk plan` sizing lands with its tag; until then install from source
104
+ for it: `pip install -e ".[dev]"`.)
103
105
 
104
106
  `abk --version` and `abk --help` work with no database driver; you can even lint a
105
107
  config (`abk run --steps validate`) with no database at all. See the
@@ -115,6 +117,11 @@ config (`abk run --steps validate`) with no database at all. See the
115
117
  correction. Ported from a battle-tested legacy engine and improved deliberately.
116
118
  - **The cumulative stabilization chart** — effect + CI per day from experiment
117
119
  start, so you see the estimate converge and call a winner only once it stabilizes.
120
+ - **`abk dashboard`** — the project-level cockpit: every experiment as one row
121
+ (verdict, effect + CI, p/α, sparkline), with Run / Unlock / Clean / Explore /
122
+ Open-report buttons that spawn real `abk` subprocesses and stream their logs.
123
+ It never computes a statistic itself, so what you read is the readout's own
124
+ verdict.
118
125
  - **`abk explore`** — a local, chart-first cockpit to turn method knobs (CUPED,
119
126
  stratification, alpha…) and watch the result recompute live, with A/A calibration
120
127
  always in view. *The priority interface.*
@@ -34,6 +34,7 @@ abkit/cli/assets/claude/skills/abk-validate/SKILL.md
34
34
  abkit/cli/commands/__init__.py
35
35
  abkit/cli/commands/_context.py
36
36
  abkit/cli/commands/clean.py
37
+ abkit/cli/commands/dashboard.py
37
38
  abkit/cli/commands/explore.py
38
39
  abkit/cli/commands/init.py
39
40
  abkit/cli/commands/init_claude.py
@@ -145,11 +146,15 @@ abkit/stats/sequential/confidence_sequence.py
145
146
  abkit/stats/sequential/mixture.py
146
147
  abkit/tuning/__init__.py
147
148
  abkit/tuning/config_writer.py
149
+ abkit/tuning/dashboard_server.py
148
150
  abkit/tuning/html.py
151
+ abkit/tuning/jobs.py
152
+ abkit/tuning/overview.py
149
153
  abkit/tuning/payload.py
150
154
  abkit/tuning/recompute.py
151
155
  abkit/tuning/server.py
152
156
  abkit/tuning/session.py
157
+ abkit/tuning/assets/dashboard.js
153
158
  abkit/tuning/assets/explore.js
154
159
  abkit/utils/__init__.py
155
160
  abkit/utils/datetime_utils.py
@@ -10,7 +10,7 @@ from __future__ import annotations
10
10
 
11
11
  from typing import Any
12
12
 
13
- __version__ = "0.5.0"
13
+ __version__ = "0.6.1"
14
14
 
15
15
  #: Symbols re-exported lazily from ``abkit.stats`` (PEP 562) so importing
16
16
  #: ``abkit`` for ``__version__`` (the CLI path) stays numpy-free and fast.
@@ -34,7 +34,7 @@ files are installed by `abk init-claude` and track the installed abkit version
34
34
  | If the task is about… | Read |
35
35
  |---|---|
36
36
  | What abkit is, the `load → compute → readout` pipeline, the `_ab_*` tables, glossary | `.claude/rules/ab-analysis-kit/overview.md` |
37
- | `abk` commands, `--select`/`--metric`/`--method` selectors, `--from`/`--to`, `--full-refresh`, locks, `abk clean`, `abk test-report` | `.claude/rules/ab-analysis-kit/cli.md` |
37
+ | `abk` commands, `--select`/`--metric`/`--method` selectors, `--from`/`--to`, `--full-refresh`, locks, `abk clean`, `abk test-report`, the project dashboard (`abk dashboard`) | `.claude/rules/ab-analysis-kit/cli.md` |
38
38
  | `abkit_project.yml`, `profiles.yml`, DB connections, statistical defaults, two-tier alpha, `notification_channels` | `.claude/rules/ab-analysis-kit/project.md` |
39
39
  | An experiment YAML: variants, comparisons, cadence/horizon, SRM, the sequential toggle | `.claude/rules/ab-analysis-kit/experiments.md` |
40
40
  | A reusable metric YAML: `type` (sample/fraction/ratio), column roles, one-row-per-unit SQL, CUPED covariate | `.claude/rules/ab-analysis-kit/metrics.md` |
@@ -13,6 +13,7 @@ task = one `abk` invocation), so a broken run fails the job instead of exiting 0
13
13
  | `abk init-claude` | (Re)install this AI context: managed `CLAUDE.md` block + `.claude/rules/ab-analysis-kit/` + `.claude/skills/` |
14
14
  | `abk run --select <exp>` | Run the load → compute → readout pipeline for an experiment |
15
15
  | `abk explore --select <exp>` | Serve the interactive cockpit — tune the method live, write it back (see `explore.md`) |
16
+ | `abk dashboard` | Serve the project-level cockpit: one row per experiment, buttons that spawn `abk` commands |
16
17
  | `abk validate --select <exp>` | The A/A false-positive + power matrix — is a method calibrated on this data? (see `validate.md`) |
17
18
  | `abk plan --select <exp>` | Read-only pre-launch sizing: required-N / achievable-MDE / power (see `plan.md`) |
18
19
  | `abk unlock --select <exp>` | Clear a stuck pipeline / validate lock |
@@ -29,18 +30,20 @@ experiment references reusable metrics:
29
30
  - **`--select` / `-s` selects an EXPERIMENT** (`experiments/<name>.yml`). Forms:
30
31
  bare **name** (`example_signup_test` — do NOT add `.yml`), **path / glob**
31
32
  (`"experiments/checkout/*.yml"`, `"signup_*"`), **tag** (`tag:actual`), and
32
- `"*"` for all. Repeatable. `run`/`validate`/`plan`/`unlock`/`clean` default to
33
- **all experiments** when `--select` is omitted; `explore` requires exactly one.
33
+ `"*"` for all. Repeatable. `run`/`validate`/`plan`/`unlock`/`clean`/`dashboard`
34
+ default to **all experiments** when `--select` is omitted; `explore` requires
35
+ exactly one.
34
36
  - **`--metric <name>` selects a LIBRARY metric** within the chosen experiment(s)
35
- — a single metric name, never a glob. It narrows `run`-adjacent commands to one
36
- comparison (`explore`, `validate`, `plan`).
37
+ — a single metric name, never a glob. It narrows a command to that metric's
38
+ comparison(s) (`run`, `explore`, `validate`, `plan`, `verify-incremental`).
37
39
  - **`--method <name>` (validate only) is the method-grid axis** — an extra
38
40
  registered method to score *beyond* the declared comparison. It is NOT a
39
41
  selector; do not confuse it with `--select`.
40
42
 
41
43
  Experiment AND metric names share ONE global namespace and are the DB key —
42
44
  selection/uniqueness errors name the namespace and the colliding file. `--exclude`
43
- (on `run`) removes matches (`--select "*" --exclude "experiments/staging/*"`).
45
+ (on `run` and `dashboard`) removes matches
46
+ (`--select "*" --exclude "experiments/staging/*"`).
44
47
 
45
48
  ## `abk init`
46
49
 
@@ -70,7 +73,8 @@ to refresh this context.
70
73
  ## `abk run`
71
74
 
72
75
  ```bash
73
- abk run [--select <exp>] [--exclude <sel>] [--steps validate,plan,load,state,compute] \
76
+ abk run [--select <exp>] [--exclude <sel>] [--metric <m>] \
77
+ [--steps validate,plan,load,state,compute] \
74
78
  [--from TS] [--to TS] [--full-refresh] [--resync-cohort] [--workers N] \
75
79
  [--report [PATH]] [--force] [--profile NAME]
76
80
  ```
@@ -85,6 +89,22 @@ It is incremental by
85
89
  an anti-join — only cutoffs past the `data_lag` watermark and not already computed
86
90
  are (re)computed, so re-running is idempotent.
87
91
 
92
+ - `--metric <m>` (0.6.0) — recompute only that metric's comparison(s); the same
93
+ metric axis `explore`/`validate`/`plan`/`verify-incremental` take. Other
94
+ metrics' **results** are left exactly as they are, and the **alphas do not
95
+ move** (the two-tier scheme comes from the config, not from what one run
96
+ computes). `--full-refresh --metric <m>` is the "reprocess just this metric"
97
+ path. Day state is the one thing a narrowed run may still touch elsewhere,
98
+ because a stale-but-contiguous day is invisible to the reader's gap check: a
99
+ scoped `--full-refresh` TRUNCATES the other eligible metrics' day state from
100
+ the first day the window touches through the end of that series (not
101
+ re-rendered — reads fall back to recompute until a run that includes them
102
+ re-derives it), and in copy mode `--resync-cohort` rebuilds the whole cohort so
103
+ day state is re-materialized for every eligible metric. Both follow the `state`
104
+ step (omit it from `--steps` and no day state is touched), both are decided PER
105
+ EXPERIMENT, and the run prints which applies. Only compute ever narrows them. The cohort load and the SRM gate stay
106
+ experiment-level. An experiment without that comparison is skipped with a
107
+ printed line; a metric matching nowhere is an error.
88
108
  - `--steps` (default `validate,plan,load,state,compute`) — comma-separated steps.
89
109
  **`--steps validate` alone is the config lint** (no DB, no lock): it parses the
90
110
  YAML, lints every metric SQL for the one-row-per-unit contract and the cohort
@@ -135,6 +155,46 @@ without launching a browser. Takes no pipeline lock (it only edits a config file
135
155
  re-run `abk run` afterward to recompute under the new config. Full reference:
136
156
  `explore.md`.
137
157
 
158
+ ## `abk dashboard`
159
+
160
+ ```bash
161
+ abk dashboard [--select <sel>]... [--exclude <sel>]... [--window 24h|7d|30d|90d|all] \
162
+ [--no-open] [--profile NAME]
163
+ ```
164
+
165
+ The project-level cockpit (0.6.0): one row per selected experiment — headline
166
+ verdict, effect, p-value, last look and a sparkline — served on localhost with a
167
+ per-start token that authorizes EVERY request, `GET` included. The page boots on
168
+ metadata only and fills each row on demand (3 requests in flight), so a
169
+ hundred-experiment project renders instantly.
170
+
171
+ **A launcher, not a worker.** It runs no pipeline step, computes no statistic,
172
+ takes **no pipeline lock** and writes no config: verdicts come from the same
173
+ `readout.evaluate()` decision `abk run --report` bakes, and the Run / Explore /
174
+ Unlock / Clean buttons each spawn a real `abk` subprocess (inheriting
175
+ `--profile`), streaming its log into a job drawer. `run`/`unlock`/`clean` are
176
+ one-at-a-time project-wide (a second request is refused — they contend for the
177
+ pipeline lock); `explore` is exempt and deduped per experiment. Ctrl-C stops the
178
+ server and terminates every job it spawned.
179
+
180
+ - `--window` (default `30d`) bounds the **sparkline only** — every verdict,
181
+ effect and p-value is the FULL cumulative series' (dropping the oldest look
182
+ would truncate a stabilization history, not shorten the experiment). Switchable
183
+ on the page.
184
+ - `--exclude` removes matches from a broad `--select`, as on `abk run`.
185
+ - Configs are read ONCE at boot: restart after editing an experiment YAML.
186
+ - A project that has never run serves fine — every row reads `no data — press
187
+ Run`, and nothing here creates internal schema.
188
+ - **Read-only YAML.** `Show YAML` prints the file + its path for you to open in
189
+ your editor; there is no save endpoint. The config-writing surface is
190
+ `abk explore`'s Apply.
191
+ - **The URL is a credential** — whoever has it can spawn `abk run`/`abk clean`
192
+ in your project. Localhost-bound; do not share it or forward the port.
193
+
194
+ An empty selection warns and exits 0 without serving; an unknown `--window` is a
195
+ non-zero startup error, raised before the port is bound. Full reference:
196
+ https://abkit.pipelab.dev/guides/dashboard/.
197
+
138
198
  ## `abk validate`
139
199
 
140
200
  ```bash
@@ -264,6 +324,9 @@ abk run --select example_signup_test --report
264
324
 
265
325
  # Reprocess after changing a metric query or a method param
266
326
  abk run --select example_signup_test --full-refresh --from 2024-07-01 --to 2024-07-15
327
+ # ...or only the metric that changed (the other series keep their rows)
328
+ abk run --select example_signup_test --metric example_arpu \
329
+ --full-refresh --from 2024-07-01 --to 2024-07-15
267
330
  abk clean --select example_signup_test # dry-run: preview orphaned rows
268
331
  abk clean --select example_signup_test --execute # then prune them
269
332
 
@@ -272,6 +335,9 @@ abk plan --select example_signup_test --mde 0.05
272
335
  abk validate --select example_signup_test
273
336
  abk explore --select example_signup_test
274
337
 
338
+ # Watch the whole portfolio (and drive it) from one page
339
+ abk dashboard --select tag:actual
340
+
275
341
  # Scheduled recompute of every experiment whose `tags:` list contains "actual" (cron / Prefect)
276
342
  abk run --select tag:actual
277
343
 
@@ -146,5 +146,8 @@ serve normally to tune.
146
146
  identity-param change, or BI shows duplicate stabilization lines.
147
147
  - **SRM still gates.** A tuned significant effect on an SRM-failed experiment is
148
148
  not trustworthy — the flag rides on the windshield; fix the assignment first.
149
+ - **One experiment at a time.** For the project-wide view — one row per
150
+ experiment, with a button that launches this cockpit — use `abk dashboard`
151
+ (`cli.md`). It tunes nothing itself.
149
152
 
150
153
  > Installed by `abk init-claude`; tracks the installed abkit version.
@@ -161,7 +161,10 @@ validate` colours **this** metric's FPR against, overriding the project-wide
161
161
 
162
162
  - **Changing the SQL** changes what is loaded but not stored history; recompute
163
163
  the window with `abk run --select <exp> --full-refresh --from <start> --to <end>`
164
- (`--full-refresh` requires both bounds).
164
+ (`--full-refresh` requires both bounds). Add `--metric <this metric>` (0.6.0) to
165
+ reprocess only this series: the experiment's other metrics keep their results
166
+ (their day state is truncated from the first day the window touches onward,
167
+ so a later run re-derives it from the current facts).
165
168
  - Metric results are keyed by the method identity (`method_config_id`), which
166
169
  lives on the **experiment's comparison**, not here — see `methods.md`. Editing
167
170
  an identity param orphans the prior result series (`abk clean` prunes).
@@ -38,7 +38,8 @@ Every `abk run` executes three stages per experiment:
38
38
  skipped (anti-join on `end_ts`, honoring `data_lag`).
39
39
  3. **readout** — recomputes the WIN / LOSE / FLAT / INCONCLUSIVE verdict at
40
40
  render time from `_ab_results` (never persisted), applies two-tier alpha and
41
- the SRM/horizon gates. Emitted by `abk run --report`, `abk explore`.
41
+ the SRM/horizon gates. Emitted by `abk run --report`, `abk explore`, and
42
+ `abk dashboard` (one row per experiment, plus the same report on demand).
42
43
 
43
44
  Run a subset of stages with `--steps` (e.g. `abk run --steps validate` is the
44
45
  **config lint** — do not confuse it with `abk validate`, the A/A matrix).
@@ -60,10 +60,15 @@ power formula:
60
60
  `abk validate --inject-effect` instead → SKIPPED.
61
61
  - **paired** designs — SKIPPED.
62
62
 
63
- **CUPED** (`cuped-t-test`) *is* sized, but on the **raw** persisted variance (the
64
- covariate correlation ρ is not persisted per row). This is a **conservative upper
65
- bound** on required-N — the real CUPED-deflated N is lower; the plan flags this
66
- with a `⚠ sized on RAW variance` note.
63
+ **CUPED** (`cuped-t-test`) is sized on its **own covariate correlation**: rows have
64
+ persisted `corr_coef_1/2` since `0.4.0`, so required-N is `(1 − ρ²)×` the
65
+ raw-variance number and the note names the ρ it used. Three cases fall back to the
66
+ raw variance, each saying which: **no ρ on the row** (written before `0.4.0` — the
67
+ number is then a conservative upper bound), **ρ = 0** (a measurement: this covariate
68
+ reduces nothing), and **`1 − ρ² < 1e-12`** (the covariate reproduces the metric — a
69
+ leak or a synthetic fixture; a deflated N would be rounding noise). Pass
70
+ `corr=` inside `--baseline` to size a never-run experiment; it is accepted only on a
71
+ comparison whose method actually applies a covariate.
67
72
 
68
73
  ## Reading the output
69
74
 
@@ -78,7 +83,8 @@ than crashing the plan.
78
83
  │ target MDE 5.00% → required 25,580/arm ✗ underpowered · power@MDE 0.06 · achievable MDE 49.26%
79
84
  │ example_arpu [secondary · cuped-t-test · relative] — baseline mean=62.86 std=42 · n=300/300 (persisted @ …)
80
85
  │ target MDE 5.00% → required 2,804/arm ✗ underpowered · power@MDE 0.15 · achievable MDE 15.31%
81
- │ ⚠ sized on RAW variance — CUPED (ρ not persisted) lowers required-N further
86
+ │ ⚠ sized on RAW variance — ρ = 1 leaves no usable residual variance (the covariate
87
+ │ reproduces the metric), so a deflated required-N would be rounding noise
82
88
  └─ looks: 14 planned · cadence 1d · horizon 2024-07-15 · ~28 _ab_results rows/full-refresh
83
89
  ```
84
90
 
@@ -192,7 +192,10 @@ abk run --select <experiment> --steps load
192
192
  Editing a metric's SQL later changes what is loaded but not stored history —
193
193
  recompute the affected cutoffs with `abk run --select <experiment>
194
194
  --full-refresh --from <start> --to <end>` (`--full-refresh` requires both
195
- `--from` and an exclusive `--to`).
195
+ `--from` and an exclusive `--to`). Since 0.6.0, add `--metric <this metric>` to
196
+ reprocess only this series: the experiment's other metrics keep their rows (their
197
+ day state is truncated from the first day the window touches onward, so a later
198
+ run re-derives it), and the two-tier alphas are unchanged either way.
196
199
 
197
200
  ## Step 7 — Report and hand off
198
201
 
@@ -94,8 +94,8 @@ Per comparison the tree prints a line like:
94
94
 
95
95
  ```
96
96
  arpu [main · cuped-t-test · relative] — baseline mean=12.5 std=8 · n=5000/5000 (persisted @ 2024-07-14…)
97
- target MDE 3.00% → required 7,842/arm ✗ underpowered · power@MDE 0.62 · achievable MDE 4.10%
98
- ⚠ sized on RAW variance — CUPED (ρ not persisted) lowers required-N further
97
+ target MDE 3.00% → required 5,885/arm ✗ underpowered · power@MDE 0.73 · achievable MDE 3.25%
98
+ ⚠ sized on CUPED-deflated variance (ρ = 0.42) — required-N is 0.824× the raw-variance bound
99
99
  ```
100
100
 
101
101
  Interpret it:
@@ -126,10 +126,16 @@ is omitted and only the achievable MDE is shown — pass `--mde` or set `min_eff
126
126
  | **paired design** | Paired methods aren't sized here | Size the unpaired analogue as a bound |
127
127
  | **no baseline** | No persisted rows and no `--baseline` | Run `abk run` first, or pass `--baseline` (Step 2) |
128
128
 
129
- **CUPED caveat:** a `cuped-t-test` is sized on the **raw** persisted variance (the
130
- covariate correlation ρ isn't stored per row), so its required-N is a *conservative
131
- upper bound* — real CUPED needs fewer units. The `⚠ sized on RAW variance` note flags
132
- this; tell the user the true requirement is lower.
129
+ **CUPED sizing (0.6.x):** a `cuped-t-test` is sized on its **own** covariate
130
+ correlation — rows have persisted `corr_coef_1/2` since `0.4.0` — so required-N is
131
+ `(1 − ρ²)×` the raw-variance number and the note names the ρ. Read the fallback notes
132
+ literally, they mean different things: *no ρ on the row* (a pre-`0.4.0` row ⇒ the
133
+ number is a conservative upper bound, tell the user the true requirement is lower),
134
+ *ρ = 0* (a real measurement — this covariate reduces nothing), and *ρ leaves no usable
135
+ residual variance* (the covariate reproduces the metric — a leak or a synthetic
136
+ fixture; investigate the covariate rather than trusting either number). For a never-run
137
+ experiment you can supply it: `--baseline <metric>:mean=..,std=..,n=..,corr=0.6` —
138
+ accepted only on a comparison whose method actually applies a covariate.
133
139
 
134
140
  ## Step 5 — Act on the result
135
141