feat(persona): accept Qiwu JD whole-body runtime
This commit is contained in:
parent
f3aa81148a
commit
4a637fc559
25 changed files with 370 additions and 38 deletions
|
|
@ -67,7 +67,7 @@ def audit() -> dict:
|
|||
) or (
|
||||
bottle_bodies.get(persona_id, {}).get("state") == "JD_WHOLE_BODY_RUNTIME_HEALTHY_AWAITING_EXPLICIT_PERSONA_WAKE_CYCLE"
|
||||
) or (
|
||||
persona_id == "ICE-P-SH0908" and c and c.get("system_state") == "JD_WHOLE_BODY_RUNTIME_HEALTHY_AWAITING_EXPLICIT_PERSONA_WAKE_CYCLE"
|
||||
c and c.get("system_state") == "JD_WHOLE_BODY_RUNTIME_HEALTHY_AWAITING_EXPLICIT_PERSONA_WAKE_CYCLE"
|
||||
)
|
||||
source_path = REPO / c.get("persona_subject", {}).get("canonical_path", "") if c else None
|
||||
body_seed = bool(
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@ class PersonaPathAuditTest(unittest.TestCase):
|
|||
self.assertEqual(value["counts"]["registered"], 25)
|
||||
self.assertEqual(value["counts"]["homes"], 25)
|
||||
self.assertEqual(value["counts"]["valid_doorplates"], 25)
|
||||
self.assertEqual(value["counts"]["full_body_runtime_available"], 11)
|
||||
self.assertEqual(value["counts"]["body_seed_present_full_runtime_not_proven"], 3)
|
||||
self.assertEqual(value["counts"]["full_body_runtime_available"], 12)
|
||||
self.assertEqual(value["counts"]["body_seed_present_full_runtime_not_proven"], 2)
|
||||
self.assertEqual(value["counts"]["registered_path_only"], 11)
|
||||
self.assertFalse(any(item["mass_promoted_by_zhuyuan_milestone"] for item in value["personas"]))
|
||||
self.assertTrue(value["invariants"]["body_runtime_order_verified"])
|
||||
|
|
|
|||
Loading…
Reference in a new issue