fix(consult): pass birth-time accuracy instead of treating every chart as unrectified
Hospital records and adopted rectification times were still fed to the model as not_auto_rectified because the chart request omitted declared_accuracy/time_source and mastra hardcoded the boundary. Map profile truth into the engine request, keep rectified for accepted/confirmed active times only, and leave window/general guards unchanged. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -38,6 +38,7 @@ EVENT_HOUSE_MAP = {
|
||||
# 矫正精度与分盘启用矩阵
|
||||
ACCURACY_MATRIX = {
|
||||
'minute': {'D1': True, 'D9': True, 'D10': True, 'D5': True, 'D4': True, 'D7': 'warn', 'D30': False, 'D60': False},
|
||||
'5min': {'D1': True, 'D9': True, 'D10': True, 'D5': 'warn', 'D4': 'warn', 'D7': 'warn', 'D30': False, 'D60': False},
|
||||
'15min': {'D1': True, 'D9': True, 'D10': 'warn', 'D5': 'warn', 'D4': 'warn', 'D7': False},
|
||||
'1hour': {'D1': True, 'D9': 'warn'},
|
||||
'unknown': {'D1': True, 'D9': 'warn'},
|
||||
|
||||
Reference in New Issue
Block a user