Repository navigation
Apply the clusters content decisions and fix two clusters parser bugs - #1077
LukasWallrich wants to merge 6 commits into
Conversation
The Clusters v4.1 Doc now has title-case names for clusters 5, 6 and 8,
corrected descriptions (WEIRD expansion, open access glosses, equity,
LGBTQ+, communication barriers and others), a description for
Decolonizing Research Practices, no INSERT DESCRIPTION placeholder or
editors' notes, and corrected Mozersky (IASSIST Quarterly) and Flynn
references. Re-ran parse_clusters_to_sheet.py --json-only and
generate_cluster_pages.py.
The parser now keeps a description line that cites a year in passing
("Clarke's (2022) piece") as the description, and keeps the Doc's group
author when the doi.org APA text starts with the year (Open Science
Collaboration, National Academies).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
build_featured_data.py now decodes HTML entities in titles and APA references (including double-escaped ones), turns <em> into <i> and collapses whitespace, so card titles hold plain text plus <i>/<scp> markup for the templates to render. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
--export-json on its own also clears and rewrites the Clusters sheet tabs, including the enriched Publications columns. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
"Open Science Collaboration. (2015)" now gives the button "Open Science Collaboration (2015)". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
👍 All image files/references (if any) are in webp format, in line with our policy. |
✅ Spell Check PassedNo spelling issues found when checking 9 changed file(s)! 🎉 |
|
This PR was attempted for staging deployment but had merge conflicts and was skipped. Attempted at: 2026-11-13 12:30:41 UTC Please resolve conflicts with the base branch and the deployment will be retried automatically. |
There was a problem hiding this comment.
All reported issues were addressed across 9 files
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
- build_featured_data.py keeps any angle bracket other than <i>/<scp> encoded, and keeps the full stop in "et al.". - A description line is kept only if it has no "(year)." reference date, so unbulleted references with group or full-name authors stay references. - The Doc's cluster 8 entry for the 2015 Science paper now names Open Science Collaboration, as the cluster 1 entry does. - AGENTS.md names all three sheet tabs that --export-json rewrites. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
All reported issues were addressed across 6 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Note 🤖 Claude Opus 5.5 responding on behalf of Lukas Wallrich @richarddushime, could you review the code in this PR? The cluster data and page changes come from the Clusters Doc fixes Lukas approved, but these three code changes alter what the daily data run writes to forrt.org:
|
Applies the content-review decisions for the cluster pages: corrections to the Clusters v4.1 Google Doc, regenerated with two parser fixes, and cleaner publication titles in the featured-resources generator.
Clusters Doc and regenerated pages
The Doc was corrected first. Then
parse_clusters_to_sheet.py --json-onlyandgenerate_cluster_pages.pywere re-run./resources/filters ("FAIR Data and Materials", "Replication and Meta-Research", "Transparency and Reproducibility in Computation and Analysis").Parser fixes (
scripts/parse_clusters_to_sheet.py)Publication titles (
scripts/build_featured_data.py)<i>/<scp>markup. HTML entities are decoded, including double-escaped<em>;<em>becomes<i>; and whitespace is collapsed.rebrand-doorsrenders the allow-listed tags.AGENTS.md
AGENTS.md now points to
--json-only. Run on its own,--export-jsonalso clears and rewrites the sheet tabs, including the enriched Publications columns.Checks: unit tests pass,
hugo --gc --minifybuilds, andcheck_seo_html.pypasses.🤖 Generated with Claude Code
Summary by cubic
Applies the content-review decisions for the cluster pages and fixes two parser bugs that surfaced when regenerating them: clusters 5, 6, and 8 now use title case, confusing or broken descriptions and references were corrected, and the parser no longer mistakes prose that cites a year for a reference or drops group authors like Open Science Collaboration.
Parser fixes
--help, AGENTS.md, and the site's data-error message now recommend--json-only, since plain--export-jsonalso clears and rewrites the Clusters, Sub-Clusters, and Publications sheet tabs.Content
<i>/<scp>markup while leaving all other angle brackets escaped, preserving the full stop in "et al." and dropping it after group authors; this fixes broken citation buttons like "Lakens & Lieck (2022)".Written for commit dbec563. Summary will update on new commits.