Skip to content

fix: lint the artifact scorer — import order and line length - #200

Merged
ronaldtse merged 2 commits into
mainfrom
fix/artifact-score-imports
Sep 7, 2026
Merged

fix: lint the artifact scorer — import order and line length#200
ronaldtse merged 2 commits into
mainfrom
fix/artifact-score-imports

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

What

Main's test job is red since the artifact-level scorer landed: ruff I001 (unsorted import block — interscript_ml classifies third-party, grouping with pandas) and one E501 (101 chars). Every open PR against the repo inherits the failure, including the correction-propagation PR #199.

Fix: ruff --fix for the import order; the long preds-write line split. ruff check clean, syntax-checked. No behavior change — imports inside a Modal function body, order irrelevant to execution.

Ronald Tse added 2 commits September 7, 2026 02:57
The three ara-diac-small-2.1 metadata files quote the E4 result in
trained_from; the quoted 4.8218/42% figures were withdrawn on 2026-09-05
(RESULTS.md CORRECTION: corrected 2.0 number is 5.08, 38% reduction) -
now restated with the correction inline. PUBLICATION-NOTES lever table
and epoch sentence move to the corrected control; the E5 line keeps its
original measurement with the control correction noted. EXPERIMENTS:
the E4 verdict keeps its historical figure with the correction
annotation, and the GKD verdict line (written 2026-09-06, post-
correction, but still citing +1.18pp over 4.8218) restates the delta as
+1.43pp over the 4.5701 rung it was meant to improve. Metrics values
are untouched - only prose.
The artifact-level scoring tool landed with an unsorted import block
(I001) and a 101-char line (E501), turning main's test job red and
failing every open PR against it. Ruff --fix reordered the block
(interscript_ml classifies third-party, grouping with pandas); the long
preds-write line split. Unblocks main and the correction PRs.
@ronaldtse
ronaldtse merged commit a59ea8d into main Sep 7, 2026
11 checks passed
@ronaldtse
ronaldtse deleted the fix/artifact-score-imports branch September 7, 2026 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant