You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(journalism): Improve article quality with Economist-style editorial standards
- Raise minQualityScore from 0.75 to 0.80
- Raise minPartySources from 4 to 6 for better 8-party Swedish coverage
- Add requireHistoricalContext: true as mandatory blocking threshold
- Update party normalization to /6 in calculateQualityScore
- Add INTER_PILLAR_TRANSITIONS and getPillarTransition() for all 14 languages
- Improve lede generation in generateGenericContent to lead with most significant document type (inverted pyramid)
- Update test to reflect new 6-party normalization baseline
Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
? `Riksdagen behandlar ${leadDocs.length} proposition${leadDocs.length!==1 ? 'er' : ''}${leadTitle ? ` — inklusive "${leadTitle}"` : ''} under denna period.`
597
+
: `Parliament is considering ${leadDocs.length} government proposition${leadDocs.length!==1 ? 's' : ''}${leadTitle ? ` — including "${leadTitle}"` : ''} during this period.`;
598
+
}elseif(leadType==='bet'&&leadDocs.length>0){
599
+
ledeText=lang==='sv'
600
+
? `Utskotten har lämnat ${leadDocs.length} betänkande${leadDocs.length!==1 ? 'n' : ''}${leadTitle ? ` — ledda av "${leadTitle}"` : ''} för riksdagens beslut.`
601
+
: `Committees have delivered ${leadDocs.length} report${leadDocs.length!==1 ? 's' : ''}${leadTitle ? ` — led by "${leadTitle}"` : ''} for parliamentary decision.`;
0 commit comments