Skip to content

Align certification reports with MQM - #51

Merged
simongonzalezdc merged 1 commit into
mainfrom
mqm-certification-product
Apr 22, 2026
Merged

simongonzalezdc merged 1 commit into
mainfrom
mqm-certification-product

Conversation

@simongonzalezdc

Copy link
Copy Markdown
Member

Summary

  • Add MQM-aligned issue categories/severities and certification-level metadata.
  • Add dialect validation status metadata (automated-certified, native-reviewed, experimental).
  • Upgrade dialect:report with MQM issue summary and validation-status sections.
  • Add tests for certification metadata and report output.
  • Update docs/test count to 700.

Important wording

This is MQM-aligned automated reporting, not a claim of accredited ISO/MQM certification.

Verification

  • pnpm build
  • pnpm -r exec tsc --noEmit
  • pnpm test — 700 tests passing across 7 packages
  • pnpm audit --audit-level low
  • npm pack guard
  • dialect:report generated MQM-aligned customer report

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
@kilo-code-bot

kilo-code-bot Bot commented Apr 22, 2026 •

Copy link
Copy Markdown

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)
  • README.md
  • docs/index.html
  • docs/social-launch-kit.md
  • packages/cli/src/tests/dialect-report-script.test.ts
  • packages/types/src/tests/certification.test.ts
  • packages/types/src/certification.ts
  • packages/types/src/index.ts
  • scripts/dialect-report.mjs

Reviewed by minimax-m2.5 · 264,392 tokens

@simongonzalezdc
simongonzalezdc merged commit 65c1e43 into main Apr 22, 2026
6 checks passed
@simongonzalezdc
simongonzalezdc deleted the mqm-certification-product branch April 22, 2026 05:38

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 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".

Comment on lines +119 to +120
return results.flatMap((result) => result.failures.flatMap((failure) => {
const messages = [...(failure.failures || []), ...(failure.qualityWarnings || [])];

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge 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 👍 / 👎.

Comment on lines +176 to +177
const dialects = Array.from(new Set(results.flatMap((result) => result.failures.map((failure) => failure.dialect)).filter(Boolean))).sort();
if (dialects.length === 0) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge 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 👍 / 👎.

simongonzalezdc added a commit that referenced this pull request Nov 11, 2026
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]>
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