errorbars 0.2.2__tar.gz → 0.2.3__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.
- {errorbars-0.2.2 → errorbars-0.2.3}/CHANGELOG.md +30 -0
- {errorbars-0.2.2 → errorbars-0.2.3}/PKG-INFO +35 -29
- {errorbars-0.2.2 → errorbars-0.2.3}/README.md +32 -28
- {errorbars-0.2.2 → errorbars-0.2.3}/pyproject.toml +4 -2
- {errorbars-0.2.2 → errorbars-0.2.3}/src/errorbars/__init__.py +1 -1
- {errorbars-0.2.2 → errorbars-0.2.3}/.gitignore +0 -0
- {errorbars-0.2.2 → errorbars-0.2.3}/LICENSE +0 -0
- {errorbars-0.2.2 → errorbars-0.2.3}/docs/formulas.md +0 -0
- {errorbars-0.2.2 → errorbars-0.2.3}/src/errorbars/_tables.py +0 -0
- {errorbars-0.2.2 → errorbars-0.2.3}/src/errorbars/adapters/__init__.py +0 -0
- {errorbars-0.2.2 → errorbars-0.2.3}/src/errorbars/adapters/inspect_ai.py +0 -0
- {errorbars-0.2.2 → errorbars-0.2.3}/src/errorbars/adapters/lm_eval.py +0 -0
- {errorbars-0.2.2 → errorbars-0.2.3}/src/errorbars/cli.py +0 -0
- {errorbars-0.2.2 → errorbars-0.2.3}/src/errorbars/compare.py +0 -0
- {errorbars-0.2.2 → errorbars-0.2.3}/src/errorbars/inputs.py +0 -0
- {errorbars-0.2.2 → errorbars-0.2.3}/src/errorbars/io.py +0 -0
- {errorbars-0.2.2 → errorbars-0.2.3}/src/errorbars/leaderboard.py +0 -0
- {errorbars-0.2.2 → errorbars-0.2.3}/src/errorbars/plot.py +0 -0
- {errorbars-0.2.2 → errorbars-0.2.3}/src/errorbars/power.py +0 -0
- {errorbars-0.2.2 → errorbars-0.2.3}/src/errorbars/py.typed +0 -0
- {errorbars-0.2.2 → errorbars-0.2.3}/src/errorbars/stats.py +0 -0
|
@@ -2,6 +2,36 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project are documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.2.3] - 2026-10-03
|
|
6
|
+
|
|
7
|
+
### Compatibility
|
|
8
|
+
|
|
9
|
+
- Python 3.13 and 3.14 are tested and declared. CI runs the suite on 3.14
|
|
10
|
+
as well, and the package's classifiers list both versions. The code is
|
|
11
|
+
unchanged: with the newest release of every dependency, the tests pass on
|
|
12
|
+
3.14 and on 3.15's release candidate.
|
|
13
|
+
|
|
14
|
+
The rest of this release is in the web demo; the package is otherwise
|
|
15
|
+
unchanged.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- The page's fonts are served by the page itself. They came from Google Fonts,
|
|
20
|
+
the one request the page made to another origin; the same font files (every
|
|
21
|
+
subset, as Google serves them to a current browser) are now in
|
|
22
|
+
`web/src/fonts/`, with their SIL Open Font License texts. Nothing looks
|
|
23
|
+
different: screenshots before and after match. The page now loads with
|
|
24
|
+
every other host blocked.
|
|
25
|
+
|
|
26
|
+
### Security
|
|
27
|
+
|
|
28
|
+
- The built page carries a Content-Security-Policy. Scripts, styles, fonts and
|
|
29
|
+
workers load from the page's own origin only, and `connect-src 'self'` has
|
|
30
|
+
the browser refuse to send what you give the page to any other host, even
|
|
31
|
+
for a script injected through a bug in how the page renders a file. Inline
|
|
32
|
+
event handlers and `eval` are not allowed. Every control was exercised
|
|
33
|
+
in Chromium and Firefox with a listener for policy violations: none.
|
|
34
|
+
|
|
5
35
|
## [0.2.2] - 2026-10-02
|
|
6
36
|
|
|
7
37
|
Files and pipes as Windows and spreadsheets make them.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: errorbars
|
|
3
|
-
Version: 0.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
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
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
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
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
|
|
@@ -85,26 +85,23 @@ errorbars summarize examples/data/reading_comprehension.csv --model tuned-70b
|
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
```
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
│ clustered SE │ 0.0372 │
|
|
106
|
-
│ clustered CI │ [0.6148, 0.7652] │
|
|
107
|
-
└───────────────┴──────────────────┘
|
|
88
|
+
summarize: tuned-70b
|
|
89
|
+
metric value
|
|
90
|
+
------ ----------------
|
|
91
|
+
n 200
|
|
92
|
+
mean 0.6900
|
|
93
|
+
SE 0.0328
|
|
94
|
+
95% CI [0.6257, 0.7543]
|
|
95
|
+
method clt
|
|
96
|
+
|
|
97
|
+
clustering diagnostics
|
|
98
|
+
metric value
|
|
99
|
+
------------- ----------------
|
|
100
|
+
n clusters 40
|
|
101
|
+
ICC 0.0710
|
|
102
|
+
design effect 1.284
|
|
103
|
+
clustered SE 0.0372
|
|
104
|
+
clustered CI [0.6148, 0.7652]
|
|
108
105
|
```
|
|
109
106
|
|
|
110
107
|
```bash
|
|
@@ -162,14 +159,21 @@ errorbars compare out/sshleifer__tiny-gpt2 out/hf-internal-testing__tiny-random-
|
|
|
162
159
|
```
|
|
163
160
|
|
|
164
161
|
```
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
162
|
+
compare: sshleifer/tiny-gpt2 vs hf-internal-testing/tiny-random-gpt2
|
|
163
|
+
metric value
|
|
164
|
+
----------------------------------------------------- -----------------
|
|
165
|
+
n (shared questions) 20
|
|
166
|
+
mean(sshleifer/tiny-gpt2) 0.6000
|
|
167
|
+
mean(hf-internal-testing/tiny-random-gpt2) 0.8000
|
|
168
|
+
mean diff (A - B) -0.2000
|
|
169
|
+
paired SE 0.1376
|
|
170
|
+
95% CI [-0.4881, 0.0881]
|
|
171
|
+
p-value 0.1625
|
|
172
|
+
correlation(A, B) 0.1021
|
|
173
|
+
unpaired SE (for reference) 0.1451
|
|
174
|
+
variance reduction from pairing 10.0%
|
|
175
|
+
McNemar discordant (A wrong/B right, A right/B wrong) 6 / 2
|
|
176
|
+
McNemar exact p-value 0.2891
|
|
173
177
|
```
|
|
174
178
|
|
|
175
179
|
That is a real run, committed under `tests/fixtures/lm_eval_output/` (two tiny models, 20 COPA
|
|
@@ -32,7 +32,7 @@ include = ["/src", "/docs/*.md", "/README.md", "/CHANGELOG.md", "/LICENSE*", "/p
|
|
|
32
32
|
|
|
33
33
|
[project]
|
|
34
34
|
name = "errorbars"
|
|
35
|
-
version = "0.2.
|
|
35
|
+
version = "0.2.3"
|
|
36
36
|
description = "Error bars for LLM evals: standard errors, clustering, paired comparisons, leaderboards, and power analysis."
|
|
37
37
|
dynamic = ["readme"]
|
|
38
38
|
license = "MIT"
|
|
@@ -54,6 +54,8 @@ classifiers = [
|
|
|
54
54
|
"Programming Language :: Python :: 3.10",
|
|
55
55
|
"Programming Language :: Python :: 3.11",
|
|
56
56
|
"Programming Language :: Python :: 3.12",
|
|
57
|
+
"Programming Language :: Python :: 3.13",
|
|
58
|
+
"Programming Language :: Python :: 3.14",
|
|
57
59
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
58
60
|
"Typing :: Typed",
|
|
59
61
|
]
|
|
@@ -88,7 +90,7 @@ packages = ["src/errorbars"]
|
|
|
88
90
|
|
|
89
91
|
[dependency-groups]
|
|
90
92
|
dev = [
|
|
91
|
-
"pytest>=
|
|
93
|
+
"pytest>=9.0.3",
|
|
92
94
|
"pytest-cov>=5.0",
|
|
93
95
|
"ruff>=0.6",
|
|
94
96
|
"mypy>=1.10",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|