🌐 [translation-sync] Read test_pwt.csv from data-lectures (Track D) - #153
Conversation
✅ Deploy Preview for majestic-griffin-10b166 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Translation Quality ReviewVerdict: PASS | Model: claude-sonnet-5 | Date: 2026-08-18 📝 Translation Quality
Summary: The prose translation in the modified sections is fluent, accurate, and well-formatted, with correct MyST syntax throughout. However, there are several code-cell discrepancies where the Persian translation did not update code to match the modified English source: the pandas.md and polars.md Series sections still use the old Suggestions:
🔍 Diff Quality
Summary: All source changes (URL updates and RNG-related code reverts) were correctly and precisely mirrored in the target document at matching positions, with document structure and heading metadata preserved. This review was generated automatically by action-translation review mode. |
There was a problem hiding this comment.
Pull request overview
This automated translation-sync PR updates the Persian (fa) versions of the Pandas and Polars lectures to match upstream changes from QuantEcon/lecture-python-programming, primarily switching the test_pwt.csv dataset source to the QuantEcon/data-lectures repository and aligning a few code examples.
Changes:
- Update Pandas and Polars lecture examples to read
test_pwt.csvfromhttps://github.com/QuantEcon/data-lectures/raw/main/lectures/test_pwt.csv. - Refresh a few code snippets (e.g., NumPy RNG usage in the Polars lecture;
isinstance/pd.isnausage in Pandas lecture). - Update translation state metadata (source SHA, sync date, model/tool versions).
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| lectures/pandas.md | Switches test_pwt.csv read to data-lectures URL and aligns a couple Pandas mapping/NA-handling examples. |
| lectures/polars.md | Switches test_pwt.csv read to data-lectures URL, updates RNG example to default_rng, and minor formatting alignment. |
| .translate/state/pandas.md.yml | Updates translation sync state metadata for pandas.md. |
| .translate/state/polars.md.yml | Updates translation sync state metadata for polars.md. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
2d113fd to
7a5c3ab
Compare
|
♻️ Automatically rebased after #147 was merged. Overlapping files: The translation content is preserved; only unchanged sections were updated to match the current |
740c738 to
b0dcc5a
Compare
|
♻️ Automatically rebased after #149 was merged. Overlapping files: The translation content is preserved; only unchanged sections were updated to match the current |
The #154 sync was regenerated from its source PR's merge-time snapshot, which predates the test_pwt repoint synced here in #153 — so it reverted two polars.md reads to the source repo's old own-repo URL (a path scheduled for deletion) and rewrote three pandas_panel.md reads to the raw.githubusercontent host form. This restores all five reads to the canonical data-lectures form the English source uses. URL-only; no translated text changes. The underlying regeneration defect is recorded in QuantEcon/action-translation#276. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
…URL form (#158) Restore .translate/state/{pandas,polars}.md.yml to the versions #153 wrote (source-sha 55c87c9f, the Track D repoint) — #154 overwrote them with the stale snapshot's SHA (d35eb831), making isSourceChanged over-report both lectures as pending. Also revert the pandas_panel.md half of #155: the three data reads return to the raw.githubusercontent form, which is what source main itself serves at its last touch of that file — the regeneration's rewrite there was correct sync content, not stale damage. Measurement and ledger: QuantEcon/action-translation#276. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Automated Translation Sync
This PR contains automated translations from QuantEcon/lecture-python-programming.
Source PR
#612 - Read test_pwt.csv from data-lectures (Track D)
Files Updated
lectures/pandas.md.translate/state/pandas.md.ymllectures/polars.md.translate/state/polars.md.ymlDetails
This PR was created automatically by the translation action.