todo(11): open
This commit is contained in:
parent
1c890c703f
commit
299b2ce488
1 changed files with 19 additions and 0 deletions
19
TODO
19
TODO
|
|
@ -172,3 +172,22 @@ Description: The trainer is nearly silent: outside an example count and a save
|
||||||
when any are dropped), and raise transformers' verbosity during
|
when any are dropped), and raise transformers' verbosity during
|
||||||
training so the per-step curve shows. Apply to train() and
|
training so the per-step curve shows. Apply to train() and
|
||||||
inspect().
|
inspect().
|
||||||
|
|
||||||
|
--ISSUE
|
||||||
|
Content-Type: application/issue
|
||||||
|
ID: 11
|
||||||
|
Type: bugfix
|
||||||
|
Title: operate_rate can sum a None (eval + resident)
|
||||||
|
Status: open
|
||||||
|
Priority: medium
|
||||||
|
Created: 2026-06-17
|
||||||
|
Module: sekft
|
||||||
|
Relationships:
|
||||||
|
Description: operate_rate computes sum(t.steps > 0 and t.meta.get('clean') for t
|
||||||
|
in rows). The 'and' yields the right operand when steps>0, so if
|
||||||
|
meta lacks the 'clean' key it yields None and sum() raises
|
||||||
|
TypeError at runtime; mypy (now that posix-sdc ships py.typed and
|
||||||
|
Trajectory is typed) flags the generator item type in eval.py:83
|
||||||
|
and resident.py:157. Wrap the predicate in bool() so it counts
|
||||||
|
trajectories that operated and are clean, fixing both the type
|
||||||
|
error and the latent crash.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue