Skip to content

Give generated files the extension of their format; show small speeds as they are - #6

Merged
joszamama merged 1 commit into
mainfrom
evaluate-extension
Oct 9, 2026
Merged

joszamama merged 1 commit into
mainfrom
evaluate-extension

Conversation

@joszamama

Copy link
Copy Markdown
Member

Two things the first real quality run showed (see quality.json of the registry's release v2026.10.09).

The extension. evaluate and check asked fandango fuzz for files without -x, so Fandango named every file *.txt, whatever the format. The parsers mostly go by the content, so the numbers stand, but a parser that goes by the name of a file saw a name it never sees in use. They now get the first extension of the format (.png), as under fandango -F. A spec whose format names no extension is as before.

Small speeds. The slowest specs make 0.05 files per second, and the CLI, the site and the report showed that as 0/s. A speed is shown with its digits now: 163, 41, 3.0, 0.05 (quality.speed, used by the listing, the site, and the evaluate report).

Tests: tests/test_extension.py (the extension reaches every batch of a budgeted run; first extension used, no doubled dot; none asked for when the format has none; the speed formats), each shown to fail without its change. One existing expectation changes from 3/s to 3.0/s. Whole suite on macOS: 970 passed, 1 skipped; mypy src clean.

… as they are

- evaluate and check asked 'fandango fuzz' for files without -x, so every file was named *.txt for the
  parsers. They get the first extension of the format now (.png), as under 'fandango -F'.
- A speed under 1 per second was shown as 0/s (0.05 files per second is the slowest spec). It is shown
  with its digits now: 41, 3.0, 0.05.
@joszamama
joszamama merged commit 1deeb47 into main Oct 9, 2026
7 checks passed
@joszamama joszamama mentioned this pull request Oct 9, 2026
@joszamama
joszamama deleted the evaluate-extension branch October 9, 2026 11:53
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