FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix `--modules=` parsing in the benchmark entry point by lkdvos · Pull Request #506 · QuantumKitHub/TensorKit.jl · GitHub

Fix --modules= parsing in the benchmark entry point - #506

Merged
lkdvos merged 1 commit into
mainfrom
fix/benchmark-modules-parsing
Aug 15, 2026
Merged

lkdvos merged 1 commit into
mainfrom
fix/benchmark-modules-parsing

Conversation

lkdvos commented Aug 12, 2026

Copy link
Copy Markdown
Member

Two bugs in benchmark/benchmarks.jl:

  • the pattern captured (\w+), which stops at the first comma, so --modules=linalg,tensornetworks silently loaded only linalg;
  • only(...) was applied to the capture rather than the match, throwing for any module name longer than one character.

🤖 Generated with Claude Code

codecov Bot commented Aug 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
see 6 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

The pattern captured `(\w+)`, which stops at the first comma, so
`--modules=linalg,tensornetworks` silently loaded only `linalg`. On top
of
that, `only(...)` was applied to the capture rather than to the match,
which
threw for any module name longer than one character.

[skip ci]
lkdvos force-pushed the fix/benchmark-modules-parsing branch from de15c79 to a39c5c4 Compare August 15, 2026 09:57
lkdvos marked this pull request as ready for review August 15, 2026 09:57
lkdvos requested a review from kshyatt August 15, 2026 09:57

kshyatt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

It's really abusive to ask me to review a regex

lkdvos merged commit 3e72027 into main Aug 15, 2026
lkdvos deleted the fix/benchmark-modules-parsing branch August 15, 2026 10:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL