An open API service indexing awesome lists of open source software.

https://github.com/mdda/arc-dsl-llm

LLM-legible version of Michael Hodel's arc-dsl
https://github.com/mdda/arc-dsl-llm

arc-prize

Last synced: 22 days ago
JSON representation

LLM-legible version of Michael Hodel's arc-dsl

Awesome Lists containing this project

README

          

# Domain Specific Language for the Abstraction and Reasoning Corpus (ARC-DSL-LLM)
## Updated (from [`arc-dsl`](https://github.com/michaelhodel/arc-dsl/)) to be LLM-legible

The original DSL (released as `arc-dsl`) was created with the aim of
being expressive enough to allow programs solving arbitrary ARC tasks,
and generic, i.e. consisting of only few primitives, each useful for many tasks (see [`dsl.py`](dsl.py)).
As a proof of concept, solver programs for the training tasks were written (see [`solvers.py`](solvers.py)).
See Hodel's [`arc_dsl_writeup.pdf`](https://github.com/michaelhodel/arc-dsl/blob/main/arc_dsl_writeup.pdf)
for a more detailed description of the original work.

## `arc-dsl-llm` and LLM-legibility

There were several kinds of changes made to the original `arc-dsl` to make it more LLM-legible (and, frankly, more human-legible).

The following are the most significant updates made:

* Significantly updating the DSL function names to be more LLM-friendly (see below for a list)
+ A motivating example : `fork(outer,a,b)` is more 'legible' when named `combine_two_function_results(outer,f1,f2)`
* Rectifying the use of `COLOR_X` constants:
+ Remove implicit assumptions that `COLOR_BLACK==0` or `COLOR_BLACK