Skip to content

Quality Assurance

BuildBot edited this page Jun 12, 2026 · 1 revision

Quality Assurance

Rule-based QC

After every AI translation the QualityChecker runs a set of deterministic checks automatically. You can also trigger it manually via Tools → Run Quality Check (Ctrl+Alt+Q).

Checks performed

Check Description
Missing game tags <Alias=…>, [PLYR], %s, <mag>, <dur>, <area>, etc. absent from translation
Extra tags Tags present in translation but not in source
Encoding failure Characters that cannot round-trip through the target encoding
Suspicious length Translation is unusually short or long relative to source
Russian characters Cyrillic characters that are valid in Russian but not Ukrainian (ъ, ы, э…)
English leakage Untranslated English words remaining in output
AI repetition artifacts Repeated phrases typical of model hallucination
Newline mismatch Different number of \n line breaks vs. source
Untranslated string Translation identical to source (for non-trivial strings)
Glossary mismatch A glossary term is present in source but not translated correctly

Results dialog

Open via Tools → Quality Check Results. Each issue shows:

  • The string ID and source/translation text
  • Issue code and severity
  • A suggested fix action (AUTOFIX or RETRANSLATE)

Actions available per row:

  • Auto-fix — applies the rule-based fix in place (e.g., re-inserts a dropped tag)
  • Retranslate — queues the string for a new AI translation pass
  • Auto-Retranslate Issues — retranslates all strings flagged with RETRANSLATE action in one batch

AI quality check (qcgemma4-st)

When Settings → Enable AI QC is on, the fine-tuned qcgemma4-st model runs after each translation and produces a structured verdict.

Output format:

VERDICT: GOOD

or

VERDICT: ISSUES_FOUND
CODES: TAG_MISSING, REGISTER_FORMAL
SEVERITY: MEDIUM
DETAILS:
- Missing <mag> tag at position 2
- Formal register (ви) inconsistent with rest of file
ACTION: RETRANSLATE

The AI QC model covers 16 issue codes including register consistency, formality, gender agreement, and tag handling.

Consistency checker

Tools → Consistency Check (Ctrl+Alt+K) — finds strings that share the same source text but have different translations.

A canonical-form picker lets you choose which translation to keep, then auto-replaces all duplicates.

Ukrainian-specific checks

Gender agreement (Ctrl+Alt+G)

Checks adjective/noun gender agreement using a Ukrainian noun gender dictionary. Results shown in the Gender Issues dialog with inline fix suggestions.

Register consistency (Ctrl+Alt+R)

Detects mixed formal (ви) and informal (ти) address within a file. Results shown in the Register Issues dialog with context sentences.

Pre-translation difficulty

Before any AI call, each string is scored 0–100 by PreTranslationEstimator. The score is shown in the Difficulty column and helps prioritize manual review. Weights are learned from your manual corrections and persisted across sessions.

Clone this wiki locally