Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
refactor: compute processor parity only after a grid match (#8867)
[._.]/ Adam Eivy7c45aba1e116
diff --git a/scripts/diagnose_minimax_h3_processor.py b/scripts/diagnose_minimax_h3_processor.pyindex 04ba277809..8c350021eb 100644--- a/scripts/diagnose_minimax_h3_processor.py+++ b/scripts/diagnose_minimax_h3_processor.py@@ -66,7 +66,9 @@ def compare(case, reference, twin, patch_size):"twin_grid": twin_grid,"resampled": [grid_h * patch_size, grid_w * patch_size] != [case["height"], case["width"]],"shapes_match": ref_values.shape == twin_values.shape,+ "parity": False,}+ # A differing grid or shape already fails parity; there is nothing to diff.if result["shapes_match"] and ref_grid == twin_grid:difference = np.abs(ref_values.astype(np.float64) - twin_values.astype(np.float64))result.update(@@ -74,10 +76,10 @@ def compare(case, reference, twin, patch_size):mean_abs=float(difference.mean()),bfloat16_mismatch=float(np.mean(bfloat16_bits(ref_values) != bfloat16_bits(twin_values))),)- result["parity"] = (- result["shapes_match"] and ref_grid == twin_grid and not result["resampled"]- and result["max_abs"] <= FLOAT32_TOLERANCE and result["bfloat16_mismatch"] == 0- )+ result["parity"] = (+ not result["resampled"] and result["max_abs"] <= FLOAT32_TOLERANCE+ and result["bfloat16_mismatch"] == 0+ )return result