fix: adding additional clarity when updating peercards (#304)

This commit is contained in:
ajspig 2025-12-18 17:34:10 -05:00 committed by GitHub
parent a42252867f
commit 75d1180ae1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -472,9 +472,9 @@ class CertaintyReasoner:
]
accumulate_metric(
f"deriver_{self.ctx[-1].id}_{self.observer}",
"new_peer_card"
"updated_peer_card"
if self.observer == self.observed
else f"new_{self.observed}_peer_card",
else f"updated_{self.observed}_peer_card",
"\n".join(new_peer_card),
"blob",
)