Spaces:
Running
Running
Update master_key.py
Browse files- master_key.py +32 -30
master_key.py
CHANGED
|
@@ -218,37 +218,39 @@ TABLE_SCHEMAS = {
|
|
| 218 |
},
|
| 219 |
|
| 220 |
# Vehicle Registration Tables
|
| 221 |
-
"Vehicle Registration Numbers Maintenance": {
|
| 222 |
-
"headings": [
|
| 223 |
-
{"level": 1, "text": "Vehicle Registration Numbers of Records Examined"},
|
| 224 |
-
{"level": 2, "text": "Maintenance Management"}
|
| 225 |
-
],
|
| 226 |
-
"orientation": "row1",
|
| 227 |
-
"labels": [
|
| 228 |
-
"No.", "Registration Number", "Roadworthiness Certificates",
|
| 229 |
-
"Maintenance Records", "Daily Checks",
|
| 230 |
-
"Fault Recording/ Reporting", "Fault Repair"
|
| 231 |
-
],
|
| 232 |
-
"priority": 80,
|
| 233 |
-
"context_keywords": ["maintenance", "vehicle registration"]
|
| 234 |
-
},
|
| 235 |
"Vehicle Registration Numbers Mass": {
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
|
| 241 |
-
|
| 242 |
-
|
| 243 |
-
|
| 244 |
-
|
| 245 |
-
|
| 246 |
-
|
| 247 |
-
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
|
| 251 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 252 |
"Driver / Scheduler Records Examined": {
|
| 253 |
"headings": [
|
| 254 |
{"level": 1, "text": "Driver / Scheduler Records Examined"},
|
|
|
|
| 218 |
},
|
| 219 |
|
| 220 |
# Vehicle Registration Tables
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 221 |
"Vehicle Registration Numbers Mass": {
|
| 222 |
+
"headings": [
|
| 223 |
+
{"level": 1, "text": "Vehicle Registration Numbers of Records Examined"},
|
| 224 |
+
{"level": 2, "text": "MASS MANAGEMENT"}
|
| 225 |
+
],
|
| 226 |
+
"orientation": "row1",
|
| 227 |
+
"labels": [
|
| 228 |
+
"No.", "Registration Number", "Sub contractor",
|
| 229 |
+
"Sub-contracted Vehicles Statement of Compliance",
|
| 230 |
+
"Weight Verification Records",
|
| 231 |
+
"RFS Suspension Certification #",
|
| 232 |
+
"Suspension System Maintenance", "Trip Records",
|
| 233 |
+
"Fault Recording/ Reporting on Suspension System"
|
| 234 |
+
],
|
| 235 |
+
"priority": 90, # Higher priority
|
| 236 |
+
"context_keywords": ["mass", "vehicle registration", "rfs suspension", "weight verification"],
|
| 237 |
+
"context_exclusions": ["maintenance", "roadworthiness", "daily checks"] # Exclude maintenance-specific terms
|
| 238 |
+
},
|
| 239 |
+
"Vehicle Registration Numbers Maintenance": {
|
| 240 |
+
"headings": [
|
| 241 |
+
{"level": 1, "text": "Vehicle Registration Numbers of Records Examined"},
|
| 242 |
+
{"level": 2, "text": "Maintenance Management"}
|
| 243 |
+
],
|
| 244 |
+
"orientation": "row1",
|
| 245 |
+
"labels": [
|
| 246 |
+
"No.", "Registration Number", "Roadworthiness Certificates",
|
| 247 |
+
"Maintenance Records", "Daily Checks",
|
| 248 |
+
"Fault Recording/ Reporting", "Fault Repair"
|
| 249 |
+
],
|
| 250 |
+
"priority": 85, # Lower priority
|
| 251 |
+
"context_keywords": ["maintenance", "vehicle registration", "roadworthiness", "daily checks"],
|
| 252 |
+
"context_exclusions": ["mass", "rfs suspension", "weight verification"] # Exclude mass-specific terms
|
| 253 |
+
},
|
| 254 |
"Driver / Scheduler Records Examined": {
|
| 255 |
"headings": [
|
| 256 |
{"level": 1, "text": "Driver / Scheduler Records Examined"},
|