Skip to content

Comments

Fix type classification and undefined content across multi-language news articles#188

Merged
pethers merged 3 commits intotssfrom
copilot/sub-pr-181
Feb 15, 2026
Merged

Fix type classification and undefined content across multi-language news articles#188
pethers merged 3 commits intotssfrom
copilot/sub-pr-181

Conversation

Copy link
Contributor

Copilot AI commented Feb 15, 2026

Addresses review feedback from PR #181 on evening analysis type inconsistency and missing data rendering as "undefined" in user-facing content.

Changes

Type Classification Alignment (9 files)

  • Evening analysis articles now consistently use type: "analysis" across all non-English indices (nl, ko, da, ar, no, de, fi, ja, he)
  • Previously misclassified as "prospective" while English used "analysis", breaking type filtering

Undefined Content Cleanup (2 files)

  • Opposition motions: Removed unpopulated Author/Party fields (22 lines) - source data unavailable
  • Committee reports: Fixed document link anchors from "undefined" to proper identifiers (SoU36, CU28, etc.)
<!-- Before -->
<p><strong>Dokument:</strong> <a href="...HD01SoU36.html">undefined</a></p>
<p><strong>Author:</strong> undefined</p>

<!-- After -->
<p><strong>Dokument:</strong> <a href="...HD01SoU36.html">SoU36</a></p>
<!-- Author line removed -->

Known Limitation

Six files retain "undefined" in JSON-LD articleBody metadata. Visible HTML is correct; structured data requires article regeneration to fix.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits February 15, 2026 11:33
…analysis in 9 non-English indices

Co-authored-by: pethers <[email protected]>
…ions and fix document links in committee reports

Co-authored-by: pethers <[email protected]>
Copilot AI changed the title [WIP] Update Arabic translations for evening analysis article Fix type classification and undefined content across multi-language news articles Feb 15, 2026
Copilot AI requested a review from pethers February 15, 2026 11:38
@pethers pethers marked this pull request as ready for review February 15, 2026 11:41
@pethers pethers merged commit d712120 into tss Feb 15, 2026
@pethers pethers deleted the copilot/sub-pr-181 branch February 15, 2026 11:41
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