Skip to content

🌐 [translation-sync] Fix broken raw GitHub URLs for CSV data files #15

🌐 [translation-sync] Fix broken raw GitHub URLs for CSV data files

🌐 [translation-sync] Fix broken raw GitHub URLs for CSV data files #15

Triggered via pull request March 24, 2026 02:32
Status Failure
Total duration 56s
Artifacts

review-translations.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
review
Action failed: Failed to parse diff quality evaluation
review
Failed to parse diff evaluation response: Looking at the changes carefully: **Source changes:** 1. `pandas.md`: URL change from `master/source/_static/...` to `main/lectures/_static/...` 2. `python_advanced_features.md`: Multiple heading capitalizations, removal of "Type hints" section, URL change, text changes **Target changes:** 1. `pandas/md` (Persian): Added heading-map entry for `'{index}`Pandas <single: Pandas>`'`, but the URL in the code cell was NOT updated (still uses `master/source/...`) 2. `python_advanced_features.md` (Persian): Heading-map was updated, but the content has serious issues **Detailed analysis:** **Heading-map in `python_advanced_features.md` target:** The heading-map was updated with old English keys (lowercase: `Iterables and iterators`, `Decorators and descriptors`, `Generators::Generator expressions`, etc.) but the source now uses different capitalization (`Iterables and Iterators`, `Decorators and Descriptors`, etc.). The heading-map keys should match the English source headings. **Position/Structure issue in `python_advanced_features.md` target:** The target "After" document has a massive structural problem: after the `(paf_generators)=` marker, it duplicates the entire "Decorators and Descriptors" section again before showing "Generatorها". This is incorrect - the `(paf_generators)=` anchor should introduce "Generatorها", not repeat "Decoratorها و Descriptorها". **Heading-map keys mismatch:** The source uses capitalized headings like `## Iterables and Iterators` but the target heading-map still uses `Iterables and iterators` (old lowercase). Also, `Type hints` section mapping exists in target but that section was removed from the source. **URL not updated:** The pandas.md source URL was updated but the target Persian version still has the old URL. ```json { "scopeCorrect": true, "positionCorrect": false, "structurePreserved": false, "headingMapCorrect": false, "issues": [ "python_advanced_features.md target has a massive structural duplication: the entire 'Decorators and Descriptors' section is repeated after the (paf_generators)= anchor, where 'Generators' section should appear instead", "Heading-map keys in python_advanced_features.md use old lowercase headings (e.g., 'Iterables and iterators', 'Decorators and descriptors') instead of updated capitalized headings from source ('Iterables and Iterators', 'Decorators and Descriptors')", "Heading-map still contains 'Type hints' entries (Type hints, Type hints::Basic syntax, Type hints::Common types) even though the Type hints section was removed from the source", "pandas.md target URL was not updated: still uses 'master/source/_static/...' instead of the new 'main/lectures/_static/...' from the source change", "Heading-map in python_advanced_features.md maps 'More Language Features' as top-level but source title uses index directive syntax differently" ], "summary": "The target translation has critical structural corruption in python_advanced_features.md (entire Decorators section duplicated where Generators should be), stale heading-map keys with wrong capitalization, obsolete Type hints entries, and a missed URL update in pandas.md.", "scopeDetails": "Both files that were modified in the source (pandas.md and python_advanced_features.md) were also modified in the target, so scope is correct.", "positionDetails": "The Generators section content appears after a duplicated Decorators and Descriptors section rather than directly after the (paf_generators)= anchor, meaning the positional placement of content is wrong in python_advanced_features.md.", "structureDetails": "Document structure is broken in python_advanced_features.md - the Decorators and Descriptors content block is fully duplicated after (paf_generators)= before the Generators section appears, creating redundant invalid structure." } ```
review
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: QuantEcon/action-translation@v0.11.0. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/