Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

🔖 Checkpoint: Edit /workspaces/claude-code-flow/test_with_installed.py

rUv3e8a9a86640e
diff --git a/.claude/checkpoints/1754577278.json b/.claude/checkpoints/1754577278.json
new file mode 100644
index 0000000000..bef43b287b
--- /dev/null
+++ b/.claude/checkpoints/1754577278.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250807-143437", "file": "/workspaces/claude-code-flow/test_fix.py", "timestamp": "2025-08-07T14:34:38Z", "type": "pre-edit", "original_branch": "swe-bench"}
diff --git a/.claude/checkpoints/1754577279.json b/.claude/checkpoints/1754577279.json
new file mode 100644
index 0000000000..d8a84089ae
--- /dev/null
+++ b/.claude/checkpoints/1754577279.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250807-143439", "file": "/workspaces/claude-code-flow/test_fix.py", "timestamp": "2025-08-07T14:34:39Z", "type": "post-edit", "branch": "swe-bench", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 174 +++++++++++++++++++++++++++---- .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1754577270.json | 1 + .claude/checkpoints/1754577272.json | 1 + .claude/checkpoints/1754577274.json | 1 + astropy_fix | 0 test_fix.py | 52 +++++++++ 8 files changed, 212 insertions(+), 25 deletions(-) "}
diff --git a/test_with_installed.py b/test_with_installed.py
new file mode 100644
index 0000000000..de147310ba
--- /dev/null
+++ b/test_with_installed.py
@@ -0,0 +1,22 @@
+#!/usr/bin/env python
+"""
+Test that the current version has the bug
+"""
+from astropy.modeling import models as m
+from astropy.modeling.separable import separability_matrix
+
+print("Testing with installed astropy (should show the bug)...")
+
+try:
+ # This should trigger the bug in the unfixed version
+ mapping = m.Mapping([0, 1])
+ cm = m.Linear1D(1) & m.Linear1D(2)
+ nested = mapping | cm
+ print(f"Model: Mapping([0,1]) | (Linear1D & Linear1D)")
+ sep = separability_matrix(nested)
+ print(f"Separability matrix:\n{sep}")
+ print("✓ No error - either already fixed or different bug")
+except Exception as e:
+ print(f"✗ Error occurred (this is the bug): {e}")
+
+print("\nThe fix prevents this error by handling CompoundModels correctly in _cdot")
\ No newline at end of file