r/Python • • Feb 11 '26

Showcase [ Removed by moderator ]

[removed] — view removed post

0 Upvotes

22 comments sorted by

View all comments

Show parent comment

-2

u/Amazing-Wear84 Feb 11 '26

With all due respect, you're looking at the router, not the engine.
If you look at lsm .py, you won't find if hunger: cry. You'll find weight ma dot products and synaptic decay functions. The if/else you see in the main loop is just the interface the way the "brain" talks to the console. But the decision itself comes from the 2,100-neuron reservoir.
It’s like looking at a Ferrari and saying, "It's just a bunch of bolts." Technically true, but the way those bolts are arranged makes it go 200 mph.
If you still think Hebbian learning (STDP) is just "if A then B", then I’d suggest checking out some papers on reservoir computing. Cheers!

6

u/lolcrunchy Feb 11 '26

Your consciousness.DigitalSubconcious._generate_idea function just grabs three random strings, then puts them into one of five canned phrases. Thats like a coding 101 practice problem.

One of your comments describes something as "chaos" when it's just the variance of the last 10 elements of an array that you continually append to.

You have tons of dataclasses with mostly arithmetic and variable assignments, and the only thing impressive about them is what their variable names sound like.

1

u/Amazing-Wear84 Feb 11 '26

Thats a fair point if you’re only looking at this file by itself. You are right this module mainly handles higher-level logic, not the actual neural processing part.

About the canned phrases: yes, conscious.py mostly gives the structure or templates. The important part isn’t the template itself, but the data that gets pulled from vector memory in lsm.py to fill it. The randomness is there on purpose real biological creativity often comes from a mix of randomness and pattern recognition.

About chaos vs variance: calling variance “chaos” is mostly just a naming choice to make it easier to understand. In biological systems, if something like body balance (homeostasis) has very high variance, it can be seen as instability or chaos.

About the simple arithmetic: that’s basically how homeostasis works. In simple terms, biological metabolism is like input minus output equals current state.

The purpose of this module is not to act like a neural network that part is handled in lsm .py,god .py etc using reservoir computing. This module is more about creating behavior that looks complex by combining many simple feedback loops working together.

If you want to see the heavy math, matrix operations, and Hebbian learning, you should look at lsm.py. This consciousness file is more like a hormone control system.

1

u/[deleted] Feb 12 '26

[removed] — view removed comment

1

u/Amazing-Wear84 Feb 12 '26

I use llm as a tool to handle the syntax and polish my English (as it’s not my first language), but the architectural decisions specifically the choice to model homeostatic regulation via a global decay factor versus threshold modulation and others logics are mine. we may be in a new era where ai writes the boilerplate, but it still requires a human architect to design the system logic. An LLM doesn't care about biological plausibility, I do. Most important this code is for Ai researcher and Neuromorphic engineers, not for others. Only Neuromorphic engineers can understand the codebase and lsm maths.