data(fallacies): curate Wikipedia interlanguage links (#333) - #349
Closed
jsboige wants to merge 1 commit into
Closed
data(fallacies): curate Wikipedia interlanguage links (#333)#349jsboige wants to merge 1 commit into
jsboige wants to merge 1 commit into
Conversation
…/zh/fa (#333) Query Wikipedia API langlinks from existing en/fr Wikipedia URLs to fill 585 missing link cells across 6 languages: - link_ru: +97 (26→121), link_pt: +102 (2→104) - link_es: +105 (2→107), link_zh: +88 (2→90) - link_ar: +102 (2→104), link_fa: +91 (2→93) Also fixes 2 misaligned rows (PK 371, 607) with unquoted commas in desc_fr (same fix as PR #347, pending merge — included for script independence). Uses csv.writer(QUOTE_MINIMAL) per validated recipe. All 1408 rows verified at 102 columns. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Contributor
Author
|
Superseded by rebased version on post-#347 master (PK 371/606 fixed). New PR incoming. |
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
langlinksfrom existinglink_en/link_frWikipedia URLs to fill 585 missing reference links across 6 languagescsv.writer(QUOTE_MINIMAL)per validated recipe (no corruption)New links added
Method
tmp/curate_wikipedia_links.pyqueries Wikipedia API in batches of 50 titlesen.wikipedia.orgarticles + 54fr.wikipedia.orgarticlesAlso included
desc_frcontained unquoted commas (same fix as PR fix(fallacies): clean corrupted link_fr/link_pt cells (#334) #347)Closes #333
Test plan
csv.readerparse succeeds with no column misalignmentlink_*columns modified (no other data touched)🤖 Generated with Claude Code