Skip to content

chore: upgrade action-translation to v0.16.1#575

Merged
mmcky merged 1 commit into
mainfrom
chore/action-translation-v0.16.1
Jul 15, 2026
Merged

chore: upgrade action-translation to v0.16.1#575
mmcky merged 1 commit into
mainfrom
chore/action-translation-v0.16.1

Conversation

@mmcky

@mmcky mmcky commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Brings all three sync workflows onto v0.16.1: zh-cn and fa from v0.15.0, fr from v0.16.0.

What this actually changes for zh-cn and fa

These two have been on v0.15.0, so this is also the Sonnet 4.6 → Sonnet 5 default-model change that shipped in v0.16.0 and that they never picked up. fr has been running Sonnet 5 since it was seeded.

This was validated before the bump, not assumed:

  • The 26-scenario e2e harness ran v0.16.1 + Sonnet 5 against both zh-cn and fa — 26/26 correct translation PRs in each language, covering section add/delete/reorder, code cells, display math, TOC operations, deep nesting, special characters, and RTL.

  • Quality was graded against the December 2025 baseline using the same judge model that produced it (claude-opus-4-5-20251101):

    Dec 2025 (Sonnet 4.5) v0.16.1 (Sonnet 5)
    Avg translation 9.5/10 9.4/10
    Avg diff 10/10 10/10
    Verdicts 24/24 pass 25/25 pass

    A second read with a current-generation judge (Opus 4.8) scored translation 9.6/10.

Worth stating plainly: Sonnet 4.6 — what zh-cn and fa run today — was never measured. This upgrade moves them from an unmeasured model to one benchmarked against the last known-good baseline.

Correctness fixes that come with it

  • API pagination — PRs touching >30 files were silently synced only in part.
  • Truncation detection — a translation cut off at max_tokens was committed as if complete; it now fails loudly. Most likely to be felt on long lectures.
  • Empty-response guard — a refusal/empty response threw a bare TypeError.
  • French typography — footnote/link-reference definitions were being corrupted ([^id]:[^id] :), which broke the definition and every reference to it.

Detail: QuantEcon/action-translation#83 · v0.16.1 release notes

🤖 Generated with Claude Code

zh-cn and fa move v0.15.0 -> v0.16.1; fr moves v0.16.0 -> v0.16.1.

For zh-cn and fa this is also the Sonnet 4.6 -> Sonnet 5 default model
change from v0.16.0, which they had not picked up. Validated before this
bump: the 26-scenario e2e harness ran v0.16.1 + Sonnet 5 against both
zh-cn and fa, producing correct PRs for all 26 in each language, and
quality was graded against the December Sonnet 4.5 baseline —
9.4/10 translation and 10/10 diff, versus 9.5 and 10 for the baseline.

Also in v0.16.1: API pagination (PRs touching >30 files were silently
synced in part), truncation detection (a cut-off translation was
committed rather than failing), an empty-response guard, and the French
typography fix for footnote/link-reference definitions.

See QuantEcon/action-translation#83 and the v0.16.1 release notes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 15, 2026 10:53

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the GitHub Actions workflows that sync translated lecture repositories to use QuantEcon/action-translation@v0.16.1, aligning all translation sync jobs on the same action release.

Changes:

  • Bump sync-translations-zh-cn workflow from v0.15.0 to v0.16.1
  • Bump sync-translations-fa workflow from v0.15.0 to v0.16.1
  • Bump sync-translations-fr workflow from v0.16.0 to v0.16.1

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
.github/workflows/sync-translations-zh-cn.yml Updates the translation sync action version to v0.16.1 for the zh-cn target repo.
.github/workflows/sync-translations-fr.yml Updates the translation sync action version to v0.16.1 for the fr target repo.
.github/workflows/sync-translations-fa.yml Updates the translation sync action version to v0.16.1 for the fa target repo.

@github-actions

Copy link
Copy Markdown

@mmcky mmcky merged commit b726360 into main Jul 15, 2026
6 checks passed
@mmcky mmcky deleted the chore/action-translation-v0.16.1 branch July 15, 2026 11:26
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.

2 participants