qwen-code review misreads comma-grouped counts: "2,239 passed" logged as 239

wenshao · ghdev · 2026-10-09

Issue #13735 in QwenLM/qwen-code reports that the /review Test Plan check misparses counts with thousands separators: "2,239 passed" is recorded as 239, triggering a false mismatch against the test suite output.

Root cause in packages/cli/src/commands/review/test-plan.ts:

The author provides three reproduction cases and cites a real instance on #12250 where the bot review carried "239 passed" for a "2,239 passed" description.

Suggested fix: accept \d{1,3}(?:,\d{3})+|\d+ with a (?<![\d,]) lookbehind, strip separators before Number(), and add comma-grouped test cases.

Original post →

More from coding & agent

coding & agent channel →