Fix news article quality issues: type classification, breadcrumb truncation, and untranslated JSON-LD#278
Merged
pethers merged 2 commits intonews-generation/automated-20260218-040600-e7e3065380c1f0a4from Feb 18, 2026
Conversation
- Fixed type classification: Changed "prospective" to "analysis" for 2026-02-17 evening analysis in 8 index files (ar, da, de, he, ja, nl, no, sv) - Fixed truncated breadcrumb titles in 8 government propositions files (da, de, en, es, fi, fr, nl, no) - Fixed JSON-LD articleBody: Replaced untranslated Swedish text with proper translated content from HTML body for all 42 articles - Removed data-translate markers from JSON-LD articleBody in non-Swedish versions Addresses all 11 review comments from PR #276 Co-authored-by: pethers <[email protected]>
142949a
into
news-generation/automated-20260218-040600-e7e3065380c1f0a4
10 checks passed
Copilot
AI
changed the title
[WIP] Add automated news generation for parliamentary activity
Fix news article quality issues: type classification, breadcrumb truncation, and untranslated JSON-LD
Feb 18, 2026
Copilot stopped work on behalf of
pethers due to an error
February 18, 2026 05:05
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.
Addresses 11 review comments from PR #276 where generated news articles had type misclassification, truncated structured data, and untranslated Swedish content in JSON-LD fields.
Changes
Type Classification (8 index files)
"type": "prospective"→"analysis"for 2026-02-17 evening analysis entriesBreadcrumb Truncation (8 government propositions)
"Government Propositions: Policy Priorities This We"→"Government Propositions: Policy Priorities This Week"<title>exactly for SEOUntranslated JSON-LD Content (42 articles)
<span data-translate="true" lang="sv">markers from non-Swedish versionsBefore (EN article):
After (EN article):
Files Modified
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.