DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to test whether System 2 observers help a task with Cadence

Build a System 1 brain and a recursive brain with observers, then compare them on the same task.

Short answer: python -m pip install cadence-net==0.84.3; then Compose the plain brain with brain = Brain.compose(inputs=4, actions=2, arousal=True); Compose the recursive brain with recursive = Brain.compose(inputs=4, actions=2, modules=(16, 8), observers=(8,), seed=7, arousal=True). All steps.

  • Research
  • Advanced
  • 1 hour
  • From the README
  • Any agent

Who it is forA cognitive-architecture researcher who wants to know whether self-observing regions change acquisition or recovery on a fixed task.

The problemThe value of recursive feedback is unclear, so a fair test needs two brains with matched wiring except for the observer regions.

The outcomeA side-by-side record of reward over time for a plain System 1 brain and a System 2 brain with observers, on the same seed and task.

What you need first

  • Python 3.11 or newer
  • NumPy installed through pip
  • A toy environment or task that can supply an observation and a measured reward after each action

Steps

  1. python -m pip install cadence-net==0.84.3
  2. Compose the plain brain with brain = Brain.compose(inputs=4, actions=2, arousal=True).
  3. Compose the recursive brain with recursive = Brain.compose(inputs=4, actions=2, modules=(16, 8), observers=(8,), seed=7, arousal=True). (inferred, check the README)
  4. Run both brains through the same environment loop with live, recording the reward at each step.
  5. Compare reward curves across the run, including after a changed condition in the environment.

Prompt for your agent

Using the Python package cadence-net (repo muellerberndt/cadence), run Brain.compose with and without observers=(8,) on the environment at <task file> using live() for 500 steps each. Expected output: two reward-by-step series and a summary of their averages. Verify that both brains receive identical observations and rewards at each step.

Caveat. The README says whether recursive feedback helps on a task is a question for experience and evaluation, so a single run does not settle it.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for muellerberndt/cadence and "Test whether System 2 observers help a task"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer