fix(rectification): show the house table and hide the activity fold
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -11,6 +11,7 @@ from scripts.rectification.contracts import (
|
||||
RectificationRequest,
|
||||
is_scoreable_event,
|
||||
)
|
||||
from scripts.rectification.house_table import compact_house_table_from_contexts
|
||||
from scripts.rectification.scoring_service import precision_weight
|
||||
|
||||
POLICY_VERSION = "rectification-candidate-policy-v2"
|
||||
@@ -247,6 +248,12 @@ def build_decision_receipt(
|
||||
"exact_confirmation": exact_confirmation,
|
||||
},
|
||||
}
|
||||
house_table = compact_house_table_from_contexts(
|
||||
built.get("static_contexts"),
|
||||
representative["time"] if representative else None,
|
||||
)
|
||||
if house_table:
|
||||
receipt["house_table"] = house_table
|
||||
return receipt
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user