05prey commited on
Commit
e7ccca2
·
verified ·
1 Parent(s): cc677ba

Create policy.json

Browse files
Files changed (1) hide show
  1. policy.json +55 -0
policy.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "policy_version": "2026-02-14.1",
3
+ "min_agent_version": "0.1.0",
4
+ "updated_at": "2026-02-14T00:00:00Z",
5
+
6
+ "targets": {
7
+ "inference_upload_url": "https://05prey-cloud-end.hf.space/upload"
8
+ },
9
+
10
+ "selection": {
11
+ "allowed_modalities": ["MG", "MR", "US"],
12
+
13
+ "mg": {
14
+ "enabled": true,
15
+ "views": [
16
+ { "name": "R CC", "match_any": ["R CC", "RCC", "RIGHT CC"] },
17
+ { "name": "L CC", "match_any": ["L CC", "LCC", "LEFT CC"] },
18
+ { "name": "R MLO", "match_any": ["R MLO", "RMLO", "RIGHT MLO"] },
19
+ { "name": "L MLO", "match_any": ["L MLO", "LMLO", "LEFT MLO"] }
20
+ ],
21
+ "max_series": 4
22
+ },
23
+
24
+ "mr": {
25
+ "enabled": true,
26
+ "prefer_series": [
27
+ { "label": "SUB/DCE", "match_any": ["SUB", "SUBTR", "SUBTRACT", "VIBRANT", "DYN", "DCE"], "max_take": 1 },
28
+ { "label": "T1", "match_any": ["T1", "T1W", "THRIVE", "VIBE", "eTHRIVE"], "max_take": 1 }
29
+ ],
30
+ "fallback": { "take_largest_series": 1 },
31
+ "limits": {
32
+ "max_total_instances": 5000,
33
+ "max_instances_per_series": 1500,
34
+ "max_zip_mb": 6000
35
+ }
36
+ },
37
+
38
+ "us": {
39
+ "enabled": false
40
+ }
41
+ },
42
+
43
+ "packaging": {
44
+ "format": "zip",
45
+ "layout": "PATIENTID/STUDYDATE/MODALITY/SERIESUID/*.dcm",
46
+ "include_manifest": true,
47
+ "manifest_name": "manifest.json"
48
+ },
49
+
50
+ "transport": {
51
+ "timeout_seconds": 1800,
52
+ "retries": 2,
53
+ "retry_backoff_seconds": [2, 5, 15]
54
+ }
55
+ }