🌐 [translation-sync] Fix broken raw GitHub URLs for CSV data files #4
+365
−33
Annotations
2 errors and 1 warning
|
Run QuantEcon/action-translation@v0.9.0
Action failed: Failed to parse diff quality evaluation
|
|
Run QuantEcon/action-translation@v0.9.0
Failed to parse diff evaluation response: I need to carefully analyze the changes between source before/after and target before/after to verify the translation sync.
## Analysis
### Source Changes (English)
1. **pandas.md**: URL changed from `master/source/_static/...` to `main/lectures/_static/...`
2. **python_advanced_features.md**:
- Overview text: `*skip it on first pass*` → `**skip it on first pass**` (italic to bold)
- Topics list removed "type hints" mention
- `## Iterables and iterators` → `## Iterables and Iterators` (capitalization)
- `### Iterators in for loops` → `### Iterators in For Loops`
- `## * and ** operators` → `## * and ** Operators`
- `### Unpacking arguments` → `### Unpacking Arguments`
- `### Arbitrary arguments` → `### Arbitrary Arguments`
- `## Decorators and descriptors` → `## Decorators and Descriptors`
- `### An example` → `### An Example`
- `### Enter decorators` → `### Enter Decorators`
- `### A solution` → `### A Solution`
- `### How it works` → `### How it Works`
- `### Decorators and properties` → `### Decorators and Properties`
- `### Generator expressions` → `### Generator Expressions`
- `### Generator functions` → `### Generator Functions`
- `### Advantages of iterators` → `### Advantages of Iterators`
- Added entire "Type hints" section (new major section)
- Exercise URL updated: `master/source/_static/...` → `main/lectures/_static/...`
### Target Changes (Translation)
**pandas.md**: The URL in the code cell was NOT updated - it still uses the old `master/source/` URL. The source changed it to `main/lectures/`.
**heading-map in pandas.md**: Added `'{index}`Pandas <single: Pandas>`': '{index}`Pandas <single: Pandas>`'` - this is a new entry for the document title heading.
**python_advanced_features.md heading-map**: The new heading-map uses old-style heading names (lowercase like `Iterables and iterators`, `* and ** operators`) instead of updated capitalized versions (`Iterables and Iterators`, `* and ** Operators`). This is a significant mismatch.
**Critical structural issue**: The target's `python_advanced_features.md` after version contains a massive duplication - the entire "Decorators and Descriptors" section appears TWICE (once after the `(paf_generators)=` anchor and once as the actual generators section). The `## Generators` section appears to be replaced/duplicated incorrectly.
**Type hints section**: The source added a new "Type hints" section, but the target's heading-map maps `Type hints` to `装饰器与描述符` (Decorators and Descriptors) and `Type hints::Basic syntax` to `装饰器` - these are WRONG mappings. The Type hints section content was NOT added to the translation body.
**Position issue**: The `(paf_generators)=` anchor now incorrectly precedes a duplicated "Decorators and Descriptors" section instead of the Generators section.
```json
{
"scopeCorrect": true,
"positionCorrect": false,
"structurePreserved": false,
"headingMapCorrect": false,
"issues": [
"pandas.md: URL not updated in code cell - still uses 'master/source/_static/' instead of 'main/lectures/_static/' as changed in source",
"python_advanced_features.md: The entire 'Decorators and Descriptors' section is duplicated after the (paf_generators)= anchor, where the Generators section should be",
"python_advanced_features.md: The new 'Type hints' section from source was not translated and added to the document body",
"python_advanced_features.md heading-map: Uses old lowercase heading keys (e.g., 'Iterables and iterators', '`*` and `**` operators') instead of updated capitalized versions matching the source after state",
"python_advanced_features.md heading-map: 'Type hints' is incorrectly mapped to '装饰器与描述符' and sub-entries mapped to decorator/descriptor translations instead of type hints translations",
"python_advanced_features.md heading-map: Missing 'More Language Features' top-level heading entry that was present in target before state is now gone",
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, QuantEcon/action-translation@v0.9.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/
|
Loading