Ask for detailed news outlines and keep checked severities

Outlines move to geometry version 4: the news server now follows Natural
Earth's own border vertices instead of a coarse grid, and the new version is a
new cache entry. A severity a reviewer set (severityBy 'label') is kept as such
instead of reading as the rules'.
This commit is contained in:
Denis Groshev committed 2026-11-06 00:45:27 +01:00
1 parent 60fad38c3f
commit ee3593cfbd
4 files changed
+21 -5

No files matched your search

+3 -1
View File
@@ -253,7 +253,9 @@ function normalizeReport(raw) {
? raw.relevance
: 'related',
severity: severity(raw.severity),
severityBy: raw.severityBy === 'model' ? 'model' : 'rules',
severityBy: ['model', 'label'].includes(raw.severityBy)
? raw.severityBy
: 'rules',
claim:
raw.claim && typeof raw.claim === 'object'
? { by: text(raw.claim.by, 80) }