errorbars 0.2.2__py3-none-any.whl → 0.2.3__py3-none-any.whl

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.
errorbars/__init__.py CHANGED
@@ -13,7 +13,7 @@ from errorbars.stats import (
13
13
  within_between_variance,
14
14
  )
15
15
 
16
- __version__ = "0.2.2"
16
+ __version__ = "0.2.3"
17
17
 
18
18
  __all__ = [
19
19
  "__version__",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: errorbars
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Error bars for LLM evals: standard errors, clustering, paired comparisons, leaderboards, and power analysis.
5
5
  Project-URL: Homepage, https://antonsoo.github.io/errorbars/
6
6
  Project-URL: Repository, https://github.com/antonsoo/errorbars
@@ -16,6 +16,8 @@ Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.10
17
17
  Classifier: Programming Language :: Python :: 3.11
18
18
  Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
19
21
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
20
22
  Classifier: Typing :: Typed
21
23
  Requires-Python: >=3.10
@@ -123,26 +125,23 @@ errorbars summarize examples/data/reading_comprehension.csv --model tuned-70b
123
125
  ```
124
126
 
125
127
  ```
126
- summarize: tuned-70b
127
- ┏━━━━━━━━┳━━━━━━━━━━━━━━━━━━┓
128
- ┃ metric ┃ value ┃
129
- ┡━━━━━━━━╇━━━━━━━━━━━━━━━━━━┩
130
- │ n │ 200 │
131
- │ mean │ 0.6900 │
132
- │ SE │ 0.0328 │
133
- │ 95% CI │ [0.6257, 0.7543] │
134
- │ method │ clt │
135
- └────────┴──────────────────┘
136
- clustering diagnostics
137
- ┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┓
138
- ┃ metric ┃ value ┃
139
- ┡━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━┩
140
- │ n clusters │ 40 │
141
- │ ICC │ 0.0710 │
142
- │ design effect │ 1.284 │
143
- │ clustered SE │ 0.0372 │
144
- │ clustered CI │ [0.6148, 0.7652] │
145
- └───────────────┴──────────────────┘
128
+ summarize: tuned-70b
129
+ metric value
130
+ ------ ----------------
131
+ n 200
132
+ mean 0.6900
133
+ SE 0.0328
134
+ 95% CI [0.6257, 0.7543]
135
+ method clt
136
+
137
+ clustering diagnostics
138
+ metric value
139
+ ------------- ----------------
140
+ n clusters 40
141
+ ICC 0.0710
142
+ design effect 1.284
143
+ clustered SE 0.0372
144
+ clustered CI [0.6148, 0.7652]
146
145
  ```
147
146
 
148
147
  ```bash
@@ -200,14 +199,21 @@ errorbars compare out/sshleifer__tiny-gpt2 out/hf-internal-testing__tiny-random-
200
199
  ```
201
200
 
202
201
  ```
203
- │ n (shared questions) │ 20 │
204
- │ mean(sshleifer/tiny-gpt2) │ 0.6000 │
205
- │ mean(hf-internal-testing/tiny-random-gpt2) │ 0.8000 │
206
- │ mean diff (A - B) │ -0.2000 │
207
- │ paired SE │ 0.1376 │
208
- │ 95% CI │ [-0.4881, 0.0881] │
209
- │ p-value │ 0.1625 │
210
- │ McNemar discordant (A wrong/B right, A right/B wrong) │ 6 / 2 │
202
+ compare: sshleifer/tiny-gpt2 vs hf-internal-testing/tiny-random-gpt2
203
+ metric value
204
+ ----------------------------------------------------- -----------------
205
+ n (shared questions) 20
206
+ mean(sshleifer/tiny-gpt2) 0.6000
207
+ mean(hf-internal-testing/tiny-random-gpt2) 0.8000
208
+ mean diff (A - B) -0.2000
209
+ paired SE 0.1376
210
+ 95% CI [-0.4881, 0.0881]
211
+ p-value 0.1625
212
+ correlation(A, B) 0.1021
213
+ unpaired SE (for reference) 0.1451
214
+ variance reduction from pairing 10.0%
215
+ McNemar discordant (A wrong/B right, A right/B wrong) 6 / 2
216
+ McNemar exact p-value 0.2891
211
217
  ```
212
218
 
213
219
  That is a real run, committed under `tests/fixtures/lm_eval_output/` (two tiny models, 20 COPA
@@ -1,4 +1,4 @@
1
- errorbars/__init__.py,sha256=dj_qqbpED039RmkoOkwWf0GJ_Eg2b1cMWP3lyrXnucw,607
1
+ errorbars/__init__.py,sha256=Fnl9u0t5djf2VFdTl4Df8mIqKuZkAlqLbcQESV9AJac,607
2
2
  errorbars/_tables.py,sha256=d6o6zYEPfKwJ37pDLKcik5erF1gTSLVS8PP8lFpfu-E,4550
3
3
  errorbars/cli.py,sha256=-eThQ6pRMjF-Dc8DL3w33agZrmAry2Ry1EbUiPXj_mo,21141
4
4
  errorbars/compare.py,sha256=OZ8clRwaL6ek6KTBRN57_Q3utoIEMKULCKsY97dV-p4,6602
@@ -12,8 +12,8 @@ errorbars/stats.py,sha256=0PeQbrl6EQMnJpffUhD4iotONx7tjr_EMV1QFofWWlE,11970
12
12
  errorbars/adapters/__init__.py,sha256=XhWjHhf5OQrODBysnjKDAu_gjX_gY9qCVc6m0B5j1Z8,77
13
13
  errorbars/adapters/inspect_ai.py,sha256=IAgts_DH_piS7ihrVMqyQyIrHW3oPI5USJIkJSt5SD0,4276
14
14
  errorbars/adapters/lm_eval.py,sha256=PX51CzPzhWACK01_PHth4Xv6CeKd5sWWgPHoSTsLzpo,8656
15
- errorbars-0.2.2.dist-info/METADATA,sha256=lKseedyzK-mWUPGcBHPOkWMuQ_hbIy3r2ZIxHp9KQb8,18289
16
- errorbars-0.2.2.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
17
- errorbars-0.2.2.dist-info/entry_points.txt,sha256=4tLng6AuvkO_nJeSf4KDkgsGXsEqQcZGkIcjkdmG45E,49
18
- errorbars-0.2.2.dist-info/licenses/LICENSE,sha256=4mFEvoZz1pwXUSatjc2e14QxRk8LlxILeZ3HXsfttkc,1071
19
- errorbars-0.2.2.dist-info/RECORD,,
15
+ errorbars-0.2.3.dist-info/METADATA,sha256=B5ATucUfxNs_SOwO8rrQYtnTVeIoSadG4KwvMg64jK8,18134
16
+ errorbars-0.2.3.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
17
+ errorbars-0.2.3.dist-info/entry_points.txt,sha256=4tLng6AuvkO_nJeSf4KDkgsGXsEqQcZGkIcjkdmG45E,49
18
+ errorbars-0.2.3.dist-info/licenses/LICENSE,sha256=4mFEvoZz1pwXUSatjc2e14QxRk8LlxILeZ3HXsfttkc,1071
19
+ errorbars-0.2.3.dist-info/RECORD,,