interplane.Get Omega
Read in your language

omega-rosetta

aien-dev/omega-rosetta

Brought by drakestapleton

branch main Branches Tags History

omega-rosetta / dataset / README.md

83 lines · 4552 bytes Raw Blame History Source

license: apache-2.0 language:


omega-rosetta

263 programs written in Omegese (the OM-2 profile of the Omega language) and compiled by omc, the compiler that aien-dev/omega-mv rebuilds from a 408-byte hand-written seed: 216 Rosetta Code tasks and 47 Exercism-style exercises. Each task's expected output was written by an independent Python 3 oracle, never by omc.

The file is built from the repository by python3 dataset/export.py (needs pyarrow). It is not published; this card describes the local build.

Fields

One row per program, tasks first, each kind sorted by name.

ColumnTypeMeaning
namestringdirectory name, tasks/<name> or exercises/<name>
kindstringtask or exercise
rosetta_urlstringthe Rosetta Code task page (tasks; null for exercises)
exercism_urlstringthe Exercism problem page (exercises; null for tasks)
titlestringthe Rosetta Code page title (tasks) or the exercise slug
source_omstringthe program: tasks/<name>/<name>.om, or for an exercise its reference solution .meta/example.om
stub_omstringthe exercise stub that traps (exit 113) until solved; null for tasks
test_omstringthe exercise's test cases, appended to a solution to form one unit; null for tasks
expected_stdoutstringtasks/<name>/expected.txt byte for byte; null for exercises, whose test unit prints ok N - ... lines
expected_exitint320 for every row: a task exits 0, and source_om + test_om exits 0 when every case passes
oracle_pystringthe Python 3 standard-library program that wrote expected_stdout; null for exercises
omc_sha256stringsha256 of the omc binary every row was checked with
omega_mv_commitstringthe aien-dev/omega-mv commit that births that omc
linesint32lines of source_om that are not note comments

Provenance

Known limits