File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ def sync_phase(self, partner_sig):
3030 my_sig = self .state [:7 ]
3131 # Calculate the 'Logical Distance' (Phase Lag)
3232 diff = np .linalg .norm (partner_sig - my_sig )
33-
33+
3434 # If we are desynced, 'nudge' the torque to close the gap
3535 # This is the 'Elastic Torque' that handles network jitter
3636 if diff > 0.001 :
@@ -55,14 +55,14 @@ def collapse(self):
5555# Simulate 10 cycles with intentional 'Network Jitter'
5656for i in range (10 ):
5757 sig_a = alice .oscillate ()
58-
58+
5959 # Simulate Bob being slightly 'off' due to jitter
6060 if i == 5 :
6161 print ("[!] Jitter detected: Bob's packet delayed." )
6262 bob .torque -= 0.05 # Bob slows down temporarily
63-
63+
6464 sig_b = bob .oscillate ()
65-
65+
6666 # 7D Phase Correction: Alice and Bob exchange signatures to sync
6767 alice .sync_phase (sig_b )
6868 bob .sync_phase (sig_a )
You can’t perform that action at this time.
0 commit comments