Skip to content

quality --ai: random 100-key sample can't target a namespace; no scoping or sample-size config #10

Description

@mhenrixon

Problem

QualityChecker#ai_sample reviews [translations.size, 100].min randomly sampled keys. In a monorepo with ~3,300 keys per locale, a specific product's namespace (e.g. yoga.*, ~600 keys) gets only ~18 sampled keys per run — you cannot deliberately QA the area a native speaker just complained about.

check_key exists but isn't reachable from the CLI (--key is parsed only for accept-edits).

Proposal

  • Wire --key (repeatable) through to qualitycheck_key.
  • Add --prefix yoga. (or glob) scoping for quality --ai so the AI pass reviews exactly that namespace.
  • Make the sample size configurable (quality.sample_size), defaulting to 100.

Found dogfooding in cosmos while QA-ing German for the yoga app.

https://claude.ai/code/session_012LRBpVd5KU2gp48AwyK1o9

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions