Skip to content

🌐 [translation-sync] [numpy] Remove the duplicated {index} directive under Matrix Multiplication - #100

Merged
quantecon-services merged 3 commits into
mainfrom
translation-sync-2026-11-02T00-33-44-pr-632
Dec 4, 2026
Merged

quantecon-services merged 3 commits into
mainfrom
translation-sync-2026-11-02T00-33-44-pr-632

Conversation

@mmcky

@mmcky mmcky commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Automated Translation Sync

This PR contains automated translations from QuantEcon/lecture-python-programming.

Source PR

#632 - [numpy] Remove the duplicated {index} directive under Matrix Multiplication

Files Updated

  • ✏️ lectures/numpy.md
  • ✏️ .translate/state/numpy.md.yml

Details

  • Source Language: en
  • Target Language: fr
  • Model: claude-sonnet-5

This PR was created automatically by the translation action.

Copilot AI balanced review requested due to automatic review settings November 2, 2026 00:33
@mmcky mmcky added action-translation PRs created by QuantEcon/action-translation automated Automated sync PR opened by action-translation labels Nov 2, 2026
@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

✅ Translation Quality Review

Verdict: PASS | Model: claude-sonnet-5 | Date: 2026-12-04
Routing: auto-merge — no gating findings; floors met
Shadow gate: would auto-merge (recorded only; no action taken)


📝 Translation Quality

Criterion Score
Accuracy 10/10
Fluency 9/10
Terminology 10/10
Formatting 10/10
Overall 9.8/10

Summary: The Matrix Multiplication section of the French translation is accurate, fluent, and terminologically consistent with the glossary. No syntax errors, mistranslations, or formatting issues were found in this changed section. The Matrix Multiplication section is translated accurately and completely, preserving all code blocks and the mathematical meaning Terminology follows the glossary consistently (e.g., 'Multiplication matricielle' for 'Matrix Multiplication') Natural French phrasing is used ('Comme nous effectuons une post-multiplication') rather than a literal calque of the English sentence structure Formatting, code cells, and cross-reference anchors are preserved exactly as in the source

Suggestions:

  • [nit · fluency] lectures/numpy.md — ## Multiplication matricielle: The translation 'La syntaxe fonctionne avec des tableaux unidimensionnels' uses 'tableaux unidimensionnels' for 'flat arrays', which matches the glossary term for 'flat array'. This is correct and consistent with the glossary, no issue found.

🔍 Diff Quality

Check Status
Scope Correct ✅
Position Correct ✅
Structure Preserved ✅
Heading-map Correct ✅
Overall 10/10

Summary: The core duplicate-index-block removal matches the source change and is correctly positioned, but the target introduced additional unrelated whitespace/blank-line deletions not present in the source diff.

Issues:

  • Target removed extra blank lines in multiple unrelated locations (e.g., before 'Array Indexing', 'Mutability', 'Comparisons', 'Sub-packages', 'Implicit Multithreading', 'Exercises' sections) that have no corresponding change in the source document, beyond the single duplicate index-block removal that mirrors the source change

This review was generated automatically by action-translation review mode.

Copilot AI 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.

🟢 Approval recommended

No objective issues were identified, as the changes are limited to safe whitespace normalization that preserves structure, a valid wording refinement, and an auto-generated metadata update.

No open issues 🎉

What changed in this PR

This is an automated translation-sync PR that propagates upstream source PR QuantEcon/lecture-python-programming#632 into the French (fr) translation. In the English source the change removed a duplicated {index} directive under the Matrix Multiplication section; because the French file never carried that duplicate, the net effect here is whitespace normalization (removing redundant blank lines) plus a minor wording refinement in the Matrix Multiplication paragraph, along with the usual translation-state metadata bump.

Changes:

  • Removes redundant consecutive blank lines before several section headers in lectures/numpy.md (each header still retains one preceding blank line, so MyST/Markdown structure is preserved).
  • Rewords one sentence: "tableaux plats … ce que vous voulez" → "tableaux unidimensionnels … ce que l'on veut".
  • Updates .translate/state/numpy.md.yml metadata (source SHA, sync date, model, mode UPDATE, tool version).
File Description
lectures/​numpy.md Removes duplicate blank lines around headers and refines the Matrix Multiplication sentence wording; no structural/markdown breakage.
.translate/​state/​numpy.md.yml Auto-generated translation-state update (source SHA, synced-at date, model, mode, tool version).

I reviewed the diff and the surrounding file context. The blank-line removals all preserve a single blank line before each header, so rendering is unaffected, and the wording change is a valid French rendering of the source. No objective issues were found.

Review effort: Balanced

@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

📖 Netlify Preview Ready!

Preview URL: https://pr-100--verdant-toffee-3261a8.netlify.app

Commit: f9ebcf1

📚 Changed Lectures


Build Info

@mmcky

mmcky commented Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

@Honaminto — could you review this sync before it merges? It follows the English change in QuantEcon/lecture-python-programming#632, which removed a duplicated index entry in numpy.md. Most of the diff is blank-line clean-up, but the engine also reworded one sentence in the Multiplication matricielle section:

  • Before: « La syntaxe fonctionne avec des tableaux plats --- NumPy devine intelligemment ce que vous voulez : »
  • After: « La syntaxe fonctionne avec des tableaux unidimensionnels --- NumPy devine intelligemment ce que l'on veut : »

If the new wording reads well to you, an approval is all that's needed; otherwise let us know which version to keep.

@quantecon-services
quantecon-services merged commit 108178a into main Dec 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action-translation PRs created by QuantEcon/action-translation automated Automated sync PR opened by action-translation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants