vynly commited on
Commit
05d8a5e
·
verified ·
1 Parent(s): a2ae60f

CAEL 0.4.4: a thinking swarm without a neural network, and 62/400 on ARC-AGI-1

Browse files
Files changed (10) hide show
  1. CAEL-0.4.4.zip +3 -0
  2. CHANGELOG.md +136 -0
  3. LICENSE +70 -0
  4. NOTICE.md +47 -0
  5. README.md +100 -0
  6. RELEASE_0_4_4.md +183 -0
  7. SHA256SUMS.txt +5 -0
  8. bundle_config.json +7 -0
  9. cael-open-chat-v1.1.zip +3 -0
  10. params.json +29 -0
CAEL-0.4.4.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d50790415526d5ac3bc0b5f99101f6202932f2032f7c50bb70ad78169ec4004
3
+ size 20119873
CHANGELOG.md ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # CAEL 0.4.4: a thinking swarm and an extended ARC solver
2
+
3
+ **Chat thinks before it answers, as a swarm** (`think.py`):
4
+ - Nine exact readers each propose an answer to several readings of the question (as asked, all turns as one, number
5
+ words as digits, statements apart).
6
+ - Each proposal is checked: the answer type must fit, and a word problem's number must be derivable from the stated
7
+ numbers.
8
+ - The checked proposals vote; when two fully checked answers disagree, CAEL asks which reading was meant.
9
+
10
+ **New readers:**
11
+ - `everyday_exact` and `everyday_more`: about 65 everyday shapes, such as money, rates, clocks, calendars,
12
+ corrections, newer or retracted sources, and the latest value of a fact.
13
+ - `constraint_logic`: line-ups by exhaustive search, and if-then rules.
14
+ - `explain_more`: about 60 short explanations.
15
+
16
+ **A final answer guard** replaces off-topic replies to the user's own situation with an honest "I can't work this out".
17
+
18
+ **ARC:**
19
+ - 37 new families in `arc_solver.py`;
20
+ - a union swarm of drawing specialists, a leave-one-out self-check, wider two-step search, and a fit cache.
21
+ - Results: ARC-AGI-1 evaluation **62/400** (pass@2, 10 s per task, CPU), ARC-AGI-1 training 152/400, ARC-AGI-2
22
+ evaluation 0/120.
23
+ - New `evaluate_arc.py` reproduces the ARC numbers, and the per-task results are in `results/`.
24
+
25
+ Details: RELEASE_0_4_4.md.
26
+
27
+ # CAEL 0.4.3: new chat desks and an ARC grid solver
28
+
29
+ Adds authored desks to the conversation team:
30
+
31
+ - the Host, with honest answers about CAEL, its web access and the time and date;
32
+ - the Programmer, with 83 Python topics, 31 error explanations, changes to the code just written and a library of 106 self-verified scripts;
33
+ - the Explainer, with 18 concepts and 22 everyday-science explanations, each with follow-ups;
34
+ - the Coach, with beginner guides, habits and ranked tips;
35
+ - the Ideas desk.
36
+
37
+ Also new: calculator sums for deposits, remainders, monthly splits, rates and savings goals; a wider Supporter that recognises serious situations without a feeling word; and a non-neural ARC solver.
38
+
39
+ Results:
40
+
41
+ - ARC-AGI-1 evaluation: 34 of 400 held out, up from 5.
42
+ - Sealed, blind-shuffled comparison against LFM2-700M on 24 conversations: CAEL 13 wins, 5 losses, 6 ties. Self-judged by the developer (a conflict of interest); p ≈ 0.10.
43
+
44
+ Details: RELEASE_0_4_3.md.
45
+
46
+ # CAEL 0.4.2: conversation team, fielded retrieval and the Supporter
47
+
48
+ Adds a fielded retrieval index (BM25F over title, tags, body and answer, a whole-conversation query with learned word associations and a British/American lexicon, and a confidence gate), conversation coherence that keeps follow-up answers on the user's thing, the Supporter for emotional conversations over several turns, story plots with real rewrites, shares and full-price discounts in the calculator, one-turn recipe scaling, moved bookings, and thank-you notes. Removes the unused chat_v6_7 engine and ten unloaded modules; CAEL now runs without the optional open-chat index. Sealed 20-conversation comparison against Gemma 3 270M IT: CAEL 12 wins, 7 losses, 1 tie (self-judged, not blind). Details: RELEASE_0_4_2.md.
49
+
50
+ # CAEL 0.4.1: conversation skills, chat memory and checked web answers
51
+
52
+ Adds exact conversation skills (quantities, rates, clock times, syllogisms, schedules, changed values, notes), chat memory over the conversation, and web answers that require a second independent source, on top of the unchanged 0.4.0 core engines and 0.3.7 resource bundle. Self-judged blind round against Qwen3.5-0.8B: CAEL about 796 Elo (Qwen 1000), 3 wins, 14 losses, 3 ties. Details: RELEASE_0_4_1.md.
53
+
54
+ # CAEL 0.4.0: core automata and rule induction
55
+
56
+ CAEL 0.4.0 upgrades actual non-neural symbolic/count/automaton engines: indexed rule propagation, validated sparse world transitions, finite-domain ordering up to twelve objects, iterative live references, deterministic count retrieval and bounded-checker interoperability. A new request-local learner infers finite discrete transitions from examples. Inherited weights, protected solvers, image/CA kernels and the public 0.3.7 resource bundle are byte-identical.
57
+
58
+ Fresh authored core confirmation: **60/60 positive answers versus 12/60** for 0.3.9.1; focused boundaries 16/16. These are known-family, maintainer/AI-assisted engineering cases, not broad English accuracy. Relevant regressions: 671 passed, four inherited conversation failures remain; 25 inherited failures fixed and 15 new unit tests added.
59
+
60
+ **Full official CellARC symbolic harness, same frozen checkpoint:**
61
+
62
+ | Metric | Interpolation (1000 tasks) | Extrapolation (1000 tasks) |
63
+ |---|---:|---:|
64
+ | Correct cells / total | 6361/11099 | 3815/10918 |
65
+ | Aggregate cell accuracy | **57.31%** | **34.94%** |
66
+ | Entire puzzles correct | **79/1000 (7.9%)** | **5/1000 (0.5%)** |
67
+
68
+ All 2,000 official-harness predictions and full replies reproduce the original run. No scorer/loader or checkpoint tuning; only support pairs/query reach CAEL. Eight interpolation clarifications count fully wrong. No runtime errors. The exact script, pinned sources, original outputs, input hashes, licences and reproduction command are in `benchmarks/core_040/REPRODUCE.md`. This harness rerun is a reproduction, not a new unseen confirmation. Most predictions include empirical/backoff guesses; exact extrapolation remains weak. Official leaderboard inclusion requires maintainer review; no accepted rank or general-chat/Qwen win is claimed.
69
+
70
+ The source ZIP and unchanged 562,714,794-byte `cael-0.3.7.cael` resource archive are both required. This is a custom Python runtime, not a Transformers checkpoint. Use Python 3.12 and the README instructions. CAEL remains non-commercial source-available; third-party data/code licences and attribution are retained. CellARC's actual dataset LICENSE is CC BY 4.0 despite its MIT card tag.
71
+
72
+ This publication does not change the Vynly worker or tunnel. Historic frozen reports describe their completion time; later owner-authorized publication does not rewrite them.
73
+
74
+
75
+ ---
76
+
77
+ # 0.3.9.1 — 2026-11-07
78
+
79
+ Native bounded task interpretation and installed product metadata. Unchanged non-neural architecture and resource bundle. Fresh 900-question study: 777 correct, 123 abstentions; scope and limitations in RELEASE_0_3_9_1.md.
80
+
81
+ # Changelog
82
+
83
+ ## 0.3.9 (2026-11-07)
84
+
85
+ Conversation follow-ups, explicit state, exact task rechecks, guarded choices,
86
+ complete literal positional/keyword examples, personal evidence attribution and
87
+ bounded source-linked comparisons. The tested legacy checker adapter is included
88
+ in the runtime entry point. No neural architecture or inherited resource-weight
89
+ change. Resource bundle remains byte-identical 0.3.7. Authored fresh useful
90
+ answers 10/29 -> 22/29 against the previous conversation development candidate;
91
+ this is not a standard benchmark or Qwen win. All remaining failures retained.
92
+ See RELEASE_0_3_9.md and the full reviewed evidence.
93
+
94
+ ## 0.3.8
95
+
96
+ Code-only release. It loads the unchanged published `cael-0.3.7.cael` model bundle
97
+ (same SHA-256 checksum); no weights or bundle files changed. AI-assisted.
98
+
99
+ ### Fixed
100
+
101
+ - Personal facts: CAEL no longer invents a personal fact it was never told (for example a
102
+ birthplace). It answers from what the user said in the conversation, or says it has not
103
+ been told.
104
+ - Listening requests: an emotional message that asks for no advice and no questions now gets
105
+ a short reflection without advice or questions, for more phrasings than before.
106
+ - Word problems: a checked quantity graph handles more multi-step quantity problems
107
+ (receive, give away, buy, share). The older exact inventory helper still answers first
108
+ when it can, so its worked steps and multi-turn "Add:" state are kept. A leading
109
+ "and"/"then" in a step is handled; "to" is no longer taken as part of a quantity noun.
110
+ - Linear equations such as `Solve 6*x + 5 = 47` are solved exactly.
111
+ - Python generation: the requested function name and signature are kept; a single function
112
+ stub is checked against the request; prompts that contain real code plus extra steps are
113
+ left to the task and data tools instead of being asked to clarify.
114
+ - Code execution: generated specs and recurrences run only inside the restricted Python VM
115
+ (no native `eval`). The VM gained a bounded `dict.fromkeys`.
116
+
117
+ ### Evaluation (read-only, no tuning on evaluation items)
118
+
119
+ - 80-item read-only replay, raw automatic grading: 59/80, against 54/80 recorded for 0.3.7
120
+ (memory 17/20, conversation 10/20, Python 16/20, controls 16/20). Seven replies changed:
121
+ memory-20, conversation-04, python-15 and controls-05 now pass; controls-16 now passes the
122
+ automatic check (it had been accepted in review before); python-05 and python-19 still fail.
123
+ Memory-20 is the item from the public bug report, so it is no longer a clean held-out item.
124
+ Review of the replies was done by AI coding agents (unblinded).
125
+ - Public 128-question comparison: math 0/32 and Python 1/32, the same as 0.3.7. CAEL does
126
+ not pass the competitive math gate and 0.3.8 makes no math improvement claim.
127
+ - GSM8K train split, 400-question development check (informational only): 1 correct, 17 wrong, 382 abstained. Coverage is very low and the 17 wrong answers come from routes that should have abstained.
128
+ - The 400-question comparison is unchanged: Qwen3.5 leads clearly (181/400 original phrase
129
+ passes against CAEL 121/400; Qwen3 116/400). Qwen is also better at open conversation.
130
+
131
+ ### Known limitations
132
+
133
+ - Bundle builds still name the bundle after the code version; 0.3.8 ships the 0.3.7 bundle.
134
+ - The restricted VM refuses `math.*` expressions.
135
+ - Word-problem coverage is still low; some routes give wrong numbers instead of abstaining.
136
+ - Python-19 still uses an import although the prompt asks for no imports.
LICENSE ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CAEL NON-COMMERCIAL LICENSE (Personal and Research Use Only)
2
+
3
+ Copyright (c) 2026 Vovala14. All rights reserved except as granted below.
4
+
5
+ This license applies to CAEL (Cellular Automaton Event Language) and to the
6
+ code, models, weights, prompts, data, documentation and other files in this
7
+ repository and in CAEL model bundles that are owned by the copyright holder
8
+ (the "Software"). Third-party components are covered by section 8 instead.
9
+
10
+ 1. GRANT OF PERMISSION
11
+ Permission is granted, free of charge, to any person obtaining a copy of
12
+ the Software to use, copy, modify, and run it, solely for:
13
+ (a) Personal Use: private, non-commercial use by an individual for their
14
+ own learning, hobby, or experimentation; and
15
+ (b) Research Use: non-commercial academic, scientific, or educational
16
+ research, and publication of the results of that research.
17
+
18
+ 2. COMMERCIAL USE REQUIRES A SEPARATE LICENSE
19
+ You may NOT use the Software, or anything derived from it, for any
20
+ commercial purpose without a separate written license from the copyright
21
+ holder. Commercial purposes include, without limitation:
22
+ (a) selling, licensing, sublicensing, renting, or otherwise charging for
23
+ the Software or derivatives, or access to them;
24
+ (b) using the Software in, or to provide, a product or service that is
25
+ sold, or that generates revenue, directly or indirectly (including
26
+ through advertising, subscriptions, or paid APIs);
27
+ (c) using the Software in the operations of a for-profit business or
28
+ for any other commercial advantage; and
29
+ (d) using the Software or its outputs to train, fine-tune, or distill
30
+ models or systems that are used commercially.
31
+ The copyright holder keeps all commercial rights and may use and license
32
+ the Software commercially.
33
+
34
+ 3. REDISTRIBUTION
35
+ You may share copies or modified versions only for non-commercial
36
+ purposes, and only if you (a) include this license and the copyright
37
+ notice with them, (b) clearly mark any changes you made, and (c) license
38
+ your distribution of the Software under these same terms. You may not
39
+ remove or alter this license or the copyright notice.
40
+
41
+ 4. ATTRIBUTION
42
+ Any research publication or public work that uses the Software must
43
+ credit "CAEL by Vovala14" and link to https://github.com/Vovala14/CAEL .
44
+
45
+ 5. OWNERSHIP
46
+ The Software is licensed, not sold. The copyright holder retains all
47
+ rights not expressly granted here. No trademark rights are granted.
48
+
49
+ 6. TERMINATION
50
+ This license terminates automatically if you breach it. On termination
51
+ you must stop using the Software and delete your copies.
52
+
53
+ 7. NO WARRANTY AND LIMITATION OF LIABILITY
54
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
55
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY,
56
+ FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL
57
+ THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY,
58
+ WHETHER IN CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR IN
59
+ CONNECTION WITH THE SOFTWARE OR ITS USE.
60
+
61
+ 8. THIRD-PARTY COMPONENTS
62
+ Third-party data, software and graphics included in or used to build CAEL
63
+ keep their own licenses, listed in licenses/, in each model folder's
64
+ SOURCES.md / TRAINING_NOTICES.md and in the bundle. This license does not
65
+ replace or restrict them. In particular, components derived from Creative
66
+ Commons Attribution-ShareAlike material (for example the Wikipedia,
67
+ Stack Exchange, Dolly, Wikibooks, Wikivoyage and Universal Dependencies
68
+ derived knowledge and count tables) are shared under their CC BY-SA terms,
69
+ which also allow commercial use. CAEL only uses third-party material whose
70
+ license allows commercial use.
NOTICE.md ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Provenance and separation
2
+
3
+ CAEL (Cellular Automaton Event Language) is a separate model family owned by Vovala14. Version0.1 derives from the locally preserved constrained symbolic event-CA experiment of2026-10-13. It is not the native MICA architecture or a MICA foundation-model release.
4
+
5
+ The original experiment is retained unchanged outside this repository. Earlier CAEL releases (up to 0.2.9 / 0.3) carried that experiment's licence text verbatim, which named MICA Ember / MICA Flame. CAEL and MICA have the same copyright holder (Vovala14), who now licenses CAEL under its own CAEL Non-Commercial License (LICENSE): free for personal and research use, with commercial use reserved to the copyright holder. CAEL is a separate model family and contains no MICA code, weights or outputs. CAEL is source-available, non-commercial software. It is not released under an OSI-approved licence.
6
+
7
+ ## Commercial-use policy for third-party material
8
+
9
+ CAEL only uses third-party data, software and graphics whose licence allows commercial use (MIT, Apache, BSD, CC BY, CC BY-SA, WordNet, Unicode, CreativeML OpenRAIL-M). Removed in 0.3.1: the 0.2.1 small-talk reply models (`chat/model_v1.json.gz`, `chat/model_v2.json.gz`), which were fitted on EmpatheticDialogues (CC BY-NC 4.0). The ARC Corpus is never used at runtime (its terms forbid redistribution); a local research reproduction can opt in only with `CAEL_RESEARCH_ARC=1`.
10
+
11
+ Changes: standalone portable training/evaluation, CAEL naming, cumulative event-memory training, explicit multi-event API, stricter supported-question handling, reports and public packaging. Runtime includes handwritten parsing and slot formatting plus learned cellular event rules, plans and a template-like regular grammar. No neural model is used for training or inference; the curriculum is expert-authored synthetic data.
12
+
13
+ ## CAEL 0.2 emoji model and data attribution
14
+ - models/cael-emoji-64-v2 was trained on Noto Emoji (Copyright Google Inc., Apache License 2.0, github.com/googlefonts/noto-emoji @ e20cbc2b, 2D/png/128)
15
+ and Blobmoji (C1710 and contributors, based on Noto Emoji, Apache License 2.0, github.com/C1710/blobmoji @ 7dd14d2b, SVGs rendered to 128x128 PNG).
16
+ The model stores learned counts, not the images. Licences in licenses/.
17
+ - Captions: Unicode emoji-test.txt short names + Unicode CLDR English annotations (Unicode License).
18
+ - Transparent pixels were composited on white before training.
19
+
20
+ ## CAEL 0.2.1 changes and synthetic-image teacher
21
+
22
+ 0.2.1 adds a shared application, one integrity-checked model bundle, portable
23
+ legacy chat fallback, exact arithmetic, the current v7 emoji engine, sanitized
24
+ v15 aggregate portrait parameters, and a new categorical general-image student.
25
+ The preceding description of expert-authored training and no neural model
26
+ applies to Story 0.1, not the new synthetic-image training pipeline.
27
+
28
+ The general-image student is trained on outputs generated locally by neural
29
+ Stable Diffusion 1.5 through stable-diffusion.cpp. It is treated as a derivative
30
+ under CreativeML OpenRAIL-M. Original diffusion/text-encoder weights are replaced
31
+ by subject-specific registered 64x64 statistical appearance/deformation modes.
32
+ Use and redistribution must comply with the included teacher license, paragraph
33
+ 5 and Attachment A, in addition to the CAEL Non-Commercial License for owned
34
+ modifications. Full teacher license: licenses/LICENSE-stable-diffusion-v1-5.txt.
35
+ Primary sources: https://huggingface.co/stable-diffusion-v1-5/stable-diffusion-v1-5
36
+ and https://github.com/CompVis/stable-diffusion/blob/main/LICENSE.
37
+
38
+ stable-diffusion.cpp is a separate locally installed MIT-licensed teacher tool:
39
+ https://github.com/leejet/stable-diffusion.cpp. Neither its binary nor the neural
40
+ teacher checkpoint is redistributed in this release. Runtime student sampling
41
+ is non-neural, but its neural teacher's contribution is explicit.
42
+
43
+ v7 emoji data sources remain Noto Emoji and Blobmoji, with the same Apache and
44
+ Unicode attribution above. Public fitting references are included for numerical
45
+ rejection and silhouette statistics. Private portrait photos and alignments,
46
+ endpoint credentials and private chat logs are not included.
47
+
README.md ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: other
5
+ license_name: cael-non-commercial
6
+ license_link: https://huggingface.co/vynly/CAEL-0.4.4/blob/main/LICENSE
7
+ pipeline_tag: text-generation
8
+ tags:
9
+ - cael
10
+ - non-neural
11
+ - cellular-automata
12
+ - symbolic-reasoning
13
+ - retrieval
14
+ - custom-code
15
+ inference: false
16
+ ---
17
+
18
+ # CAEL 0.4.4
19
+
20
+ [![HF downloads (30 days)](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fhuggingface.co%2Fapi%2Fmodels%2Fvynly%2FCAEL-0.4.4&query=%24.downloads&label=HF%20downloads%20%2830%20days%29&color=blue)](https://huggingface.co/vynly/CAEL-0.4.4)
21
+ [![version 0.4.4](https://img.shields.io/badge/version-0.4.4-blue)](https://github.com/Vovala14/CAEL/releases/tag/v0.4.4)
22
+ ![CPU only](https://img.shields.io/badge/CPU-only-green)
23
+
24
+ A chat assistant with **no neural network**: a team of small agents, rules, exact solvers, cellular automata and
25
+ retrieval over human-written answers, on CPU.
26
+
27
+ **0.4.4** makes CAEL think before it answers, with a swarm:
28
+ - **Chat:** nine exact readers each propose an answer to several readings of the question:
29
+ - everyday sums, dates and times;
30
+ - line-up and if-then logic, solved by trying every order;
31
+ - sources that disagree, correct or copy each other;
32
+ - chat memory;
33
+ - short explanations.
34
+
35
+ Each proposal is checked: the answer type must fit, and a word problem's number must be derivable from the user's
36
+ own numbers. The checked answers vote. A final guard turns off-topic replies into an honest "I can't work this out".
37
+ - **ARC-AGI-1:** a non-neural grid solver solves **62 of 400 evaluation tasks (15.5%, pass@2)**, 10 seconds per task on
38
+ a CPU. It uses:
39
+ - 53 solver programs, each of which must reproduce every demonstration;
40
+ - augment-and-vote over the 8 symmetries;
41
+ - a union swarm of drawing specialists;
42
+ - a leave-one-out self-check that prefers rules that generalise.
43
+
44
+ | ARC set | Solved (pass@2) |
45
+ |---|---:|
46
+ | ARC-AGI-1 evaluation | **62 / 400** |
47
+ | ARC-AGI-1 training (development set) | 152 / 400 |
48
+ | ARC-AGI-2 evaluation | 0 / 120 |
49
+
50
+ Reproduce it with `python evaluate_arc.py --data ARC-AGI/data/evaluation` (from a clone of
51
+ [fchollet/ARC-AGI](https://github.com/fchollet/ARC-AGI)), and compare task by task with
52
+ `results/arc_agi_1_evaluation_0.4.4.jsonl` in the source zip.
53
+ - The solver was developed on the training set only.
54
+ - The evaluation set was scored at several milestones but never used to fix anything. A run on a set CAEL has never
55
+ seen is welcome.
56
+
57
+ Full notes: [RELEASE_0_4_4.md](RELEASE_0_4_4.md).
58
+
59
+ ## Install and run
60
+
61
+ Use Python 3.12. Download and extract [CAEL-0.4.4.zip](https://huggingface.co/vynly/CAEL-0.4.4/resolve/main/CAEL-0.4.4.zip). For full chat, also extract [cael-open-chat-v1.1.zip](https://huggingface.co/vynly/CAEL-0.4.4/resolve/main/cael-open-chat-v1.1.zip) into `models/`, so that `models/cael-open-chat-v1/` holds `open.sqlite` and `fielded.sqlite`. Then from the extracted directory:
62
+
63
+ ```bash
64
+ python -m pip install -r requirements-unified.txt
65
+ python -m cael_unified --download
66
+ python -m cael_unified --ui
67
+ ```
68
+
69
+ Open http://127.0.0.1:8765. For terminal chat use `python -m cael_unified --mode chat`. Set `CAEL_WEB_SEARCH=0` to turn
70
+ off public web lookup.
71
+ - `--download` fetches the integrity-checked resource bundle. It is still byte-identical 0.3.7 (562,714,794 bytes) and
72
+ is required.
73
+ - This is **custom Python code, not a Transformers checkpoint**.
74
+ - Picture and portrait weights are excluded.
75
+
76
+ ## Size and resources
77
+
78
+ - **Disk:** about 2.6 GB of tables and indexes, no neural weights. The chat code is about 8 MB.
79
+ - **Memory:** about 100–600 MB (568 MB peak over a 48-conversation run).
80
+ - **Hardware:** CPU only, no GPU.
81
+
82
+ ## Honest limits
83
+
84
+ - The readers are hand-written: problem types they were not written for get a general answer or an honest refusal.
85
+ - Subjects outside the authored desks depend on the index and the web.
86
+ - ARC-AGI-2 puzzles stay unsolved (0 of 120).
87
+
88
+ ## Files
89
+
90
+ | File | What it is |
91
+ |---|---|
92
+ | `CAEL-0.4.4.zip` | Source release (the files committed to git), including `evaluate_arc.py` and the per-task ARC results |
93
+ | `cael-open-chat-v1.1.zip` | Open-chat index (`open.sqlite`) and fielded index (`fielded.sqlite`), unchanged from 0.4.2 |
94
+ | `bundle_config.json` | Checksum-pinned resource bundle (0.3.7) used by `--download` |
95
+ | `params.json` | Download parameters and checksums |
96
+ | `SHA256SUMS.txt` | SHA-256 of every release file |
97
+ | `RELEASE_0_4_4.md`, `CHANGELOG.md` | Release notes and history |
98
+
99
+ Licence: CAEL non-commercial source-available ([LICENSE](LICENSE)). The open-chat data keeps its own licences: Stack
100
+ Exchange CC BY-SA 4.0, OpenAssistant Apache 2.0, databricks-dolly-15k CC BY-SA 3.0. Source: [github.com/Vovala14/CAEL](https://github.com/Vovala14/CAEL).
RELEASE_0_4_4.md ADDED
@@ -0,0 +1,183 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # CAEL 0.4.4: a thinking swarm without a neural network, and 62/400 on ARC-AGI-1
2
+
3
+ CAEL is a chat and reasoning system that contains **no neural network**: no transformer, no embeddings model, no
4
+ learned layers, and no gradient training anywhere in the reply path. It runs on a CPU. Its answers come from small
5
+ programs that read, compute, check and vote.
6
+
7
+ **0.4.4 brings two things:**
8
+ - **A "think before answering" swarm for chat.** Many small exact readers each propose an answer to several readings of
9
+ the question; every proposal is checked, and the checked answers vote.
10
+ - **A larger, self-checking ARC grid solver.** It solves **62 of the 400 ARC-AGI-1 evaluation tasks (15.5%, pass@2)** in
11
+ 10 seconds per task on a CPU, with no neural network and no task-specific code.
12
+
13
+ Everything here can be checked on your own machine, as shown below.
14
+
15
+ ---
16
+
17
+ ## 1. ARC-AGI-1: 62 / 400 with a non-neural solver
18
+
19
+ | Set | Tasks | Solved (pass@2) | Notes |
20
+ |---|---:|---:|---|
21
+ | ARC-AGI-1 **evaluation** | 400 | **62 (15.5%)** | 10 s per task, CPU only, one run |
22
+ | ARC-AGI-1 training | 400 | 152 (38.0%) | the set the solver was developed on |
23
+ | ARC-AGI-2 evaluation | 120 | 0 | still out of reach |
24
+
25
+ **Rules:**
26
+ - **Two attempts per test input.** A task counts only if every one of its test outputs is matched exactly by one of the
27
+ two grids.
28
+ - **The solver never sees the answers.** It gets only the demonstrations and the test inputs; the answers are compared
29
+ in a separate parent process.
30
+ - **Ten seconds per task.** Each task runs in its own process with a 10-second limit, and running over counts as a
31
+ failure.
32
+ - **Ordinary hardware.** The published run used 16 tasks side by side on a desktop CPU (Ryzen 9 9900X).
33
+ - **Per-task results ship with the release:**
34
+ - [`results/arc_agi_1_evaluation_0.4.4.jsonl`](results/arc_agi_1_evaluation_0.4.4.jsonl)
35
+ - [`results/arc_agi_1_training_0.4.4.jsonl`](results/arc_agi_1_training_0.4.4.jsonl)
36
+
37
+ ### Reproduce it
38
+
39
+ ```bash
40
+ git clone https://github.com/Vovala14/CAEL && cd CAEL && git checkout v0.4.4
41
+ python -m pip install -r requirements-unified.txt
42
+ git clone https://github.com/fchollet/ARC-AGI
43
+ python evaluate_arc.py --data ARC-AGI/data/evaluation --out results/my_arc_eval
44
+ ```
45
+
46
+ Neither the solver nor the evaluation script needs the resource bundle. A full run takes about 3 to 5 minutes
47
+ with 14 to 16 workers. Your count may differ by a task or two:
48
+ - a task near the 10-second limit can finish or time out depending on the machine;
49
+ - a slower CPU or more parallel workers will push borderline tasks over the limit.
50
+
51
+ Compare your file task by task with ours. `--seconds 30` shows how much of the gap is time rather than reasoning.
52
+
53
+ ### How the solver works (`cael_unified/arc_solver.py`)
54
+
55
+ Every candidate rule must reproduce **all** demonstration pairs exactly before it may predict anything. Among the rules
56
+ that do:
57
+
58
+ - **Description length decides.** Rules are ranked by a rough step count, plus a small prior per family taken from how
59
+ often that family was right on practice puzzles.
60
+ - **Augment and vote.** The task is solved under all 8 rotations and reflections, each answer is mapped back, and equal
61
+ answers pool their votes (one vote per view).
62
+ - **Think before answering: a leave-one-out self-check.** When different answers compete, each leading rule is learned
63
+ again with one demonstration held out and must predict that demonstration. Rules that generalise beat rules that only
64
+ memorised.
65
+ - **A swarm of drawing specialists.** When the output adds several colours, a different family (stamps, spans, boxes,
66
+ rays) may explain each colour. Each is fitted on its own colour, and their drawings are merged.
67
+ - **Two-step composition.** A shape-changing first step (crop, lattice, grammar operation) can be followed by a
68
+ same-shape rule.
69
+ - **Two answers, never the input.** The two best different answers are returned. Copying the test input is never
70
+ offered.
71
+
72
+ There are **53 solver programs** in all, many with several variants. The ones new in 0.4.4 are:
73
+
74
+ | Kind | Families |
75
+ |---|---|
76
+ | Drawing | stamps around cells and around whole objects; spans between same-coloured cells (with crossing priority); rays from every coloured cell; alternating-colour rays; bounding-box and corner-box fills; rectangle interiors by size rank |
77
+ | Rules with a parameter read from the input | scale or tile by the number of colours; fill with the commonest or rarest colour; a one-property classifier (symmetry, object count, connectedness, ...); per-row and per-column rules; edge padding; recolour by a lone marker; shift with a colour map |
78
+ | Picking and cropping | the odd, asymmetric or densest block; corner and centre crops; corner and block overlays with a learned priority; new object selectors (symmetric, asymmetric, touching a marker, with a hole) |
79
+ | Repairing patterns | fill the hole in a periodic pattern, or output only the missing patch; repeating-unit extraction |
80
+ | Counting and sorting | count bars and count lines; sort bars by length; size-rank recolouring |
81
+ | Swarm and thinking | union of specialists by colour; leave-one-out self-check; fit cache across a task's test inputs |
82
+
83
+ **Honest notes:**
84
+ - **All solver families were developed on the ARC-AGI-1 training set.** Each new family was written after looking at
85
+ unsolved training tasks, then kept only if it lost no previously solved task on training and on an ARC-AGI-2
86
+ training split.
87
+ - **The evaluation set is not untouched.** It was scored at five development milestones, and nothing was changed with
88
+ its results in view. So 62/400 is a repeated look, not a single blind shot. That is one more reason to rerun it, and
89
+ to try a set CAEL has never seen, such as [ConceptARC](https://github.com/victorvikram/ConceptARC). We would like to
90
+ hear what you get.
91
+ - **The solver is hand-written search,** and each family adds a few tasks. The big remaining groups:
92
+ - object-correspondence rules: move or copy each object to its marker;
93
+ - multi-step compositions beyond two steps.
94
+
95
+ ---
96
+
97
+ ## 2. Chat: thinking with a swarm
98
+
99
+ A reply is not generated word by word. It is **found, checked and agreed on**:
100
+
101
+ ```
102
+ question ──► readings ──► swarm of exact readers ──► checks ──► vote ──► answer guard ──► reply
103
+ │ │ │ │ │
104
+ as asked, all turns nine readers, each answer type; readers that a reply that is not about
105
+ as one, number words reads one kind of sums must be agree, across the user's own situation
106
+ as digits, statements problem completely derivable from readings, win; becomes an honest "I can't
107
+ split from question or stays silent the stated two checked work this out" instead of
108
+ numbers answers that an off-topic one
109
+ disagree → ask
110
+ ```
111
+
112
+ - **Readings** (`think.py`). The same question is read several ways: as asked; with all of the user's turns as one
113
+ message; with number words turned into digits; and with the statements split from the question.
114
+ - **The swarm.** Each reading goes to every exact reader:
115
+ - `everyday_exact` and `everyday_more`: about 65 everyday shapes, such as pack sizes and change, discounts then tax,
116
+ rates with idle time, clock and calendar arithmetic, ages, time zones, weekday of a date, corrections ("make that
117
+ 21"), newest notice wins, retractions, the latest value of a fact, and items added to or removed from a set;
118
+ - `constraint_logic`: queues, rows, races and line-ups, solved by trying **every** order and keeping those that
119
+ satisfy all the statements. It answers only what all surviving orders agree on, or says it can't be determined. It
120
+ also handles if-then rules, flagging the two invalid forms;
121
+ - `word_math` (story sums), `recall_did` ("Where did I park?") and the labelled-account swarm desk (sources that
122
+ disagree, correct or copy each other);
123
+ - `explain_more`: about 60 authored short explanations.
124
+ - **Checks.** Each proposal is checked on its own:
125
+ - the answer type must fit the question (a number, a clock time, a weekday, a yes or no);
126
+ - for word problems, a search finds the derivation of the proposed number that uses the most of the user's stated
127
+ numbers. An answer that leaves numbers unused, or can't be derived at all, is marked down.
128
+ - **Vote.** Proposals are grouped by answer, and independent readers and readings that agree add support. When two
129
+ fully checked answers disagree, CAEL asks which reading was meant instead of picking one.
130
+ - **Answer guard** (`answer_guard.py`). After the whole team has answered, one last check runs. If the question is
131
+ about a situation the user set up, and the reply is a web quote, an advice template, or a sum about something else,
132
+ the reply is replaced by an honest "I can't work this one out reliably", which quotes what was asked.
133
+
134
+ Every reader shows its working ("21 (corrected) + 17 − 10 = 28"), and every reply carries a trace of which readers
135
+ agreed.
136
+
137
+ **Limits:** the readers are hand-written. They cover the phrasings and problem types they were written for, and new
138
+ types of problem fall back to CAEL's general pipeline, or now to an honest "I can't work this out". Wider coverage is
139
+ the main open problem, and it is where outside help is most welcome.
140
+
141
+ ## 3. Footprint
142
+
143
+ - **Code and data:** the code is 7.5 MB of Python. The data is about 2.6 GB of tables and indexes, with no neural
144
+ weights.
145
+ - **Resources:** one chat turn uses well under a second of CPU, except when it waits for a web lookup. Peak memory in a
146
+ 48-conversation run was 568 MB, and no GPU is used.
147
+ - **Web lookups:** public web sources (Wikipedia, Wikidata) are used for facts. Set `CAEL_WEB_SEARCH=0` for fully
148
+ offline, repeatable runs.
149
+
150
+ ## 4. Tests
151
+
152
+ - **The repository's tests:** `python -m unittest discover -s tests`, which is what CI runs.
153
+ - **New test files in 0.4.4:**
154
+ - `tests/test_everyday_exact.py`
155
+ - `tests/test_general_readers.py`
156
+ - `tests/test_think.py`
157
+ - `tests/test_answer_guard.py`
158
+ - `tests/test_word_math_round6.py`
159
+ - `tests/test_swarm.py`
160
+ - **ARC:** `evaluate_arc.py` as above.
161
+
162
+ ## 5. Files
163
+
164
+ - **New:**
165
+ - `cael_unified/think.py`
166
+ - `cael_unified/everyday_exact.py`
167
+ - `cael_unified/everyday_more.py`
168
+ - `cael_unified/constraint_logic.py`
169
+ - `cael_unified/explain_more.py`
170
+ - `cael_unified/answer_guard.py`
171
+ - `cael_unified/swarm.py`
172
+ - `cael_unified/swarm_compute.py`
173
+ - `cael_unified/evidence.py`
174
+ - `cael_unified/word_math.py`
175
+ - `cael_unified/recall_did.py`
176
+ - `evaluate_arc.py`
177
+ - **Extended:** `cael_unified/arc_solver.py`, `team.py`, `assistant.py`, `advice_schemas.py` and `smalltalk.py`.
178
+ - **Architecture:** [ARCHITECTURE_0_4_4.md](ARCHITECTURE_0_4_4.md).
179
+ - **Resources:** the resource bundle is unchanged (byte-identical 0.3.7), and `python -m cael_unified --download`
180
+ fetches it as before.
181
+
182
+ CAEL is [source-available, non-commercial](LICENSE). ARC-AGI is by François Chollet (Apache-2.0); this is our
183
+ evaluation, not an official leaderboard entry.
SHA256SUMS.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ 6d50790415526d5ac3bc0b5f99101f6202932f2032f7c50bb70ad78169ec4004 CAEL-0.4.4.zip
2
+ 76ef3d6888deae5cb4dc4a48cdb08302bafdd2e9cdf4d3e8070559579eb77d8c cael-open-chat-v1.1.zip
3
+ edbdc6866ac88e1e0a95cc48748dd6c660eb0b689a47b50cfb7d89d9ff3910a7 RELEASE_0_4_4.md
4
+ 5cb9ce2d0389abcf08589f52a6c4dbd50554cf0648ddecb982f4f3ce97818ac9 bundle_config.json
5
+ 4f68a09dbea3aeb1290a7b7d57b12d563dc95232a7fb5c39f6dce8936869ef84 params.json
bundle_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "0.3.7",
3
+ "url": "https://huggingface.co/vynly/CAEL-0.4.0/resolve/v0.4.0/cael-0.3.7.cael",
4
+ "sha256": "8efd22d7fa670e7f011d262c33a7e026941f279e71ee2014614d5d4cf5ecf79b",
5
+ "bytes": 562714794,
6
+ "profile": "no-images"
7
+ }
cael-open-chat-v1.1.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76ef3d6888deae5cb4dc4a48cdb08302bafdd2e9cdf4d3e8070559579eb77d8c
3
+ size 368820906
params.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "cael-download-parameters-v1",
3
+ "application_version": "0.4.4",
4
+ "runtime": "custom non-neural symbolic/count/automaton Python runtime; not Transformers",
5
+ "source_archive": {
6
+ "file": "CAEL-0.4.4.zip",
7
+ "bytes": 20119873,
8
+ "sha256": "6d50790415526d5ac3bc0b5f99101f6202932f2032f7c50bb70ad78169ec4004",
9
+ "url": "https://huggingface.co/vynly/CAEL-0.4.4/resolve/main/CAEL-0.4.4.zip"
10
+ },
11
+ "open_chat_index": {
12
+ "file": "cael-open-chat-v1.1.zip",
13
+ "bytes": 368820906,
14
+ "sha256": "76ef3d6888deae5cb4dc4a48cdb08302bafdd2e9cdf4d3e8070559579eb77d8c",
15
+ "url": "https://huggingface.co/vynly/CAEL-0.4.4/resolve/main/cael-open-chat-v1.1.zip",
16
+ "extract_to": "models/",
17
+ "contains": [
18
+ "cael-open-chat-v1/open.sqlite",
19
+ "cael-open-chat-v1/fielded.sqlite"
20
+ ]
21
+ },
22
+ "resource_bundle": {
23
+ "version": "0.3.7",
24
+ "url": "https://huggingface.co/vynly/CAEL-0.4.0/resolve/v0.4.0/cael-0.3.7.cael",
25
+ "sha256": "8efd22d7fa670e7f011d262c33a7e026941f279e71ee2014614d5d4cf5ecf79b",
26
+ "bytes": 562714794,
27
+ "profile": "no-images"
28
+ }
29
+ }