-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinterpretation-policy.time_series_forecast.schema.json
More file actions
60 lines (60 loc) · 2.35 KB
/
Copy pathinterpretation-policy.time_series_forecast.schema.json
File metadata and controls
60 lines (60 loc) · 2.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Interpretation Policy (domain overrides)",
"description": "this sidecar now carries only interpretation-specific overrides: the `verifiableEntities` block consumed by the core claim verifier. The shared claim-boundary shape is validated against `_policy-skeleton.schema.json` by the loader.",
"type": "object",
"properties": {
"verifiableEntities": {
"type": "object",
"required": [
"enabled",
"entityNamePatterns",
"directionVocab",
"effectSizeColumns",
"entityColumns"
],
"properties": {
"enabled": { "type": "boolean" },
"entityNamePatterns": {
"type": "array",
"items": { "type": "string" },
"description": "Regular expressions identifying entity names in narrative prose (e.g. gene symbols, protein IDs, endpoint codes)."
},
"entityNameExcludePatterns": {
"type": "array",
"items": { "type": "string" },
"description": "Anchored regex patterns (e.g. '^DNA$') for tokens that must be excluded after entity-pattern matching. Used to suppress common-noun acronyms (RNA, PCR, DNA, WHO) that the broad gene-symbol regex otherwise captures. Optional — absent field treated as empty denylist."
},
"directionVocab": {
"type": "object",
"required": ["up", "down"],
"properties": {
"up": { "type": "array", "items": { "type": "string" } },
"down": { "type": "array", "items": { "type": "string" } }
}
},
"effectSizeColumns": {
"type": "array",
"items": { "type": "string" },
"description": "Column headers where effect sizes appear in result tables; the verifier tries each in order."
},
"entityColumns": {
"type": "array",
"items": { "type": "string" },
"description": "Column headers where entity names appear; used to locate the row for a given claim."
},
"pvalueColumns": {
"type": "array",
"items": { "type": "string" }
},
"tolerance": {
"type": "object",
"properties": {
"log2FcAbsoluteDelta": { "type": "number" },
"pvalueRelativeDelta": { "type": "number" }
}
}
}
}
}
}