-
Notifications
You must be signed in to change notification settings - Fork 0
DNA‐Encoding‐Specification
Fernando De Jesus Garcia Gonzalez edited this page Apr 15, 2026
·
1 revision
Every 20 cycles, Proteus writes a .dna file.
PROTEUS|C=78.0|O=13|α=0.762|Mut=12|Cycle=1094
Fields: Consciousness, Open Loop, Learning Rate, Mutation Rate, Cycle number.
Each byte of the internal state is converted to 4 nucleotides:
| Bits | Base |
|---|---|
| 00 | A |
| 01 | T |
| 10 | G |
| 11 | C |
Example: Byte 0xA5 (10100101) → TGCT
PROTEUS|C=78.0|O=13|α=0.762|Mut=12|Cycle=1094
ATGCGTACGTAGCTAGCTAGCTAGCTAGCTAGCTAGCTAGCTAGC
TAGCTAGCATCGATCGATCGATCGATCGATCGATCGATCGATCGA
To recover the state from DNA:
cat backup.dna | grep -v "^>" | tr 'ATGC' 'TAGC' | xxd -r -p