Skip to content

Repair the #154 regeneration residue: repoint state for pandas/polars, pandas_panel URL form - #158

Merged
mmcky merged 2 commits into
mainfrom
fix/276-regeneration-residue
Aug 19, 2026
Merged

Repair the #154 regeneration residue: repoint state for pandas/polars, pandas_panel URL form#158
mmcky merged 2 commits into
mainfrom
fix/276-regeneration-residue

Conversation

@mmcky

@mmcky mmcky commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Two deterministic corrections left over from the 2026-08-18 stale-resync incident, per the measured ledger in QuantEcon/action-translation#276.

State: .translate/state/pandas.md.yml and .translate/state/polars.md.yml return to the exact versions the repoint sync (#153) wrote, with source-sha: 55c87c9f — the stale regeneration (#154) merged fifteen minutes later and overwrote them with the snapshot's d35eb831, so isSourceChanged has been over-reporting both lectures as pending ever since. Verified today that 55c87c9f is still the source's last-touch commit for both files, and that fr and zh-cn record the same value.

pandas_panel.md: reverts the pandas_panel half of #155 only. The three data reads return to the raw.githubusercontent.com/QuantEcon/data-lectures/main/… form, which is what source main itself serves — the 2026-08 batch changed the source's URL form, so the regeneration's rewrite here was correct sync content, and the hand-restore overcorrected it. Both URL forms serve identical bytes, so nothing was broken; this just removes a silent three-line divergence from source while state says in-sync. The polars.md half of #155 stays: those reversions were genuine stale damage and the restore was right.

No translated prose changes hands in this PR; the pandas_panel lines are code-cell URLs only.

🤖 Generated with Claude Code

…URL form

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>
Copilot AI lite review requested due to automatic review settings August 19, 2026 02:28
@netlify

netlify Bot commented Aug 19, 2026

Copy link
Copy Markdown

Deploy Preview for majestic-griffin-10b166 ready!

Name Link
🔨 Latest commit bc68a0c
🔍 Latest deploy log https://app.netlify.com/projects/majestic-griffin-10b166/deploys/6a85206ad80ff400081f00cd
😎 Deploy Preview https://deploy-preview-158--majestic-griffin-10b166.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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

This PR repairs translation-sync residue from a stale regeneration by restoring the intended source commit pointers for pandas/polars state tracking and aligning three pandas_panel.md data URL lines with the English source’s canonical raw.githubusercontent.com form.

Changes:

  • Reset .translate/state/pandas.md.yml and .translate/state/polars.md.yml source-sha back to 55c87c9f… to stop false “pending” reporting.
  • Update three dataset URL assignments in lectures/pandas_panel.md to https://raw.githubusercontent.com/QuantEcon/data-lectures/main/....

Reviewed changes

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

File Description
lectures/pandas_panel.md Repoints three CSV URLs to match the source repository’s canonical raw host form.
.translate/state/pandas.md.yml Restores the correct source-sha for pandas state tracking.
.translate/state/polars.md.yml Restores the correct source-sha for polars state tracking.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

Copy link
Copy Markdown

@mmcky
mmcky merged commit 905bab7 into main Aug 19, 2026
7 checks passed
@mmcky
mmcky deleted the fix/276-regeneration-residue branch August 19, 2026 03:33
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