|
29 | 29 | ], |
30 | 30 | "additionalProperties": false, |
31 | 31 | "properties": { |
32 | | - "id": { "type": "string", "pattern": "^[a-z0-9-]+$" }, |
| 32 | + "id": { "type": "string", "pattern": "^[a-z0-9.-]+$" }, |
33 | 33 | "model": { "type": "string" }, |
34 | 34 | "model_version": { "type": "string" }, |
35 | 35 | "adapter": { "type": "string" }, |
|
40 | 40 | "dataset_version": { "type": "string" }, |
41 | 41 | "date": { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}$" }, |
42 | 42 | "page_count": { "type": "integer", "minimum": 1 }, |
43 | | - "prediction_coverage": { "type": "number", "minimum": 0, "maximum": 1 }, |
44 | | - "failed_pages": { "type": "integer", "minimum": 0 }, |
45 | | - "known_failures": { "type": "integer", "minimum": 0 }, |
46 | | - "unknown_failures": { "type": "integer", "minimum": 0 }, |
| 43 | + "prediction_coverage": { "type": ["number", "null"], "minimum": 0, "maximum": 1 }, |
| 44 | + "failed_pages": { "type": ["integer", "null"], "minimum": 0 }, |
| 45 | + "known_failures": { "type": ["integer", "null"], "minimum": 0 }, |
| 46 | + "unknown_failures": { "type": ["integer", "null"], "minimum": 0 }, |
47 | 47 | "scoring_mode": { "enum": ["quick_match", "official"] }, |
48 | 48 | "aggregation_mode": { |
49 | 49 | "enum": [ |
|
57 | 57 | "required": ["text_edit_dist", "reading_order_edit_dist"], |
58 | 58 | "properties": { |
59 | 59 | "text_edit_dist": { "type": "number", "minimum": 0 }, |
60 | | - "reading_order_edit_dist": { "type": "number", "minimum": 0 }, |
| 60 | + "reading_order_edit_dist": { "type": ["number", "null"], "minimum": 0 }, |
61 | 61 | "table_teds_pooled": { "type": ["number", "null"], "minimum": 0, "maximum": 1 }, |
62 | 62 | "table_teds_page_avg": { "type": ["number", "null"], "minimum": 0, "maximum": 1 }, |
63 | 63 | "formula_cdm": { "type": ["number", "null"], "minimum": 0, "maximum": 1 } |
|
0 commit comments