This project implements AERA (Auto-catalytic Endogenous Reflective Architecture) using the Replicode programming language.
For an overview, please visit https://openaera.org . See our FAQ which answers many questions about AERA https://openaera.org/faq .
This README file documents general information about the AERA code.
See the file INSTALL.md for build and install instructions.
See the file CHANGELOG.md for version numbers and changes.
For code documentation, see https://iiim-is.github.io/AERA .
The main program execution for the example happens in AERA/main.cpp
main()
// loads the settings.xml
and the seed image, starts up r_exec/mem.cpp
and then waits for run_time and ends by saving the results to disk to decompiled.txt
r_exec/mem.cpp
starts up the runReductionCore
and the runTimeCore
threads which do the magicr_exec/pattern_extractor.cpp
and r_exec/g_monitor.cpp
push new reduction and time jobs to the job queuesr_exec/*_controller.cpp
are the controllers for mdl, pgm and morecmd
) activated in the replicode scripts would be activated through r_exec/mem.cpp::eject(Code *command)
, see https://github.com/IIIM-IS/Integration_OpenAI for actual device commandsThis is a list of unintuitive issues with using AERA, to help new users.
AERA/replicode_v1.2
examples really function due to syntax changes.decompiled_objects.txt
).pong.2.simplified.replicode
: Prediction is made after the actual fact is injected. (But the prediction doesn't look at it,
and the prediction check uses the output of auto focus which correctly doesn't appear until the next frame.)decompiled_objects.txt
. In settings.xml
, try keep_invalidated_objects=yes
.Demo = demonstrated functionality. Vis = explanation in Visualizer. Comm = code commented. Doc = details in software design document
Demo | Vis | Comm | Doc | Functionality |
---|---|---|---|---|
Facts / Success | ||||
✓ | Learn models in change targeted pattern extractor (CTPX) | |||
Learn models in goal targeted pattern extractor (GTPX) due to unexpected achievement of goal fact | ||||
✓ | ✓ | Non-simulated icst from facts/icsts | ||
✓ | ✓ | Non-simulated prediction of imdl from weak requirement model | ||
✓ | Rating of weak requirement models | |||
✓ | ✓ | Testing and re-activation of models and weak requirement models in the secondary group | ||
✓ | Use of deleted models to prevent re-creating them | |||
✓ | ✓ | Non-simulated prediction of fact from model | ||
✓ | Non-simulated cmd from non-simulated goal RHS | |||
Auto-focus based on active predictions and goals (not pass-through) | ||||
✓ | Views/groups and saliency propagation | |||
✓ | Simulated prediction of icst from facts/icsts | |||
✓ | Simulated prediction of imdl from weak requirement model | |||
✓ | Simulated prediction of fact from model | |||
✓ | Simulated goal from drive | |||
✓ | Simulated goal cmd from model | |||
✓ | Simulated goal requirement imdl from model | |||
✓ | Simulated goal icst from requirement model | |||
✓ | Simulated goal facts/icsts from icst | |||
✓ | Commiting to optional solutions | |||
Anti-facts / Failure | ||||
✓ | Learn strong requirement models (predicted anti-imdl) in prediction targeted pattern extractor (PTPX) due to failed prediction of a fact | |||
Learn strong requirement models (predicted anti-imdl) in prediction targeted pattern extractor (PTPX) due to failed prediction of an anti-fact | ||||
✓ | Learn models in goal targeted pattern extractor (GTPX) due to unexpected achievement of goal anti-fact | |||
✓ | Non-simulated prediction of anti-fact from model | |||
✓ | Non-simulated prediction of anti-imdl from strong requirement model (to prevent model prediction) | |||
✓ | Rating of strong requirement models | |||
Testing and re-activation of strong requirement models in the secondary group | ||||
Goal actions to test conflicting weak and strong requirements | ||||
Simulated anti-goal from opposite match of drive (and starting of new simulation from anti-goal) | ||||
✓ | Simulated prediction of anti-imdl from strong requirement model (to prevent model prediction) | |||
✓ | Simulated prediction of anti-fact from model | |||
Conflict resolution of conflicting predictions (fact and anti-fact) | ||||
Simulated anti-goal of cmd from model with anti-matched RHS | ||||
Simulated anti-goal requirement imdl from model with anti-matched RHS | ||||
Simulated anti-goal icst from requirement model with anti-matched RHS | ||||
Simulated anti-goal facts/icsts from anti-fact icst | ||||
✓ | Commiting to mandatory solutions |