theapemachine commited on
Commit
be04d92
·
1 Parent(s): 45cc459

Enhance README and scripts for cognitive architecture testing

Browse files

- Updated README to clarify the functionality of `UnifiedField.predict()`, including the expected output format and common follow-up actions.
- Added a minimal example in the README demonstrating the use of `TopologyMapper` for graph projection.
- Improved error handling in `chat.py` by removing redundant traceback imports and ensuring consistent exception logging.
- Refactored `compare_iterative.py` to consolidate shared parameters for scoring bridges, enhancing maintainability.
- Enhanced `smoke_extract.py` with detailed logging and summary statistics for grounding checks, improving diagnostic capabilities.
- Updated `runner.py` and `tasks.py` for better error handling and logging during task evaluation and sample loading.
- Introduced new validation checks in `StructuralCausalModel` to ensure proper parent variable definitions and counterfactual limits.

39 files changed +865 -234
Files changed (39)
README.md+37-1
scripts/chat.py+1-3
scripts/compare_iterative.py+39-15
scripts/smoke_extract.py+64-8
tensegrity/__init__.py+7-3
tensegrity/bench/runner.py+29-8
tensegrity/bench/tasks.py+1-1
tensegrity/broca/benchmark.py-2
tensegrity/broca/controller.py+5-2
tensegrity/broca/schemas.py+1
tensegrity/causal/arena.py+22-13
tensegrity/causal/from_proposal.py+2-2
tensegrity/causal/scm.py+77-12
tensegrity/core/morton.py+3-2
tensegrity/engine/causal_energy.py+22-8
tensegrity/engine/fhrr.py+52-16
tensegrity/engine/ngc.py+7
tensegrity/engine/scoring.py+4-1
tensegrity/engine/unified_field.py+16-1
tensegrity/graft/__init__.py+5
tensegrity/graft/logit_bias.py+45-5
tensegrity/graft/pipeline.py+44-10
tensegrity/graft/vocabulary.py+102-12
tensegrity/inference/__init__.py-3
tensegrity/legacy/__init__.py+2
tensegrity/legacy/v1/agent.py+53-8
tensegrity/legacy/v1/blanket.py+49-25
tensegrity/legacy/v1/morton.py+73-24
tensegrity/memory/episodic.py+5
tensegrity/memory/epistemic.py+12-2
tensegrity/pipeline/canonical.py+30-20
tensegrity/pipeline/iterative.py+35-22
tests/test_architecture_alignment.py+1-1
tests/test_async_graft.py+2
tests/test_engine.py+5-1
tests/test_graft.py+1
tests/test_needle.py+7
tests/test_scoring_bench.py-2
tests/test_tensegrity.py+5-1