tuieval 0.2.0.dev86__py3-none-any.whl → 0.2.0.dev87__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/tui.py +20 -0
- {tuieval-0.2.0.dev86.dist-info → tuieval-0.2.0.dev87.dist-info}/METADATA +1 -1
- {tuieval-0.2.0.dev86.dist-info → tuieval-0.2.0.dev87.dist-info}/RECORD +7 -7
- {tuieval-0.2.0.dev86.dist-info → tuieval-0.2.0.dev87.dist-info}/WHEEL +0 -0
- {tuieval-0.2.0.dev86.dist-info → tuieval-0.2.0.dev87.dist-info}/entry_points.txt +0 -0
- {tuieval-0.2.0.dev86.dist-info → tuieval-0.2.0.dev87.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.dev87'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 2, 0, 'dev87')
|
|
23
23
|
|
|
24
24
|
__commit_id__ = commit_id = None
|
tuieval/tui.py
CHANGED
|
@@ -2206,6 +2206,7 @@ class RunScreen(Screen):
|
|
|
2206
2206
|
yield Footer()
|
|
2207
2207
|
|
|
2208
2208
|
def on_mount(self):
|
|
2209
|
+
self._queue_follow, self._queue_y = True, None # follow_queue
|
|
2209
2210
|
q = self.query_one("#queue", DataTable)
|
|
2210
2211
|
for label, key in (("Model", "model"), ("Eval", "suite"), ("Status", "status"), ("Progress", "progress"),
|
|
2211
2212
|
("✓", "pass"), ("✗", "fail"), ("Time", "time"), ("Note", "note")):
|
|
@@ -2523,6 +2524,25 @@ class RunScreen(Screen):
|
|
|
2523
2524
|
self.update_job(j)
|
|
2524
2525
|
self.update_overall()
|
|
2525
2526
|
self.refresh_current()
|
|
2527
|
+
self.follow_queue()
|
|
2528
|
+
|
|
2529
|
+
def follow_queue(self):
|
|
2530
|
+
"""Keep the running model's row in view in the queue, unless you scrolled the queue yourself;
|
|
2531
|
+
scrolling back to where the running row shows picks the following up again."""
|
|
2532
|
+
q = self.query_one("#queue", DataTable)
|
|
2533
|
+
keys = [r.key.value for r in q.ordered_rows]
|
|
2534
|
+
now = next((i for i, k in enumerate(keys)
|
|
2535
|
+
if any(j.key == k and j.status in ("loading", "running") for j in self.jobs)), None)
|
|
2536
|
+
if now is None:
|
|
2537
|
+
return
|
|
2538
|
+
if self._queue_y is not None and q.scroll_y != self._queue_y: # you scrolled since we last did
|
|
2539
|
+
seen = q.scroll_y <= now < q.scroll_y + max(1, q.scrollable_content_region.height - 1)
|
|
2540
|
+
self._queue_follow = seen
|
|
2541
|
+
if self._queue_follow:
|
|
2542
|
+
q.scroll_to(y=max(0, now - 1), animate=False)
|
|
2543
|
+
self._queue_y = max(0, min(now - 1, q.max_scroll_y))
|
|
2544
|
+
else:
|
|
2545
|
+
self._queue_y = q.scroll_y
|
|
2526
2546
|
|
|
2527
2547
|
# -- actions
|
|
2528
2548
|
def action_skip_model(self):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: tuieval
|
|
3
|
-
Version: 0.2.0.
|
|
3
|
+
Version: 0.2.0.dev87
|
|
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=MbDAskHZqL7Ly_g4fmQSqzeTJS3q2IGRhFiHFeJp5zA,535
|
|
4
4
|
tuieval/builtin.toml,sha256=Kxw22RZCJhURUyu5Wz8tj5Y1nM85A8hFVRbA4ocoPUg,4293
|
|
5
5
|
tuieval/cli.py,sha256=VwiaU1F9bZtU8C-gEowJq58kPeYQY4t6SY_HwrV-qgc,4702
|
|
6
6
|
tuieval/client.py,sha256=kpsyLEZKfxCsvIGBHBbBy83TpI97CvnGCDq-4AbJS4Y,9986
|
|
@@ -18,7 +18,7 @@ tuieval/remove.py,sha256=Vwh43nm9lVb9U9aN-h6CMYbkTwdR3UWfZObwweF72n0,5157
|
|
|
18
18
|
tuieval/run_evals.py,sha256=FU3bvu3jt9ZWg3YLsXNINbdeClXMioyc4zQ4yEhmBQs,47855
|
|
19
19
|
tuieval/scaffold.py,sha256=YBOqniJpf_GtKKAFF3_OHxxMGbmTWdFjcClGcOnrrKE,12130
|
|
20
20
|
tuieval/selftest.py,sha256=nExkrOidgymlmvkxImEBfrQG5iTUN5WuRMIKtqusCCs,9835
|
|
21
|
-
tuieval/tui.py,sha256=
|
|
21
|
+
tuieval/tui.py,sha256=ZE9FEOr84Vx2YULSiBpaZM4DyOo0iIkuKlH870K88I8,176810
|
|
22
22
|
tuieval/tune.py,sha256=azxxthgJeag8JyoQUgaRxq6oI1XvEgzb9vkszjJZH7w,39645
|
|
23
23
|
tuieval/verdict.py,sha256=3SM8qrVdWNIFDENagaR5ZPBYEnjsBtkYB9WS5TDVssU,20517
|
|
24
24
|
tuieval/watch_proxy.py,sha256=bnDO1i6n6yUs1hODoUWcMppJMGPavoQqs6aNYrIxpT8,11416
|
|
@@ -47,8 +47,8 @@ tuieval/templates/packs/tool_call/pack.toml,sha256=n4bx0lGJHSmW41uVqhfIXJ2BWZpmT
|
|
|
47
47
|
tuieval/templates/packs/tool_call/system.txt,sha256=mKxu-lB-0YjLHXdgeFJa8x2C180OvcNz5cHv2N5Bg3U,254
|
|
48
48
|
tuieval/templates/packs/tool_call/tests.yaml,sha256=Nv7c4syrzJ9cU8EBKSK_1ZSFx9V02aCjW4-2TBCPT7s,1859
|
|
49
49
|
tuieval/templates/packs/tool_call/tools.yaml,sha256=HgxCkh0On2VwbHSsjAGM8tNCK7ZtKLGrs7lMCn3Fprs,1048
|
|
50
|
-
tuieval-0.2.0.
|
|
51
|
-
tuieval-0.2.0.
|
|
52
|
-
tuieval-0.2.0.
|
|
53
|
-
tuieval-0.2.0.
|
|
54
|
-
tuieval-0.2.0.
|
|
50
|
+
tuieval-0.2.0.dev87.dist-info/METADATA,sha256=XHHaef6pqjG5DaNsjztrZJ9K_ZPhGi63ONwA_J8XFqg,14580
|
|
51
|
+
tuieval-0.2.0.dev87.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
52
|
+
tuieval-0.2.0.dev87.dist-info/entry_points.txt,sha256=7eIhi1GpFxBP2OLJV02Nn8LwsNuO512eKOGt1IBbj04,45
|
|
53
|
+
tuieval-0.2.0.dev87.dist-info/licenses/LICENSE,sha256=7wfRgGtBGH1aXhZkIn47oUznqKC18kEPMvUVgol7Ffc,1077
|
|
54
|
+
tuieval-0.2.0.dev87.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|