Repository navigation
Align certification reports with MQM - #51
Conversation
Customers need a standards-aligned localization certification deliverable, not just raw pass/fail JSON. This adds MQM-style issue categories/severities, dialect validation metadata, certification levels, and report sections for issue distribution plus validation status. Constraint: Keep report generation dependency-free and avoid formal compliance claims beyond MQM-aligned wording Rejected: Claim ISO/MQM certification | the current scope is an MQM-aligned automated report, not accredited human LQA Confidence: high Scope-risk: moderate Directive: Use certification.ts as the canonical place for certification levels and validation status Tested: pnpm build; pnpm -r exec tsc --noEmit; pnpm test (700 passing); pnpm audit --audit-level low; npm pack guard; dialect-report generated MQM-aligned report
Code Review Roast 🔥Verdict: No Issues Found | Recommendation: Merge Oh wait, this PR is actually clean. The MQM classification and certification types are well-structured. The regex-based issue categorization is simple but should work for the report generation use case. Tests are added and pass. The new 5 tests bringing the total to 700 are properly accounted for in the documentation updates. 📊 Overall: Like finding a unicorn in production — I didn't think clean PRs existed anymore, but here we are. Files Reviewed (8 files)
Reviewed by minimax-m2.5 · 264,392 tokens |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d418fe2bb4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| return results.flatMap((result) => result.failures.flatMap((failure) => { | ||
| const messages = [...(failure.failures || []), ...(failure.qualityWarnings || [])]; |
There was a problem hiding this comment.
Include warning-only samples in MQM issue aggregation
issueRows only iterates result.failures, so MQM counts are produced solely from failed rows even when the certification has warning-only samples. In normal certify output, quality warnings can exist on passing rows (warnings > 0), which makes the report internally inconsistent (Warnings shows non-zero while MQM major/minor counts stay zero) and hides actionable issues from customers.
Useful? React with 👍 / 👎.
| const dialects = Array.from(new Set(results.flatMap((result) => result.failures.map((failure) => failure.dialect)).filter(Boolean))).sort(); | ||
| if (dialects.length === 0) { |
There was a problem hiding this comment.
Report validation status for tested dialects, not failed ones
The dialect-status section is built from result.failures only, so successful runs (no failures) fall into the hardcoded fallback and omit the actual dialects that were tested. This misrepresents scope in customer-facing reports (for example, a passing run for es-MX will not show es-MX at all), and can hide special statuses like experimental dialects when they pass.
Useful? React with 👍 / 👎.
Brings GitHub main level with Forgejo main (ef214e5), the canonical repo, so GitHub carries what v0.3.2 is cut from. - **Roast fixes:** dictionary accents and meaning-safe swaps (#50), accented words in the register, voseo, gender and grammar checks (#51), the file sandbox and patched dependencies (#52), honest claims and a pinned toolchain (#53), and adjective agreement, MCP vosotros parity, the real engine in the demo, and no more "first" claim (#55). - **Branding:** the Hermes plugin icon (#54). - **Release:** every version and install path moves to 0.3.2 (#56). - **Security:** the voseo quote regex CodeQL flagged on this PR now runs in linear time (#57). - **Pages:** `docs/CNAME` is removed. The site already serves from kyanitelabs.github.io/DialectOS/ without a redirect. After this merges, both mains have the same files. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01RXhEX6WJsRZUyGhsp5WgGe --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
Summary
automated-certified,native-reviewed,experimental).dialect:reportwith MQM issue summary and validation-status sections.Important wording
This is MQM-aligned automated reporting, not a claim of accredited ISO/MQM certification.
Verification
pnpm buildpnpm -r exec tsc --noEmitpnpm test— 700 tests passing across 7 packagespnpm audit --audit-level lowdialect:reportgenerated MQM-aligned customer report