tuieval 0.2.0.dev98__py3-none-any.whl → 0.2.0.dev99__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.
- tuieval/_version.py +2 -2
- tuieval/pta.py +5 -5
- {tuieval-0.2.0.dev98.dist-info → tuieval-0.2.0.dev99.dist-info}/METADATA +1 -1
- {tuieval-0.2.0.dev98.dist-info → tuieval-0.2.0.dev99.dist-info}/RECORD +7 -7
- {tuieval-0.2.0.dev98.dist-info → tuieval-0.2.0.dev99.dist-info}/WHEEL +0 -0
- {tuieval-0.2.0.dev98.dist-info → tuieval-0.2.0.dev99.dist-info}/entry_points.txt +0 -0
- {tuieval-0.2.0.dev98.dist-info → tuieval-0.2.0.dev99.dist-info}/licenses/LICENSE +0 -0
tuieval/_version.py
CHANGED
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '0.2.0.
|
|
22
|
-
__version_tuple__ = version_tuple = (0, 2, 0, '
|
|
21
|
+
__version__ = version = '0.2.0.dev99'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 2, 0, 'dev99')
|
|
23
23
|
|
|
24
24
|
__commit_id__ = commit_id = None
|
tuieval/pta.py
CHANGED
|
@@ -122,7 +122,7 @@ def bars(result, width=20, markup=True):
|
|
|
122
122
|
are proportional to tokens and time (the longest is the model that used most; shorter is better),
|
|
123
123
|
with how many times the leanest / fastest model's beside them; the A bar is the share of answers
|
|
124
124
|
right (longer is better, full only when every answer passed), then the share cut off at max_tokens in
|
|
125
|
-
orange (▓ in plain text) and "
|
|
125
|
+
orange (▓ in plain text) and "(n% truncated)" beside it. markup=False gives plain text."""
|
|
126
126
|
if not result["models"]:
|
|
127
127
|
return []
|
|
128
128
|
name_w = max(len(x["model"]) for x in result["models"])
|
|
@@ -145,7 +145,7 @@ def bars(result, width=20, markup=True):
|
|
|
145
145
|
cut = x.get("cut_pct") or 0
|
|
146
146
|
part = min(width - full, max(1, round(width * cut / 100))) if cut else 0
|
|
147
147
|
if cut: # after the accuracy, which stays aligned with the other rows'
|
|
148
|
-
num = f"{num:>6}
|
|
148
|
+
num = f"{num:>6} ({compare.pct(cut / 100)} truncated)"
|
|
149
149
|
else:
|
|
150
150
|
full = _blocks(width, x.get(measure), most[measure])
|
|
151
151
|
num = times(x.get(shown))
|
|
@@ -178,7 +178,7 @@ def left_out_lines(result):
|
|
|
178
178
|
def table(result):
|
|
179
179
|
"""(header, rows) for a plain table of the index."""
|
|
180
180
|
n = result["questions"] or 1
|
|
181
|
-
header = ["model", "tokens/answer", "time/answer", "answers right", "
|
|
181
|
+
header = ["model", "tokens/answer", "time/answer", "answers right", "truncated", "tok/s", "TTFT s", "memory GB"]
|
|
182
182
|
rows = [[x["model"], f"{round(x['tokens'] / n):,}" + (" ★" if x.get("fewest") else ""),
|
|
183
183
|
fmt_secs(x["total_s"] / n) + (" ★" if x.get("fastest") else ""),
|
|
184
184
|
f"{x['passed']}/{x['answers']}", f"{x.get('cut') or 0}/{x['answers']}",
|
|
@@ -216,8 +216,8 @@ def scope_note(result, models):
|
|
|
216
216
|
"P parsimony (tokens) and T time: bars as long as the tokens / time used (shorter is better), "
|
|
217
217
|
"and how many times the leanest / fastest model's (1.0×, ★ in the table). A accuracy: answers right "
|
|
218
218
|
"(longer is better)"
|
|
219
|
-
+ ("; orange
|
|
220
|
-
if any(x.get("cut") for x in result["models"]) else "."))
|
|
219
|
+
+ ("; orange, (n% truncated): answers cut off at max_tokens. They count as wrong, but the model ran "
|
|
220
|
+
"out of tokens rather than answering wrong." if any(x.get("cut") for x in result["models"]) else "."))
|
|
221
221
|
|
|
222
222
|
|
|
223
223
|
def for_engine(e, labels=None, packs=None, results_dir=None):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: tuieval
|
|
3
|
-
Version: 0.2.0.
|
|
3
|
+
Version: 0.2.0.dev99
|
|
4
4
|
Summary: Evaluate local and frontier LLMs on your own questions: accuracy, speed, tokens and PASS/FAIL verdicts, in the terminal.
|
|
5
5
|
Project-URL: Homepage, https://github.com/ashe-wb/tuieval
|
|
6
6
|
Project-URL: Issues, https://github.com/ashe-wb/tuieval/issues
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
tuieval/__init__.py,sha256=myVXVX7htbwezW6k3x_FuKgn1RSZ2WcTaDEMByGn6Wg,312
|
|
2
2
|
tuieval/__main__.py,sha256=E6Gls0DNz8GQK2K-kOUIx8cYhgANW_CH54VKrfCfs14,52
|
|
3
|
-
tuieval/_version.py,sha256=
|
|
3
|
+
tuieval/_version.py,sha256=EnjLNHE3-O1-hviWXp7HEQ3pbBMWrRtAx08ValpcMyA,535
|
|
4
4
|
tuieval/builtin.toml,sha256=Nwu7O0qFzcrDAxXO_VZtDPvjVwxZ29OtYOW0BPihZGs,4410
|
|
5
5
|
tuieval/cli.py,sha256=mr0o_ud6NctZeU4WIrh17x_uzEK0vTeCynGP0wrCeBY,4812
|
|
6
6
|
tuieval/client.py,sha256=wtACBVsngtWopWWhIc4bB6mEUEi31dvvDePN-PjmXbM,11122
|
|
@@ -14,7 +14,7 @@ tuieval/machines.py,sha256=t9tu6CZeXZON4EtOVnEwP4VtaynpVLf9Cz8TNjf7jtY,20124
|
|
|
14
14
|
tuieval/onboard.py,sha256=IYETVDWCCo9vF0Dtj4_rr9VanYeCky8PwP3-2g5A_l0,6215
|
|
15
15
|
tuieval/packs.py,sha256=ZgaZ1m2ePYvDjmddSc3nafnMEn7kTq9WcDpCaJSZleQ,12026
|
|
16
16
|
tuieval/profiles.py,sha256=soeLxjdB-l-OxSY8jZ4yjwfdSnsBV-QICcwKxRJS7nQ,3663
|
|
17
|
-
tuieval/pta.py,sha256=
|
|
17
|
+
tuieval/pta.py,sha256=lvcPZ-taIEu2RHo-IiWb31OYtmkoCrsdulrF4-T7Csk,13243
|
|
18
18
|
tuieval/remove.py,sha256=Vwh43nm9lVb9U9aN-h6CMYbkTwdR3UWfZObwweF72n0,5157
|
|
19
19
|
tuieval/run_evals.py,sha256=DN6FhC8Zj08N5pwlrCmlkbkTxA2vmT-G5sWJnp-S-AI,50114
|
|
20
20
|
tuieval/scaffold.py,sha256=YBOqniJpf_GtKKAFF3_OHxxMGbmTWdFjcClGcOnrrKE,12130
|
|
@@ -48,8 +48,8 @@ tuieval/templates/packs/tool_call/pack.toml,sha256=n4bx0lGJHSmW41uVqhfIXJ2BWZpmT
|
|
|
48
48
|
tuieval/templates/packs/tool_call/system.txt,sha256=mKxu-lB-0YjLHXdgeFJa8x2C180OvcNz5cHv2N5Bg3U,254
|
|
49
49
|
tuieval/templates/packs/tool_call/tests.yaml,sha256=Nv7c4syrzJ9cU8EBKSK_1ZSFx9V02aCjW4-2TBCPT7s,1859
|
|
50
50
|
tuieval/templates/packs/tool_call/tools.yaml,sha256=HgxCkh0On2VwbHSsjAGM8tNCK7ZtKLGrs7lMCn3Fprs,1048
|
|
51
|
-
tuieval-0.2.0.
|
|
52
|
-
tuieval-0.2.0.
|
|
53
|
-
tuieval-0.2.0.
|
|
54
|
-
tuieval-0.2.0.
|
|
55
|
-
tuieval-0.2.0.
|
|
51
|
+
tuieval-0.2.0.dev99.dist-info/METADATA,sha256=ulrRF0F1nVj2zmY3ds6cF6VpvOBOG3rOOjbZeyNxIT0,14580
|
|
52
|
+
tuieval-0.2.0.dev99.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
53
|
+
tuieval-0.2.0.dev99.dist-info/entry_points.txt,sha256=7eIhi1GpFxBP2OLJV02Nn8LwsNuO512eKOGt1IBbj04,45
|
|
54
|
+
tuieval-0.2.0.dev99.dist-info/licenses/LICENSE,sha256=7wfRgGtBGH1aXhZkIn47oUznqKC18kEPMvUVgol7Ffc,1077
|
|
55
|
+
tuieval-0.2.0.dev99.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|