Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/patches/8ca337b673b65321 # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers ## GitHub aien-dev/omega-mv#985 (code only) closed derived `8ca337b673b65321` #985 Imported from GitHub aien-dev/omega-mv#985 (code only) GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed). Base `6d7b883844a0f17a7a3ceb427108be7e01e4c677` · Head `3c815a32c90915f263dd092a26126991851203b5` ### Fetch it A git bundle of the pull request's head, 307780 bytes. ``` curl -fsSL https://interplane.io/drakestapleton/omega-mv/patches/8ca337b673b65321.bundle -o 8ca337b673b65321.bundle git fetch 8ca337b673b65321.bundle refs/pull/985/head ``` Raw bundle · Diff ### Provenance This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record: ``` github-import 1 aien-dev/omega-mv 985 3c815a32c90915f263dd092a26126991851203b5 ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"omega-mv","number":985,"url":"https://github.com/aien-dev/omega-mv/pull/985","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:39:40Z","metadata":"unavailable","state_derived":true} ``` ### Changes ``` diff --git a/.crumb b/.crumb index e73f2709a..5a5111ccd 100644 --- a/.crumb +++ b/.crumb @@ -47,8 +47,8 @@ "purpose": "Directory calibration. Purpose not yet described by a human." }, { - "digest": "ea388ed4a2b02a78ae7b648bc725a37f5caa270eadd16f324e34a4cadbe2c7c2", - "last_commit": "4376c2112", + "digest": "039bcef8053012cc38f5bf18680a5493585d0289d7787f932e8d3e3921df04c6", + "last_commit": "34cb8ec3e", "name": "docs", "purpose": "Directory docs. Purpose not yet described by a human." }, @@ -60,7 +60,7 @@ }, { "digest": "e42ed0520e8c87d3dd48b5d783ca0cdfc8da3edf78b5af42632b80a88767b5ee", - "last_commit": "ef6929058", + "last_commit": "6d7b88384", "name": "mk", "purpose": "Directory mk. Purpose not yet described by a human." }, @@ -77,8 +77,8 @@ "purpose": "Bounded untrusted representation envelopes and explicit checked Omega decoding; learned extensio" }, { - "digest": "62b92244c52fa8af6f511012dee2967e98dff162cc1d8bf45d0b2f15cb0adc5f", - "last_commit": "450bbefd4", + "digest": "c73d74e9c743c8b541ec2418e815095d748e2e15d0b89857d683dbd5b76b3bf9", + "last_commit": "7513c410c", "name": "research", "purpose": "Directory research. Purpose not yet described by a human." }, @@ -89,33 +89,33 @@ "purpose": "Directory spec. Purpose not yet described by a human." }, { - "digest": "9012a90be787f9574d70b8cbc453dac0f995b0e2ff3f4a2ff8e95d190d7b7e55", - "last_commit": "ef6929058", + "digest": "ee281fc724e51e89ed3b1707a88f8497f752bca12d80e9e5801c32b09d8a9ae1", + "last_commit": "e06f60130", "name": "src", "purpose": "Directory src. Purpose not yet described by a human." }, { "digest": "912d0edd6b46a30ef5f330416c4fe6be1dfb764a5e6cfad3b60e93b79fd6c6bd", - "last_commit": "ef6929058", + "last_commit": "6d7b88384", "name": "tests", "purpose": "Directory tests. Purpose not yet described by a human." }, { "digest": "5a673a62f8a762806b0551d1c92bcb9643a929a64e2e98b8eadf47ecbe2f798e", - "last_commit": "ef6929058", + "last_commit": "6d7b88384", "name": "tools", "purpose": "Directory tools. Purpose not yet described by a human." } ], - "children_root": "sha256:46edaa9a8238ef1587bc7062ff2873d3df8299b41ed76c01557099e6c58292cf", - "compiled_at": "2026-10-31T02:19:12Z", + "children_root": "sha256:282abe03828521c27732b2206039fc43e2844eee116954b306f9eff672dc62a2", + "compiled_at": "2026-10-31T02:31:23Z", "compiler": "crumb-compile/1", - "digest": "sha256:d56a26f9e4cf88cdfb063ebaf5324cbadd18595b73d40d40c6c4e91e9906fbae", - "evidence_files": 14602, - "evidence_root": "sha256:f915fb4ec0599ad30874d7adbbb95f142c988f42f3f1b89ce2751909caa5eaf8", - "files": 21669, - "generated_at_commit": "ef69290586a1757b4412058995045c5bc0d38bf6", - "source_tree": "sha256:b312330de381d5bb2c17f39a921f66d0e907df4bb0d41901e5c4ef5fe5315a89" + "digest": "sha256:5e6eb21b5643e645b0760f478e3b47b361bbd12e9386a3006d11b3edeac6a724", + "evidence_files": 14606, + "evidence_root": "sha256:977ce24a5fca8d0df8866a6798f73d2e02410a352366a2d9b7f5a23ea6d967aa", + "files": 22755, + "generated_at_commit": "e06f6013079e146b9b9c9c4692b05e9a52364cac", + "source_tree": "sha256:3b7c8cb44d07778901d7798ba1713fbc8f4667bc50ff98b23116c15a5f1a8bac" }, "owner_lane": "", "provenance": { diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 6d217a7ff..068bc4950 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -7,6 +7,8 @@ The current development method is [Human-Directed Agentic Engineering (HDAE)](RE | Model | What it did | |---|---| +| Claude Opus 5.5 (via omp) | #944 (#601, #560): the OM_COMPLETION FR-5 row records the shipped handle-checked mapping and device words (ids 166..177, contracts in `seed/host/MAPPING.md`, the four `seed/host/tests` units run by `seed/host/gate.sh`), and FR-5 leaves the decision-blocked list. The tern header's shared-memory comment states the 32 KiB QMD limit and that one 8192-column x chunk is 16 KiB. Docs and comments only. | +| Claude Opus 5.5 (via omp) | #931: README FR-9 bullet, OM_COMPLETION FR-9 rows and ROADMAP item 7 and x86 row record that the x86 backend merged as a DRAFT (#923) whose last fixture differential ran EMULATED (QEMU) at `62d1d0d6`: 15182 PASS, 0 FAIL, 2 NOT_RUN, 222 EXCLUDED, verdict FAIL, native x86 NOT_RUN. The sm121 rows cite the author chip run in `evidence/SEED-0/sm121/chip/` (load average 61, not an exclusive window) and keep the chip gate BLOCKED_OPERATOR. OM_COMPLETION's next step drops FR-5 as #944 does. Merged main `b5ab3fe94`, keeping its StableHLO row ahead of the x86 row. Docs only. | | Claude Opus 5.5 (via omp) | C6 zero-nvdisasm repair: #589's hazard cross-check had brought back a call to `/usr/local/cuda/bin/nvdisasm` and the gate's `zero_nvdisasm.*` work dir turned PATH lookups into false nvdisasm execs. `tests/bw_hazard_test.c --disasm` now cross-checks with our decoder in process; the gate runs it as a dynamic row, refuses a work dir or checkout path naming nvdisasm (NOT_RUN) and fails closed when mktemp fails. Decoder rows for the sweep's HMMA.16816.F32, LDG/STG .STRONG.SYS and ATOMG.E.ADD.STRONG.SYS forms and IMAD.SHL 2^7/2^8; the hazard sweep's kernels joined the `test-sm121dis` corpus (2,980 kernels), which `check.sh` now compares `SM121DIS_JOBS` at a time. Closed four fail-open paths, each reproduced before the fix and refused after: a stale PASS read back from a symlinked work dir, a red check that accepted NOT_RUN, a kernel dump cut short by a full disk kept under its full name, and an empty work dir left when strace is missing. Host evidence only. | | Claude Opus 5.5 (via omp) | #975 (squash `b5ab3fe94`, which carried no row of its own): `shell: bash` on the dagsim steps of `aien-verification.yml` and `om-units-arm64.yml`, so a failing make fails the step through its `tee`, and `test "${PIPESTATUS[0]}" = 0` after the Intel SPIR-V smoke pipeline in `irspirv-intel-cpu.yml`. Codex's draft #973 (Refs #938) proposed the same two `shell: bash` lines; #975 supersedes it. | | Claude Opus 5.5 (via omp) | Train r3 final smoke (every gate rc 0 on `a00e134c`, CPUs 10-19 at nice 19) and the `om/tls/README.md` test table brought to the train tree from those logs: the `TLS_NET=1` row (`interop=99 ... mutants=62/62`, net=PASS), the ec, ecdh and x509 rows, new mlkem, rev and hostile rows, and the `openssl verify` differences (23 of 106 cases, five new refusals from the x509-limbo fixes), omc `62775d2a`. | @@ -53,6 +55,7 @@ The current development method is [Human-Directed Agentic Engineering (HDAE)](RE | Claude Fable 5.1 | CodeQL high-severity fixes in the OM-2 oracles: 0600 image creation in offsetof.c, fixture-name allowlist and truncation check in sha_qual.c | | Claude Opus 5.5 | Omega 1.0 roadmap: source-pinned readiness audit of the seeded compiler, IR, WebAssembly and bridge paths, milestone acceptance gates, tracking issues #790-#800, OM-2 contract files brought to main byte-identical, and stale status text corrected | | Claude Opus 5.5 | Function-mode constants in the seeded compiler (`fnstore`): consts accepted without `fn main`, globals/texts/host words still error 9, gate16 byte-identity fixtures and old-compiler/mutant negative controls | +| Claude Opus 5.5 | om-bench (#653): frozen measurement contract for agent-written Omega, 176 tasks in family-disjoint train/dev/held-out splits with independent oracles, keyed sealed ids, leak check with planted control, gate.om cross-judging, and driver/judge/gate negative controls | | Codex (GPT-6.1 Sol) | Neuralese supplement proposal, bounded native envelope/codebook decoder and existing Omega-conductor host refusal/mutant cases | | Codex (GPT-6.1 Sol) | NL4 native numerical payload codec, canonical LTP0 consumer, independent receiver-matched pure execution boundary and host synthetic rejection/mutant qualification (#920) | | Codex (GPT-6.1 Sol) | Repaired qty float-domain classification and checked ingress, diagnostic categories and query/output streaming; permanent adversarial regression fixtures for the #909/#911 audit | diff --git a/README.md b/README.md index 0efc1b516..aa4bf6eb1 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Omega was decided by Drake on 2026-09-29 to be both the reaction runtime and the Research-grade, with a staged Alpha qualification programme in progress. An Alpha plan or an open PR is not a qualified release. Plainly: - **Seeded `.om` compiler (on `main` from PR #696):** one compiler, `seed/out/omc`, written in `.om` and rebuilt from the 408-byte loader by `sh seed/omega-from-seed.sh` (`seed0 -> hex1 -> asm2 -> om4 -> omc`). Its one supported profile is AArch64 Linux, static ELF output, with the whole language in `docs/one_layer/OMEGESE.md`: native host words (ids 100..165) and the checked device/mapping words (ids 166..177). Host qualification is `tests/gates/run.sh seed` (the `OMEGA-SEED` gate: stage fixpoint, `seed/host/check.sh` and the IR comparison against the C oracles, no gate skipped). What it does not prove: the fixpoint is a same-lineage rebuild check, not diverse double compilation; the reference interpreter on `seed/omega-ref` predates this compiler source (it refuses a call to a function defined later, first at `fexp`, `seed/omc/omc.om` line 935). The synced interpreter on `seed/omega-ref-sync` (190130b7, not merged yet) runs `omc.om` on itself and reproduces this compiler byte for byte (`tools/omega_ref/gate_ddc.sh`: GATE_DDC PASS, omc sha256 734f0a39, both negative controls caught, author-run 2026-10-24; [omega#650](https://github.com/aien-dev/omega-mv/issues/650)). GPU launch and model execution through these device words are not qualified. The language has bounded native recursion; a restricted importer does not describe the whole language. See [conformance and evidence limits](https://github.com/aien-dev/omega-mv/issues/624). -- **Candidate x86-64 Linux backend (FR-9):** an initial `target x86linux` line selects x86-64 static ELF output for whole programs; no selector preserves AArch64 output. The backend is implemented in `seed/omc/omc.om`, not a C translation. [Design, ABI, provenance and qualification](docs/X86-LINUX.md) distinguish emulated execution from native x86 execution and the existing AArch64 seed chain. Bare x86 units use a private frame ABI, not the SysV C ABI; foreign callers still use omega-bridge. This pending branch is not a merged or hardware-qualified release. +- **Candidate x86-64 Linux backend (FR-9):** an initial `target x86linux` line selects x86-64 static ELF output for whole programs; no selector preserves AArch64 output. The backend is implemented in `seed/omc/omc.om`, not a C translation. [Design, ABI, provenance and qualification](docs/X86-LINUX.md) distinguish emulated execution from native x86 execution and the existing AArch64 seed chain. Bare x86 units use a private frame ABI, not the SysV C ABI; foreign callers still use omega-bridge. Merged as #923; status DRAFT. x86 execution so far is EMULATED (QEMU) only; native x86 execution and a native x86 seed0 chain are NOT_RUN. The last complete differential, at source `62d1d0d6` (2026-10-30, `seed/qualification/x86-linux/20261030-main-62d1d0d6.json`), reported 15182 PASS, 0 FAIL, 2 NOT_RUN and 222 EXCLUDED; the two NOT_RUN cases are invalid-fd ioctl fixtures for which QEMU returns ENOTTY where native Linux returns EBADF. Its aggregate verdict remains FAIL because NOT_RUN is not PASS. This is not a hardware-qualified release. - **Legacy OSC/C implementation on `main`:** OSC-0/1/2 and OSC-3 material describes the earlier implementation and unfinished migration, not the forward source-language path. The old Milestone 6 "self-host" result was a fixed-output self-copy check, not compilation ([historical note](docs/osc/OSC-1-SELF-HOST-STATEMENT.md)); do not confuse it with the later seeded compiler work. - **Reaction runtime:** the R1 to R16 qualification ladder passed on builds that predate the composition modules (omega#126), a historical result. Requalification at `3108fc2` recorded R15 FAIL (14 of 16 gates: G1, G15) and R16 FAIL (`evidence/REQUAL-3108fc2/`); the R16 receipt `22d7a79a` at `850fc54` is invalid as a current claim because its script was later found defective; none of R1 to R16 is requalified on the current candidate, and the ladder rerun is in progress. The R16 loop-site inventory was reconciled on the candidate tree (502 sites, 0 unclassified, 0 stale, PR #279); that is the inventory gate only, not R16. The current living build is IMPLEMENTED / NOT QUALIFIED until re-qualified. Composition, Capability Graph, Skill Router, J-Space and Cortex run on the host; the Fabric interface is a host-only loopback with no network; none of this is on silicon as a qualified system. - **Numerics (E1):** closed 2026-10-02 on the GB10 chip campaign (Gate 5 26/26 with 47 parity lines, reductions SUM/MAX/MIN/MEAN, nine transcendental ops over all 2^32 inputs each, 148 load/store kernels), consolidated receipt `evidence/E1-CLOSURE/e7851c69d34ac777a9436af16d0bdd5d69264c8528c62d562b600f5d89153061.json`; exclusions (natural-base EXP/LOG have no GB10 kernel) are listed in [E1_GAP_TABLE](docs/numeric/E1_GAP_TABLE.md). diff --git a/docs/.crumb b/docs/.crumb index b15365b55..381ee6c63 100644 --- a/docs/.crumb +++ b/docs/.crumb @@ -124,14 +124,14 @@ } ], "children_root": "sha256:c81d43c0c392dfec2b6ed5b38ba95ea7c592782b283950e32b777e7b9cfd9d61", - "compiled_at": "2026-10-31T01:00:52Z", + "compiled_at": "2026-10-31T02:24:40Z", "compiler": "crumb-compile/1", - "digest": "sha256:ea388ed4a2b02a78ae7b648bc725a37f5caa270eadd16f324e34a4cadbe2c7c2", + "digest": "sha256:039bcef8053012cc38f5bf18680a5493585d0289d7787f932e8d3e3921df04c6", "evidence_files": 34, "evidence_root": "sha256:589d8b3706e6d7a202ab20b278dac5fc5bafc973f1c2a867b2668aa7210b65cc", "files": 147, - "generated_at_commit": "8be6f9941258bcab4339d885a72a5c0792a8979d", - "source_tree": "sha256:68b01bcaee762279ae1b892df9b772cbb9bffab7bde933a8cbd6010023f5a0b4" + "generated_at_commit": "9f8f6391ffd75ba3992c7b463cb11ce07c96478a", + "source_tree": "sha256:71dba485fd490aa529ade44f752bad09b067c69b3a3be4ade7c83b85e18c8589" }, "owner_lane": "", "provenance": { diff --git a/docs/ROADMAP-1.0.md b/docs/ROADMAP-1.0.md index 44e10c938..3ed6b4701 100644 --- a/docs/ROADMAP-1.0.md +++ b/docs/ROADMAP-1.0.md @@ -58,7 +58,7 @@ feature anyone may want", and it never means hardware qualification beyond the t | OM-2 qualification conductor | `seed/qualification/om2/gate.om` (4 args: `omc pinhash casesfile scratchdir`) | MERGED. Not referenced by any gate manifest or by `seed/host/check.sh`. | | Native host words | OMEGESE section 10, `seed/host/` | MERGED, Linux AArch64 only, program mode only, no sandbox (operate with the process's permissions). | | Device and mapping words | `seed/host/MAPPING.md`, `seed/host/tests/{device,devcall,mapio,mapping}.om` | MERGED. No GPU launcher and no model execution (MAPPING.md first paragraph). | -| GPU instruction encoding | `seed/sm121/` (asm2 table, `vecadd.s2`, `gate6.sh`, `chip6.sh`) | IMPLEMENTED; table lines cite the C code generator. Chip run is BLOCKED_OPERATOR. | +| GPU instruction encoding | `seed/sm121/` (asm2 table, `vecadd.s2`, `gate6.sh`, `chip6.sh`) | IMPLEMENTED; table lines cite the C code generator. Chip run is BLOCKED_OPERATOR. An author run exists: `evidence/SEED-0/sm121/chip/` (2026-10-20 03:02 UTC, `omega_commit 9d5d95ad dirty=3`, session PASS, 1,048,576 additions with 0 wrong, mutant all wrong), at load average 61, not an exclusive window. | | omega-bridge (C/Python emit, native ABI) | `aien-dev/omega-bridge`, lock `om/omega-bridge.lock` | Lock pins `431fff0a95f84c0a8bf9d3383f94d7e1f02d913e`; bridge main is `adb26cc654656926e76ab1839adae63e92909e88` (#18, fail-closed native caller runner). ABI v2 (`omega2_` symbols) consumed by `om/sha256`. | | Omega units behind C entry points | `om/sha256/sha256-om2.om`, `om/blake3/*.om`, `om/units.sh` | MERGED. `tests/gates/run.sh om-units` is their gate. | | Repository language mix | tracked files | 725 `.c`, 346 `.h`, 730 `.om` (385 under `seed/qualification`, 274 under `seed/omc`). `docs/migration/C-TO-OM-INVENTORY.md` is a 2026-10-24 snapshot of `d863780e` and says "no tracked `.om`", which no longer holds. | @@ -73,7 +73,7 @@ feature anyone may want", and it never means hardware qualification beyond the t | SHA-256 and BLAKE3 parity, binding regeneration | `tests/gates/run.sh om-units` (`OMEGA-OM-UNITS`) | Needs `../omega-bridge` at the lock. | | Branch displacement (#669) | `seed/qualification/security673/gate669.om` | Branch-form slice on `fix/security673-qualified`; #669 open. | | Diverse double compilation | none | #650 open. The fixpoint is a same-lineage consistency check. | -| GPU words on the chip | `seed/sm121/chip6.sh` | BLOCKED_OPERATOR. | +| GPU words on the chip | `seed/sm121/chip6.sh` | BLOCKED_OPERATOR. Author run `evidence/SEED-0/sm121/chip/steps.txt`: check_words ok, run_seed exit 0, control_mutant exit 1 (caught), session PASS. Its launcher `tools/omega_bytes` came from ledger L098 and is not tracked on main, so `chip6.sh` cannot be rerun from main. | ### 1.3 Findings @@ -99,9 +99,11 @@ feature anyone may want", and it never means hardware qualification beyond the t `aien-math`; a local unpublished x86 branch raises to 1024), 16 registers with no spilling (error 12), 6 parameter slots, 8-character local names (error 13). These are implementation limits, not language rules, and each needs a decision before 1.0 freezes them. -7. **A second target is in draft integration, not qualified.** FR-9 integrates the historical +7. **A second target is merged as a draft, not qualified.** FR-9 (#923) integrates the historical `7eca2ac3f` backend into canonical base `6999fa9e6`; [X86-LINUX.md](X86-LINUX.md) records - the design and actual unsupported paths. Implementation and execution evidence are pending. + the design and actual unsupported paths. Its full fixture differential last ran EMULATED (QEMU) at + `62d1d0d6` (`seed/qualification/x86-linux/20261030-main-62d1d0d6.json`): 15182 PASS, 0 FAIL, + 2 NOT_RUN (QEMU invalid-fd ioctl artifacts), 222 EXCLUDED, aggregate verdict FAIL; native x86 is NOT_RUN. The earlier off-GitHub observation is not a current publication check or a completion claim. 8. **No contracts in the forward compiler.** omc has no `requires`, `ensures` or `assert`; the only contract syntax is in the legacy C front end, and OSC IR carries contract text as metadata. @@ -294,10 +296,10 @@ Acceptance: | WebAssembly MVP via OSC IR v1 (`irwasm`) | MERGED, scalar subset; host EXERCISED by authors | Gate wired (RM1); scope decision: stay scalar-only for 1.0, or add linear memory, text and globals with IR v2+ | | SPIR-V 1.0 OpenCL Kernel via OSC IR v1 (`irspirv`) | IMPLEMENTED and CPU EXERCISED in [#804](https://github.com/aien-dev/omega-mv/pull/804); [ABI, parity and toolchain](SPIRV.md) | Standalone `seed/spirv/gate-irspirv.sh`: full irwasm scalar corpus, exact trap/result parity on PoCL CPU, validator, determinism, mutant and refusals. Manifest wiring needs operator authorization; GPU and DPC++ integration NOT_RUN. | | StableHLO MLIR text via OSC IR v1/v7 (`irstablehlo`, Google TPU path) | IMPLEMENTED; EXERCISED on IREE 3.13 llvm-cpu and XLA CPU PJRT (jaxlib 0.12.0.1) interop oracles, see [seed/stablehlo](../seed/stablehlo/README.md) | Standalone `seed/stablehlo/gate-irstablehlo.sh`: elementwise one-block functions, exact results on both oracles, Omega-native integer cross-check, wrong-op, wrong-expected, malformed-module and refusal controls. Signed overflow trap NOT preserved. TPU (closed libtpu) NOT_RUN. | -| x86-64 Linux static ELF | DRAFT integration pending implementation/evidence on canonical base `6999fa9e6`, using historical `7eca2ac3f`; [design and unsupported paths](X86-LINUX.md) | Published PR; default AArch64 output byte-identical (C2 manifest); full existing fixture differential with equal trap codes; independent objdump oracle and wrong-encoding mutants; all NOT_RUN for this draft; QEMU labelled EMULATED, physical x86 NOT_RUN unless tested | +| x86-64 Linux static ELF | DRAFT, merged as #923 on canonical base `6999fa9e6`, using historical `7eca2ac3f`; qualification tracked in #629; [design and unsupported paths](X86-LINUX.md) | Published PR; default AArch64 output byte-identical (C2 manifest); full existing fixture differential with equal trap codes (EMULATED run at `62d1d0d6`: 15182 PASS, 0 FAIL, 2 NOT_RUN, 222 EXCLUDED, verdict FAIL); independent objdump oracle and wrong-encoding mutants (the same run's invalid-encoding and valid-wrong-encoding controls PASS, and a one-byte emitter mutant was caught); QEMU labelled EMULATED, physical x86 NOT_RUN unless tested | | x86-64 UEFI PE32+ | Historical implementation in `7eca2ac3f`; removed from the Linux-only FR-9 draft | Outside this integration; separate firmware/PE32+ acceptance and evidence required; Linux execution does not establish firmware or physical x86 qualification | -| RISC-V RV64GC (#630), other ISAs (#629, #628) | PROPOSED | Out of 1.0 unless a decision adds it | -| GB10 sm_121 device code (`seed/sm121`, device/mapping words) | IMPLEMENTED encodings and host-side device words; no GPU launcher | Chip gate BLOCKED_OPERATOR; host and simulator results are never cited as GPU qualification | +| RISC-V RV64GC (#630), ISA/ABI capability profiles (#628) | PROPOSED | Out of 1.0 unless a decision adds it | +| GB10 sm_121 device code (`seed/sm121`, device/mapping words) | IMPLEMENTED encodings and host-side device words; no GPU launcher | Chip gate BLOCKED_OPERATOR (author run `evidence/SEED-0/sm121/chip/` at load average 61 is not an exclusive-window qualification); host and simulator results are never cited as GPU qualification | Acceptance: the 1.0 target list is a recorded decision; every listed target has its own gate in the manifest set, a negative control, and an evidence class (HOST, EMULATED, PHYSICAL-GPU). A target not diff --git a/docs/one_layer/OM_COMPLETION.md b/docs/one_layer/OM_COMPLETION.md index aedc87cb0..2b5debe13 100644 --- a/docs/one_layer/OM_COMPLETION.md +++ b/docs/one_layer/OM_COMPLETION.md @@ -65,16 +65,16 @@ cannot emit them, so there is no reference unit to verify against. | FR-2 packed structs | structs are 8-byte cells; packed u8/u16/u32/u64 fields are not expressible | needs a layout syntax and alignment rule (decision) | | FR-3 imports by digest | no `import`; units concatenate | requires the OSC content-addressed unit store (external) | | FR-4 floats | implemented end to end for AArch64 (types, literals, arithmetic, arrays, pools, structs) | IR floats are spec-blocked: OSC-1 scalar tags are integer-only | -| FR-5 mmap/ioctl | absent | the language exposes no address values; needs an address/pointer escape decision | +| FR-5 mmap/ioctl | implemented for AArch64 program mode as handle-checked words `devctl devcall uvmctl mapnew mapdrop mapread mapwrite mapaddr mapget mapset maphold mapbind` (ids 166..177, `seed/omc/genkw.awk`; contracts in [`seed/host/MAPPING.md`](../../seed/host/MAPPING.md), tests `seed/host/tests/{mapio,devcall,memcheck,reserve}.om` run by `seed/host/gate.sh`) | access through a raw integer address stays refused: `mapaddr` exports a ulong but access requires the live owned handle; no GPU launcher or model execution (MAPPING.md) | | FR-6 threads/atomics | absent | decision 37 (disjoint threads) has no chosen design | | FR-7 shared objects/C ABI | absent | needs an ABI contract (calling convention, symbols, relocation) | | FR-8 kernel words | absent | needs a target kernel interface, not a compiler change | -| FR-9 x86-64 | DRAFT integration pending implementation/evidence, based on historical backend `7eca2ac3f` and canonical base `6999fa9e6`; see [design and unsupported paths](../X86-LINUX.md) | full existing fixture differential, default AArch64 byte preservation, objdump oracle and wrong-encoding mutants NOT_RUN; no completion or qualification claim | +| FR-9 x86-64 | DRAFT, merged as #923 from historical backend `7eca2ac3f` on canonical base `6999fa9e6`; see [design and unsupported paths](../X86-LINUX.md) | full existing fixture differential last ran EMULATED (QEMU) at source `62d1d0d6` (`seed/qualification/x86-linux/20261030-main-62d1d0d6.json`): 15182 PASS, 0 FAIL, 2 NOT_RUN (QEMU invalid-fd ioctl artifacts), 222 EXCLUDED, aggregate verdict FAIL because NOT_RUN is not PASS; the same run's objdump invalid-encoding and valid-wrong-encoding controls PASS; native x86 NOT_RUN; default AArch64 byte preservation is not separately recorded in that receipt; no completion or qualification claim | | decision 24 | no heap, no free | Drake's rule; any allocation model would reverse it | | decision 37 | no shared-state threads | design decision pending | ## 4. Next concrete step No self-contained compiler feature remains for the supported scalar subset. Next work requires a -decision (FR-2/3/5/6/7/8, decisions 24/37) or a shared target-extension model (IR arrays, -structs, floats); FR-9 has a draft integration described above, not a completed second target. +decision (FR-2/3/6/7/8, decisions 24/37) or a shared target-extension model (IR arrays, +structs, floats); FR-9 is merged as a draft (#923) described above, not a completed second target. diff --git a/research/.crumb b/research/.crumb index 59eb2f1c7..5a1192db7 100644 --- a/research/.crumb +++ b/research/.crumb @@ -22,7 +22,7 @@ "children": [ { "digest": "59d4ea65a193fbac1696fdd89626b42d310f40cf8319fa62912976014d863ed0", - "last_commit": "992a8e254", + "last_commit": "450bbefd4", "name": "atemporal", "purpose": "AT-0 Clock-Free Universe research program: relational (Page-Wootters) quantum models with no ext" }, @@ -31,17 +31,23 @@ "last_commit": "d863780eb", "name": "dirac-oracle", "purpose": "Directory research/dirac-oracle. Purpose not yet described by a human." + }, + { + "digest": "973ae926903a77a8e8deb166aed41fdd40e37a5ae1f9872eb2811bfe33b49590", + "last_commit": "ca05a32b3", + "name": "om-bench", + "purpose": "om-bench (#653): frozen measurement contract, family-disjoint task splits, oracles, controls and" } ], - "children_root": "sha256:3d0528e1c35285574253e8f4f811346a319a152998f22d959fb4f5f5b7126163", - "compiled_at": "2026-10-25T21:57:22Z", + "children_root": "sha256:2dba2cba139eec405acf7a78c21077a968dfb76c86352db859892728b0152a74", + "compiled_at": "2026-10-30T16:37:58Z", "compiler": "crumb-compile/1", - "digest": "sha256:62b92244c52fa8af6f511012dee2967e98dff162cc1d8bf45d0b2f15cb0adc5f", - "evidence_files": 0, - "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "files": 538, - "generated_at_commit": "992a8e254658cecb2ca9e1eb74cf42c85d9e6816", - "source_tree": "sha256:31d89eae6687641e7ce8f81d99fd049811fe97db7c4555f53c796869a877dbd7" + "digest": "sha256:c73d74e9c743c8b541ec2418e815095d748e2e15d0b89857d683dbd5b76b3bf9", + "evidence_files": 4, + "evidence_root": "sha256:1e8ed614a4d48ad6a9bb360f300dcf68e23a26797d587ac15485a168254f70dd", + "files": 1624, + "generated_at_commit": "ca05a32b32f11426444db6e691df8c7e40f3701a", + "source_tree": "sha256:68e9d0c074e400c9a926ab9c556eb0ce7df34b2b5cd75ffe6793c8ddb013f23d" }, "owner_lane": "", "provenance": { diff --git a/research/om-bench/.crumb b/research/om-bench/.crumb new file mode 100644 index 000000000..47953dbcd --- /dev/null +++ b/research/om-bench/.crumb @@ -0,0 +1,20 @@ +{ + "extensions": { + "generated": { + "children": [], + "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "compiled_at": "2026-10-30T16:37:58Z", + "compiler": "crumb-compile/1", + "digest": "sha256:973ae926903a77a8e8deb166aed41fdd40e37a5ae1f9872eb2811bfe33b49590", + "evidence_files": 4, + "evidence_root": "sha256:1e8ed614a4d48ad6a9bb360f300dcf68e23a26797d587ac15485a168254f70dd", + "files": 1086, + "generated_at_commit": "ca05a32b32f11426444db6e691df8c7e40f3701a", + "source_tree": "sha256:03d401a5a7ee6e5e80817fff2decd0cefdbe47d2bc3063083bd4bc33082d2062" + } + }, + "layer": "research/om-bench", + "name": "om-bench", + "purpose": "om-bench (#653): frozen measurement contract, family-disjoint task splits, oracles, controls and runner for agent-written Omega", + "schema_version": "1.0.0" +} diff --git a/research/om-bench/CONSUMPTION.md b/research/om-bench/CONSUMPTION.md new file mode 100644 index 000000000..0c83edfcb --- /dev/null +++ b/research/om-bench/CONSUMPTION.md @@ -0,0 +1,11 @@ +# Final-split consumption log + +| date (UTC) | who | what | candidate scored? | +|---|---|---|---| +| 2026-10-26 | OmegaEval | materialized the final split from the sealed oracle; hashed every file | no | +| 2026-10-26 | OmegaEval | structural load check of every final task by the driver's task loader (case files present, 2 visible cases) | no | +| 2026-10-26 | OmegaEval | statement similarity screen (`leakcheck.py`) over all splits, final included | no | +| 2026-10-26 | OmegaEval | re-materialized all splits after the brackets fix (final files byte-identical, only the shared index changed) | no | +| 2026-10-26 | OmegaEval | computed keyed opaque ids from the task index; statement similarity screen re-run (`leakcheck-v3`) | no | + +No model has seen a final-split statement. The final split is unconsumed. diff --git a/research/om-bench/CONTRACT.md b/research/om-bench/CONTRACT.md new file mode 100644 index 000000000..585ce5ed4 --- /dev/null +++ b/research/om-bench/CONTRACT.md @@ -0,0 +1,195 @@ +# om-bench measurement contract v1 (omega-mv #653) + +Status: FROZEN at the commit that adds this file. `manifests/contract.sha256` holds the sha256 of this file; +it is committed before any held-out candidate is scored. A change after that is a new version (v2) with a +new hash, and results under v1 stay labelled v1. Owner and judge: OmegaEval. Candidate lanes (OmegaIntent, +OmegaMind, OmegaCorpus, OmegaFast3) never grade themselves under this contract. + +Every number published under this contract carries one label on the same line: MEASURED (with an evidence +path), MODELED (with the formula or Wolfram query) or NOT_RUN. + +## 1. Question + +Can a model write working Omega (.om) for small, fully specified stdin/stdout tasks without a person fixing +the code by hand, and does it get the answer right? Compared with the same model writing Python and C. + +## 2. Task set + +- 176 tasks from 44 families, 4 variants each (v1-v4); 1633 test cases. Each task: a plain-English statement, + 2 visible example cases (cases 00 and 01, shown in the prompt), and hidden cases. Scoring uses every case. +- Expected outputs come from oracles written by OmegaEval (`families_public.py`; sealed families in a private + file), never from a candidate lane and never from a model. +- Scoring: stdout bytes exactly equal AND exit code 0. stderr is ignored. +- Splits are partitioned by family, so no family appears in two splits: + +| split | families | tasks | visibility | use | +|---|---|---|---|---| +| train | 8 | 32 | public | examples and corpus material | +| dev | 4 | 16 | public | driver development, smoke tests | +| heldA | 16 | 64 | sealed: aggregates only, task ids as opaque hashes | the scored set for v1 | +| final | 16 | 64 | sealed, untouched | one-time final test of a later version | + +- Hashes: `manifests/splits.json` lists sha256 of every public file and, for each sealed task, a keyed opaque + id (HMAC-SHA256 under a private key) plus one commitment: the sha256 of the sorted list of its file hashes. + Per-file hashes of sealed files are NOT published, because a short expected output (`YES\n`) could be + recovered by hashing guesses. The full private hash list is kept by OmegaEval + (`handoffs/OmegaEval/heldout-sha256.txt`, 2569 lines) and can be checked against the commitments. +- Final-test consumption log: `CONSUMPTION.md`. Every read of the final split by anyone, including structural + load checks that score nothing, is recorded there. A candidate scored on final consumes it. +- Leak check (`leakcheck.py`, v2): every cross-family pair of statements is compared by word Jaccard, + character-5-gram Jaccard and content-word overlap after stop-word removal and a synonym map. A pair is + flagged when word >= 0.6, or char5 >= 0.6, or (overlap >= 0.9 and word >= 0.45). Each flagged pair has a + recorded hand verdict in `leak-reviews.json`. The run fails if a flag is unreviewed or a cross-split pair is + a duplicate. Planted control PLANT1 (a paraphrase of a dev task) must be flagged; PLANT2 (a looser + paraphrase of a train task) is reported but not required. v2 was tuned after seeing PLANT1, so PLANT1 is not + a blind control; the v1 rule missed it, and that miss is reported. Result of record: `leakcheck-v3` + (same rule as v2; ids re-keyed): 176 tasks, 15400 pairs, 8 flags all reviewed, 4 cross-split, 0 duplicates, + PLANT1 flagged, PLANT2 not flagged, rc 0. Flag ids in `leak-reviews.json` are the keyed opaque ids. +- Leak-check verdicts that change the statistics: two heldA families share one computation pattern; they are + ONE cluster in every family-clustered statistic (15 heldA clusters, not 16). One train family is a special + case of one heldA family; it is reported as a near-transfer risk. + +## 3. Arms + +All arms use the same subject model, the same reference card (`REFERENCE-CARD.md`, sha256 in +`manifests/splits.json`), the same task statement, the same common I/O sentence and the same 2 visible +examples. Only the language and the loop differ. + +| arm | what the model gets | attempts | status in v1 | +|---|---|---|---| +| a | plain generation, Omega | 1, greedy | RUN | +| b | a + compiler feedback: after a refusal the model sees the omc error line, the meaning of the error number and the offending source line, then tries again | up to 1+3, greedy | RUN | +| aeq | equal-attempt baseline for b: up to 4 independent samples at temperature 0.8 (seeds 654-657), first one that compiles is kept, no feedback | up to 4 | RUN on heldA if time allows | +| c | structured construction through OmegaIntent's omq (#838): the model fills `??` holes and omq answers each | - | NOT_RUN (omq not merged; needs an agent loop) | +| d | constrained decoding (OmegaMind) | - | NOT_RUN (not delivered) | +| e | trained Omega specialist | - | NOT_RUN (does not exist yet) | +| fpy | the same model writes Python 3 | 1, greedy | RUN | +| fc | the same model writes C11, built with `gcc -O2 -std=gnu11 -lm` | 1, greedy | RUN | +| pilot A / pilot B | OmegaIntent agent-loop pilot (section 9) | - | NOT_RUN (cloud model unfunded) | + +Arm b's attempt 0 uses the same prompt and greedy decoding as arm a and is charged in full to b. Whether it is +byte-identical to arm a's reply is reported as a reproducibility measurement, not assumed. + +## 4. Subject model and environment profile + +- Model: Qwen3-4B-Instruct-2507, Q8_0 GGUF, sha256 + `7e0200979d2b23423891febbd8d84b3c65783cbffafc7a4d38cdea9a0b3d044f`, quantized with llama.cpp 0f3a71be1 from + the bf16 release. Chosen as a small CPU model so the run needs no GPU and costs $0 marginal. +- Server: llama.cpp `llama-server` 0.3.0-dev commit 0f3a71be1 (the build bundled at + `/usr/local/lib/ollama/llama-server`, sha256 `f6e05586c5e7dd2110b2d8efadf23ff3b081dcdd53be67cfd32884af7b476163`), + CPU only (`-ngl 0`, no GPU visible), `taskset -c 3-4`, `-t 2 -c 16384 --parallel 1`, port 18653. + `max_tokens` 2048 per reply; greedy = temperature 0, top_k 1, seed 653; prompt cache on. Cores 0-2 run + another lane's decoder (agreed split with OmegaMind, 2026-10-26); a 2-core probe decoded 150 tokens at + 8.13 tok/s (MEASURED, `handoffs/OmegaEval/env/llm-probe-2core.json`). +- Omega compiler: `seed/out/omc` sha256 `2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f`, + as built at omega-mv `0b77e6ea294aa3d69ccbdb86b9c14d133abea689`; this branch's base `369dbc96` has no + change under `seed/`. The judge refuses any other omc hash. +- Host: DGX Spark, arm64, Linux 7.0.0-1019-nvidia; candidate builds and runs pinned to cores 3-4; gcc 13.3.0; + Python 3.12.3. The box runs other work (load around 25 on 20 cores), so every time is "host, busy box". +- Limits: compile 60 s, each test case 10 s wall. A timeout or signal is a mechanical runtime failure. +- No sandbox: unprivileged user namespaces are refused on this host (`unshare -rn` fails). Mitigation: the + authorization scan (section 6) runs before any candidate executes, and a flagged candidate is never run. + +## 5. Judging + +- Omega arms: judged by `gate.om` (seed/qualification/om2), the seeded .om runner, built by the pinned omc and + given the pinned omc hash. The host comparator in `ombench.py judge` must agree with gate.om case by case + (`ombench.py crosscheck`); any disagreement makes the arm's result INVALID. +- Python and C arms: judged by the host comparator alone (disclosed below). +- A task with no recorded generation is NOT_RUN and is never counted as a pass. The judge prints + `NOT_RUN k of N`, exits 2, and the denominator is the full split size. `DENOMINATOR FAULT` if the number of + judged tasks differs from the split size. A malformed task prints `CORPUS FAULT [task] reason` and exits 1. + +## 6. Outcome classes (one per task) + +| class | meaning | counts as | +|---|---|---| +| pass | every case correct | success | +| wrong_output | builds and runs cleanly, some answer wrong | correctness failure | +| compile_refused | the compiler refused the final program | mechanical intervention | +| no_code | no code block in the reply | mechanical intervention | +| runtime_mechanical | crash, Omega runtime trap (exit 100-114), signal, timeout, other non-zero exit or empty output on some case | mechanical intervention | +| authz_violation | the program reaches outside stdin/stdout/stderr: Omega host words (ids >= 100 in seed/omc/genkw.awk) or read/write on other descriptors; Python: any import outside the allowlist `sys math collections itertools functools heapq bisect string re fractions decimal operator array statistics typing dataclasses copy`, or calls to `open exec eval compile __import__ breakpoint globals vars`, or `.system .popen .fork .remove .unlink` (parsed with `ast`); C: file, process, network or dynamic-load calls | authorization violation, never executed | +| NOT_RUN | no generation recorded | never a pass, stays in the denominator | + +## 7. Metrics (all reported together; none alone) + +- Primary: mechanical intervention rate = (compile_refused + no_code + runtime_mechanical) / N. Target 0. + A lower rate never counts as an improvement if correctness drops. +- Correctness: pass / N. +- Authorization violations: count. +- Regressions: tasks that passed under the previous run of the same arm and contract version and fail now + (first run: none to compare, reported as such). +- End-to-end time per task: model wall time for all attempts + compile + judge (MEASURED, busy box). +- Tokens: prompt tokens sent, prompt tokens actually processed (after cache), completion tokens, all attempts. +- Cost: $0 marginal (local model). Compute MODELED as model wall time x 5 cores. Energy NOT_MEASURED. +- Reproducibility: arm a is re-run on the 16 dev tasks; report how many replies are byte-identical (sha256). +- Runtime: for passing tasks, run time per case for Omega vs the model's own C and Python on the same task + (MEASURED). Runtime as a percentage of OmegaReview's measured machine ceiling is NOT_RUN for this task set: + the inputs are at most a few KiB, so time is process start-up, not compute. The pilot families (section 9) + are where the ceiling comparison applies. + +## 8. Statistics and predeclared verdicts + +All computed in Wolfram; queries and outputs filed with the results. + +- Rates get 95% Wilson intervals over tasks, and a family-clustered interval (cluster = family; the merged + heldA cluster counts once). +- Sample size (Wolfram, two-sided 5%, power 80%, unpaired normal approximation): + `twoProp[0.8,0.55] -> 54`, `twoProp[0.75,0.5] -> 58`, `twoProp[0.5,0.25] -> 58` tasks per arm; Wilson + half-width at p = 0.5 is 0.122 for n = 64 and 0.245 for n = 16 (`z*Sqrt[0.25/n]`). heldA has 64 tasks, so a + 25-point difference is detectable; smaller differences are reported as not resolved. +- Paired arm comparisons (same tasks): exact two-sided McNemar test on discordant tasks. + - "b reduces mechanical interventions vs a": McNemar p < 0.05 AND b's correctness is not lower than a's. + - "b beats an equal number of plain attempts": the same test of b vs aeq. + - "Omega is as writable as Python/C for this model": NOT claimed unless the Omega pass rate's interval + overlaps the Python/C rate AND the mechanical rates are within 10 points. Otherwise the gap is reported. +- One declared run per arm. A re-run is allowed only for a documented load or infrastructure fault; then both + runs are reported. + +## 9. Pilot task set (OmegaIntent agent loop, ADRs aien-architecture-mv #340/#341) + +Families: fixed-point log2 to micro-bits, PRNG plus hash train/eval split, mean and variance, histogram +entropy, dot product. Arms: A = plain .om authoring with final omc feedback; B = A plus omq answers at each +`??` hole. Measures: first-try success, fixes per task, tokens, wall time, runtime as % of OmegaReview's +measured X925 ceiling. Tasks, oracles, splits and verdicts belong to OmegaEval under this contract. The cloud +model run is NOT_RUN in v1 (no funded account); the family definitions are added as a separate task set +with its own hashes when built. + +## 10. Controls (must pass before any result is published; `controls/run-controls.sh`) + +- Reference programs pass; planted wrong programs (mutants) are classed wrong_output by both judges. +- Empty output, runtime trap, timeout, compile error and authorization-violating programs land in their + classes; the authorization program is never executed. +- gate.om given a wrong omc hash returns INVALID. +- A run with 9 of 10 generations missing prints `NOT_RUN 9 of 10`, exits 2. +- Corpus faults (task with no cases; case missing its expected output) print `CORPUS FAULT` and exit 1. +- Python and C wrong and authorization controls land in their classes. +Each control asserts the diagnostic text, not only the exit code. + +Pre-freeze fixes found by these controls (control run 1, `controls-r1.txt`; reruns `controls-r2.txt` and, +from the published copy in this directory, `controls-r3.txt`: CONTROLS FAILS=0): +- brackets mutant (depth-at-end check removed) passed every case: no case was never-negative yet unclosed. + Added such cases to brackets.v1 and brackets.v3 (dev/public families), 1629 -> 1633 cases. Sealed task + files unchanged. +- crosscheck read gate.om verdict lines in the wrong shape and reported every case missing; parser fixed. +- Python authorization control `import sys, os` slipped past a regex scan; replaced with the `ast` allowlist above. +- Python wrong-output control printed an integer too large for `str()` and crashed (runtime class); control + replaced with an off-by-one program. + +Reproduction: `bench/materialize.py PUB SEALED manifests/splits.json` regenerated every public file +byte-identically and every sealed file byte-identically (diff -r empty, run from this directory). Scored runs +use `run-arms.sh RUNROOT SPLIT ARM...` (generate, judge, gate.om cross-judge for Omega arms, summary). + +## 11. Tools outside the Omega closure (disclosed) + +| tool | does | Omega replacement | +|---|---|---| +| Python 3.12.3: `materialize.py`, `families_*.py` | writes tasks and expected outputs | port oracles to .om, cross-checked against the Python oracle | +| Python: `ombench.py` | prompts the model, extracts code, runs authorization scan, host comparator | gate.om already judges Omega; port the scan to .om using genkw word ids | +| Python: `leakcheck.py` | similarity screen | .om text tokenizer + set overlap | +| llama.cpp `llama-server` | runs the subject model | out of scope (model runtime) | +| gcc 13.3.0 | builds arm fc | none needed: it is the C baseline | + +gate.om is the only judge in the Omega closure. Nothing here is "verified by CI": everything was run on the +Spark, not in CI. diff --git a/research/om-bench/CORPUS-ACCEPTANCE.md b/research/om-bench/CORPUS-ACCEPTANCE.md new file mode 100644 index 000000000..c991fa83d --- /dev/null +++ b/research/om-bench/CORPUS-ACCEPTANCE.md @@ -0,0 +1,28 @@ +# Training-example acceptance rules v1 (for OmegaCorpus; omega-mv #653, #654) + +A record enters the Omega training corpus only if every field below is present and checks out. A record that +fails any rule is rejected with the rule number; it is never repaired silently. + +1. Contract version: `contract: om-corpus-accept/v1`. A record written under another version is not mixed in. +2. Source identity: repo, commit sha (40 hex), path, sha256 of the exact .om bytes, licence, and repo + visibility (public / private). Private-repo records go to a local-only split and appear publicly only as + `private-01..NN`. UPSTREAM-FORK repos are skipped. AGPL sources are eval-only, never training. +3. Compiler identity: omega-mv commit and `seed/out/omc` sha256 the record was checked with. +4. Producer identity: `human`, `model:@` with decoding settings, or `tool:@`. + Model-written code is labelled as such and is never presented as human-written. +5. Observed result, not a claim: compile exit code and message as observed; for runnable records, the inputs + used, the observed stdout sha256 and exit code, and the date and host. "Compiles" alone makes a record a + syntax example only (tag `evidence: compile-only`). +6. Checker identity: the program that decided the result (for example gate.om at a given commit and sha256, + or a named test file at a commit). The checker must not be the producer: a lane does not certify its own + output. +7. Evidence scope: one of `compile-only`, `ran-on-listed-inputs`, `exhaustive-over-domain`, + `solver-checked`. An optimizer rewrite is "test-equivalent" unless exhaustive or solver-checked. +8. Negative control: each batch includes at least one planted wrong record (wrong output, or a program the + compiler should refuse) and the batch log shows the checker rejecting it with its diagnostic text. A batch + whose control passes is rejected entirely. +9. Split hygiene: no record may contain, paraphrase or solve a task from the om-bench sealed splits. Check + every record against `handoffs/OmegaEval/heldout-sha256.txt` (exact) and with `leakcheck.py` against the + statements (near-duplicate); a hit is rejected and reported to OmegaEval. +10. Denominator: the batch log states records offered, accepted and rejected by rule number; offered = + accepted + rejected. diff --git a/research/om-bench/REFERENCE-CARD.md b/research/om-bench/REFERENCE-CARD.md new file mode 100644 index 000000000..a76d24731 --- /dev/null +++ b/research/om-bench/REFERENCE-CARD.md @@ -0,0 +1,163 @@ +# Omega (.om) reference card for om-bench v1 + +Checked against omega-mv 0b77e6ea, compiler seed/out/omc sha256 2c824805...029f. Both examples at the end +compile and run with that compiler. + +## Shape +- One statement per line. Words are separated by spaces. No commas, semicolons, braces or indentation. + `note TEXT` is the only comment. +- `fn NAME P1 T1 P2 T2 to TYPE` ... `end`, or `to void`. At most 6 parameters. `fn main to int` takes none; + its return value is the exit status. `exit v` ends the program at once. +- A function with a return type must end every path with `ret v`. A line after `ret`, `break`, + `continue` or `exit` in the same block is an error. +- A function call that returns a value cannot be a statement: bind it, `k = write 1 buf 0 n`. +- Blocks: `if C` ... `else` ... `end`; `while C bound N` ... `end` (N from 1 to 999999, at most N passes); + `for i ulong K` ... `end` (i = 0 .. K-1); `break`; `continue`. + +## Values are prefix words with fixed arity (no infix, no brackets needed) +- `add sub mul div rem and or xor shl shr` take 2 and give the operand type. + `eq ne lt le gt ge` take 2 and give bool. `not neg` take 1. +- `add mul r r 4` means r*r+4. `eq rem n 2 0` means n mod 2 == 0. +- `and`/`or` evaluate both sides (no short circuit). Check an index bound in an outer `if`, then load. +- `get A i` reads an array element, `put A i v` writes one, `len A` is the ulong length. + +## Types +- `bool uchar ushort uint ulong byte short int long` (u8 u16 u32 u64 i8 i16 i32 i64). `uchar` is a number. +- No implicit conversion: both operands, a name and its new value, an argument and its parameter must + have the same type. Convert with the type word: `ulong k`, `uchar x`, `long u`. A conversion whose value + does not fit traps (exit 105): mask first, `uchar and x 255`. +- A bare number takes the type of the other operand. A new name needs a typed value: `x = ulong 0`, not + `x = 0`. `true`/`false` are bools. +- Literals are decimal only (no hex, no 'A'; write 65). Unsigned arithmetic wraps mod 2^width. Signed + overflow traps (exit 101). Division by zero traps (102). Out-of-range index traps (103). + +## Names and limits +- Variable, parameter, global, text and const names: at most 8 characters. Function names up to 63. +- A name first assigned inside a block dies at its `end`; assign it before the block to keep it. +- About 10 live names per function (hard limit 16 registers including temporaries); split big + functions into helpers. +- Reserved, cannot be names: every type name, every operator word (`add sub mul div rem and or xor shl + shr eq ne lt le gt ge neg not`), `get put len read write true false view edit fn to end if else while + bound for ret void global text const free exit note new struct break continue trap own bitcast fsqrt + fabs fmin fmax sizeof offsetof` and the host words. Pick plain names like `cnt`, `acc`, `pos`. +- `global NAME TYPE N` declares a zero-filled array visible in every function. A global can never be + passed as an argument; functions use it by name. +- `NAME = new TYPE N v` makes a local array of N elements set to v; N must be a literal. +- `text NAME "bytes\n"` is a read-only uchar array (escapes `\n \t \\ \"` only). +- `const NAME TYPE LITERAL` names a constant. + +## Input and output +- `read 0 A off n` reads at most n bytes from stdin into A starting at off. `write 1 A off n` writes n + bytes of A starting at off to stdout. Both return a long: a count, 0 at end of input, or a negative + error. Read in a loop until 0. Compare a write result with `long n`. +- There is no print word for numbers: convert digits into a uchar array yourself (see printu below). + +## Compiler errors: `omc: line N: error K` +3 unknown name, 4 line ends early, 5 extra words, 6 bad number, 7 type mismatch, 8 number out of range, +9 word not allowed here, 10 duplicate name, 11 bare number needs a type, 12 too many live names, +13 name longer than 8, 15 missing end, 16 unknown word or syntax, 17 line after ret/break/exit, +18 missing ret, 19 global passed as argument, 20 write to text, 21 constant index out of range. + +## Example 1: sum of non-negative whole numbers on stdin (verified; a '-' sign is skipped, not handled) +``` +global inb uchar 65536 +global outb uchar 32 +fn readall to ulong +n = ulong 0 +while lt n 65536 bound 65537 +k = read 0 inb n sub 65536 n +if lt k 0 +exit 2 +end +if eq k 0 +break +end +n = add n ulong k +end +ret n +end +fn printu v ulong to void +i = ulong 31 +put outb i 10 +x = v +while true bound 21 +i = sub i 1 +put outb i uchar add rem x 10 48 +x = div x 10 +if eq x 0 +break +end +end +off = i +k = write 1 outb off sub 32 off +if ne k long sub 32 off +exit 3 +end +end +fn main to int +n = readall +sum = ulong 0 +cur = ulong 0 +have = false +for i ulong n +c = get inb i +if and ge c 48 le c 57 +cur = add mul cur 10 ulong sub c 48 +have = true +else +if have +sum = add sum cur +end +cur = 0 +have = false +end +end +if have +sum = add sum cur +end +printu sum +ret 0 +end +``` + +## Example 2: uppercase stdin, then print a fixed word (verified) +``` +global inb uchar 65536 +text yes "changed\n" +text no "same\n" +fn readall to ulong +n = ulong 0 +while lt n 65536 bound 65537 +k = read 0 inb n sub 65536 n +if lt k 0 +exit 2 +end +if eq k 0 +break +end +n = add n ulong k +end +ret n +end +fn main to int +n = readall +hit = false +for i ulong n +c = get inb i +if and ge c 97 le c 122 +put inb i sub c 32 +hit = true +end +end +k = write 1 inb 0 n +if ne k long n +exit 3 +end +if hit +k = write 1 yes 0 len yes +else +k = write 1 no 0 len no +end +ret 0 +end +``` diff --git a/research/om-bench/bench/benchlib.py b/research/om-bench/bench/benchlib.py new file mode 100644 index 000000000..d68c76792 --- /dev/null +++ b/research/om-bench/bench/benchlib.py @@ -0,0 +1,96 @@ +"""om-bench (#653) task framework: family records, oracles and seeded input generators. + +Independent oracle code written by OmegaEval. Candidate lanes (OmegaIntent, OmegaMind, OmegaCorpus) +never edit this file or the sealed families. Python here is a verification oracle outside the +delivered Omega build closure (disclosed in CONTRACT.md section 9). +""" +import hashlib, hmac, os, random + +# Private sealed material (held-out families, keys, opaque-id key) lives outside the repository. +SEALED = os.environ.get("OMB_SEALED", os.path.expanduser("~/handoffs/OmegaEval/sealed")) +OPAQUE_KEY = os.path.join(SEALED, "opaque.key") + + +def opaque(split, tid): + """Public name of a task. Train/dev ids are public; sealed ids are an HMAC-SHA256 under a private key, + so a reader cannot recover a sealed family name by hashing guesses.""" + if split in ("train", "dev") or tid.startswith(("zz-", "ctl-")): + return tid + key = open(OPAQUE_KEY, "rb").read().strip() + return split + ":" + hmac.new(key, tid.encode(), hashlib.sha256).hexdigest()[:10] + +M64 = 1 << 64 + +COMMON_IO = ( + "Input arrives on standard input as ASCII text of at most 65536 bytes. Unless the task says " + "otherwise, numbers are unsigned decimal integers below 2^64 with no sign and no leading zeros, " + "separated by single spaces, and every input line ends with one newline byte (10). Write the " + "answer to standard output exactly as specified, each output line ending with one newline byte. " + "Exit with status 0 unless the task says otherwise. Write nothing to standard output that the task " + "does not ask for." +) + + +class Task: + def __init__(self, family, vid, statement, oracle, examples, hidden): + self.family = family + self.vid = vid + self.statement = statement + self.oracle = oracle + self.examples = examples + self.hidden = hidden + + @property + def tid(self): + return f"{self.family}.{self.vid}" + + +def b(s): + return s.encode("ascii") if isinstance(s, str) else s + + +def line(*vals): + return (" ".join(str(v) for v in vals) + "\n").encode("ascii") + + +def lines(rows): + return b"".join(line(*r) if isinstance(r, (list, tuple)) else line(r) for r in rows) + + +def ints(inp): + return [int(t) for t in inp.split()] + + +def out(*vals): + return line(*vals), 0 + + +def rng_for(tid, salt="v1"): + return random.Random(f"om-bench-653/{salt}/{tid}") + + +def numlist(rng, n_lo, n_hi, v_hi): + n = rng.randint(n_lo, n_hi) + return line(*[rng.randint(0, v_hi) for _ in range(n)]) + + +def text_lines(rng, n_lines, alphabet, max_len, min_len=0): + rows = [] + for _ in range(n_lines): + k = rng.randint(min_len, max_len) + rows.append("".join(rng.choice(alphabet) for _ in range(k))) + return ("\n".join(rows) + "\n").encode("ascii") + + +def words_line(rng, n_lo, n_hi, alphabet="abcdefghijklmnopqrstuvwxyz", wmax=8): + n = rng.randint(n_lo, n_hi) + ws = ["".join(rng.choice(alphabet) for _ in range(rng.randint(1, wmax))) for _ in range(n)] + return (" ".join(ws) + "\n").encode("ascii") + + +def mk(family, vid, statement, oracle, examples, gen, boundary=(), n_random=6): + """examples: visible inputs; gen(rng) -> one hidden input; boundary: fixed hidden inputs.""" + tid = f"{family}.{vid}" + rng = rng_for(tid) + hidden = [b(x) for x in boundary] + [gen(rng) for _ in range(n_random)] + return Task(family, vid, statement, oracle, [b(x) for x in examples], hidden) diff --git a/research/om-bench/bench/families_public.py b/research/om-bench/bench/families_public.py new file mode 100644 index 000000000..f3e82acb7 --- /dev/null +++ b/research/om-bench/bench/families_public.py @@ -0,0 +1,382 @@ +"""Public families: split train (8 families) and dev (4 families). 4 variants each. + +Every oracle below is an independent reference implementation written by OmegaEval. +""" +from benchlib import mk, line, lines, ints, out, numlist, text_lines, words_line, M64 + +TRAIN = ["sumlist", "countb", "extrema", "gcdlcm", "reverse", "multiples", "caesar", "digits"] +DEV = ["primes", "fibo", "wordst", "brackets"] + + +def _sumlist(): + F = "sumlist" + g = lambda r: numlist(r, 1, 200, (1 << 64) - 1) + small = lambda r: numlist(r, 1, 200, 1 << 31) + return [ + mk(F, "v1", "Read one line of numbers. Print their sum modulo 2^64.", + lambda i: out(sum(ints(i)) % M64), ["1 2 3\n", "18446744073709551615 2\n"], g, + ["0\n", "18446744073709551615 18446744073709551615 18446744073709551615\n"]), + mk(F, "v2", "Read one line of numbers, each below 2^32. Print the sum of their squares modulo 2^64.", + lambda i: out(sum(x * x for x in ints(i)) % M64), ["1 2 3\n", "4294967295\n"], small, + ["0\n", "4294967295 4294967295 4294967295\n"]), + mk(F, "v3", "Read one line of numbers. Print the sum of the even numbers modulo 2^64 (print 0 if there are none).", + lambda i: out(sum(x for x in ints(i) if x % 2 == 0) % M64), ["1 2 3 4\n", "7\n"], g, + ["1 3 5\n", "18446744073709551614 18446744073709551614\n"]), + mk(F, "v4", "Read one line of numbers. Print the sum, modulo 2^64, of the numbers at even positions (the 1st, 3rd, 5th and so on).", + lambda i: out(sum(ints(i)[0::2]) % M64), ["5 100 7\n", "9\n"], g, ["0 1\n"]), + ] + + +def _countb(): + F = "countb" + alpha = "abcxyz AB0123456789\n" + g = lambda r: text_lines(r, r.randint(1, 30), alpha.replace("\n", ""), 60) + return [ + mk(F, "v1", "Count the bytes equal to lowercase letter a (byte 97) in the whole input. Print the count.", + lambda i: out(i.count(b"a")), ["banana\n", "xyz\n"], g, ["\n", "a\n" * 1000]), + mk(F, "v2", "Count the newline bytes (byte 10) in the input. Print the count.", + lambda i: out(i.count(b"\n")), ["one\ntwo\n", "x\n"], g, ["\n" * 5000]), + mk(F, "v3", "Count the decimal digit bytes 0 to 9 (bytes 48 to 57) in the input. Print the count.", + lambda i: out(sum(1 for c in i if 48 <= c <= 57)), ["a1b22\n", "none\n"], g, ["\n", "9" * 65000 + "\n"]), + mk(F, "v4", "Count the space bytes (byte 32) in the input. Print the count.", + lambda i: out(i.count(b" ")), ["a b c\n", "abc\n"], g, ["\n", " " * 3000 + "\n"]), + ] + + +def _extrema(): + F = "extrema" + g = lambda r: numlist(r, 1, 300, (1 << 64) - 1) + def argmax(xs): + m = max(xs) + return xs.index(m) + return [ + mk(F, "v1", "Read one line of at least one number. Print the largest.", + lambda i: out(max(ints(i))), ["3 9 2\n", "5\n"], g, ["0\n", "18446744073709551615 0\n"]), + mk(F, "v2", "Read one line of at least one number. Print the smallest.", + lambda i: out(min(ints(i))), ["3 9 2\n", "5\n"], g, ["18446744073709551615\n", "7 0 7\n"]), + mk(F, "v3", "Read one line of at least one number. Print the largest minus the smallest.", + lambda i: out(max(ints(i)) - min(ints(i))), ["3 9 2\n", "5\n"], g, ["0 18446744073709551615\n"]), + mk(F, "v4", "Read one line of at least one number. Print the position (counting from 0) of the first occurrence of the largest number.", + lambda i: out(argmax(ints(i))), ["3 9 2 9\n", "5\n"], g, ["1 1 1\n", "0 0 18446744073709551615\n"]), + ] + + +def _gcdlcm(): + from math import gcd + F = "gcdlcm" + g2 = lambda r: line(r.randint(1, (1 << 64) - 1), r.randint(1, (1 << 64) - 1)) + def g2c(r): + k = r.randint(1, 1 << 20) + return line(k * r.randint(1, 1 << 20), k * r.randint(1, 1 << 20)) + def glist(r): + k = r.randint(1, 1000) + return line(*[k * r.randint(1, 1 << 40) for _ in range(r.randint(1, 50))]) + def glcm(r): + return line(r.randint(1, 1 << 31), r.randint(1, 1 << 31)) + def gl(i): + xs = ints(i) + r = 0 + for x in xs: + r = gcd(r, x) + return out(r) + return [ + mk(F, "v1", "Read two positive numbers on one line. Print their greatest common divisor.", + lambda i: out(gcd(*ints(i))), ["12 18\n", "7 13\n"], g2c, ["1 1\n", "18446744073709551615 18446744073709551615\n"] + [None] * 0), + mk(F, "v2", "Read one line of at least one positive number. Print the greatest common divisor of all of them.", + gl, ["12 18 30\n", "7\n"], glist, ["18446744073709551615\n"]), + mk(F, "v3", "Read two positive numbers below 2^32 on one line. Print their least common multiple.", + lambda i: out(ints(i)[0] * ints(i)[1] // gcd(*ints(i))), ["4 6\n", "7 13\n"], glcm, + ["4294967295 4294967294\n", "1 1\n"]), + mk(F, "v4", "Read two positive numbers on one line. Print yes if their greatest common divisor is 1, otherwise print no.", + lambda i: out("yes" if gcd(*ints(i)) == 1 else "no"), ["4 9\n", "6 9\n"], g2, + ["1 1\n", "18446744073709551615 18446744073709551614\n", "2 18446744073709551614\n"]), + ] + + +def _reverse(): + F = "reverse" + alpha = "abcdefghij XYZ" + g = lambda r: text_lines(r, 1, alpha, 200, 1) + gw = lambda r: words_line(r, 1, 40) + gm = lambda r: text_lines(r, r.randint(1, 20), "abcdef", 30) + gn = lambda r: line(r.randint(0, (1 << 64) - 1)) + def rev_lines(i): + rows = i.split(b"\n")[:-1] + return b"".join(x[::-1] + b"\n" for x in rows), 0 + return [ + mk(F, "v1", "Read one line of text. Print the line's bytes in reverse order, followed by a newline.", + lambda i: (i[:-1][::-1] + b"\n", 0), ["abc\n", "a b\n"], g, ["x\n", "\n"]), + mk(F, "v2", "Read one line of words separated by single spaces. Print the words in reverse order, separated by single spaces.", + lambda i: (b" ".join(i[:-1].split(b" ")[::-1]) + b"\n", 0), ["one two three\n", "solo\n"], gw), + mk(F, "v3", "Read lines of text. Print every line with its bytes reversed, keeping the order of the lines.", + rev_lines, ["abc\nde\n", "\n"], gm), + mk(F, "v4", "Read one number. Print its decimal digits in reverse order with leading zeros removed (print 0 for 0).", + lambda i: out(int(str(ints(i)[0])[::-1])), ["1200\n", "345\n"], gn, ["0\n", "18446744073709551615\n", "10\n"]), + ] + + +def _multiples(): + F = "multiples" + gn = lambda r: line(r.randint(1, 2000)) + gb = lambda r: line(r.randint(1, 10 ** 9)) + def fizz(i): + n = ints(i)[0] + rows = [] + for k in range(1, n + 1): + rows.append("FizzBuzz" if k % 15 == 0 else "Fizz" if k % 3 == 0 else "Buzz" if k % 5 == 0 else str(k)) + return ("\n".join(rows) + "\n").encode(), 0 + return [ + mk(F, "v1", "Read one number n between 1 and 2000. For k from 1 to n print one line: FizzBuzz if k is divisible by 15, otherwise Fizz if divisible by 3, otherwise Buzz if divisible by 5, otherwise k.", + fizz, ["5\n", "15\n"], gn, ["1\n", "2000\n"]), + mk(F, "v2", "Read one number n below 10^9. Print how many numbers k with 1 <= k < n are divisible by 3 or by 5.", + lambda i: out(sum(1 for k in range(1, ints(i)[0]) if k % 3 == 0 or k % 5 == 0) if ints(i)[0] < 100000 else ((ints(i)[0] - 1) // 3 + (ints(i)[0] - 1) // 5 - (ints(i)[0] - 1) // 15)), + ["10\n", "1\n"], gb, ["0\n", "999999999\n"]), + mk(F, "v3", "Read one number n below 10^9. Print the sum of all numbers k with 1 <= k < n that are divisible by 3 or by 5.", + lambda i: out(sum(k for k in range(1, ints(i)[0]) if k % 3 == 0 or k % 5 == 0)) if ints(i)[0] < 100000 else out(_s35(ints(i)[0])), + ["10\n", "1\n"], gb, ["0\n", "999999999\n"]), + mk(F, "v4", "Read one number n between 1 and 2000. Print n lines: line k (from 1) holds k*k.", + lambda i: (b"".join(line(k * k) for k in range(1, ints(i)[0] + 1)), 0), ["3\n", "1\n"], gn, ["2000\n"]), + ] + + +def _s35(n): + def s(d): + m = (n - 1) // d + return d * m * (m + 1) // 2 + return s(3) + s(5) - s(15) + + +def _caesar(): + F = "caesar" + alpha = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789.," + g = lambda r: text_lines(r, r.randint(1, 10), alpha, 80) + def shift(k): + def f(i): + o = bytearray() + for c in i: + if 97 <= c <= 122: + o.append((c - 97 + k) % 26 + 97) + elif 65 <= c <= 90: + o.append((c - 65 + k) % 26 + 65) + else: + o.append(c) + return bytes(o), 0 + return f + tasks = [] + for vid, k in (("v1", 1), ("v2", 3), ("v3", 13), ("v4", 25)): + tasks.append(mk(F, vid, f"Copy the input to the output, replacing every ASCII letter by the letter {k} places later in the alphabet, wrapping from z to a and from Z to A and keeping its case. All other bytes, including newlines, are copied unchanged.", + shift(k), ["Hello, World\n", "xyz XYZ\n"], g, ["\n", "zZ\n"])) + return tasks + + +def _digits(): + F = "digits" + g = lambda r: line(r.randint(0, (1 << 64) - 1)) + def droot(n): + while n >= 10: + n = sum(int(c) for c in str(n)) + return n + def pnz(n): + p = 1 + for c in str(n): + if c != "0": + p *= int(c) + return p + return [ + mk(F, "v1", "Read one number. Print the sum of its decimal digits.", + lambda i: out(sum(int(c) for c in str(ints(i)[0]))), ["123\n", "0\n"], g, ["18446744073709551615\n", "9999999999999999999\n"]), + mk(F, "v2", "Read one number. Repeatedly replace it by the sum of its decimal digits until it is below 10. Print the result.", + lambda i: out(droot(ints(i)[0])), ["38\n", "0\n"], g, ["18446744073709551615\n", "9\n", "10\n"]), + mk(F, "v3", "Read one number. Print how many decimal digits it has (0 has one digit).", + lambda i: out(len(str(ints(i)[0]))), ["123\n", "0\n"], g, ["18446744073709551615\n", "10000000000000000000\n", "9\n"]), + mk(F, "v4", "Read one number. Print the product of its nonzero decimal digits (print 1 if it has none).", + lambda i: out(pnz(ints(i)[0])), ["1203\n", "0\n"], g, ["18446744073709551615\n", "9999999999999999999\n"]), + ] + + +# ---------------- dev ---------------- + +def _primes(): + F = "primes" + def isprime(n): + if n < 2: + return False + if n % 2 == 0: + return n == 2 + d = 3 + while d * d <= n: + if n % d == 0: + return False + d += 2 + return True + def sieve(n): + s = bytearray([1]) * (n + 1) + s[0:2] = b"\x00\x00"[: min(2, n + 1)] + for p in range(2, int(n ** 0.5) + 1): + if s[p]: + s[p * p :: p] = bytearray(len(s[p * p :: p])) + return s + S = sieve(2_000_000) + PR = [i for i in range(len(S)) if S[i]] + def lpf(n): + best, d = 1, 2 + while d * d <= n: + while n % d == 0: + best, n = d, n // d + d += 1 + return max(best, n) if n > 1 else best + return [ + mk(F, "v1", "Read one number below 10^12. Print prime if it is a prime number, otherwise print composite (0 and 1 are composite for this task).", + lambda i: out("prime" if isprime(ints(i)[0]) else "composite"), ["7\n", "1\n"], + lambda r: line(r.choice([r.randint(0, 10 ** 12 - 1), r.choice(PR[-2000:]) * 1, r.choice(PR[1000:5000]) * r.choice(PR[1000:5000])])), + ["0\n", "2\n", "999999999989\n", "999966000289\n"]), + mk(F, "v2", "Read one number n below 1000000. Print how many primes are less than or equal to n.", + lambda i: out(sum(S[: ints(i)[0] + 1])), ["10\n", "1\n"], lambda r: line(r.randint(0, 999999)), ["0\n", "2\n", "999999\n"]), + mk(F, "v3", "Read one number n between 1 and 10000. Print the n-th prime number (the 1st prime is 2).", + lambda i: out(PR[ints(i)[0] - 1]), ["1\n", "5\n"], lambda r: line(r.randint(1, 10000)), ["10000\n"]), + mk(F, "v4", "Read one number between 2 and 10^12. Print its largest prime factor.", + lambda i: out(lpf(ints(i)[0])), ["12\n", "13\n"], lambda r: line(r.randint(2, 10 ** 12)), + ["2\n", "1000000000000\n", "999999999989\n", "999966000289\n"]), + ] + + +def _fibo(): + F = "fibo" + def fib(n, m=None): + a, b_ = 0, 1 + for _ in range(n): + a, b_ = b_, a + b_ + if m: + a, b_ = a % m, b_ % m + return a + def count_le(n): + a, b_, c = 0, 1, 0 + while a <= n: + c += 1 + a, b_ = b_, a + b_ + return c + def even_sum(n): + a, b_, s = 0, 1, 0 + while a <= n: + if a % 2 == 0: + s += a + a, b_ = b_, a + b_ + return s + return [ + mk(F, "v1", "Read one number n below 100000. Print the n-th Fibonacci number modulo 2^64, where F(0)=0 and F(1)=1.", + lambda i: out(fib(ints(i)[0], M64)), ["10\n", "0\n"], lambda r: line(r.randint(0, 99999)), ["1\n", "93\n", "94\n", "99999\n"]), + mk(F, "v2", "Read two numbers n and m on one line, n below 1000000 and m between 1 and 10^9. Print F(n) modulo m, where F(0)=0 and F(1)=1.", + lambda i: out(fib(ints(i)[0], ints(i)[1]) % ints(i)[1]), ["10 7\n", "0 1\n"], + lambda r: line(r.randint(0, 999999), r.randint(1, 10 ** 9)), ["1 1\n", "999999 1000000000\n"]), + mk(F, "v3", "Read one number n. Print how many terms of the sequence F(0)=0, F(1)=1, F(k)=F(k-1)+F(k-2) are less than or equal to n (count F(1) and F(2) separately).", + lambda i: out(count_le(ints(i)[0])), ["1\n", "10\n"], lambda r: line(r.randint(0, (1 << 64) - 1)), ["0\n", "18446744073709551615\n"]), + mk(F, "v4", "Read one number n below 10^18. Print the sum of the even Fibonacci numbers that are less than or equal to n (F(0)=0, F(1)=1).", + lambda i: out(even_sum(ints(i)[0])), ["10\n", "1\n"], lambda r: line(r.randint(0, 10 ** 18 - 1)), ["0\n", "999999999999999999\n"]), + ] + + +def _wordst(): + F = "wordst" + alpha = "abcdefgABCDEFG" + def gw(r): + rows = [] + for _ in range(r.randint(1, 20)): + rows.append(" ".join("".join(r.choice(alpha) for _ in range(r.randint(1, 12))) for _ in range(r.randint(0, 10)))) + return ("\n".join(rows) + "\n").encode() + def words(i): + return i.split() + return [ + mk(F, "v1", "The input is lines of words; words are separated by single spaces and a line may be empty. Print the number of words.", + lambda i: out(len(words(i))), ["a bb\nccc\n", "\n"], gw), + mk(F, "v2", "The input is lines of words; words are separated by single spaces and a line may be empty. Print the length in bytes of the longest word (0 if there are no words).", + lambda i: out(max([len(w) for w in words(i)] or [0])), ["a bbb\ncc\n", "\n"], gw), + mk(F, "v3", "The input is lines of words; words are separated by single spaces and a line may be empty. Print how many words start with an uppercase letter A to Z.", + lambda i: out(sum(1 for w in words(i) if 65 <= w[0] <= 90)), ["Ab cd Ef\n", "\n"], gw), + mk(F, "v4", "The input is lines of words; words are separated by single spaces and a line may be empty. Print the number of the line (counting from 1) that has the most words; on a tie print the smallest such line number.", + lambda i: out(1 + max(range(len(i.split(b'\n')[:-1])), key=lambda k: (len(i.split(b'\n')[k].split()), -k))), ["a\nb c\n", "x\n"], gw, ["\n\n\n"]), + ] + + +def _brackets(): + F = "brackets" + def gp(r, al="()"): + n = r.randint(0, 400) + if r.random() < 0.5: + s, st = [], [] + pairs = {"(": ")", "[": "]", "{": "}"} + opens = [c for c in al if c in pairs] + for _ in range(n): + if st and r.random() < 0.5: + s.append(pairs[st.pop()]) + else: + c = r.choice(opens) + st.append(c) + s.append(c) + while st: + s.append(pairs[st.pop()]) + s = "".join(s) + if r.random() < 0.3 and s: + k = r.randrange(len(s)) + s = s[:k] + s[k + 1:] + else: + s = "".join(r.choice(al) for _ in range(n)) + return (s + "\n").encode() + def bal(i, al): + pairs = {")": "(", "]": "[", "}": "{"} + st = [] + for k, c in enumerate(i[:-1].decode()): + if c in "([{": + st.append(c) + else: + if not st or st[-1] != pairs[c]: + return False, k + st.pop() + return not st, (len(i) - 1 if st else -1) + def depth(i): + d = m = 0 + for c in i[:-1].decode(): + d += 1 if c == "(" else -1 + m = max(m, d) + return m + def first_bad(i): + st = [] + for k, c in enumerate(i[:-1].decode()): + if c == "(": + st.append(k) + elif st: + st.pop() + else: + return k + return st[0] if st else -1 + return [ + mk(F, "v1", "Read one line made only of ( and ) characters (possibly empty). Print yes if the parentheses are balanced, otherwise no.", + lambda i: out("yes" if bal(i, "()")[0] else "no"), ["(())()\n", "())\n"], lambda r: gp(r), ["\n", ")(\n", "((\n", "(()\n"]), + mk(F, "v2", "Read one line made only of ( and ) characters that is balanced. Print the maximum nesting depth (0 for an empty line).", + lambda i: out(depth(i)), ["(())()\n", "\n"], lambda r: _balanced(r), ["\n", "(" * 30000 + ")" * 30000 + "\n"]), + mk(F, "v3", "Read one line made only of the characters ( ) [ ] { } (possibly empty). Print yes if every bracket is closed by the matching kind in the right order, otherwise no.", + lambda i: out("yes" if bal(i, "()[]{}")[0] else "no"), ["([]{})\n", "([)]\n"], lambda r: gp(r, "()[]{}"), ["\n", "}\n", "([\n", "{}(\n"]), + mk(F, "v4", "Read one line made only of ( and ) characters. Scanning left to right, a ) with no open ( before it is unmatched; a ( never closed is unmatched. Print the position (counting from 0) of the first unmatched ) if there is one, otherwise of the leftmost unmatched (, otherwise print none.", + lambda i: out("none" if first_bad(i) < 0 else first_bad(i)), ["(()\n", "()\n"], lambda r: gp(r), ["\n", ")\n", "(((\n"]), + ] + + +def _balanced(r): + n = r.randint(0, 300) + s, d = [], 0 + for _ in range(n): + if d and r.random() < 0.5: + s.append(")") + d -= 1 + else: + s.append("(") + d += 1 + s.append(")" * d) + return ("".join(s) + "\n").encode() + + +BUILDERS = { + "sumlist": _sumlist, "countb": _countb, "extrema": _extrema, "gcdlcm": _gcdlcm, "reverse": _reverse, + "multiples": _multiples, "caesar": _caesar, "digits": _digits, + "primes": _primes, "fibo": _fibo, "wordst": _wordst, "brackets": _brackets, +} +SPLIT = {**{f: "train" for f in TRAIN}, **{f: "dev" for f in DEV}} diff --git a/research/om-bench/bench/leak-reviews.json b/research/om-bench/bench/leak-reviews.json new file mode 100644 index 000000000..6e736c646 --- /dev/null +++ b/research/om-bench/bench/leak-reviews.json @@ -0,0 +1,10 @@ +{ + "fibo.v2 | heldA:e696751122": "template: shared input/output wording, different computation; the public solution does not solve the sealed task (OmegaEval, 2026-10-26)", + "fibo.v2 | heldA:08ee899ecb": "template: shared input/output wording, different computation (OmegaEval, 2026-10-26)", + "extrema.v2 | heldA:c938a70d0f": "template: related computation (the public task is a special case of the sealed one); recorded as near-transfer risk, not a duplicate (OmegaEval, 2026-10-26)", + "multiples.v2 | heldA:f2673d2296": "template: shared counting wording, different computation (OmegaEval, 2026-10-26)", + "heldA:96513da511 | heldA:98006827aa": "same-split-overlap: two sealed families share one computation pattern; merged into one cluster for statistics (OmegaEval, 2026-10-26)", + "heldA:b8a9b7a8eb | heldA:98006827aa": "same-split-overlap: merged cluster (OmegaEval, 2026-10-26)", + "heldA:a6403c91e7 | heldA:98006827aa": "same-split-overlap: merged cluster (OmegaEval, 2026-10-26)", + "heldA:d2184ef2bc | heldA:98006827aa": "same-split-overlap: merged cluster (OmegaEval, 2026-10-26)" +} diff --git a/research/om-bench/bench/leakcheck.py b/research/om-bench/bench/leakcheck.py new file mode 100755 index 000000000..e0fa94306 --- /dev/null +++ b/research/om-bench/bench/leakcheck.py @@ -0,0 +1,132 @@ +#!/usr/bin/env python3 +"""om-bench (#653) near-duplicate and renamed-leak check across splits (disclosed host tool). + +Statements are normalised (lower case, every number -> N, a synonym map folds common rewordings, +punctuation and stop words dropped). Three similarities per cross-family pair: word-set Jaccard, +content-word overlap coefficient |A&B|/min(|A|,|B|), and character 5-gram Jaccard. A pair is FLAGGED +by rule(): word >= 0.6, or char5 >= 0.6, or (overlap >= 0.9 and word >= 0.45). Flagged pairs are a +screening list: each is reviewed by hand and recorded in leak-reviews.json with a verdict (duplicate / +template / same-split-overlap). Exit 1 if a flag has no review or a cross-split pair is a duplicate. Same-family pairs (variants of one family, always one +split) are expected to be similar and are not flagged. + +Planted controls: PLANT1 (a dev statement reworded) MUST be flagged, otherwise exit 1. The v1 normaliser +(no stop words, no overlap coefficient; word or char5 >= 0.6) missed PLANT1 (0.54 word); v2 was tuned +after seeing PLANT1, so PLANT1 is not a blind control. A pure overlap>=0.6 rule flagged 807 pairs and was +rejected as useless for review. PLANT2 (a heavy paraphrase of a train statement) is reported, not required: +it measures the limit of a lexical check. Sealed task ids are printed only as keyed opaque ids +(benchlib.opaque: HMAC-SHA256 under a private key, so family names cannot be recovered by guessing). +Limits: lexical only; a leak paraphrased beyond the synonym map, or one that reuses a solution rather +than a statement, is not detected. +""" +import itertools, json, os, re, sys +sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) +from benchlib import opaque + +THRESH = 0.6 +SYN = {"output": "print", "write": "print", "display": "print", "emit": "print", "integer": "number", + "integers": "numbers", "value": "number", "values": "numbers", "given": "read", "input": "read", + "obtain": "read", "count": "number", "amount": "number", "string": "line", "text": "line", + "whether": "if", "otherwise": "else", "below": "under", "less": "under", "parentheses": "bracket", + "brackets": "bracket", "parenthesis": "bracket", "possibly": "maybe", "properly": "", "when": "if", + "places": "positions", "position": "positions", "move": "shift", "shifted": "shift", + "characters": "character", "chars": "character", "bytes": "byte", "letters": "letter"} +STOP = {"a", "an", "the", "one", "of", "and", "or", "is", "are", "it", "its", "be", "by", "to", "in", "on", + "for", "with", "that", "this", "they", "not", "if", "else", "made", "only", "each", "every", "all", + "as", "at", "from", "so", "then", "n", "maybe", "when", "there", "which", ""} + + +def norm(s): + s = re.sub(r"\d+", " N ", s.lower()) + s = re.sub(r"[^a-z ]", " ", s) + return [SYN.get(w, w) for w in s.split()] + + +def content(ws): + return {w for w in ws if w not in STOP} + + +def grams(ws, k=5): + t = " ".join(ws) + return {t[i:i + k] for i in range(max(1, len(t) - k + 1))} + + +def jac(a, b): + return len(a & b) / len(a | b) if (a or b) else 1.0 + + +def ovl(a, b): + return len(a & b) / min(len(a), len(b)) if (a and b) else 0.0 + + +def load(root): + out = [] + for split in sorted(os.listdir(root)): + d = os.path.join(root, split) + if not os.path.isdir(d): + continue + for tid in sorted(os.listdir(d)): + p = os.path.join(d, tid, "statement.txt") + if os.path.isfile(p): + out.append((split, tid, open(p).read().strip())) + return out + + + +PLANT1 = ("Read a line made only of ( and ) characters, maybe empty. Output YES when the brackets are " + "properly balanced and NO when they are not.") +PLANT2 = ("Move each alphabet character 7 positions forward, so y becomes f, keep upper and lower case, " + "and pass every other byte through untouched.") + + +def rule(sw, so, sg): + return sw >= THRESH or sg >= THRESH or (so >= 0.9 and sw >= 0.45) + + +def main(): + pub, sealed = sys.argv[1], sys.argv[2] + rpath = os.path.join(os.path.dirname(os.path.abspath(__file__)), "leak-reviews.json") + reviews = json.load(open(rpath)) if os.path.exists(rpath) else {} + rows = load(pub) + load(sealed) + n_real = len(rows) + rows += [("heldA", "zz-plant1.v1", PLANT1), ("heldA", "zz-plant2.v1", PLANT2)] + feats = [] + for s, t, x in rows: + ws = norm(x) + feats.append((s, t, set(ws), content(ws), grams(ws))) + flags, best, plant = [], 0.0, {"zz-plant1": 0.0, "zz-plant2": 0.0} + for (s1, t1, w1, c1, g1), (s2, t2, w2, c2, g2) in itertools.combinations(feats, 2): + f1, f2 = t1.split(".")[0], t2.split(".")[0] + if f1 == f2: + continue + sw, so, sg = jac(w1, w2), ovl(c1, c2), jac(g1, g2) + m = max(sw, so, sg) + pz = [f for f in (f1, f2) if f.startswith("zz-")] + if pz: + if len(pz) == 1 and rule(sw, so, sg): + plant[pz[0]] = 1.0 + continue + best = max(best, m) + if rule(sw, so, sg): + flags.append({"a": opaque(s1, t1), "b": opaque(s2, t2), "word": round(sw, 3), + "content_overlap": round(so, 3), "char5": round(sg, 3), "cross_split": s1 != s2}) + key = flags[-1]["a"] + " | " + flags[-1]["b"] + flags[-1]["review"] = reviews.get(key) + res = {"version": 2, "tasks": n_real, "pairs_checked": n_real * (n_real - 1) // 2, "threshold": THRESH, + "max_cross_family_similarity": round(best, 3), "n_flags": len(flags), + "n_flags_cross_split": sum(f["cross_split"] for f in flags), "flags": flags, + "plant1_flagged": plant["zz-plant1"] > 0, "plant2_flagged": plant["zz-plant2"] > 0} + print(json.dumps(res, indent=1)) + if not res["plant1_flagged"]: + print("LEAK CONTROL FAIL planted duplicate not flagged") + sys.exit(1) + unreviewed = [f for f in flags if not f["review"]] + dup = [f for f in flags if f["cross_split"] and (f["review"] or "").startswith("duplicate")] + for f in unreviewed: + print("LEAK UNREVIEWED", f["a"], "|", f["b"]) + for f in dup: + print("LEAK DUPLICATE ACROSS SPLITS", f["a"], "|", f["b"]) + sys.exit(1 if unreviewed or dup else 0) + + +if __name__ == "__main__": + main() diff --git a/research/om-bench/bench/materialize.py b/research/om-bench/bench/materialize.py new file mode 100644 index 000000000..7e70b655c --- /dev/null +++ b/research/om-bench/bench/materialize.py @@ -0,0 +1,112 @@ +"""Materialize om-bench tasks to disk and hash them. + +usage: materialize.py PUBLIC_OUT SEALED_OUT [MANIFEST_OUT] +Writes ///{statement.txt, NN.in, NN.out, meta.json}; cases 00-01 are the visible +examples, the rest hidden. Fails closed: any oracle exception, nondeterminism, oversized input or +duplicate input inside a task is a fatal error (exit 1), never a skipped task. +""" +import hashlib, json, os, sys +sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) +import benchlib, families_public as P +sys.path.insert(0, benchlib.SEALED) + +MAX_IN = 65536 + + +def sha(bs): + return hashlib.sha256(bs).hexdigest() + + +def build(builders, split_of): + tasks = [] + for fam, fn in builders.items(): + ts = fn() + if len(ts) != 4: + sys.exit(f"FATAL {fam}: {len(ts)} variants, want 4") + for t in ts: + tasks.append((split_of[fam], t)) + return tasks + + +def write_task(root, split, t): + d = os.path.join(root, split, t.tid) + os.makedirs(d, exist_ok=True) + stmt = (t.statement + "\n").encode() + files = {"statement.txt": stmt} + cases = [] + seen = set() + for k, inp in enumerate(t.examples + t.hidden): + if len(inp) > MAX_IN: + sys.exit(f"FATAL {t.tid} case {k}: input {len(inp)} bytes > {MAX_IN}") + if inp in seen: + continue + seen.add(inp) + o1, e1 = t.oracle(inp) + o2, e2 = t.oracle(inp) + if (o1, e1) != (o2, e2): + sys.exit(f"FATAL {t.tid} case {k}: oracle nondeterministic") + n = len(cases) + files[f"{n:02d}.in"] = inp + files[f"{n:02d}.out"] = o1 + cases.append({"n": n, "visible": k < len(t.examples), "exit": e1}) + if sum(1 for c in cases if c["visible"]) != 2 or len(cases) < 5: + sys.exit(f"FATAL {t.tid}: visible={sum(c['visible'] for c in cases)} cases={len(cases)}") + meta = {"tid": t.tid, "family": t.family, "split": split, "cases": cases} + files["meta.json"] = (json.dumps(meta, indent=1, sort_keys=True) + "\n").encode() + hashes = {} + for name, data in files.items(): + with open(os.path.join(d, name), "wb") as f: + f.write(data) + hashes[name] = sha(data) + return {"tid": t.tid, "family": t.family, "split": split, "n_cases": len(cases), + "statement_sha256": hashes["statement.txt"], + "task_sha256": sha("".join(f"{k} {hashes[k]}\n" for k in sorted(hashes)).encode()), + "files": hashes} + + +def write_manifest(path, rows): + """Public manifest: every public file hash; for sealed tasks only a keyed opaque id and one commitment + (task_sha256 = sha256 of the sorted 'name hash' list), never per-file hashes (see CONTRACT.md).""" + pub, sealed = [], [] + for r in sorted(rows, key=lambda r: (r["split"], r["tid"])): + if r["split"] in ("train", "dev"): + pub.append(r) + else: + sealed.append({"task": benchlib.opaque(r["split"], r["tid"]), "split": r["split"], + "task_sha256": r["task_sha256"]}) + sealed.sort(key=lambda r: (r["split"], r["task"])) + counts = {} + for r in rows: + counts[r["split"]] = counts.get(r["split"], 0) + 1 + with open(path, "w") as f: + json.dump({"tasks_by_split": counts, "public": pub, "sealed": sealed}, f, indent=1, sort_keys=True) + f.write("\n") + + +def main(): + pub, sealed = sys.argv[1], sys.argv[2] + import families_sealed as S + rows = [] + for split, t in build(P.BUILDERS, P.SPLIT): + rows.append(write_task(pub, split, t)) + for split, t in build(S.BUILDERS, S.SPLIT): + rows.append(write_task(sealed, split, t)) + fams = {} + for r in rows: + fams.setdefault(r["family"], set()).add(r["split"]) + for f, s in fams.items(): + if len(s) != 1: + sys.exit(f"FATAL family {f} in splits {s}") + with open(os.path.join(sealed, "index.json"), "w") as f: + json.dump(rows, f, indent=1, sort_keys=True) + if len(sys.argv) > 3: + write_manifest(sys.argv[3], rows) + counts = {} + for r in rows: + counts[r["split"]] = counts.get(r["split"], 0) + 1 + print("tasks", len(rows), "by split", json.dumps(counts, sort_keys=True), + "cases", sum(r["n_cases"] for r in rows)) + + +if __name__ == "__main__": + main() diff --git a/research/om-bench/bench/ombench.py b/research/om-bench/bench/ombench.py new file mode 100755 index 000000000..98847a69a --- /dev/null +++ b/research/om-bench/bench/ombench.py @@ -0,0 +1,616 @@ +#!/usr/bin/env python3 +"""om-bench (#653) driver: generation arms, candidate execution, comparator, denominator guard. + +Disclosed host tool (Python 3.12, outside the Omega build closure). The Omega arms are additionally +judged by the seeded .om runner seed/qualification/om2/gate.om; `crosscheck` requires both judges to +agree case by case, so this comparator is never the only judge of an Omega candidate. + + ombench.py gen --arm {a,b,aeq,fpy,fc} --split SPLIT --run DIR [--tasks T1,T2] + ombench.py judge --run DIR --split SPLIT # run final candidates on every case + ombench.py gatelist --run DIR --split SPLIT # gate.om case list for Omega candidates + ombench.py crosscheck --run DIR --gate-log LOG # agree with gate.om verdicts or exit 1 + ombench.py summary --run DIR # aggregate counts (no task contents) +""" +import argparse, ast, hashlib, json, os, re, shutil, signal, subprocess, sys, time, urllib.request + +HERE = os.path.dirname(os.path.abspath(__file__)) +REPO = os.environ.get("OMB_REPO", os.path.abspath(os.path.join(HERE, "..", "..", ".."))) +sys.path.insert(0, HERE) +from benchlib import SEALED +OMC = os.path.join(REPO, "seed/out/omc") +OMC_SHA = "2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f" +MAX_TOKENS = 2048 +LLM = os.environ.get("OMB_LLM", "http://127.0.0.1:18653") +TASKROOTS = ([os.environ["OMB_TASKROOT"]] if os.environ.get("OMB_TASKROOT") else + [os.path.join(HERE, "pubtasks"), os.path.join(SEALED, "tasks")]) +RUN_DEADLINE = 10.0 +COMPILE_DEADLINE = 60.0 +REPAIRS = 3 +AEQ_SAMPLES = 4 +SEED = 653 +CPU_CORES = 2 # llama-server: taskset -c 3-4, -t 2 (cores shared on the box; see CONTRACT.md section 4) +CLUSTERS = os.path.join(SEALED, "clusters.json") + +ERRMEAN = { + 1: "compiler I/O", 2: "compiler I/O", 3: "unknown name or field", 4: "line ends too early", + 5: "extra words on the line", 6: "malformed number", 7: "type mismatch (no implicit conversions; " + "both operands, a name and its value, an argument and its parameter must have the same type)", + 8: "number out of range", 9: "word in a disallowed place", 10: "duplicate name", + 11: "ambiguous bare number: give it a type, e.g. ulong 0", 12: "too many live names or temporaries " + "(16 registers): split the function", 13: "non-function name longer than 8 characters", + 14: "capacity", 15: "missing end", 16: "syntax error or unknown word", 17: "line after ret, break, " + "continue, trap or exit in the same block", 18: "missing ret on some path", 19: "global passed as an " + "argument, or the same array twice in one call", 20: "write to a view or text", + 21: "constant index out of range", 22: "bad text literal", 23: "size capacity", +} + +COMMON_IO = None + + +def sha256(b): + return hashlib.sha256(b).hexdigest() + + +def sha_file(p): + with open(p, "rb") as f: + return sha256(f.read()) + + +def load_common_io(): + sys.path.insert(0, HERE) + import benchlib + return benchlib.COMMON_IO + + +def task_dirs(split): + for root in TASKROOTS: + d = os.path.join(root, split) + if os.path.isdir(d): + return d, sorted(os.listdir(d)) + sys.exit(f"FATAL split {split}: no task directory") + + +def fault(tid, reason): + print(f"CORPUS FAULT [{tid}] {reason}") + sys.exit(1) + + +def load_task(split, tid): + d, _ = task_dirs(split) + td = os.path.join(d, tid) + for f in ("meta.json", "statement.txt"): + if not os.path.isfile(os.path.join(td, f)): + fault(tid, f"missing {f}") + meta = json.load(open(os.path.join(td, "meta.json"))) + stmt = open(os.path.join(td, "statement.txt")).read().strip() + if "cases" not in meta or not meta["cases"]: + fault(tid, "no cases") + if not stmt: + fault(tid, "empty statement") + cases = [] + for c in meta["cases"]: + for k in ("n", "visible", "exit"): + if k not in c or c[k] is None: + fault(tid, f"case missing {k}") + n = c["n"] + cases.append({"n": n, "visible": c["visible"], "exit": c["exit"], + "in": os.path.join(td, f"{n:02d}.in"), "out": os.path.join(td, f"{n:02d}.out")}) + for k in ("in", "out"): + if not os.path.isfile(cases[-1][k]): + fault(tid, f"case {n} missing .{k}") + if sum(1 for c in cases if c["visible"]) != 2: + fault(tid, "visible example count is not 2") + return {"tid": tid, "dir": td, "statement": stmt, "cases": cases, "family": meta.get("family")} + + +def host_words(): + src = open(os.path.join(REPO, "seed/omc/genkw.awk")).read() + words = set() + for m in re.finditer(r"([a-z0-9]+):(\d+)", src): + if int(m.group(2)) >= 100: + words.add(m.group(1)) + if len(words) < 50: + sys.exit("FATAL host word table not parsed") + return words + + +LANG = { + "om": ("Omega", "om"), + "py": ("Python 3", "python"), + "c": ("C (C11, compiled with gcc -O2, only the standard library)", "c"), +} + + +def system_prompt(lang): + if lang == "om": + card = open(os.path.join(HERE, "REFERENCE-CARD.md")).read() + return ("You write complete Omega programs. Follow this reference card exactly.\n\n" + card) + return f"You write complete {LANG[lang][0]} programs." + + +def user_prompt(task, lang): + ex = [] + for c in task["cases"]: + if c["visible"]: + i = open(c["in"], "rb").read().decode("ascii") + o = open(c["out"], "rb").read().decode("ascii") + ex.append(f"Example input:\n```\n{i}```\nExpected output:\n```\n{o}```") + fence = LANG[lang][1] + return (f"Task: {task['statement']}\n\nInput and output rules: {COMMON_IO}\n\n" + "\n\n".join(ex) + + f"\n\nWrite one complete {LANG[lang][0]} program that solves the task for every valid input, " + f"not only the examples. Reply with the program in a single ```{fence} code block.") + + +def chat(messages, temperature, seed): + body = {"messages": messages, "temperature": temperature, "seed": seed, "max_tokens": MAX_TOKENS, + "cache_prompt": True, "stream": False} + if temperature == 0: + body["top_k"] = 1 + req = urllib.request.Request(LLM + "/v1/chat/completions", data=json.dumps(body).encode(), + headers={"Content-Type": "application/json"}) + t0 = time.time() + with urllib.request.urlopen(req, timeout=3600) as r: + resp = json.loads(r.read()) + wall = time.time() - t0 + msg = resp["choices"][0]["message"]["content"] + u = resp.get("usage", {}) + t = resp.get("timings", {}) + return msg, {"wall_s": round(wall, 3), "prompt_tokens": u.get("prompt_tokens"), + "completion_tokens": u.get("completion_tokens"), "prompt_n_processed": t.get("prompt_n"), + "prompt_ms": t.get("prompt_ms"), "predicted_ms": t.get("predicted_ms"), + "finish_reason": resp["choices"][0].get("finish_reason"), "model": resp.get("model"), + "system_fingerprint": resp.get("system_fingerprint")} + + +FENCE = re.compile(r"```[A-Za-z0-9_+-]*[ \t]*\n(.*?)(```|\Z)", re.S) + + +def extract(text): + m = FENCE.search(text) + if not m: + return None + code = m.group(1) + if code and not code.endswith("\n"): + code += "\n" + return code + + +def compile_om(src_path, out_path): + with open(src_path, "rb") as fi, open(out_path, "wb") as fo: + try: + p = subprocess.run([OMC], stdin=fi, stdout=fo, stderr=subprocess.PIPE, timeout=COMPILE_DEADLINE) + except subprocess.TimeoutExpired: + return 124, "compile timeout" + os.chmod(out_path, 0o700) + return p.returncode, p.stderr.decode(errors="replace") + + +def compile_c(src_path, out_path): + try: + p = subprocess.run(["gcc", "-O2", "-std=gnu11", "-o", out_path, src_path, "-lm"], + stdout=subprocess.PIPE, stderr=subprocess.STDOUT, timeout=COMPILE_DEADLINE) + except subprocess.TimeoutExpired: + return 124, "compile timeout" + return p.returncode, p.stdout.decode(errors="replace") + + +def compile_py(src_path, _out): + p = subprocess.run([sys.executable, "-I", "-c", + "import sys,ast;ast.parse(open(sys.argv[1]).read())", src_path], + stdout=subprocess.PIPE, stderr=subprocess.STDOUT) + return p.returncode, p.stdout.decode(errors="replace") + + +def build(lang, src_path, workdir): + out = os.path.join(workdir, "prog") + if lang == "om": + rc, err = compile_om(src_path, out) + elif lang == "c": + rc, err = compile_c(src_path, out) + else: + rc, err = compile_py(src_path, out) + return rc, err + + +PY_OK_MODULES = {"sys", "math", "collections", "itertools", "functools", "heapq", "bisect", "string", "re", + "fractions", "decimal", "operator", "array", "statistics", "typing", "dataclasses", "copy"} +PY_BAD_CALLS = {"open", "exec", "eval", "compile", "__import__", "breakpoint", "globals", "vars"} +PY_BAD = re.compile(r"\b(import|from)\b|open\s*\(|exec\s*\(|eval\s*\(|__import__") + + +def py_scan(code): + """Python: imports outside an allowlist, or file/exec calls. Falls back to a coarse regex when the + candidate does not parse (it would fail at run time anyway, but is still not executed if flagged).""" + try: + tree = ast.parse(code) + except (SyntaxError, ValueError): + return sorted(set(m.group(0).strip() for m in PY_BAD.finditer(code) + if not m.group(0).startswith(("import", "from")))) + found = [] + for node in ast.walk(tree): + if isinstance(node, ast.Import): + found += ["import " + a.name for a in node.names if a.name.split(".")[0] not in PY_OK_MODULES] + elif isinstance(node, ast.ImportFrom): + if (node.module or "").split(".")[0] not in PY_OK_MODULES: + found.append("from " + (node.module or ".")) + elif isinstance(node, ast.Call) and isinstance(node.func, ast.Name) and node.func.id in PY_BAD_CALLS: + found.append(node.func.id + "(") + elif isinstance(node, ast.Attribute) and node.attr in ("system", "popen", "fork", "remove", "unlink"): + found.append("." + node.attr) + return sorted(set(found)) + + +C_BAD = re.compile(r"\b(fopen|open|system|popen|fork|exec[lv]p?e?|socket|connect|unlink|remove|rename|" + r"mmap|ptrace|kill|dlopen|syscall)\s*\(|#\s*include\s*<(sys/socket|netinet/|arpa/|" + r"dlfcn|sys/ptrace)") + + +def authz_scan(lang, code, hostw): + """Static scan: candidates may touch only stdin, stdout and exit. Returns list of findings.""" + if lang == "om": + found = [] + for ln in code.split("\n"): + toks = ln.split() + if toks and toks[0] == "note": + continue + for t in toks: + if t in hostw: + found.append(t) + # fds other than 0 (read) / 1 (write) + for k, t in enumerate(toks): + if t in ("read", "pread") and k + 1 < len(toks) and toks[k + 1] != "0": + found.append(f"{t}-fd:{toks[k + 1]}") + if t in ("write", "pwrite") and k + 1 < len(toks) and toks[k + 1] not in ("1", "2"): + found.append(f"{t}-fd:{toks[k + 1]}") + return sorted(set(found)) + if lang == "py": + return py_scan(code) + return sorted(set(m.group(0).strip() for m in C_BAD.finditer(code))) + + +def run_case(lang, workdir, case): + prog = os.path.join(workdir, "prog") + if lang == "py": + cmd = [sys.executable, "-I", os.path.join(workdir, "prog.py")] + else: + cmd = [prog] + exe = os.path.join(workdir, "exec") + os.makedirs(exe, exist_ok=True) + with open(case["in"], "rb") as fi: + t0 = time.time() + try: + p = subprocess.Popen(cmd, stdin=fi, stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=exe, + start_new_session=True, env={"PATH": "/usr/bin:/bin", "LANG": "C"}, + preexec_fn=lambda: __import__("resource").setrlimit( + __import__("resource").RLIMIT_FSIZE, (1 << 24, 1 << 24))) + except OSError as e: + return {"status": "exec_fail", "detail": str(e)} + try: + so, se = p.communicate(timeout=RUN_DEADLINE) + except subprocess.TimeoutExpired: + os.killpg(p.pid, signal.SIGKILL) + p.communicate() + return {"status": "timeout", "wall_s": RUN_DEADLINE} + wall = time.time() - t0 + want = open(case["out"], "rb").read() + rc = p.returncode + r = {"rc": rc, "wall_s": round(wall, 4), "stdout_sha256": sha256(so), "stdout_len": len(so)} + if rc < 0: + r["status"] = "signal" + elif so == want and rc == case["exit"]: + r["status"] = "pass" + elif rc != case["exit"]: + r["status"] = "trap" if (lang == "om" and 100 <= rc <= 114) else "bad_exit" + elif len(so) == 0 and len(want) > 0: + r["status"] = "empty_output" + else: + r["status"] = "wrong_output" + return r + + +MECH_CASE = {"exec_fail", "timeout", "signal", "trap", "bad_exit", "empty_output"} + + +def classify(rec): + """Task-level class. Mechanical = needs a hand repair of syntax, wiring, target code or integration.""" + if rec.get("authz"): + return "authz_violation" + if rec["code_sha256"] is None: + return "no_code" + if rec["compile_rc"] != 0: + return "compile_refused" + sts = [c["status"] for c in rec["cases"]] + if all(s == "pass" for s in sts): + return "pass" + if any(s in MECH_CASE for s in sts): + return "runtime_mechanical" + return "wrong_output" + + +def arm_lang(arm): + return {"a": "om", "b": "om", "aeq": "om", "fpy": "py", "fc": "c"}[arm] + + +def src_name(lang): + return {"om": "prog.om", "py": "prog.py", "c": "prog.c"}[lang] + + +def write_candidate(workdir, lang, code): + os.makedirs(workdir, exist_ok=True) + p = os.path.join(workdir, src_name(lang)) + with open(p, "w") as f: + f.write(code) + return p + + +def feedback_text(err, code): + m = re.search(r"line (\d+): error (\d+)", err) + if not m: + return f"The compiler refused the program. Its message was:\n{err.strip()}\nReply with the corrected complete program in a single ```om code block." + ln, k = int(m.group(1)), int(m.group(2)) + lines = code.split("\n") + src = lines[ln - 1] if 0 < ln <= len(lines) else "" + return (f"The Omega compiler refused the program: `omc: line {ln}: error {k}` ({ERRMEAN.get(k, 'see card')}). " + f"Line {ln} is: `{src}`\nFix it and reply with the corrected complete program in a single ```om code block.") + + +def gen_task(arm, task, rundir, log): + lang = arm_lang(arm) + tdir = os.path.join(rundir, "cand", task["tid"]) + if os.path.exists(os.path.join(tdir, "gen.json")): + return + os.makedirs(tdir, exist_ok=True) + sysm = {"role": "system", "content": system_prompt(lang)} + usr = {"role": "user", "content": user_prompt(task, lang)} + attempts = [] + final_code = None + if arm in ("a", "fpy", "fc"): + text, meta = chat([sysm, usr], 0, SEED) + attempts.append({"k": 0, "reply_sha256": sha256(text.encode()), "reply": text, **meta}) + final_code = extract(text) + elif arm == "b": + msgs = [sysm, usr] + for k in range(REPAIRS + 1): + text, meta = chat(msgs, 0, SEED) + code = extract(text) + at = {"k": k, "reply_sha256": sha256(text.encode()), "reply": text, **meta} + final_code = code + if code is None: + fb = "Your reply had no code block. Reply with the complete program in a single ```om code block." + else: + wd = os.path.join(tdir, f"try{k}") + sp = write_candidate(wd, lang, code) + rc, err = build(lang, sp, wd) + at["compile_rc"], at["compile_err"] = rc, err[:2000] + if rc == 0: + attempts.append(at) + break + fb = feedback_text(err, code) + at["feedback"] = fb + attempts.append(at) + msgs = msgs + [{"role": "assistant", "content": text}, {"role": "user", "content": fb}] + elif arm == "aeq": + for k in range(AEQ_SAMPLES): + text, meta = chat([sysm, usr], 0.8, SEED + 1 + k) + code = extract(text) + at = {"k": k, "reply_sha256": sha256(text.encode()), "reply": text, **meta} + final_code = code + if code is not None: + wd = os.path.join(tdir, f"try{k}") + sp = write_candidate(wd, lang, code) + rc, err = build(lang, sp, wd) + at["compile_rc"] = rc + attempts.append(at) + if rc == 0: + break + else: + attempts.append(at) + if final_code is not None: + write_candidate(tdir, lang, final_code) + rec = {"tid": task["tid"], "arm": arm, "lang": lang, "attempts": attempts, + "code_sha256": sha256(final_code.encode()) if final_code is not None else None, + "llm_wall_s": round(sum(a["wall_s"] for a in attempts), 3), + "prompt_tokens": sum(a["prompt_tokens"] or 0 for a in attempts), + "prompt_tokens_processed": sum(a["prompt_n_processed"] or 0 for a in attempts), + "completion_tokens": sum(a["completion_tokens"] or 0 for a in attempts)} + with open(os.path.join(tdir, "gen.json"), "w") as f: + json.dump(rec, f, indent=1) + log.write(json.dumps({"tid": task["tid"], "arm": arm, "attempts": len(attempts), + "completion_tokens": rec["completion_tokens"], "llm_wall_s": rec["llm_wall_s"], + "t": time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime())}) + "\n") + log.flush() + + +def judge(rundir, split, arm): + lang = arm_lang(arm) + hostw = host_words() + _, tids = task_dirs(split) + out = [] + for tid in tids: + task = load_task(split, tid) + tdir = os.path.join(rundir, "cand", tid) + gp = os.path.join(tdir, "gen.json") + if not os.path.exists(gp): + out.append({"tid": tid, "class": "NOT_RUN"}) + continue + gen = json.load(open(gp)) + rec = {"tid": tid, "code_sha256": gen["code_sha256"], "compile_rc": None, "cases": [], "authz": []} + if gen["code_sha256"] is not None: + code = open(os.path.join(tdir, src_name(lang))).read() + rec["authz"] = authz_scan(lang, code, hostw) + jd = os.path.join(tdir, "judge") + if os.path.exists(jd): + shutil.rmtree(jd) + os.makedirs(jd) + sp = write_candidate(jd, lang, code) + t0 = time.time() + rc, err = build(lang, sp, jd) + rec["compile_s"] = round(time.time() - t0, 3) + rec["compile_rc"], rec["compile_err"] = rc, err[:500] + if rc == 0 and not rec["authz"]: + if lang != "py": + rec["bin_sha256"] = sha_file(os.path.join(jd, "prog")) + for c in task["cases"]: + r = run_case(lang, jd, c) + r["n"], r["visible"] = c["n"], c["visible"] + rec["cases"].append(r) + rec["class"] = classify(rec) + rec["n_cases"] = len(task["cases"]) + out.append(rec) + missing = [r["tid"] for r in out if r["class"] == "NOT_RUN"] + with open(os.path.join(rundir, f"verdicts-{split}.jsonl"), "w") as f: + for r in out: + f.write(json.dumps(r, sort_keys=True) + "\n") + if len(out) != len(tids): + sys.exit(f"DENOMINATOR FAULT verdicts={len(out)} manifest={len(tids)}") + if missing: + print(f"NOT_RUN {len(missing)} of {len(tids)}: {' '.join(missing)}") + sys.exit(2) + print(f"judged {len(out)}/{len(tids)}", json.dumps(counts(out), sort_keys=True)) + + +def counts(rows): + c = {} + for r in rows: + c[r["class"]] = c.get(r["class"], 0) + 1 + return c + + +def gatelist(rundir, split): + _, tids = task_dirs(split) + lines = [f"deadline {int(RUN_DEADLINE)}"] + for tid in tids: + task = load_task(split, tid) + src = os.path.join(rundir, "cand", tid, "prog.om") + if not os.path.exists(src): + lines.append(f"{tid}.nocode notrun no-code-block") + continue + for c in task["cases"]: + lines.append(f"{tid}.{c['n']:02d} run {os.path.relpath(src, REPO)} file:{os.path.relpath(c['in'], REPO)} " + f"file:{os.path.relpath(c['out'], REPO)} any {c['exit']}") + p = os.path.join(rundir, f"gate-{split}.cases") + with open(p, "w") as f: + f.write("\n".join(lines) + "\n") + print(p, len(lines) - 1) + + +def crosscheck(rundir, split, gate_log): + verdict = {} + for ln in open(gate_log, errors="replace"): + m = re.match(r"VERDICT (\S+) (PASS|FAIL|INVALID|NOT_RUN)\b", ln) + if m: + verdict[m.group(1)] = m.group(2) + rows = [json.loads(l) for l in open(os.path.join(rundir, f"verdicts-{split}.jsonl"))] + agree = disagree = 0 + bad = [] + for r in rows: + if r["code_sha256"] is None: + continue + task = load_task(split, r["tid"]) + byn = {c["n"]: c["status"] for c in r["cases"]} + for c in task["cases"]: + name = f"{r['tid']}.{c['n']:02d}" + g = verdict.get(name) + if g is None: + bad.append((name, "missing-in-gate", byn.get(c["n"]))) + disagree += 1 + continue + if r["class"] in ("compile_refused", "authz_violation"): + ok = g != "PASS" + else: + ok = (byn.get(c["n"]) == "pass") == (g == "PASS") + if ok: + agree += 1 + else: + disagree += 1 + bad.append((name, g, byn.get(c["n"]))) + print(f"crosscheck agree={agree} disagree={disagree}") + for b_ in bad[:20]: + print("DISAGREE", *b_) + sys.exit(1 if disagree else 0) + + +def summary(rundir, split, arm): + """Publishable aggregate: sealed task and family names only as keyed opaque ids (benchlib.opaque).""" + sys.path.insert(0, HERE) + from benchlib import opaque + merge = {} + if os.path.exists(CLUSTERS): + for grp in json.load(open(CLUSTERS))["merge"]: + for f in grp: + merge[f] = "+".join(sorted(grp)) + _, tids = task_dirs(split) + vp = os.path.join(rundir, f"verdicts-{split}.jsonl") + rows = {r["tid"]: r for r in (json.loads(l) for l in open(vp))} + if sorted(rows) != tids: + sys.exit(f"DENOMINATOR FAULT verdicts={len(rows)} manifest={len(tids)}") + out = [] + for tid in tids: + task = load_task(split, tid) + fam = task["family"] + r = rows[tid] + gp = os.path.join(rundir, "cand", tid, "gen.json") + g = json.load(open(gp)) if os.path.exists(gp) else {} + att = g.get("attempts", []) + first = None + if att and arm == "b": + first = att[0].get("compile_rc") == 0 + cases = r.get("cases", []) + out.append({"task": opaque(split, tid), "family": opaque(split, fam), + "cluster": opaque(split, merge.get(fam, fam)), "class": r["class"], + "attempts": len(att), "first_compiles": first, + "reply0_sha256": att[0]["reply_sha256"] if att else None, + "code_sha256": r.get("code_sha256"), + "completion_tokens": g.get("completion_tokens"), + "prompt_tokens": g.get("prompt_tokens"), + "prompt_tokens_processed": g.get("prompt_tokens_processed"), + "llm_wall_s": g.get("llm_wall_s"), "compile_s": r.get("compile_s"), + "cases_pass": sum(1 for c in cases if c["status"] == "pass"), "n_cases": r.get("n_cases"), + "case_wall_s": round(sum(c.get("wall_s", 0) for c in cases), 4)}) + tot = {"arm": arm, "split": split, "n": len(out), "classes": counts(out), + "completion_tokens": sum(o["completion_tokens"] or 0 for o in out), + "prompt_tokens_processed": sum(o["prompt_tokens_processed"] or 0 for o in out), + "llm_wall_s": round(sum(o["llm_wall_s"] or 0 for o in out), 3), + "cpu_core_s_modeled": round(CPU_CORES * sum(o["llm_wall_s"] or 0 for o in out), 3)} + p = os.path.join(rundir, f"summary-{split}.json") + with open(p, "w") as f: + json.dump({"totals": tot, "tasks": out}, f, indent=1, sort_keys=True) + print(p, json.dumps(tot, sort_keys=True)) + + +def main(): + global COMMON_IO + COMMON_IO = load_common_io() + ap = argparse.ArgumentParser() + ap.add_argument("cmd") + ap.add_argument("--arm") + ap.add_argument("--split") + ap.add_argument("--run") + ap.add_argument("--tasks") + ap.add_argument("--gate-log") + a = ap.parse_args() + if sha_file(OMC) != OMC_SHA: + sys.exit("FATAL omc sha256 mismatch") + if a.cmd == "gen": + os.makedirs(a.run, exist_ok=True) + _, tids = task_dirs(a.split) + if a.tasks: + want = a.tasks.split(",") + tids = [t for t in tids if t in want] + with open(os.path.join(a.run, "gen.log"), "a") as log: + for tid in tids: + gen_task(a.arm, load_task(a.split, tid), a.run, log) + elif a.cmd == "judge": + judge(a.run, a.split, a.arm) + elif a.cmd == "gatelist": + gatelist(a.run, a.split) + elif a.cmd == "crosscheck": + crosscheck(a.run, a.split, a.gate_log) + elif a.cmd == "summary": + summary(a.run, a.split, a.arm) + else: + sys.exit("unknown command") + + +if __name__ == "__main__": + main() diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v1/00.in b/research/om-bench/bench/pubtasks/dev/brackets.v1/00.in new file mode 100644 index 000000000..b16be1013 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v1/00.in @@ -0,0 +1 @@ +(())() diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v1/00.out b/research/om-bench/bench/pubtasks/dev/brackets.v1/00.out new file mode 100644 index 000000000..7cfab5b05 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v1/00.out @@ -0,0 +1 @@ +yes diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v1/01.in b/research/om-bench/bench/pubtasks/dev/brackets.v1/01.in new file mode 100644 index 000000000..88b8eaa64 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v1/01.in @@ -0,0 +1 @@ +()) diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v1/01.out b/research/om-bench/bench/pubtasks/dev/brackets.v1/01.out new file mode 100644 index 000000000..7ecb56eb3 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v1/01.out @@ -0,0 +1 @@ +no diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v1/02.in b/research/om-bench/bench/pubtasks/dev/brackets.v1/02.in new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v1/02.in @@ -0,0 +1 @@ + diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v1/02.out b/research/om-bench/bench/pubtasks/dev/brackets.v1/02.out new file mode 100644 index 000000000..7cfab5b05 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v1/02.out @@ -0,0 +1 @@ +yes diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v1/03.in b/research/om-bench/bench/pubtasks/dev/brackets.v1/03.in new file mode 100644 index 000000000..71497e5d3 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v1/03.in @@ -0,0 +1 @@ +)( diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v1/03.out b/research/om-bench/bench/pubtasks/dev/brackets.v1/03.out new file mode 100644 index 000000000..7ecb56eb3 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v1/03.out @@ -0,0 +1 @@ +no diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v1/04.in b/research/om-bench/bench/pubtasks/dev/brackets.v1/04.in new file mode 100644 index 000000000..2f545e7bd --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v1/04.in @@ -0,0 +1 @@ +(( diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v1/04.out b/research/om-bench/bench/pubtasks/dev/brackets.v1/04.out new file mode 100644 index 000000000..7ecb56eb3 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v1/04.out @@ -0,0 +1 @@ +no diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v1/05.in b/research/om-bench/bench/pubtasks/dev/brackets.v1/05.in new file mode 100644 index 000000000..f68fc04f4 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v1/05.in @@ -0,0 +1 @@ +(() diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v1/05.out b/research/om-bench/bench/pubtasks/dev/brackets.v1/05.out new file mode 100644 index 000000000..7ecb56eb3 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v1/05.out @@ -0,0 +1 @@ +no diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v1/06.in b/research/om-bench/bench/pubtasks/dev/brackets.v1/06.in new file mode 100644 index 000000000..97cbc3716 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v1/06.in @@ -0,0 +1 @@ +))()())())))()((())))()))((((( diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v1/06.out b/research/om-bench/bench/pubtasks/dev/brackets.v1/06.out new file mode 100644 index 000000000..7ecb56eb3 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v1/06.out @@ -0,0 +1 @@ +no diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v1/07.in b/research/om-bench/bench/pubtasks/dev/brackets.v1/07.in new file mode 100644 index 000000000..dbf068331 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v1/07.in @@ -0,0 +1 @@ +)))(()(((()(((())()()(((()((()((()()))())())()))(()))()(((()())(()((()((()()(((((()(())()))))((()))((()))))))())())))((())()((()())())())(())()(())))))())))(())())((()(()))())))))(((()))((((((()()())((()))(()()((())())((()()()())((((()())())()())(())())(()())))())(((())(()()(()()))(()(()(())()(()(()((())))()()((()( diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v1/07.out b/research/om-bench/bench/pubtasks/dev/brackets.v1/07.out new file mode 100644 index 000000000..7ecb56eb3 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v1/07.out @@ -0,0 +1 @@ +no diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v1/08.in b/research/om-bench/bench/pubtasks/dev/brackets.v1/08.in new file mode 100644 index 000000000..95089cbdd --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v1/08.in @@ -0,0 +1 @@ +(())(()(()))((()()(()())()(())))))()(()()(()(()()))))(((()((())))())(((((((( diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v1/08.out b/research/om-bench/bench/pubtasks/dev/brackets.v1/08.out new file mode 100644 index 000000000..7ecb56eb3 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v1/08.out @@ -0,0 +1 @@ +no diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v1/09.in b/research/om-bench/bench/pubtasks/dev/brackets.v1/09.in new file mode 100644 index 000000000..35dec358a --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v1/09.in @@ -0,0 +1 @@ +()()(()(()()))()()()((()))()(())((()))()()(()())((()()((()()))())()((())())())(()())((()))((()))(()())(())(()(((()(())(()())))(()(((())))()(())))()()) diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v1/09.out b/research/om-bench/bench/pubtasks/dev/brackets.v1/09.out new file mode 100644 index 000000000..7cfab5b05 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v1/09.out @@ -0,0 +1 @@ +yes diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v1/10.in b/research/om-bench/bench/pubtasks/dev/brackets.v1/10.in new file mode 100644 index 000000000..008e72c6e --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v1/10.in @@ -0,0 +1 @@ +))(())()()))))()(((((()()))()))((()())(((())((()((())())))()(()))(((()((()))(()(()()()))(()(()()()()()) diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v1/10.out b/research/om-bench/bench/pubtasks/dev/brackets.v1/10.out new file mode 100644 index 000000000..7ecb56eb3 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v1/10.out @@ -0,0 +1 @@ +no diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v1/11.in b/research/om-bench/bench/pubtasks/dev/brackets.v1/11.in new file mode 100644 index 000000000..f7bf69f29 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v1/11.in @@ -0,0 +1 @@ +)(()((()((()())))((((()((()))((()()()(()())()())())()()(()()())()(()()))))()())()(())))(())))))((())))(()(())))(((()()()(((((()))()))))()))((()))))(((((()())())()(()((())()()()()())()(()((())(()))(((()((((()()(())))(()())()))))())()(()()(())()))(()())))(((()(((((()(()))()(()()())))())()))))(())))()()(())()()))()))())()()))())()()(()()()((( diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v1/11.out b/research/om-bench/bench/pubtasks/dev/brackets.v1/11.out new file mode 100644 index 000000000..7ecb56eb3 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v1/11.out @@ -0,0 +1 @@ +no diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v1/meta.json b/research/om-bench/bench/pubtasks/dev/brackets.v1/meta.json new file mode 100644 index 000000000..0b4f232c3 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v1/meta.json @@ -0,0 +1,67 @@ +{ + "cases": [ + { + "exit": 0, + "n": 0, + "visible": true + }, + { + "exit": 0, + "n": 1, + "visible": true + }, + { + "exit": 0, + "n": 2, + "visible": false + }, + { + "exit": 0, + "n": 3, + "visible": false + }, + { + "exit": 0, + "n": 4, + "visible": false + }, + { + "exit": 0, + "n": 5, + "visible": false + }, + { + "exit": 0, + "n": 6, + "visible": false + }, + { + "exit": 0, + "n": 7, + "visible": false + }, + { + "exit": 0, + "n": 8, + "visible": false + }, + { + "exit": 0, + "n": 9, + "visible": false + }, + { + "exit": 0, + "n": 10, + "visible": false + }, + { + "exit": 0, + "n": 11, + "visible": false + } + ], + "family": "brackets", + "split": "dev", + "tid": "brackets.v1" +} diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v1/statement.txt b/research/om-bench/bench/pubtasks/dev/brackets.v1/statement.txt new file mode 100644 index 000000000..52e6749ef --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v1/statement.txt @@ -0,0 +1 @@ +Read one line made only of ( and ) characters (possibly empty). Print yes if the parentheses are balanced, otherwise no. diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v2/00.in b/research/om-bench/bench/pubtasks/dev/brackets.v2/00.in new file mode 100644 index 000000000..b16be1013 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v2/00.in @@ -0,0 +1 @@ +(())() diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v2/00.out b/research/om-bench/bench/pubtasks/dev/brackets.v2/00.out new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v2/00.out @@ -0,0 +1 @@ +2 diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v2/01.in b/research/om-bench/bench/pubtasks/dev/brackets.v2/01.in new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v2/01.in @@ -0,0 +1 @@ + diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v2/01.out b/research/om-bench/bench/pubtasks/dev/brackets.v2/01.out new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v2/01.out @@ -0,0 +1 @@ +0 diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v2/02.in b/research/om-bench/bench/pubtasks/dev/brackets.v2/02.in new file mode 100644 index 000000000..9c0158c8c --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v2/02.in @@ -0,0 +1 @@ +(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((()))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v2/02.out b/research/om-bench/bench/pubtasks/dev/brackets.v2/02.out new file mode 100644 index 000000000..3a05c8b3e --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v2/02.out @@ -0,0 +1 @@ +30000 diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v2/03.in b/research/om-bench/bench/pubtasks/dev/brackets.v2/03.in new file mode 100644 index 000000000..abb9205df --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v2/03.in @@ -0,0 +1 @@ +()()(())()()(())((()()(())(((()()(((())(())))(()(()))(()(()()()()()()()))()(()(())((()((())()()((((()(())())))))())(())))()()())())()(()(((())(((()(((()(())((((())((())))()(()()))((()()(((((((()((((())))()))))))))))))))))))))))) diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v2/03.out b/research/om-bench/bench/pubtasks/dev/brackets.v2/03.out new file mode 100644 index 000000000..f64f5d8d8 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v2/03.out @@ -0,0 +1 @@ +27 diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v2/04.in b/research/om-bench/bench/pubtasks/dev/brackets.v2/04.in new file mode 100644 index 000000000..070332fdc --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v2/04.in @@ -0,0 +1 @@ +()(()(()))()()(())()(((()()()((((())))())))) diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v2/04.out b/research/om-bench/bench/pubtasks/dev/brackets.v2/04.out new file mode 100644 index 000000000..45a4fb75d --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v2/04.out @@ -0,0 +1 @@ +8 diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v2/05.in b/research/om-bench/bench/pubtasks/dev/brackets.v2/05.in new file mode 100644 index 000000000..084497524 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v2/05.in @@ -0,0 +1 @@ +(((()(()()()))))()((()(()(())(()))()()))(()(()))(())()()(()((()())(())()(()())(())()())) diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v2/05.out b/research/om-bench/bench/pubtasks/dev/brackets.v2/05.out new file mode 100644 index 000000000..7ed6ff82d --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v2/05.out @@ -0,0 +1 @@ +5 diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v2/06.in b/research/om-bench/bench/pubtasks/dev/brackets.v2/06.in new file mode 100644 index 000000000..8d4f10bd9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v2/06.in @@ -0,0 +1 @@ +()()()()(((()()())()(()()(()()()))()()()))()()()()(()(()(())()())(((()()())(((((())()(())(())()(((())()()((())))((((())))()(((()()((())))())((()()()(((())((()()))))()())(())(()(()((((((((()()))())()))((((((()(())(())())(()()))()))))(())()(()(())(())))))))))))))))))) diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v2/06.out b/research/om-bench/bench/pubtasks/dev/brackets.v2/06.out new file mode 100644 index 000000000..a45fd52cc --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v2/06.out @@ -0,0 +1 @@ +24 diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v2/07.in b/research/om-bench/bench/pubtasks/dev/brackets.v2/07.in new file mode 100644 index 000000000..d2677e675 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v2/07.in @@ -0,0 +1 @@ +()()()()()()((()(()))())(()()())((())(()()))()()((((())(()(()())))))(())(()(()((((((())(()(((())))))())(()((()(()(()()(((((()(())))((()(()()())(())))))))))))))))) diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v2/07.out b/research/om-bench/bench/pubtasks/dev/brackets.v2/07.out new file mode 100644 index 000000000..98d9bcb75 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v2/07.out @@ -0,0 +1 @@ +17 diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v2/08.in b/research/om-bench/bench/pubtasks/dev/brackets.v2/08.in new file mode 100644 index 000000000..b97b43b0f --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v2/08.in @@ -0,0 +1 @@ +()(()(()()))(()(())())()((()()))()((()((()(()(()((()()))))))))((())(()))(())((()))(()()()((()()(((((()((())))())()()))))())) diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v2/08.out b/research/om-bench/bench/pubtasks/dev/brackets.v2/08.out new file mode 100644 index 000000000..b4de39476 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v2/08.out @@ -0,0 +1 @@ +11 diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v2/meta.json b/research/om-bench/bench/pubtasks/dev/brackets.v2/meta.json new file mode 100644 index 000000000..4cfb71e8b --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v2/meta.json @@ -0,0 +1,52 @@ +{ + "cases": [ + { + "exit": 0, + "n": 0, + "visible": true + }, + { + "exit": 0, + "n": 1, + "visible": true + }, + { + "exit": 0, + "n": 2, + "visible": false + }, + { + "exit": 0, + "n": 3, + "visible": false + }, + { + "exit": 0, + "n": 4, + "visible": false + }, + { + "exit": 0, + "n": 5, + "visible": false + }, + { + "exit": 0, + "n": 6, + "visible": false + }, + { + "exit": 0, + "n": 7, + "visible": false + }, + { + "exit": 0, + "n": 8, + "visible": false + } + ], + "family": "brackets", + "split": "dev", + "tid": "brackets.v2" +} diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v2/statement.txt b/research/om-bench/bench/pubtasks/dev/brackets.v2/statement.txt new file mode 100644 index 000000000..ff9ec6ee0 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v2/statement.txt @@ -0,0 +1 @@ +Read one line made only of ( and ) characters that is balanced. Print the maximum nesting depth (0 for an empty line). diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v3/00.in b/research/om-bench/bench/pubtasks/dev/brackets.v3/00.in new file mode 100644 index 000000000..9d32875dc --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v3/00.in @@ -0,0 +1 @@ +([]{}) diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v3/00.out b/research/om-bench/bench/pubtasks/dev/brackets.v3/00.out new file mode 100644 index 000000000..7cfab5b05 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v3/00.out @@ -0,0 +1 @@ +yes diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v3/01.in b/research/om-bench/bench/pubtasks/dev/brackets.v3/01.in new file mode 100644 index 000000000..75efa8c71 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v3/01.in @@ -0,0 +1 @@ +([)] diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v3/01.out b/research/om-bench/bench/pubtasks/dev/brackets.v3/01.out new file mode 100644 index 000000000..7ecb56eb3 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v3/01.out @@ -0,0 +1 @@ +no diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v3/02.in b/research/om-bench/bench/pubtasks/dev/brackets.v3/02.in new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v3/02.in @@ -0,0 +1 @@ + diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v3/02.out b/research/om-bench/bench/pubtasks/dev/brackets.v3/02.out new file mode 100644 index 000000000..7cfab5b05 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v3/02.out @@ -0,0 +1 @@ +yes diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v3/03.in b/research/om-bench/bench/pubtasks/dev/brackets.v3/03.in new file mode 100644 index 000000000..5c34318c2 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v3/03.in @@ -0,0 +1 @@ +} diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v3/03.out b/research/om-bench/bench/pubtasks/dev/brackets.v3/03.out new file mode 100644 index 000000000..7ecb56eb3 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v3/03.out @@ -0,0 +1 @@ +no diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v3/04.in b/research/om-bench/bench/pubtasks/dev/brackets.v3/04.in new file mode 100644 index 000000000..e0196b7c6 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v3/04.in @@ -0,0 +1 @@ +([ diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v3/04.out b/research/om-bench/bench/pubtasks/dev/brackets.v3/04.out new file mode 100644 index 000000000..7ecb56eb3 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v3/04.out @@ -0,0 +1 @@ +no diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v3/05.in b/research/om-bench/bench/pubtasks/dev/brackets.v3/05.in new file mode 100644 index 000000000..0926e6e3d --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v3/05.in @@ -0,0 +1 @@ +{}( diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v3/05.out b/research/om-bench/bench/pubtasks/dev/brackets.v3/05.out new file mode 100644 index 000000000..7ecb56eb3 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v3/05.out @@ -0,0 +1 @@ +no diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v3/06.in b/research/om-bench/bench/pubtasks/dev/brackets.v3/06.in new file mode 100644 index 000000000..fa80001a9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v3/06.in @@ -0,0 +1 @@ +[([[][[]]()](([{}])[])())] diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v3/06.out b/research/om-bench/bench/pubtasks/dev/brackets.v3/06.out new file mode 100644 index 000000000..7cfab5b05 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v3/06.out @@ -0,0 +1 @@ +yes diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v3/07.in b/research/om-bench/bench/pubtasks/dev/brackets.v3/07.in new file mode 100644 index 000000000..6cb5a42a3 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v3/07.in @@ -0,0 +1 @@ +{[))]){[}](([[)([()[}{]{)(}])}]}[{){[[)]{}{(([[([){{[[(}}}]{{[[{))][]{(({)}){]{}][(({({(}]][[][[(]}[{[{(]][([)([}}))[}([{}}(({]}(])[](}])}(][(){[{)[[}(](]])([([)([}[([]{{({({}]}}{{)[]][([]({[)[](({)((})](((}{)])(((]({]{]}{()]}({[][{{{}}}{[(}[][]]} diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v3/07.out b/research/om-bench/bench/pubtasks/dev/brackets.v3/07.out new file mode 100644 index 000000000..7ecb56eb3 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v3/07.out @@ -0,0 +1 @@ +no diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v3/08.in b/research/om-bench/bench/pubtasks/dev/brackets.v3/08.in new file mode 100644 index 000000000..1cba824f2 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v3/08.in @@ -0,0 +1 @@ +}{){[{{]{[{]([{)){)}}{{(}{{}{{){}){}{( diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v3/08.out b/research/om-bench/bench/pubtasks/dev/brackets.v3/08.out new file mode 100644 index 000000000..7ecb56eb3 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v3/08.out @@ -0,0 +1 @@ +no diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v3/09.in b/research/om-bench/bench/pubtasks/dev/brackets.v3/09.in new file mode 100644 index 000000000..182797a80 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v3/09.in @@ -0,0 +1 @@ +()({(([{()((){[{()}]})}()[][([])]([[{}]{({[[]]()(({[{}]{((){})}}[()[]]({{[]()}}[{}[[{[{}{[]}]}[]]]()]())))}[])[][]({}{})}(){}][])()])[]){()}[]}){[({}{})]}({}()[]){}[](){}({}{})[][][[([])]{}]{({[]{}{}})}[][]{}(()){}[[]][()]{}{}{}[][]{}{()}[{}]{[]}[]{}()(){}(){{[{}[]]}}()([[]])[](([()()])[()(({}{[](){{({({}{}{})})}{}}[[(((){}()()({()}{})))]]}))]) diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v3/09.out b/research/om-bench/bench/pubtasks/dev/brackets.v3/09.out new file mode 100644 index 000000000..7cfab5b05 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v3/09.out @@ -0,0 +1 @@ +yes diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v3/10.in b/research/om-bench/bench/pubtasks/dev/brackets.v3/10.in new file mode 100644 index 000000000..2da1b80d6 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v3/10.in @@ -0,0 +1 @@ +[[{()]]][{[]])](]{{)](({ diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v3/10.out b/research/om-bench/bench/pubtasks/dev/brackets.v3/10.out new file mode 100644 index 000000000..7ecb56eb3 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v3/10.out @@ -0,0 +1 @@ +no diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v3/11.in b/research/om-bench/bench/pubtasks/dev/brackets.v3/11.in new file mode 100644 index 000000000..3e7f1f54b --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v3/11.in @@ -0,0 +1 @@ +{)]](]]}][(}[}]]}]]}[[](}{{([{}}}}{}{)){(}{({}{{){(){{])){(())][][)[]({[(}]}[]]}{[(]{(]})))]{}(])}])[([([({)]]])(}][){(]]}({([})(}){(][[}{{[]}((][(}]({)}[[}{{)[}{(]]()][]{]][}(]]{]{[}}))((({]}]({(})(}))]}[{}]}{}[}[]][}({{}]{({[]{}[(({)({)}}{([(]}[){({])[{ diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v3/11.out b/research/om-bench/bench/pubtasks/dev/brackets.v3/11.out new file mode 100644 index 000000000..7ecb56eb3 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v3/11.out @@ -0,0 +1 @@ +no diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v3/meta.json b/research/om-bench/bench/pubtasks/dev/brackets.v3/meta.json new file mode 100644 index 000000000..f4c4ed349 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v3/meta.json @@ -0,0 +1,67 @@ +{ + "cases": [ + { + "exit": 0, + "n": 0, + "visible": true + }, + { + "exit": 0, + "n": 1, + "visible": true + }, + { + "exit": 0, + "n": 2, + "visible": false + }, + { + "exit": 0, + "n": 3, + "visible": false + }, + { + "exit": 0, + "n": 4, + "visible": false + }, + { + "exit": 0, + "n": 5, + "visible": false + }, + { + "exit": 0, + "n": 6, + "visible": false + }, + { + "exit": 0, + "n": 7, + "visible": false + }, + { + "exit": 0, + "n": 8, + "visible": false + }, + { + "exit": 0, + "n": 9, + "visible": false + }, + { + "exit": 0, + "n": 10, + "visible": false + }, + { + "exit": 0, + "n": 11, + "visible": false + } + ], + "family": "brackets", + "split": "dev", + "tid": "brackets.v3" +} diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v3/statement.txt b/research/om-bench/bench/pubtasks/dev/brackets.v3/statement.txt new file mode 100644 index 000000000..9f5d6ef98 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v3/statement.txt @@ -0,0 +1 @@ +Read one line made only of the characters ( ) [ ] { } (possibly empty). Print yes if every bracket is closed by the matching kind in the right order, otherwise no. diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v4/00.in b/research/om-bench/bench/pubtasks/dev/brackets.v4/00.in new file mode 100644 index 000000000..f68fc04f4 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v4/00.in @@ -0,0 +1 @@ +(() diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v4/00.out b/research/om-bench/bench/pubtasks/dev/brackets.v4/00.out new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v4/00.out @@ -0,0 +1 @@ +0 diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v4/01.in b/research/om-bench/bench/pubtasks/dev/brackets.v4/01.in new file mode 100644 index 000000000..6a452c185 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v4/01.in @@ -0,0 +1 @@ +() diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v4/01.out b/research/om-bench/bench/pubtasks/dev/brackets.v4/01.out new file mode 100644 index 000000000..621e94f0e --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v4/01.out @@ -0,0 +1 @@ +none diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v4/02.in b/research/om-bench/bench/pubtasks/dev/brackets.v4/02.in new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v4/02.in @@ -0,0 +1 @@ + diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v4/02.out b/research/om-bench/bench/pubtasks/dev/brackets.v4/02.out new file mode 100644 index 000000000..621e94f0e --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v4/02.out @@ -0,0 +1 @@ +none diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v4/03.in b/research/om-bench/bench/pubtasks/dev/brackets.v4/03.in new file mode 100644 index 000000000..bea8cd177 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v4/03.in @@ -0,0 +1 @@ +) diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v4/03.out b/research/om-bench/bench/pubtasks/dev/brackets.v4/03.out new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v4/03.out @@ -0,0 +1 @@ +0 diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v4/04.in b/research/om-bench/bench/pubtasks/dev/brackets.v4/04.in new file mode 100644 index 000000000..81d57e9e1 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v4/04.in @@ -0,0 +1 @@ +((( diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v4/04.out b/research/om-bench/bench/pubtasks/dev/brackets.v4/04.out new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v4/04.out @@ -0,0 +1 @@ +0 diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v4/05.in b/research/om-bench/bench/pubtasks/dev/brackets.v4/05.in new file mode 100644 index 000000000..66e62d78d --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v4/05.in @@ -0,0 +1 @@ +)(())()()(()((()(()((((()()))()()))))())()(()(()()(()((()(((())))()))())((((())((((()(((()(()(())())))))))((()())(((())()()))))()((()()()()(())))((()))))()(()()()()()((((()))())))(()(()()))()((((())((()((()()(())(()(())((()()((()))((((()(()))))((()()())((()())())()(())(((())())()(())(((()()()()))()))))))))()(()))(()())(()((()(()))())())))(()())((())))))((()((()))))))(()())(((()))))(() diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v4/05.out b/research/om-bench/bench/pubtasks/dev/brackets.v4/05.out new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v4/05.out @@ -0,0 +1 @@ +0 diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v4/06.in b/research/om-bench/bench/pubtasks/dev/brackets.v4/06.in new file mode 100644 index 000000000..35f765807 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v4/06.in @@ -0,0 +1 @@ +()()(((()(()(())(()())(()((((()))))()())())(((((())(()(())))(()))))((((((()))(()()))())))))) diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v4/06.out b/research/om-bench/bench/pubtasks/dev/brackets.v4/06.out new file mode 100644 index 000000000..621e94f0e --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v4/06.out @@ -0,0 +1 @@ +none diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v4/07.in b/research/om-bench/bench/pubtasks/dev/brackets.v4/07.in new file mode 100644 index 000000000..0f97143c9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v4/07.in @@ -0,0 +1 @@ +()()(())()()()((())()(()((((())())()(()))((((())()()((((()()(()))()()(()(()((())(())(((((((()(()((()))))))))())))))))))))))) diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v4/07.out b/research/om-bench/bench/pubtasks/dev/brackets.v4/07.out new file mode 100644 index 000000000..621e94f0e --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v4/07.out @@ -0,0 +1 @@ +none diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v4/08.in b/research/om-bench/bench/pubtasks/dev/brackets.v4/08.in new file mode 100644 index 000000000..2ee05d712 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v4/08.in @@ -0,0 +1 @@ +(()(()())()(())())()((()(())))()(()(()())()())(()())()(()())()(((()(())))((())(())))(()())()((())()())()((()((()((()()))))()))(())()(()()())(()))()()()()()()()()(()(())) diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v4/08.out b/research/om-bench/bench/pubtasks/dev/brackets.v4/08.out new file mode 100644 index 000000000..a29644e57 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v4/08.out @@ -0,0 +1 @@ +144 diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v4/09.in b/research/om-bench/bench/pubtasks/dev/brackets.v4/09.in new file mode 100644 index 000000000..d22e79b74 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v4/09.in @@ -0,0 +1 @@ +()(((()()((()()())(())()((())))(()())((((()(()(((()())(()))))))))((()(())()(()))((())()()))()))(()())(((()()(((()()()))))()((((()((()(()))))))))))) diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v4/09.out b/research/om-bench/bench/pubtasks/dev/brackets.v4/09.out new file mode 100644 index 000000000..878d5a02b --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v4/09.out @@ -0,0 +1 @@ +146 diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v4/10.in b/research/om-bench/bench/pubtasks/dev/brackets.v4/10.in new file mode 100644 index 000000000..fedeabf0a --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v4/10.in @@ -0,0 +1 @@ +()()((())())( diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v4/10.out b/research/om-bench/bench/pubtasks/dev/brackets.v4/10.out new file mode 100644 index 000000000..48082f72f --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v4/10.out @@ -0,0 +1 @@ +12 diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v4/meta.json b/research/om-bench/bench/pubtasks/dev/brackets.v4/meta.json new file mode 100644 index 000000000..16d984d85 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v4/meta.json @@ -0,0 +1,62 @@ +{ + "cases": [ + { + "exit": 0, + "n": 0, + "visible": true + }, + { + "exit": 0, + "n": 1, + "visible": true + }, + { + "exit": 0, + "n": 2, + "visible": false + }, + { + "exit": 0, + "n": 3, + "visible": false + }, + { + "exit": 0, + "n": 4, + "visible": false + }, + { + "exit": 0, + "n": 5, + "visible": false + }, + { + "exit": 0, + "n": 6, + "visible": false + }, + { + "exit": 0, + "n": 7, + "visible": false + }, + { + "exit": 0, + "n": 8, + "visible": false + }, + { + "exit": 0, + "n": 9, + "visible": false + }, + { + "exit": 0, + "n": 10, + "visible": false + } + ], + "family": "brackets", + "split": "dev", + "tid": "brackets.v4" +} diff --git a/research/om-bench/bench/pubtasks/dev/brackets.v4/statement.txt b/research/om-bench/bench/pubtasks/dev/brackets.v4/statement.txt new file mode 100644 index 000000000..734de6624 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/brackets.v4/statement.txt @@ -0,0 +1 @@ +Read one line made only of ( and ) characters. Scanning left to right, a ) with no open ( before it is unmatched; a ( never closed is unmatched. Print the position (counting from 0) of the first unmatched ) if there is one, otherwise of the leftmost unmatched (, otherwise print none. diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v1/00.in b/research/om-bench/bench/pubtasks/dev/fibo.v1/00.in new file mode 100644 index 000000000..f599e28b8 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v1/00.in @@ -0,0 +1 @@ +10 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v1/00.out b/research/om-bench/bench/pubtasks/dev/fibo.v1/00.out new file mode 100644 index 000000000..c3f407c09 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v1/00.out @@ -0,0 +1 @@ +55 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v1/01.in b/research/om-bench/bench/pubtasks/dev/fibo.v1/01.in new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v1/01.in @@ -0,0 +1 @@ +0 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v1/01.out b/research/om-bench/bench/pubtasks/dev/fibo.v1/01.out new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v1/01.out @@ -0,0 +1 @@ +0 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v1/02.in b/research/om-bench/bench/pubtasks/dev/fibo.v1/02.in new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v1/02.in @@ -0,0 +1 @@ +1 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v1/02.out b/research/om-bench/bench/pubtasks/dev/fibo.v1/02.out new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v1/02.out @@ -0,0 +1 @@ +1 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v1/03.in b/research/om-bench/bench/pubtasks/dev/fibo.v1/03.in new file mode 100644 index 000000000..c67f579c9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v1/03.in @@ -0,0 +1 @@ +93 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v1/03.out b/research/om-bench/bench/pubtasks/dev/fibo.v1/03.out new file mode 100644 index 000000000..9e331228d --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v1/03.out @@ -0,0 +1 @@ +12200160415121876738 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v1/04.in b/research/om-bench/bench/pubtasks/dev/fibo.v1/04.in new file mode 100644 index 000000000..49541f721 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v1/04.in @@ -0,0 +1 @@ +94 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v1/04.out b/research/om-bench/bench/pubtasks/dev/fibo.v1/04.out new file mode 100644 index 000000000..e6d8a2a55 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v1/04.out @@ -0,0 +1 @@ +1293530146158671551 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v1/05.in b/research/om-bench/bench/pubtasks/dev/fibo.v1/05.in new file mode 100644 index 000000000..90ef1ea40 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v1/05.in @@ -0,0 +1 @@ +99999 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v1/05.out b/research/om-bench/bench/pubtasks/dev/fibo.v1/05.out new file mode 100644 index 000000000..15a7bfbb8 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v1/05.out @@ -0,0 +1 @@ +11652132100737888738 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v1/06.in b/research/om-bench/bench/pubtasks/dev/fibo.v1/06.in new file mode 100644 index 000000000..2ff7dade4 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v1/06.in @@ -0,0 +1 @@ +94183 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v1/06.out b/research/om-bench/bench/pubtasks/dev/fibo.v1/06.out new file mode 100644 index 000000000..0c4eb3915 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v1/06.out @@ -0,0 +1 @@ +10482956659990387277 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v1/07.in b/research/om-bench/bench/pubtasks/dev/fibo.v1/07.in new file mode 100644 index 000000000..90c3dc0e4 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v1/07.in @@ -0,0 +1 @@ +53496 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v1/07.out b/research/om-bench/bench/pubtasks/dev/fibo.v1/07.out new file mode 100644 index 000000000..a176d4fd1 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v1/07.out @@ -0,0 +1 @@ +17055667363847049120 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v1/08.in b/research/om-bench/bench/pubtasks/dev/fibo.v1/08.in new file mode 100644 index 000000000..1e101651b --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v1/08.in @@ -0,0 +1 @@ +40670 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v1/08.out b/research/om-bench/bench/pubtasks/dev/fibo.v1/08.out new file mode 100644 index 000000000..b1dcf5da4 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v1/08.out @@ -0,0 +1 @@ +13317628232573778201 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v1/09.in b/research/om-bench/bench/pubtasks/dev/fibo.v1/09.in new file mode 100644 index 000000000..5870805ba --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v1/09.in @@ -0,0 +1 @@ +13865 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v1/09.out b/research/om-bench/bench/pubtasks/dev/fibo.v1/09.out new file mode 100644 index 000000000..c95aa36b2 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v1/09.out @@ -0,0 +1 @@ +10936089828393736557 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v1/10.in b/research/om-bench/bench/pubtasks/dev/fibo.v1/10.in new file mode 100644 index 000000000..83ab99398 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v1/10.in @@ -0,0 +1 @@ +60682 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v1/10.out b/research/om-bench/bench/pubtasks/dev/fibo.v1/10.out new file mode 100644 index 000000000..06bd8370b --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v1/10.out @@ -0,0 +1 @@ +14894544491813435959 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v1/11.in b/research/om-bench/bench/pubtasks/dev/fibo.v1/11.in new file mode 100644 index 000000000..921d6b46a --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v1/11.in @@ -0,0 +1 @@ +29886 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v1/11.out b/research/om-bench/bench/pubtasks/dev/fibo.v1/11.out new file mode 100644 index 000000000..64f2eecdb --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v1/11.out @@ -0,0 +1 @@ +10953853594917483944 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v1/meta.json b/research/om-bench/bench/pubtasks/dev/fibo.v1/meta.json new file mode 100644 index 000000000..453de2d6b --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v1/meta.json @@ -0,0 +1,67 @@ +{ + "cases": [ + { + "exit": 0, + "n": 0, + "visible": true + }, + { + "exit": 0, + "n": 1, + "visible": true + }, + { + "exit": 0, + "n": 2, + "visible": false + }, + { + "exit": 0, + "n": 3, + "visible": false + }, + { + "exit": 0, + "n": 4, + "visible": false + }, + { + "exit": 0, + "n": 5, + "visible": false + }, + { + "exit": 0, + "n": 6, + "visible": false + }, + { + "exit": 0, + "n": 7, + "visible": false + }, + { + "exit": 0, + "n": 8, + "visible": false + }, + { + "exit": 0, + "n": 9, + "visible": false + }, + { + "exit": 0, + "n": 10, + "visible": false + }, + { + "exit": 0, + "n": 11, + "visible": false + } + ], + "family": "fibo", + "split": "dev", + "tid": "fibo.v1" +} diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v1/statement.txt b/research/om-bench/bench/pubtasks/dev/fibo.v1/statement.txt new file mode 100644 index 000000000..1665ea62e --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v1/statement.txt @@ -0,0 +1 @@ +Read one number n below 100000. Print the n-th Fibonacci number modulo 2^64, where F(0)=0 and F(1)=1. diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v2/00.in b/research/om-bench/bench/pubtasks/dev/fibo.v2/00.in new file mode 100644 index 000000000..0e9a360d9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v2/00.in @@ -0,0 +1 @@ +10 7 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v2/00.out b/research/om-bench/bench/pubtasks/dev/fibo.v2/00.out new file mode 100644 index 000000000..1e8b31496 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v2/00.out @@ -0,0 +1 @@ +6 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v2/01.in b/research/om-bench/bench/pubtasks/dev/fibo.v2/01.in new file mode 100644 index 000000000..6e8183b72 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v2/01.in @@ -0,0 +1 @@ +0 1 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v2/01.out b/research/om-bench/bench/pubtasks/dev/fibo.v2/01.out new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v2/01.out @@ -0,0 +1 @@ +0 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v2/02.in b/research/om-bench/bench/pubtasks/dev/fibo.v2/02.in new file mode 100644 index 000000000..2fb73a07e --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v2/02.in @@ -0,0 +1 @@ +1 1 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v2/02.out b/research/om-bench/bench/pubtasks/dev/fibo.v2/02.out new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v2/02.out @@ -0,0 +1 @@ +0 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v2/03.in b/research/om-bench/bench/pubtasks/dev/fibo.v2/03.in new file mode 100644 index 000000000..1f4fb6915 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v2/03.in @@ -0,0 +1 @@ +999999 1000000000 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v2/03.out b/research/om-bench/bench/pubtasks/dev/fibo.v2/03.out new file mode 100644 index 000000000..8e1301a91 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v2/03.out @@ -0,0 +1 @@ +684390626 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v2/04.in b/research/om-bench/bench/pubtasks/dev/fibo.v2/04.in new file mode 100644 index 000000000..ec744fd3f --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v2/04.in @@ -0,0 +1 @@ +788472 98667270 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v2/04.out b/research/om-bench/bench/pubtasks/dev/fibo.v2/04.out new file mode 100644 index 000000000..05a44a33c --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v2/04.out @@ -0,0 +1 @@ +34397784 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v2/05.in b/research/om-bench/bench/pubtasks/dev/fibo.v2/05.in new file mode 100644 index 000000000..b3ff4e4f0 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v2/05.in @@ -0,0 +1 @@ +298405 197672759 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v2/05.out b/research/om-bench/bench/pubtasks/dev/fibo.v2/05.out new file mode 100644 index 000000000..f5f37a362 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v2/05.out @@ -0,0 +1 @@ +180030866 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v2/06.in b/research/om-bench/bench/pubtasks/dev/fibo.v2/06.in new file mode 100644 index 000000000..e029cae77 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v2/06.in @@ -0,0 +1 @@ +463451 602213824 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v2/06.out b/research/om-bench/bench/pubtasks/dev/fibo.v2/06.out new file mode 100644 index 000000000..f15235760 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v2/06.out @@ -0,0 +1 @@ +138539193 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v2/07.in b/research/om-bench/bench/pubtasks/dev/fibo.v2/07.in new file mode 100644 index 000000000..2df16a631 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v2/07.in @@ -0,0 +1 @@ +42236 300449276 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v2/07.out b/research/om-bench/bench/pubtasks/dev/fibo.v2/07.out new file mode 100644 index 000000000..7c1fc0f1b --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v2/07.out @@ -0,0 +1 @@ +2631657 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v2/08.in b/research/om-bench/bench/pubtasks/dev/fibo.v2/08.in new file mode 100644 index 000000000..6cb0f20a0 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v2/08.in @@ -0,0 +1 @@ +114195 844032189 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v2/08.out b/research/om-bench/bench/pubtasks/dev/fibo.v2/08.out new file mode 100644 index 000000000..149567bc3 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v2/08.out @@ -0,0 +1 @@ +486080996 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v2/09.in b/research/om-bench/bench/pubtasks/dev/fibo.v2/09.in new file mode 100644 index 000000000..2b557e021 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v2/09.in @@ -0,0 +1 @@ +501103 283233324 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v2/09.out b/research/om-bench/bench/pubtasks/dev/fibo.v2/09.out new file mode 100644 index 000000000..9acdeb4c0 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v2/09.out @@ -0,0 +1 @@ +37953709 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v2/meta.json b/research/om-bench/bench/pubtasks/dev/fibo.v2/meta.json new file mode 100644 index 000000000..1871eef99 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v2/meta.json @@ -0,0 +1,57 @@ +{ + "cases": [ + { + "exit": 0, + "n": 0, + "visible": true + }, + { + "exit": 0, + "n": 1, + "visible": true + }, + { + "exit": 0, + "n": 2, + "visible": false + }, + { + "exit": 0, + "n": 3, + "visible": false + }, + { + "exit": 0, + "n": 4, + "visible": false + }, + { + "exit": 0, + "n": 5, + "visible": false + }, + { + "exit": 0, + "n": 6, + "visible": false + }, + { + "exit": 0, + "n": 7, + "visible": false + }, + { + "exit": 0, + "n": 8, + "visible": false + }, + { + "exit": 0, + "n": 9, + "visible": false + } + ], + "family": "fibo", + "split": "dev", + "tid": "fibo.v2" +} diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v2/statement.txt b/research/om-bench/bench/pubtasks/dev/fibo.v2/statement.txt new file mode 100644 index 000000000..29a9d9d9e --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v2/statement.txt @@ -0,0 +1 @@ +Read two numbers n and m on one line, n below 1000000 and m between 1 and 10^9. Print F(n) modulo m, where F(0)=0 and F(1)=1. diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v3/00.in b/research/om-bench/bench/pubtasks/dev/fibo.v3/00.in new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v3/00.in @@ -0,0 +1 @@ +1 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v3/00.out b/research/om-bench/bench/pubtasks/dev/fibo.v3/00.out new file mode 100644 index 000000000..00750edc0 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v3/00.out @@ -0,0 +1 @@ +3 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v3/01.in b/research/om-bench/bench/pubtasks/dev/fibo.v3/01.in new file mode 100644 index 000000000..f599e28b8 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v3/01.in @@ -0,0 +1 @@ +10 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v3/01.out b/research/om-bench/bench/pubtasks/dev/fibo.v3/01.out new file mode 100644 index 000000000..7f8f011eb --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v3/01.out @@ -0,0 +1 @@ +7 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v3/02.in b/research/om-bench/bench/pubtasks/dev/fibo.v3/02.in new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v3/02.in @@ -0,0 +1 @@ +0 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v3/02.out b/research/om-bench/bench/pubtasks/dev/fibo.v3/02.out new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v3/02.out @@ -0,0 +1 @@ +1 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v3/03.in b/research/om-bench/bench/pubtasks/dev/fibo.v3/03.in new file mode 100644 index 000000000..93221a295 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v3/03.in @@ -0,0 +1 @@ +18446744073709551615 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v3/03.out b/research/om-bench/bench/pubtasks/dev/fibo.v3/03.out new file mode 100644 index 000000000..49541f721 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v3/03.out @@ -0,0 +1 @@ +94 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v3/04.in b/research/om-bench/bench/pubtasks/dev/fibo.v3/04.in new file mode 100644 index 000000000..bb94aeca6 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v3/04.in @@ -0,0 +1 @@ +3885984002596874174 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v3/04.out b/research/om-bench/bench/pubtasks/dev/fibo.v3/04.out new file mode 100644 index 000000000..7fe4e495f --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v3/04.out @@ -0,0 +1 @@ +91 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v3/05.in b/research/om-bench/bench/pubtasks/dev/fibo.v3/05.in new file mode 100644 index 000000000..5821b030e --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v3/05.in @@ -0,0 +1 @@ +2709998718376573510 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v3/05.out b/research/om-bench/bench/pubtasks/dev/fibo.v3/05.out new file mode 100644 index 000000000..d61f00d8c --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v3/05.out @@ -0,0 +1 @@ +90 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v3/06.in b/research/om-bench/bench/pubtasks/dev/fibo.v3/06.in new file mode 100644 index 000000000..6d64c5904 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v3/06.in @@ -0,0 +1 @@ +17770925367938086377 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v3/06.out b/research/om-bench/bench/pubtasks/dev/fibo.v3/06.out new file mode 100644 index 000000000..49541f721 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v3/06.out @@ -0,0 +1 @@ +94 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v3/07.in b/research/om-bench/bench/pubtasks/dev/fibo.v3/07.in new file mode 100644 index 000000000..f04223edb --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v3/07.in @@ -0,0 +1 @@ +18082336228337762396 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v3/07.out b/research/om-bench/bench/pubtasks/dev/fibo.v3/07.out new file mode 100644 index 000000000..49541f721 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v3/07.out @@ -0,0 +1 @@ +94 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v3/08.in b/research/om-bench/bench/pubtasks/dev/fibo.v3/08.in new file mode 100644 index 000000000..34d85ccf5 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v3/08.in @@ -0,0 +1 @@ +6864379881941591732 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v3/08.out b/research/om-bench/bench/pubtasks/dev/fibo.v3/08.out new file mode 100644 index 000000000..cd5b02527 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v3/08.out @@ -0,0 +1 @@ +92 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v3/09.in b/research/om-bench/bench/pubtasks/dev/fibo.v3/09.in new file mode 100644 index 000000000..07da602bc --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v3/09.in @@ -0,0 +1 @@ +13707958529983656596 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v3/09.out b/research/om-bench/bench/pubtasks/dev/fibo.v3/09.out new file mode 100644 index 000000000..49541f721 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v3/09.out @@ -0,0 +1 @@ +94 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v3/meta.json b/research/om-bench/bench/pubtasks/dev/fibo.v3/meta.json new file mode 100644 index 000000000..e02c43b29 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v3/meta.json @@ -0,0 +1,57 @@ +{ + "cases": [ + { + "exit": 0, + "n": 0, + "visible": true + }, + { + "exit": 0, + "n": 1, + "visible": true + }, + { + "exit": 0, + "n": 2, + "visible": false + }, + { + "exit": 0, + "n": 3, + "visible": false + }, + { + "exit": 0, + "n": 4, + "visible": false + }, + { + "exit": 0, + "n": 5, + "visible": false + }, + { + "exit": 0, + "n": 6, + "visible": false + }, + { + "exit": 0, + "n": 7, + "visible": false + }, + { + "exit": 0, + "n": 8, + "visible": false + }, + { + "exit": 0, + "n": 9, + "visible": false + } + ], + "family": "fibo", + "split": "dev", + "tid": "fibo.v3" +} diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v3/statement.txt b/research/om-bench/bench/pubtasks/dev/fibo.v3/statement.txt new file mode 100644 index 000000000..244c52cf7 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v3/statement.txt @@ -0,0 +1 @@ +Read one number n. Print how many terms of the sequence F(0)=0, F(1)=1, F(k)=F(k-1)+F(k-2) are less than or equal to n (count F(1) and F(2) separately). diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v4/00.in b/research/om-bench/bench/pubtasks/dev/fibo.v4/00.in new file mode 100644 index 000000000..f599e28b8 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v4/00.in @@ -0,0 +1 @@ +10 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v4/00.out b/research/om-bench/bench/pubtasks/dev/fibo.v4/00.out new file mode 100644 index 000000000..f599e28b8 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v4/00.out @@ -0,0 +1 @@ +10 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v4/01.in b/research/om-bench/bench/pubtasks/dev/fibo.v4/01.in new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v4/01.in @@ -0,0 +1 @@ +1 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v4/01.out b/research/om-bench/bench/pubtasks/dev/fibo.v4/01.out new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v4/01.out @@ -0,0 +1 @@ +0 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v4/02.in b/research/om-bench/bench/pubtasks/dev/fibo.v4/02.in new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v4/02.in @@ -0,0 +1 @@ +0 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v4/02.out b/research/om-bench/bench/pubtasks/dev/fibo.v4/02.out new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v4/02.out @@ -0,0 +1 @@ +0 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v4/03.in b/research/om-bench/bench/pubtasks/dev/fibo.v4/03.in new file mode 100644 index 000000000..04e4a3cf6 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v4/03.in @@ -0,0 +1 @@ +999999999999999999 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v4/03.out b/research/om-bench/bench/pubtasks/dev/fibo.v4/03.out new file mode 100644 index 000000000..8506db108 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v4/03.out @@ -0,0 +1 @@ +889989708002357094 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v4/04.in b/research/om-bench/bench/pubtasks/dev/fibo.v4/04.in new file mode 100644 index 000000000..837edd489 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v4/04.in @@ -0,0 +1 @@ +237822122206671319 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v4/04.out b/research/om-bench/bench/pubtasks/dev/fibo.v4/04.out new file mode 100644 index 000000000..696ab5b3f --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v4/04.out @@ -0,0 +1 @@ +210098070363744836 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v4/05.in b/research/om-bench/bench/pubtasks/dev/fibo.v4/05.in new file mode 100644 index 000000000..e883c385d --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v4/05.in @@ -0,0 +1 @@ +720706987799332658 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v4/05.out b/research/om-bench/bench/pubtasks/dev/fibo.v4/05.out new file mode 100644 index 000000000..8506db108 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v4/05.out @@ -0,0 +1 @@ +889989708002357094 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v4/06.in b/research/om-bench/bench/pubtasks/dev/fibo.v4/06.in new file mode 100644 index 000000000..e1c8657b9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v4/06.in @@ -0,0 +1 @@ +572221811684806451 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v4/06.out b/research/om-bench/bench/pubtasks/dev/fibo.v4/06.out new file mode 100644 index 000000000..696ab5b3f --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v4/06.out @@ -0,0 +1 @@ +210098070363744836 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v4/07.in b/research/om-bench/bench/pubtasks/dev/fibo.v4/07.in new file mode 100644 index 000000000..868aec483 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v4/07.in @@ -0,0 +1 @@ +572150209976382332 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v4/07.out b/research/om-bench/bench/pubtasks/dev/fibo.v4/07.out new file mode 100644 index 000000000..696ab5b3f --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v4/07.out @@ -0,0 +1 @@ +210098070363744836 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v4/08.in b/research/om-bench/bench/pubtasks/dev/fibo.v4/08.in new file mode 100644 index 000000000..84335e3e5 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v4/08.in @@ -0,0 +1 @@ +816567736045197530 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v4/08.out b/research/om-bench/bench/pubtasks/dev/fibo.v4/08.out new file mode 100644 index 000000000..8506db108 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v4/08.out @@ -0,0 +1 @@ +889989708002357094 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v4/09.in b/research/om-bench/bench/pubtasks/dev/fibo.v4/09.in new file mode 100644 index 000000000..e0eacfd6d --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v4/09.in @@ -0,0 +1 @@ +993396922385098743 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v4/09.out b/research/om-bench/bench/pubtasks/dev/fibo.v4/09.out new file mode 100644 index 000000000..8506db108 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v4/09.out @@ -0,0 +1 @@ +889989708002357094 diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v4/meta.json b/research/om-bench/bench/pubtasks/dev/fibo.v4/meta.json new file mode 100644 index 000000000..bd06e5add --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v4/meta.json @@ -0,0 +1,57 @@ +{ + "cases": [ + { + "exit": 0, + "n": 0, + "visible": true + }, + { + "exit": 0, + "n": 1, + "visible": true + }, + { + "exit": 0, + "n": 2, + "visible": false + }, + { + "exit": 0, + "n": 3, + "visible": false + }, + { + "exit": 0, + "n": 4, + "visible": false + }, + { + "exit": 0, + "n": 5, + "visible": false + }, + { + "exit": 0, + "n": 6, + "visible": false + }, + { + "exit": 0, + "n": 7, + "visible": false + }, + { + "exit": 0, + "n": 8, + "visible": false + }, + { + "exit": 0, + "n": 9, + "visible": false + } + ], + "family": "fibo", + "split": "dev", + "tid": "fibo.v4" +} diff --git a/research/om-bench/bench/pubtasks/dev/fibo.v4/statement.txt b/research/om-bench/bench/pubtasks/dev/fibo.v4/statement.txt new file mode 100644 index 000000000..4317b3d15 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/fibo.v4/statement.txt @@ -0,0 +1 @@ +Read one number n below 10^18. Print the sum of the even Fibonacci numbers that are less than or equal to n (F(0)=0, F(1)=1). diff --git a/research/om-bench/bench/pubtasks/dev/primes.v1/00.in b/research/om-bench/bench/pubtasks/dev/primes.v1/00.in new file mode 100644 index 000000000..7f8f011eb --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v1/00.in @@ -0,0 +1 @@ +7 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v1/00.out b/research/om-bench/bench/pubtasks/dev/primes.v1/00.out new file mode 100644 index 000000000..5d5c5bb6c --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v1/00.out @@ -0,0 +1 @@ +prime diff --git a/research/om-bench/bench/pubtasks/dev/primes.v1/01.in b/research/om-bench/bench/pubtasks/dev/primes.v1/01.in new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v1/01.in @@ -0,0 +1 @@ +1 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v1/01.out b/research/om-bench/bench/pubtasks/dev/primes.v1/01.out new file mode 100644 index 000000000..fecf588b9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v1/01.out @@ -0,0 +1 @@ +composite diff --git a/research/om-bench/bench/pubtasks/dev/primes.v1/02.in b/research/om-bench/bench/pubtasks/dev/primes.v1/02.in new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v1/02.in @@ -0,0 +1 @@ +0 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v1/02.out b/research/om-bench/bench/pubtasks/dev/primes.v1/02.out new file mode 100644 index 000000000..fecf588b9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v1/02.out @@ -0,0 +1 @@ +composite diff --git a/research/om-bench/bench/pubtasks/dev/primes.v1/03.in b/research/om-bench/bench/pubtasks/dev/primes.v1/03.in new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v1/03.in @@ -0,0 +1 @@ +2 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v1/03.out b/research/om-bench/bench/pubtasks/dev/primes.v1/03.out new file mode 100644 index 000000000..5d5c5bb6c --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v1/03.out @@ -0,0 +1 @@ +prime diff --git a/research/om-bench/bench/pubtasks/dev/primes.v1/04.in b/research/om-bench/bench/pubtasks/dev/primes.v1/04.in new file mode 100644 index 000000000..8b28895a6 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v1/04.in @@ -0,0 +1 @@ +999999999989 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v1/04.out b/research/om-bench/bench/pubtasks/dev/primes.v1/04.out new file mode 100644 index 000000000..5d5c5bb6c --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v1/04.out @@ -0,0 +1 @@ +prime diff --git a/research/om-bench/bench/pubtasks/dev/primes.v1/05.in b/research/om-bench/bench/pubtasks/dev/primes.v1/05.in new file mode 100644 index 000000000..d8e57346e --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v1/05.in @@ -0,0 +1 @@ +999966000289 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v1/05.out b/research/om-bench/bench/pubtasks/dev/primes.v1/05.out new file mode 100644 index 000000000..fecf588b9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v1/05.out @@ -0,0 +1 @@ +composite diff --git a/research/om-bench/bench/pubtasks/dev/primes.v1/06.in b/research/om-bench/bench/pubtasks/dev/primes.v1/06.in new file mode 100644 index 000000000..dfe61c516 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v1/06.in @@ -0,0 +1 @@ +1987519 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v1/06.out b/research/om-bench/bench/pubtasks/dev/primes.v1/06.out new file mode 100644 index 000000000..5d5c5bb6c --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v1/06.out @@ -0,0 +1 @@ +prime diff --git a/research/om-bench/bench/pubtasks/dev/primes.v1/07.in b/research/om-bench/bench/pubtasks/dev/primes.v1/07.in new file mode 100644 index 000000000..08290abfc --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v1/07.in @@ -0,0 +1 @@ +1980169 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v1/07.out b/research/om-bench/bench/pubtasks/dev/primes.v1/07.out new file mode 100644 index 000000000..5d5c5bb6c --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v1/07.out @@ -0,0 +1 @@ +prime diff --git a/research/om-bench/bench/pubtasks/dev/primes.v1/08.in b/research/om-bench/bench/pubtasks/dev/primes.v1/08.in new file mode 100644 index 000000000..6531a2625 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v1/08.in @@ -0,0 +1 @@ +1218958709 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v1/08.out b/research/om-bench/bench/pubtasks/dev/primes.v1/08.out new file mode 100644 index 000000000..fecf588b9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v1/08.out @@ -0,0 +1 @@ +composite diff --git a/research/om-bench/bench/pubtasks/dev/primes.v1/09.in b/research/om-bench/bench/pubtasks/dev/primes.v1/09.in new file mode 100644 index 000000000..792d4cc79 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v1/09.in @@ -0,0 +1 @@ +960058751 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v1/09.out b/research/om-bench/bench/pubtasks/dev/primes.v1/09.out new file mode 100644 index 000000000..fecf588b9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v1/09.out @@ -0,0 +1 @@ +composite diff --git a/research/om-bench/bench/pubtasks/dev/primes.v1/10.in b/research/om-bench/bench/pubtasks/dev/primes.v1/10.in new file mode 100644 index 000000000..851be4005 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v1/10.in @@ -0,0 +1 @@ +635738570870 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v1/10.out b/research/om-bench/bench/pubtasks/dev/primes.v1/10.out new file mode 100644 index 000000000..fecf588b9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v1/10.out @@ -0,0 +1 @@ +composite diff --git a/research/om-bench/bench/pubtasks/dev/primes.v1/11.in b/research/om-bench/bench/pubtasks/dev/primes.v1/11.in new file mode 100644 index 000000000..3a2954e6b --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v1/11.in @@ -0,0 +1 @@ +1982639 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v1/11.out b/research/om-bench/bench/pubtasks/dev/primes.v1/11.out new file mode 100644 index 000000000..5d5c5bb6c --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v1/11.out @@ -0,0 +1 @@ +prime diff --git a/research/om-bench/bench/pubtasks/dev/primes.v1/meta.json b/research/om-bench/bench/pubtasks/dev/primes.v1/meta.json new file mode 100644 index 000000000..688689c6a --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v1/meta.json @@ -0,0 +1,67 @@ +{ + "cases": [ + { + "exit": 0, + "n": 0, + "visible": true + }, + { + "exit": 0, + "n": 1, + "visible": true + }, + { + "exit": 0, + "n": 2, + "visible": false + }, + { + "exit": 0, + "n": 3, + "visible": false + }, + { + "exit": 0, + "n": 4, + "visible": false + }, + { + "exit": 0, + "n": 5, + "visible": false + }, + { + "exit": 0, + "n": 6, + "visible": false + }, + { + "exit": 0, + "n": 7, + "visible": false + }, + { + "exit": 0, + "n": 8, + "visible": false + }, + { + "exit": 0, + "n": 9, + "visible": false + }, + { + "exit": 0, + "n": 10, + "visible": false + }, + { + "exit": 0, + "n": 11, + "visible": false + } + ], + "family": "primes", + "split": "dev", + "tid": "primes.v1" +} diff --git a/research/om-bench/bench/pubtasks/dev/primes.v1/statement.txt b/research/om-bench/bench/pubtasks/dev/primes.v1/statement.txt new file mode 100644 index 000000000..a2e580f9c --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v1/statement.txt @@ -0,0 +1 @@ +Read one number below 10^12. Print prime if it is a prime number, otherwise print composite (0 and 1 are composite for this task). diff --git a/research/om-bench/bench/pubtasks/dev/primes.v2/00.in b/research/om-bench/bench/pubtasks/dev/primes.v2/00.in new file mode 100644 index 000000000..f599e28b8 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v2/00.in @@ -0,0 +1 @@ +10 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v2/00.out b/research/om-bench/bench/pubtasks/dev/primes.v2/00.out new file mode 100644 index 000000000..b8626c4cf --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v2/00.out @@ -0,0 +1 @@ +4 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v2/01.in b/research/om-bench/bench/pubtasks/dev/primes.v2/01.in new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v2/01.in @@ -0,0 +1 @@ +1 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v2/01.out b/research/om-bench/bench/pubtasks/dev/primes.v2/01.out new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v2/01.out @@ -0,0 +1 @@ +0 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v2/02.in b/research/om-bench/bench/pubtasks/dev/primes.v2/02.in new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v2/02.in @@ -0,0 +1 @@ +0 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v2/02.out b/research/om-bench/bench/pubtasks/dev/primes.v2/02.out new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v2/02.out @@ -0,0 +1 @@ +0 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v2/03.in b/research/om-bench/bench/pubtasks/dev/primes.v2/03.in new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v2/03.in @@ -0,0 +1 @@ +2 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v2/03.out b/research/om-bench/bench/pubtasks/dev/primes.v2/03.out new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v2/03.out @@ -0,0 +1 @@ +1 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v2/04.in b/research/om-bench/bench/pubtasks/dev/primes.v2/04.in new file mode 100644 index 000000000..8694f4002 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v2/04.in @@ -0,0 +1 @@ +999999 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v2/04.out b/research/om-bench/bench/pubtasks/dev/primes.v2/04.out new file mode 100644 index 000000000..01b5be677 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v2/04.out @@ -0,0 +1 @@ +78498 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v2/05.in b/research/om-bench/bench/pubtasks/dev/primes.v2/05.in new file mode 100644 index 000000000..3f32b5d92 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v2/05.in @@ -0,0 +1 @@ +967962 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v2/05.out b/research/om-bench/bench/pubtasks/dev/primes.v2/05.out new file mode 100644 index 000000000..cb3e54f8f --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v2/05.out @@ -0,0 +1 @@ +76200 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v2/06.in b/research/om-bench/bench/pubtasks/dev/primes.v2/06.in new file mode 100644 index 000000000..cab85025a --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v2/06.in @@ -0,0 +1 @@ +537138 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v2/06.out b/research/om-bench/bench/pubtasks/dev/primes.v2/06.out new file mode 100644 index 000000000..18e0807e5 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v2/06.out @@ -0,0 +1 @@ +44369 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v2/07.in b/research/om-bench/bench/pubtasks/dev/primes.v2/07.in new file mode 100644 index 000000000..adf2910e5 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v2/07.in @@ -0,0 +1 @@ +825789 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v2/07.out b/research/om-bench/bench/pubtasks/dev/primes.v2/07.out new file mode 100644 index 000000000..9f0ff2acb --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v2/07.out @@ -0,0 +1 @@ +65862 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v2/08.in b/research/om-bench/bench/pubtasks/dev/primes.v2/08.in new file mode 100644 index 000000000..31b904303 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v2/08.in @@ -0,0 +1 @@ +249888 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v2/08.out b/research/om-bench/bench/pubtasks/dev/primes.v2/08.out new file mode 100644 index 000000000..badbeafdc --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v2/08.out @@ -0,0 +1 @@ +22036 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v2/09.in b/research/om-bench/bench/pubtasks/dev/primes.v2/09.in new file mode 100644 index 000000000..8eb4f95cf --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v2/09.in @@ -0,0 +1 @@ +815545 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v2/09.out b/research/om-bench/bench/pubtasks/dev/primes.v2/09.out new file mode 100644 index 000000000..95874dfe1 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v2/09.out @@ -0,0 +1 @@ +65091 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v2/10.in b/research/om-bench/bench/pubtasks/dev/primes.v2/10.in new file mode 100644 index 000000000..13b83a927 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v2/10.in @@ -0,0 +1 @@ +491977 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v2/10.out b/research/om-bench/bench/pubtasks/dev/primes.v2/10.out new file mode 100644 index 000000000..4b26bd040 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v2/10.out @@ -0,0 +1 @@ +40919 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v2/meta.json b/research/om-bench/bench/pubtasks/dev/primes.v2/meta.json new file mode 100644 index 000000000..dc676a009 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v2/meta.json @@ -0,0 +1,62 @@ +{ + "cases": [ + { + "exit": 0, + "n": 0, + "visible": true + }, + { + "exit": 0, + "n": 1, + "visible": true + }, + { + "exit": 0, + "n": 2, + "visible": false + }, + { + "exit": 0, + "n": 3, + "visible": false + }, + { + "exit": 0, + "n": 4, + "visible": false + }, + { + "exit": 0, + "n": 5, + "visible": false + }, + { + "exit": 0, + "n": 6, + "visible": false + }, + { + "exit": 0, + "n": 7, + "visible": false + }, + { + "exit": 0, + "n": 8, + "visible": false + }, + { + "exit": 0, + "n": 9, + "visible": false + }, + { + "exit": 0, + "n": 10, + "visible": false + } + ], + "family": "primes", + "split": "dev", + "tid": "primes.v2" +} diff --git a/research/om-bench/bench/pubtasks/dev/primes.v2/statement.txt b/research/om-bench/bench/pubtasks/dev/primes.v2/statement.txt new file mode 100644 index 000000000..2ec171562 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v2/statement.txt @@ -0,0 +1 @@ +Read one number n below 1000000. Print how many primes are less than or equal to n. diff --git a/research/om-bench/bench/pubtasks/dev/primes.v3/00.in b/research/om-bench/bench/pubtasks/dev/primes.v3/00.in new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v3/00.in @@ -0,0 +1 @@ +1 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v3/00.out b/research/om-bench/bench/pubtasks/dev/primes.v3/00.out new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v3/00.out @@ -0,0 +1 @@ +2 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v3/01.in b/research/om-bench/bench/pubtasks/dev/primes.v3/01.in new file mode 100644 index 000000000..7ed6ff82d --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v3/01.in @@ -0,0 +1 @@ +5 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v3/01.out b/research/om-bench/bench/pubtasks/dev/primes.v3/01.out new file mode 100644 index 000000000..b4de39476 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v3/01.out @@ -0,0 +1 @@ +11 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v3/02.in b/research/om-bench/bench/pubtasks/dev/primes.v3/02.in new file mode 100644 index 000000000..5caff40c4 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v3/02.in @@ -0,0 +1 @@ +10000 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v3/02.out b/research/om-bench/bench/pubtasks/dev/primes.v3/02.out new file mode 100644 index 000000000..4b736caf0 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v3/02.out @@ -0,0 +1 @@ +104729 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v3/03.in b/research/om-bench/bench/pubtasks/dev/primes.v3/03.in new file mode 100644 index 000000000..018783526 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v3/03.in @@ -0,0 +1 @@ +446 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v3/03.out b/research/om-bench/bench/pubtasks/dev/primes.v3/03.out new file mode 100644 index 000000000..3c006b17d --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v3/03.out @@ -0,0 +1 @@ +3137 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v3/04.in b/research/om-bench/bench/pubtasks/dev/primes.v3/04.in new file mode 100644 index 000000000..113c4d24f --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v3/04.in @@ -0,0 +1 @@ +1093 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v3/04.out b/research/om-bench/bench/pubtasks/dev/primes.v3/04.out new file mode 100644 index 000000000..9e3357821 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v3/04.out @@ -0,0 +1 @@ +8761 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v3/05.in b/research/om-bench/bench/pubtasks/dev/primes.v3/05.in new file mode 100644 index 000000000..8e6742924 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v3/05.in @@ -0,0 +1 @@ +832 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v3/05.out b/research/om-bench/bench/pubtasks/dev/primes.v3/05.out new file mode 100644 index 000000000..a8c4b8eef --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v3/05.out @@ -0,0 +1 @@ +6379 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v3/06.in b/research/om-bench/bench/pubtasks/dev/primes.v3/06.in new file mode 100644 index 000000000..20de14b50 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v3/06.in @@ -0,0 +1 @@ +4337 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v3/06.out b/research/om-bench/bench/pubtasks/dev/primes.v3/06.out new file mode 100644 index 000000000..2d06f902b --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v3/06.out @@ -0,0 +1 @@ +41467 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v3/07.in b/research/om-bench/bench/pubtasks/dev/primes.v3/07.in new file mode 100644 index 000000000..1e89dfc5a --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v3/07.in @@ -0,0 +1 @@ +8666 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v3/07.out b/research/om-bench/bench/pubtasks/dev/primes.v3/07.out new file mode 100644 index 000000000..6f92db53e --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v3/07.out @@ -0,0 +1 @@ +89501 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v3/08.in b/research/om-bench/bench/pubtasks/dev/primes.v3/08.in new file mode 100644 index 000000000..a63639267 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v3/08.in @@ -0,0 +1 @@ +7706 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v3/08.out b/research/om-bench/bench/pubtasks/dev/primes.v3/08.out new file mode 100644 index 000000000..784572720 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v3/08.out @@ -0,0 +1 @@ +78539 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v3/meta.json b/research/om-bench/bench/pubtasks/dev/primes.v3/meta.json new file mode 100644 index 000000000..94a00396d --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v3/meta.json @@ -0,0 +1,52 @@ +{ + "cases": [ + { + "exit": 0, + "n": 0, + "visible": true + }, + { + "exit": 0, + "n": 1, + "visible": true + }, + { + "exit": 0, + "n": 2, + "visible": false + }, + { + "exit": 0, + "n": 3, + "visible": false + }, + { + "exit": 0, + "n": 4, + "visible": false + }, + { + "exit": 0, + "n": 5, + "visible": false + }, + { + "exit": 0, + "n": 6, + "visible": false + }, + { + "exit": 0, + "n": 7, + "visible": false + }, + { + "exit": 0, + "n": 8, + "visible": false + } + ], + "family": "primes", + "split": "dev", + "tid": "primes.v3" +} diff --git a/research/om-bench/bench/pubtasks/dev/primes.v3/statement.txt b/research/om-bench/bench/pubtasks/dev/primes.v3/statement.txt new file mode 100644 index 000000000..a71f1343d --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v3/statement.txt @@ -0,0 +1 @@ +Read one number n between 1 and 10000. Print the n-th prime number (the 1st prime is 2). diff --git a/research/om-bench/bench/pubtasks/dev/primes.v4/00.in b/research/om-bench/bench/pubtasks/dev/primes.v4/00.in new file mode 100644 index 000000000..48082f72f --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v4/00.in @@ -0,0 +1 @@ +12 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v4/00.out b/research/om-bench/bench/pubtasks/dev/primes.v4/00.out new file mode 100644 index 000000000..00750edc0 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v4/00.out @@ -0,0 +1 @@ +3 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v4/01.in b/research/om-bench/bench/pubtasks/dev/primes.v4/01.in new file mode 100644 index 000000000..b1bd38b62 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v4/01.in @@ -0,0 +1 @@ +13 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v4/01.out b/research/om-bench/bench/pubtasks/dev/primes.v4/01.out new file mode 100644 index 000000000..b1bd38b62 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v4/01.out @@ -0,0 +1 @@ +13 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v4/02.in b/research/om-bench/bench/pubtasks/dev/primes.v4/02.in new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v4/02.in @@ -0,0 +1 @@ +2 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v4/02.out b/research/om-bench/bench/pubtasks/dev/primes.v4/02.out new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v4/02.out @@ -0,0 +1 @@ +2 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v4/03.in b/research/om-bench/bench/pubtasks/dev/primes.v4/03.in new file mode 100644 index 000000000..d6ee9012f --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v4/03.in @@ -0,0 +1 @@ +1000000000000 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v4/03.out b/research/om-bench/bench/pubtasks/dev/primes.v4/03.out new file mode 100644 index 000000000..7ed6ff82d --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v4/03.out @@ -0,0 +1 @@ +5 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v4/04.in b/research/om-bench/bench/pubtasks/dev/primes.v4/04.in new file mode 100644 index 000000000..8b28895a6 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v4/04.in @@ -0,0 +1 @@ +999999999989 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v4/04.out b/research/om-bench/bench/pubtasks/dev/primes.v4/04.out new file mode 100644 index 000000000..8b28895a6 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v4/04.out @@ -0,0 +1 @@ +999999999989 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v4/05.in b/research/om-bench/bench/pubtasks/dev/primes.v4/05.in new file mode 100644 index 000000000..d8e57346e --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v4/05.in @@ -0,0 +1 @@ +999966000289 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v4/05.out b/research/om-bench/bench/pubtasks/dev/primes.v4/05.out new file mode 100644 index 000000000..853886599 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v4/05.out @@ -0,0 +1 @@ +999983 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v4/06.in b/research/om-bench/bench/pubtasks/dev/primes.v4/06.in new file mode 100644 index 000000000..c8cbd0535 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v4/06.in @@ -0,0 +1 @@ +346190584465 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v4/06.out b/research/om-bench/bench/pubtasks/dev/primes.v4/06.out new file mode 100644 index 000000000..8c1b9f923 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v4/06.out @@ -0,0 +1 @@ +6294374263 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v4/07.in b/research/om-bench/bench/pubtasks/dev/primes.v4/07.in new file mode 100644 index 000000000..a6e6558f6 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v4/07.in @@ -0,0 +1 @@ +678460769831 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v4/07.out b/research/om-bench/bench/pubtasks/dev/primes.v4/07.out new file mode 100644 index 000000000..be655f3ee --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v4/07.out @@ -0,0 +1 @@ +9341201 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v4/08.in b/research/om-bench/bench/pubtasks/dev/primes.v4/08.in new file mode 100644 index 000000000..5306e8b3e --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v4/08.in @@ -0,0 +1 @@ +303115305362 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v4/08.out b/research/om-bench/bench/pubtasks/dev/primes.v4/08.out new file mode 100644 index 000000000..fb4a99deb --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v4/08.out @@ -0,0 +1 @@ +151557652681 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v4/09.in b/research/om-bench/bench/pubtasks/dev/primes.v4/09.in new file mode 100644 index 000000000..cbf2f01a2 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v4/09.in @@ -0,0 +1 @@ +367763769328 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v4/09.out b/research/om-bench/bench/pubtasks/dev/primes.v4/09.out new file mode 100644 index 000000000..42a0cc69a --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v4/09.out @@ -0,0 +1 @@ +47197609 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v4/10.in b/research/om-bench/bench/pubtasks/dev/primes.v4/10.in new file mode 100644 index 000000000..b4d083ed4 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v4/10.in @@ -0,0 +1 @@ +805608305045 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v4/10.out b/research/om-bench/bench/pubtasks/dev/primes.v4/10.out new file mode 100644 index 000000000..6860484fa --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v4/10.out @@ -0,0 +1 @@ +3428120447 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v4/11.in b/research/om-bench/bench/pubtasks/dev/primes.v4/11.in new file mode 100644 index 000000000..69c9d473a --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v4/11.in @@ -0,0 +1 @@ +863117199883 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v4/11.out b/research/om-bench/bench/pubtasks/dev/primes.v4/11.out new file mode 100644 index 000000000..8218a3806 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v4/11.out @@ -0,0 +1 @@ +364030873 diff --git a/research/om-bench/bench/pubtasks/dev/primes.v4/meta.json b/research/om-bench/bench/pubtasks/dev/primes.v4/meta.json new file mode 100644 index 000000000..ef681a92b --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v4/meta.json @@ -0,0 +1,67 @@ +{ + "cases": [ + { + "exit": 0, + "n": 0, + "visible": true + }, + { + "exit": 0, + "n": 1, + "visible": true + }, + { + "exit": 0, + "n": 2, + "visible": false + }, + { + "exit": 0, + "n": 3, + "visible": false + }, + { + "exit": 0, + "n": 4, + "visible": false + }, + { + "exit": 0, + "n": 5, + "visible": false + }, + { + "exit": 0, + "n": 6, + "visible": false + }, + { + "exit": 0, + "n": 7, + "visible": false + }, + { + "exit": 0, + "n": 8, + "visible": false + }, + { + "exit": 0, + "n": 9, + "visible": false + }, + { + "exit": 0, + "n": 10, + "visible": false + }, + { + "exit": 0, + "n": 11, + "visible": false + } + ], + "family": "primes", + "split": "dev", + "tid": "primes.v4" +} diff --git a/research/om-bench/bench/pubtasks/dev/primes.v4/statement.txt b/research/om-bench/bench/pubtasks/dev/primes.v4/statement.txt new file mode 100644 index 000000000..edfc0a038 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/primes.v4/statement.txt @@ -0,0 +1 @@ +Read one number between 2 and 10^12. Print its largest prime factor. diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v1/00.in b/research/om-bench/bench/pubtasks/dev/wordst.v1/00.in new file mode 100644 index 000000000..117599d84 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v1/00.in @@ -0,0 +1,2 @@ +a bb +ccc diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v1/00.out b/research/om-bench/bench/pubtasks/dev/wordst.v1/00.out new file mode 100644 index 000000000..00750edc0 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v1/00.out @@ -0,0 +1 @@ +3 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v1/01.in b/research/om-bench/bench/pubtasks/dev/wordst.v1/01.in new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v1/01.in @@ -0,0 +1 @@ + diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v1/01.out b/research/om-bench/bench/pubtasks/dev/wordst.v1/01.out new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v1/01.out @@ -0,0 +1 @@ +0 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v1/02.in b/research/om-bench/bench/pubtasks/dev/wordst.v1/02.in new file mode 100644 index 000000000..71d233e0b --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v1/02.in @@ -0,0 +1,19 @@ +CdCbBAA +AfegG FBF baC bgCAeffBa EGGCFaD EGd DE +d AAACACd faDf gfbCfAAF fCdFEGaf BAGe BGE +CCfffffGaC +gfda dAEG DGAaEbEBG eBdAA Ab dagcff aGddcCbBEgG BaDeeACGe dCacFfaAb f +eBBGaBCFE dc +FB cFB d dBAACGa GDA +cFeGDAgdbD c GfcadDABagde fDCAbdabGCa ecEe bAgfeAE daGaBBac eDgfbABD +FEg +ea bdfcbBBBdbG EEBBcdcGGGg AdfaG FebBbcCDC Ca GB aFCgaeGcBDcF a CdgFedFAdB +bAggCaeGc EGBFcEAcea +aedEgFfA DCgdebfBeB FBddCfFbgGEF eD +EAFDECcCGaD bge a cGcbaBedFC gedF AGBaaFEAAbae eEeecEa beEBcEG +dBACDcecDbcc eBb fDa BdGBBGdEAf eG GfF +cbfegFD DEDCddbbeA DfdBaaB DGgea gCd FAFGed +bEEcd fbBDeFbdAF FefGafecd FEGdC +AGgaCACgGcC DBGcDECGB G cG AgBFA gAFdCAbCfEF Dc BG +BBeFA FdBCbAFBa febAdEDCDB DdbacbBafe GGBGBedEffG +bAFddDfcGG ABEeBfffDgb G BAgCBCggeBc gbCg FBgCAD diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v1/02.out b/research/om-bench/bench/pubtasks/dev/wordst.v1/02.out new file mode 100644 index 000000000..398050c62 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v1/02.out @@ -0,0 +1 @@ +101 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v1/03.in b/research/om-bench/bench/pubtasks/dev/wordst.v1/03.in new file mode 100644 index 000000000..72ad73c55 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v1/03.in @@ -0,0 +1,8 @@ +BbGfAabDBCBc CEeDcCG becb +GGE CbfBACFCAbE cafcAcfa fgeaEDG gFafDCaDdDbd aeFCFCDcecDf Adbfc a gbFGCaCFd +bgfFGc G +FGFDcbefFb efCBD CdGbAdCF BbeDgDbB +C eE gbA cGGbfaBfdGge fBFG EAdDDfGfcf Ggae + +CceBdEC +BDg CgbD bdeAAgbgFEce CEg diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v1/03.out b/research/om-bench/bench/pubtasks/dev/wordst.v1/03.out new file mode 100644 index 000000000..64bb6b746 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v1/03.out @@ -0,0 +1 @@ +30 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v1/04.in b/research/om-bench/bench/pubtasks/dev/wordst.v1/04.in new file mode 100644 index 000000000..770d3d41e --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v1/04.in @@ -0,0 +1,9 @@ +gdgDEBFaD cBbdbDCGDDCG faF dCaFbDEdCg AGcfE FEeda aBfbcagaF CcaF EbBDeAaAE +aDDDFf +aaFaGCGABcE Adfbeb bgBddBdaDGB CEBB GbBBGce +FeDgdAAdG GBbCEFgf Bc gbff GEAgAAgBbAF c +ffFcBgDfb BcE a db + +fd GEaaf DFgED AfdacEdF CaCDDcDb gFB +GDaGeE aadEgFFA edgFDBEdBF g cEBADdFAD DGce +BfECfg aacCaEECgA EDDAEGAf GeC EFeAGBC dAgecDfDCaF diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v1/04.out b/research/om-bench/bench/pubtasks/dev/wordst.v1/04.out new file mode 100644 index 000000000..920a13966 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v1/04.out @@ -0,0 +1 @@ +43 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v1/05.in b/research/om-bench/bench/pubtasks/dev/wordst.v1/05.in new file mode 100644 index 000000000..2559261bd --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v1/05.in @@ -0,0 +1,12 @@ +EeeEecD DGeFG e eb Ege dGb +gaEcaebgCagb aE d B AbAfDGdfgGf +egd GFaEC DDFebDbgf +bcbeBEGBCeg ecd bd +fBCBdBDeAf FDaf eDbCGCEAbE ddC b +gfdDdaebFDF EGGCB EDBcdeEeEdGa gCBBCcCCEDFa DDDAfDgADd aDGEcGA beGdgEAgc be DFEcge +egaFa DAAFe Ad eDDfEbgeD +DDfG aaAcCFafCCE +AcD ACfAaCGDAb eaF bcCdegf bfdc EGBfdaADcEAA DDf d EADBfbECaCa CdGcdDF +C GecFd c eg edGCd dgECFB fGGAcdAaFB Bgce + +FFg AaFgaCa diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v1/05.out b/research/om-bench/bench/pubtasks/dev/wordst.v1/05.out new file mode 100644 index 000000000..e1617e842 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v1/05.out @@ -0,0 +1 @@ +57 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v1/06.in b/research/om-bench/bench/pubtasks/dev/wordst.v1/06.in new file mode 100644 index 000000000..c38822eb7 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v1/06.in @@ -0,0 +1,16 @@ +feF Cf +eAAeBAbdCFaF bA EaGf E faeEaedff Bb fGgBAfdAc +FGeECf BdFBaG AeeDGBc aF +BCa gGDdA BCBfBaC EbeFcF E gFaFddeDAEC gGgcGDAc CbA +dEdfbGgEEde eabDBBG ffeeCbbfbEc +efaDAdCA CCDgdGAFeBe FadfgGA ebdfEBAf fdFBBfaeEAe +ECBaDD DAAgBGdCdFed + + +bGEce aggeDF agBaE aBFCa bfBDBa gfEEEf FfegcaEceBg DAGFg ceAeGdD +BgbaCEaEdBeC be acGDAd B Ea fadGGaccdE baCDEEcGEGBb +Dbca Ga AcGfDD aBCegBEbg BEEECAaggEa FEFbcB +cDCCagABBdFc +fADaGefAG +FfCdACdDcgcc AF EABC fEDDGFCeA +BDCF GAddBgCc cEGGA dDCGeG FeaeCB a FFcadA bGA eBdBEGABdA diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v1/06.out b/research/om-bench/bench/pubtasks/dev/wordst.v1/06.out new file mode 100644 index 000000000..38b10c1b2 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v1/06.out @@ -0,0 +1 @@ +68 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v1/07.in b/research/om-bench/bench/pubtasks/dev/wordst.v1/07.in new file mode 100644 index 000000000..e68623da5 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v1/07.in @@ -0,0 +1,12 @@ +BgCGCCecG fcf EGAfdCBfaAdA DfFfgAF aAbBGAFBcA gaDccFFAe gDAGGF F dAce +EeB AGg Ag cAdfFCeag AeDDGebG CFF aAbEAEbf +e EF Gc BF gFB +gBDaBaeGBgEb AdED G FbCfADebEf +fdgDEB EF cGcCDcDGGe FcE +GfgcdeDEFBf +dDcBgdCFE +BdgefFEdE dF +gbdfbdEFdCac daF eEfC cfeB dceCD GadBFFccbEF Efdab +bGb dBAgDeeaCda EEDgCbce bfAeB +ECBAGaFgBDB FFgGA +GFagCdDg cEbDBeg EEGbef eBEDdAbdgB cC diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v1/07.out b/research/om-bench/bench/pubtasks/dev/wordst.v1/07.out new file mode 100644 index 000000000..82cced27d --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v1/07.out @@ -0,0 +1 @@ +51 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v1/meta.json b/research/om-bench/bench/pubtasks/dev/wordst.v1/meta.json new file mode 100644 index 000000000..e7b753959 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v1/meta.json @@ -0,0 +1,47 @@ +{ + "cases": [ + { + "exit": 0, + "n": 0, + "visible": true + }, + { + "exit": 0, + "n": 1, + "visible": true + }, + { + "exit": 0, + "n": 2, + "visible": false + }, + { + "exit": 0, + "n": 3, + "visible": false + }, + { + "exit": 0, + "n": 4, + "visible": false + }, + { + "exit": 0, + "n": 5, + "visible": false + }, + { + "exit": 0, + "n": 6, + "visible": false + }, + { + "exit": 0, + "n": 7, + "visible": false + } + ], + "family": "wordst", + "split": "dev", + "tid": "wordst.v1" +} diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v1/statement.txt b/research/om-bench/bench/pubtasks/dev/wordst.v1/statement.txt new file mode 100644 index 000000000..b208f469a --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v1/statement.txt @@ -0,0 +1 @@ +The input is lines of words; words are separated by single spaces and a line may be empty. Print the number of words. diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v2/00.in b/research/om-bench/bench/pubtasks/dev/wordst.v2/00.in new file mode 100644 index 000000000..8defb4cc3 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v2/00.in @@ -0,0 +1,2 @@ +a bbb +cc diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v2/00.out b/research/om-bench/bench/pubtasks/dev/wordst.v2/00.out new file mode 100644 index 000000000..00750edc0 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v2/00.out @@ -0,0 +1 @@ +3 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v2/01.in b/research/om-bench/bench/pubtasks/dev/wordst.v2/01.in new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v2/01.in @@ -0,0 +1 @@ + diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v2/01.out b/research/om-bench/bench/pubtasks/dev/wordst.v2/01.out new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v2/01.out @@ -0,0 +1 @@ +0 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v2/02.in b/research/om-bench/bench/pubtasks/dev/wordst.v2/02.in new file mode 100644 index 000000000..37aeafca4 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v2/02.in @@ -0,0 +1,9 @@ +cebEfF CEgFAFEdDGGb cBDBBdFbdG aDaFeb abddbdGaA +Cee EdAFBfecac dCBBBDcBCgBa dcBBedCG aDaEaEggFDEg ca +ecffgggadAa fF EfeaAbFEffA bEBdFAaae eAdBCCAgCFGD aEBE ABBfEcfab CEfbFbBbBeg Ddd D +BecAFdCCDGB bEfBdC gFEGdG feABdGGcCG B bfBefdAdAGe EdFDC +GCgDagadDFF bgAcdabde BddGCEaGb +cd BbdAC DBa +BGbDaa degBFBcffB ECcCacBAbAA acAcCgegECDC d cfffa GG eB FbCdcDcbB +CeFB bfeD +fAa diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v2/02.out b/research/om-bench/bench/pubtasks/dev/wordst.v2/02.out new file mode 100644 index 000000000..48082f72f --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v2/02.out @@ -0,0 +1 @@ +12 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v2/03.in b/research/om-bench/bench/pubtasks/dev/wordst.v2/03.in new file mode 100644 index 000000000..d4098922d --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v2/03.in @@ -0,0 +1,13 @@ +bdcCfGEBDE BEDdAaEgEeD baBGgBabd bAGeAgddf bDD +fCceacgFb aCbAecCfECeB BfBa ECcCBFGdC +e eEDadabd CgAGBb cEAAADgB GCcAeFadfeda aC aD bgAEe + +AbbDGAEBD EdDE AdfdCEFDCd b +bAafdEeBBcaF gGeAfeEGfaA BaDBaFdffDGF fcGaDf ggDAFAcffA CEfFFbfeE GgFCeaEdaG BbBabbd gAAeEEBccgE GceeBfgAcFD +efgCFCeFEe bcg g Ef baeCDDBAdbD CAe fggB Cdb acGEeD FACGbdDGD +GAegBfCgF eCfaCDdAE CaFFa cbcFEBGGGcG +Ead dB EB da CeG GdFece BDd beabaedaFdBe BFe +aBcAFfgfc +FgFAgEbFBadD gBE +fdGg dAGggeCgGE GaDDDbcbdabg aGDAFDegAd fFgaAGBf BAAABbabEdc gCe EaCGDcEAE EaEadagF fGC +bebDAeFBGcG bEEdABEA CdaB AEeeaAaaad AbEBAGFDAae DFBbbadfGDc EaGffffcafEd diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v2/03.out b/research/om-bench/bench/pubtasks/dev/wordst.v2/03.out new file mode 100644 index 000000000..48082f72f --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v2/03.out @@ -0,0 +1 @@ +12 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v2/04.in b/research/om-bench/bench/pubtasks/dev/wordst.v2/04.in new file mode 100644 index 000000000..c52319f74 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v2/04.in @@ -0,0 +1,20 @@ +ccAEF edaEgd geEFcCeEbB f gAdfDEf eEDG cDBc aF GCgdEb EfFEfaceeFCF +BaABaGc AgEbD afCbd cEfAD eBDaec +bddFE daeDa CaffFccbf bCeCEc Cbdcb + +GbeF AgFDDBcFBB cFBECaGcad bga D adFCgAABB B eCggGge FDBBBaB + +DeDeDbbDe cgDb CGABDFEdED g cc EeDAebFb +d Ef Af dGB deCDdaaDA +d +EeEbdbbfa CaGD F CaBFbDcdDae EcA ddDffEagDf + + +dgbAGGgc GaDfbacfG D FbfdBFGDEBa DdDBbb FDAA +dGdGa CCFaeEdBDdbE CFaADGDF aEBF egDeff FbA dEDe Eedg +FACcdcacDBe GbfgBfBgDGAg DdAFEEbebE EGFBfFAfgfG EBgfeE +EeBcBGBFeG edbB gBdaAA FdcB DB CbGfcCCgbD gadFe +cG C c +GEfaADDB edGBAGCdgFg FFg E eeFgGg aab eGc FB +BECEf +CFafAagE Dc gafEaCAfG baCaaFGFD CDDcaCF DB EbeDB FdABGFG diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v2/04.out b/research/om-bench/bench/pubtasks/dev/wordst.v2/04.out new file mode 100644 index 000000000..48082f72f --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v2/04.out @@ -0,0 +1 @@ +12 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v2/05.in b/research/om-bench/bench/pubtasks/dev/wordst.v2/05.in new file mode 100644 index 000000000..a65c7d1a2 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v2/05.in @@ -0,0 +1,11 @@ +CefbdBBdGgab ffGCa eEBeGeffcCd FGdbeGfBBecc Ff CfgeGcFDb +FDAACf gDbffGGGaE EA +BBCgeDace EcCafEe fEFbGeCBd aaFCdCAGG egAdc aF dGDC AcgF +eAcEdCGADfG DEAFbBFgCAgE aGCECDF baDeA + + +g BCFDCFA fFf BFeADEFEec bDBac +aBcgBC baDfFDaeGc f dffAdDDb EBcFEdD dDcaDfAadBBA gGdabFFedddF +FGDG deCCFbbAgD + + diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v2/05.out b/research/om-bench/bench/pubtasks/dev/wordst.v2/05.out new file mode 100644 index 000000000..48082f72f --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v2/05.out @@ -0,0 +1 @@ +12 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v2/06.in b/research/om-bench/bench/pubtasks/dev/wordst.v2/06.in new file mode 100644 index 000000000..c066a34e8 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v2/06.in @@ -0,0 +1,7 @@ + +ddF CFcgfAAdfCGc CeFGB GcfBdDdEEegF AdBe GaAaeEGafG +BEGGacfbfD dbBG +A caEECgfa geE Gga cGcE +egbCabgEeCg eEACEfggE E fGd eaBeCdgfDc facAeebbd EgDFeAbbCA +BEb +aBgc cC BdDBeECf diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v2/06.out b/research/om-bench/bench/pubtasks/dev/wordst.v2/06.out new file mode 100644 index 000000000..48082f72f --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v2/06.out @@ -0,0 +1 @@ +12 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v2/07.in b/research/om-bench/bench/pubtasks/dev/wordst.v2/07.in new file mode 100644 index 000000000..3abd10dc2 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v2/07.in @@ -0,0 +1,9 @@ +dGaggdaG bcfcfegBF BfCfAfaeBaE +GaAfe GFCdeAADB acDbDCEBd +AeF CaGgFCGF GBEdadeabb g abFGfbeEAGC dBAFEEGfCeeE +AfGeC ddGAgGGDgeD gBFf DaebDbGgecab FaEcdBBfBBb gGdGfdeegDa CCEGeEG bfgGGdbfeb FGffCBFB +AEeda BBBBb bbDcAACBccdD +EB ddegFF bBCAfbA +A faCae GFcEACAABfb GBEgfbAdAcGF AAcbgEDacAAc +BCFdgGgcEA aDF +dff f DA ACaaCbBfddac DCdgAFC bFgacfeaDgG FAGacDdAfc A diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v2/07.out b/research/om-bench/bench/pubtasks/dev/wordst.v2/07.out new file mode 100644 index 000000000..48082f72f --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v2/07.out @@ -0,0 +1 @@ +12 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v2/meta.json b/research/om-bench/bench/pubtasks/dev/wordst.v2/meta.json new file mode 100644 index 000000000..f46375117 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v2/meta.json @@ -0,0 +1,47 @@ +{ + "cases": [ + { + "exit": 0, + "n": 0, + "visible": true + }, + { + "exit": 0, + "n": 1, + "visible": true + }, + { + "exit": 0, + "n": 2, + "visible": false + }, + { + "exit": 0, + "n": 3, + "visible": false + }, + { + "exit": 0, + "n": 4, + "visible": false + }, + { + "exit": 0, + "n": 5, + "visible": false + }, + { + "exit": 0, + "n": 6, + "visible": false + }, + { + "exit": 0, + "n": 7, + "visible": false + } + ], + "family": "wordst", + "split": "dev", + "tid": "wordst.v2" +} diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v2/statement.txt b/research/om-bench/bench/pubtasks/dev/wordst.v2/statement.txt new file mode 100644 index 000000000..43480ea5d --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v2/statement.txt @@ -0,0 +1 @@ +The input is lines of words; words are separated by single spaces and a line may be empty. Print the length in bytes of the longest word (0 if there are no words). diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v3/00.in b/research/om-bench/bench/pubtasks/dev/wordst.v3/00.in new file mode 100644 index 000000000..49b0007d5 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v3/00.in @@ -0,0 +1 @@ +Ab cd Ef diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v3/00.out b/research/om-bench/bench/pubtasks/dev/wordst.v3/00.out new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v3/00.out @@ -0,0 +1 @@ +2 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v3/01.in b/research/om-bench/bench/pubtasks/dev/wordst.v3/01.in new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v3/01.in @@ -0,0 +1 @@ + diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v3/01.out b/research/om-bench/bench/pubtasks/dev/wordst.v3/01.out new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v3/01.out @@ -0,0 +1 @@ +0 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v3/02.in b/research/om-bench/bench/pubtasks/dev/wordst.v3/02.in new file mode 100644 index 000000000..2cfc8ec27 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v3/02.in @@ -0,0 +1,7 @@ +EECBce gBfE f EFEebCg DCeabGf fDAbEEEF beGE cbdaed aAbDAfCca cBAcbFgAACB + +cFBcaFcAgEA gGDc fbAEcffEE fd AeFdf +ebaBdECfeCf eDGEf bdfFGGD bfDCeEdEgE CgegbGCFBgE fGdAFdG aefBAbFbde aabDd +cgBecAca CccAbecb CFAdbC DbB gggEGa ABfBfEaG +BgGe GGbcd DFgDADeCb afCdAg ADgEfE +eEFeECfgCGF bbBgDcF AAcCbgGAbGCe caGACgFcgfDd aeGAbegECF CGbF ADFafBBBCac FadFfEGaCbG bFfeaegBBeDB EcCEAB diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v3/02.out b/research/om-bench/bench/pubtasks/dev/wordst.v3/02.out new file mode 100644 index 000000000..3c032078a --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v3/02.out @@ -0,0 +1 @@ +18 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v3/03.in b/research/om-bench/bench/pubtasks/dev/wordst.v3/03.in new file mode 100644 index 000000000..b9ae7ecd9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v3/03.in @@ -0,0 +1,5 @@ +gDFFacgded fEf bGCEcGCgcd Ec bDfgaCAbGe +FAd Eg de CE CDBCfC +FcFGdFaDFCD aAabaCgedE DFb aAEBaCgDCAcf CCEce bbce DbfDag +eceCGEA ddF ecfegAbbCc fAeCa aFb ffcACFa EGEef bdEFe bcDbGdDAgbeF BAfEFE +GgFfAAcbd CG BafEfbeEC dCfc BcacDdfg diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v3/03.out b/research/om-bench/bench/pubtasks/dev/wordst.v3/03.out new file mode 100644 index 000000000..60d3b2f4a --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v3/03.out @@ -0,0 +1 @@ +15 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v3/04.in b/research/om-bench/bench/pubtasks/dev/wordst.v3/04.in new file mode 100644 index 000000000..ce1b69934 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v3/04.in @@ -0,0 +1,10 @@ +eFbaeFf dG BbfFD BcbdbgGdgF dDDBa ccEDFfBBE aDBgddBBC ecAABF +BeDaeEDeaDAD A ebaGGe aBcc ABDED debfEDe bdaAbgbE BbAGGD +CEBAe FeabgGfCDgA b G deDbEegb Da bCAFFe +edBeBbeeaCC AEcb DGEgabBCg BEedaFcdD +EEcfBefAb +ABFGgAdafEe cEaaD egaDGFcE gdDbbAEec ABeA EdGadEgdeAa AcGGEAEAA +BbG gfEEfA b ABBg +CdgEEA FacCGgdDCDCg + +E eGDef cFb faCBfaecgaF ggbcGBgegG diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v3/04.out b/research/om-bench/bench/pubtasks/dev/wordst.v3/04.out new file mode 100644 index 000000000..409940768 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v3/04.out @@ -0,0 +1 @@ +23 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v3/05.in b/research/om-bench/bench/pubtasks/dev/wordst.v3/05.in new file mode 100644 index 000000000..500dd9d14 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v3/05.in @@ -0,0 +1,14 @@ +EggddBBfE gCFBCcec gBfcaCEfE DeEfdBABe Aa cCeefbAABdCa + +dA fgfGdC fGCdbgc dGFECCfeg aFfFefC g aaECB +C gFEAGAEGebeC b bgDG G cdFcAGfc bEAb FdGAaDCBgDf EGBAeDCb b +DCB ebG d GD cAFBacE FgfdBABFEBB FdGBGfCgdFBc +aE gBgbeFd bccec bdEE FecdfCaAecF FCDffFE e AbbgAFF fDgc c +dcBC BCfbeB bdbAfFDAd gg fdDDee FEeAfB FBeAafeFgDd DeBfbFAdAcd BAeff BGdga +Ad ACfDDeFbDcG BdddCbBc afDA dedGagcG fDdf +CA +eeGCc EBEEac bebEbfADCFb cDAdGFA edaaC eG +GfbDedB EFFGAgGGEdgc AgBCdFEfGFf ca GbcGCcfGdd +fEACGg dgeEAAGaCcd fgafa C dCFG eGGC GaaBaEEfg +C AdECefGaeBbF e EGGAF c FEdGcb eb fBA CGA B +bG ffDA edfeA e diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v3/05.out b/research/om-bench/bench/pubtasks/dev/wordst.v3/05.out new file mode 100644 index 000000000..81b5c5d06 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v3/05.out @@ -0,0 +1 @@ +37 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v3/06.in b/research/om-bench/bench/pubtasks/dev/wordst.v3/06.in new file mode 100644 index 000000000..43308b1e2 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v3/06.in @@ -0,0 +1,4 @@ +CbEC DGdfc dBFdF fCEFFa GEecDFA cbEdeef +bbEGe AfDcg DgC DAFeFFdCF DEgFaedFBDgb dfbegdedG D CfcbfcaAdd GGgCCgcEFB +Gg AE ADGAgbdEDCDF FEEde Ee GEcDC aBAgb +febeCBfafED dgbbgDCab CBC diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v3/06.out b/research/om-bench/bench/pubtasks/dev/wordst.v3/06.out new file mode 100644 index 000000000..98d9bcb75 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v3/06.out @@ -0,0 +1 @@ +17 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v3/07.in b/research/om-bench/bench/pubtasks/dev/wordst.v3/07.in new file mode 100644 index 000000000..8d70cc687 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v3/07.in @@ -0,0 +1,3 @@ +fCDeEfDdf aEfDbc ccGFd +bbbGGbbFG fCCcGBBC Cg eEDddBgf dgeeCbGaaDE ebdcDAcCD dDGEGabECE AF +GB DFEgegeFgfB GGCffFEGfeBe dGcDCCGgef diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v3/07.out b/research/om-bench/bench/pubtasks/dev/wordst.v3/07.out new file mode 100644 index 000000000..7ed6ff82d --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v3/07.out @@ -0,0 +1 @@ +5 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v3/meta.json b/research/om-bench/bench/pubtasks/dev/wordst.v3/meta.json new file mode 100644 index 000000000..954433ddd --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v3/meta.json @@ -0,0 +1,47 @@ +{ + "cases": [ + { + "exit": 0, + "n": 0, + "visible": true + }, + { + "exit": 0, + "n": 1, + "visible": true + }, + { + "exit": 0, + "n": 2, + "visible": false + }, + { + "exit": 0, + "n": 3, + "visible": false + }, + { + "exit": 0, + "n": 4, + "visible": false + }, + { + "exit": 0, + "n": 5, + "visible": false + }, + { + "exit": 0, + "n": 6, + "visible": false + }, + { + "exit": 0, + "n": 7, + "visible": false + } + ], + "family": "wordst", + "split": "dev", + "tid": "wordst.v3" +} diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v3/statement.txt b/research/om-bench/bench/pubtasks/dev/wordst.v3/statement.txt new file mode 100644 index 000000000..cf75b68fa --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v3/statement.txt @@ -0,0 +1 @@ +The input is lines of words; words are separated by single spaces and a line may be empty. Print how many words start with an uppercase letter A to Z. diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v4/00.in b/research/om-bench/bench/pubtasks/dev/wordst.v4/00.in new file mode 100644 index 000000000..c60f4ce5c --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v4/00.in @@ -0,0 +1,2 @@ +a +b c diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v4/00.out b/research/om-bench/bench/pubtasks/dev/wordst.v4/00.out new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v4/00.out @@ -0,0 +1 @@ +2 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v4/01.in b/research/om-bench/bench/pubtasks/dev/wordst.v4/01.in new file mode 100644 index 000000000..587be6b4c --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v4/01.in @@ -0,0 +1 @@ +x diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v4/01.out b/research/om-bench/bench/pubtasks/dev/wordst.v4/01.out new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v4/01.out @@ -0,0 +1 @@ +1 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v4/02.in b/research/om-bench/bench/pubtasks/dev/wordst.v4/02.in new file mode 100644 index 000000000..b28b04f64 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v4/02.in @@ -0,0 +1,3 @@ + + + diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v4/02.out b/research/om-bench/bench/pubtasks/dev/wordst.v4/02.out new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v4/02.out @@ -0,0 +1 @@ +1 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v4/03.in b/research/om-bench/bench/pubtasks/dev/wordst.v4/03.in new file mode 100644 index 000000000..113951195 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v4/03.in @@ -0,0 +1,11 @@ +dCgAefa +aECecF ecgdgAfCfcf bAcfdecd FdcAGbge faBdfECbef G BgAdCAddgbfe aEFbFgdEac eDgdfGCeCf ababDEBd +DFcGdfGACF dBCfbbDddbf cAa Bf fdBgCBg BECE DDEAd aAaBbbf E FGbAf +dFE ega AGa EEb DbdgcFcCbCA aBcegAdAB BaFAbgaAcfB DbFDEFEf +GCfCcFb FagDaDFaF EdAEg BggGaAGE bDdeeFAdAg ECAEfDdeAf a f b Fdffdgd +BffEC +fFdCDFff gddAbbAb DG DCdEEcA +FfcDcfD +CBb GdaaaGEEfdFD GaGCA cgEabbfeacg FbaAffDBA ggeBGGb +FfF AFfc FAgaa EEFgAFFFcff F BBab geagGfgcCEF A DACaEfeeBgbA Ea +eedeCCaeBGcF fGaBFCfd AgeGCEceBF FFDBCbGC FFfefFA DGf AedDEGFAEb diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v4/03.out b/research/om-bench/bench/pubtasks/dev/wordst.v4/03.out new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v4/03.out @@ -0,0 +1 @@ +2 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v4/04.in b/research/om-bench/bench/pubtasks/dev/wordst.v4/04.in new file mode 100644 index 000000000..20f1e484a --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v4/04.in @@ -0,0 +1,12 @@ +aFgcFDABcAd ecDd DaB ACEdF +gAfCg G DDF CCdDDA dBAgA Adagce daDEEDBA feBEdgecbEG BGBfBcFaA adcacc +BcGdfcaFg GaGfAaebeA cCF GbCgaA + +bEadBddGgeff +aAefaDC +cgcDdfb bCAgDeg DDcaaEGcE aefgbGaDAg +GGf GDeA EFdDgAG C fbcDbddG Ec +EB A aaggABcfa gAcF DB e +Ccd dacgaGA Fcbfb Dcd +AbdCd FFFaBfFAba FCEg aDGbfgaEFaB CA CBfBGBAG caBbbae AC CafAdg Ed +Bf AfG EBEffbgFcfGE BDcCgfEFADeE dFEaE AbcBBbBCFaBC dEg BcaFCgb aBfAadbGEAf FbGfEFFADbBG diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v4/04.out b/research/om-bench/bench/pubtasks/dev/wordst.v4/04.out new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v4/04.out @@ -0,0 +1 @@ +2 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v4/05.in b/research/om-bench/bench/pubtasks/dev/wordst.v4/05.in new file mode 100644 index 000000000..cd4af9a87 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v4/05.in @@ -0,0 +1,12 @@ +cDCbeeCGda E bECaa CcDa cgcDaFg BgcG BcCDdbEeG aF bdDAg BedDC + + + + +aE AgGcDAbg EfCdCBBf bCb BbfFbGDeCfCC DaCGCfbfDb C eCEAEEDGAe eAFgfaA +DfAac EBgCcbceadd F AG BAFg CGaFF cEBDaGaBca +G cGfDAefCG ECBaCfbdED edec AC FfdbG BDbadBGEE fGbagFCDCbg eG fEGcEfbab + + +acaDfGbdd B fD DbgB GbDeEDDbg +dcfbBaaDGe cFaGgf EgcABaA e GffCeAcgafE CgB diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v4/05.out b/research/om-bench/bench/pubtasks/dev/wordst.v4/05.out new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v4/05.out @@ -0,0 +1 @@ +1 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v4/06.in b/research/om-bench/bench/pubtasks/dev/wordst.v4/06.in new file mode 100644 index 000000000..fbde39f4c --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v4/06.in @@ -0,0 +1,8 @@ +Afab bBgbge FeEDFe eDDFfFgg GcabaAgDdb CBddBcg +dGececdgAAAF +cDfBeag DaCGDGCgfGB dFGCcGGE dabEaA +eADCBGcdBd CcE CEAEfCbBf gcFbfaCGe cDgEcbgg bCG +cBEBA fddFbfCdGEa EbGBGbDc GggbceCdCdbc + +eBaddGCFgcA +EAdEE AcfgaeDbd gAaeCGF be DEGAfDbAGA GAF diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v4/06.out b/research/om-bench/bench/pubtasks/dev/wordst.v4/06.out new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v4/06.out @@ -0,0 +1 @@ +1 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v4/07.in b/research/om-bench/bench/pubtasks/dev/wordst.v4/07.in new file mode 100644 index 000000000..f913dbe5a --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v4/07.in @@ -0,0 +1 @@ +GafFgfFDDDc beg DeageE fbcgBcfbace ECdcDCcFf diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v4/07.out b/research/om-bench/bench/pubtasks/dev/wordst.v4/07.out new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v4/07.out @@ -0,0 +1 @@ +1 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v4/08.in b/research/om-bench/bench/pubtasks/dev/wordst.v4/08.in new file mode 100644 index 000000000..025e051bd --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v4/08.in @@ -0,0 +1,17 @@ +cGGA bbaGdE AfcfgCacee dbCgFBgF D BBAfDDFbd +BeFBbfbFD BEaGAfGda gEgDebbe dececcc dDcgg fBbABcadbCf fe ADgEE ECccCf +bAe CEe bdgbD fEafDAFGF EAa EEacFc bfbFEgFeCfAa Ba FbaAaEBfBd fB +affGAAegf gFaFdAbG Dga d Gaaaa C + +EgGeDGDC CGDGf c CfEGcC gefddc +GABcEDbbGECb eCcdFf GGGD c +dc +caDafdCDDF dCebccCGedEg aDab GeBebdaB acaDbeDab Ccdd cfgCCbGGBBd A +ecgeEB FFgEf aaAcCegd abEe GaAAdcAf DBGE Gg baA aeB bed +bb DDDcab b Cg bCE DAECFABbAEc bGDEDFGcBAD +BBfcaad +cfegFgDffdgg ffafd a a FbFBd AfdAfBGaFeB dg BFd +GdEBFdBaGD +GAFF EbEFfcCbGdBa EbgcAfcdfCBE ACEacCBbgfD BdeeECF EbEgggEGaAC ccAFfd FCGaDegDgFDC +FgebgBg GdeCA +BFBegafa AbE GcCcddbGBa AEEafDgF gFabdEedaaAF FbfaDg fggBEea diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v4/08.out b/research/om-bench/bench/pubtasks/dev/wordst.v4/08.out new file mode 100644 index 000000000..00750edc0 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v4/08.out @@ -0,0 +1 @@ +3 diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v4/meta.json b/research/om-bench/bench/pubtasks/dev/wordst.v4/meta.json new file mode 100644 index 000000000..088c6e74c --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v4/meta.json @@ -0,0 +1,52 @@ +{ + "cases": [ + { + "exit": 0, + "n": 0, + "visible": true + }, + { + "exit": 0, + "n": 1, + "visible": true + }, + { + "exit": 0, + "n": 2, + "visible": false + }, + { + "exit": 0, + "n": 3, + "visible": false + }, + { + "exit": 0, + "n": 4, + "visible": false + }, + { + "exit": 0, + "n": 5, + "visible": false + }, + { + "exit": 0, + "n": 6, + "visible": false + }, + { + "exit": 0, + "n": 7, + "visible": false + }, + { + "exit": 0, + "n": 8, + "visible": false + } + ], + "family": "wordst", + "split": "dev", + "tid": "wordst.v4" +} diff --git a/research/om-bench/bench/pubtasks/dev/wordst.v4/statement.txt b/research/om-bench/bench/pubtasks/dev/wordst.v4/statement.txt new file mode 100644 index 000000000..60f82ca95 --- /dev/null +++ b/research/om-bench/bench/pubtasks/dev/wordst.v4/statement.txt @@ -0,0 +1 @@ +The input is lines of words; words are separated by single spaces and a line may be empty. Print the number of the line (counting from 1) that has the most words; on a tie print the smallest such line number. diff --git a/research/om-bench/bench/pubtasks/train/caesar.v1/00.in b/research/om-bench/bench/pubtasks/train/caesar.v1/00.in new file mode 100644 index 000000000..3fa0d4b98 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v1/00.in @@ -0,0 +1 @@ +Hello, World diff --git a/research/om-bench/bench/pubtasks/train/caesar.v1/00.out b/research/om-bench/bench/pubtasks/train/caesar.v1/00.out new file mode 100644 index 000000000..f299c071c --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v1/00.out @@ -0,0 +1 @@ +Ifmmp, Xpsme diff --git a/research/om-bench/bench/pubtasks/train/caesar.v1/01.in b/research/om-bench/bench/pubtasks/train/caesar.v1/01.in new file mode 100644 index 000000000..ffbadf17c --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v1/01.in @@ -0,0 +1 @@ +xyz XYZ diff --git a/research/om-bench/bench/pubtasks/train/caesar.v1/01.out b/research/om-bench/bench/pubtasks/train/caesar.v1/01.out new file mode 100644 index 000000000..986eeb34f --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v1/01.out @@ -0,0 +1 @@ +yza YZA diff --git a/research/om-bench/bench/pubtasks/train/caesar.v1/02.in b/research/om-bench/bench/pubtasks/train/caesar.v1/02.in new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v1/02.in @@ -0,0 +1 @@ + diff --git a/research/om-bench/bench/pubtasks/train/caesar.v1/02.out b/research/om-bench/bench/pubtasks/train/caesar.v1/02.out new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v1/02.out @@ -0,0 +1 @@ + diff --git a/research/om-bench/bench/pubtasks/train/caesar.v1/03.in b/research/om-bench/bench/pubtasks/train/caesar.v1/03.in new file mode 100644 index 000000000..3e00fefb2 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v1/03.in @@ -0,0 +1 @@ +zZ diff --git a/research/om-bench/bench/pubtasks/train/caesar.v1/03.out b/research/om-bench/bench/pubtasks/train/caesar.v1/03.out new file mode 100644 index 000000000..7ac5efc36 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v1/03.out @@ -0,0 +1 @@ +aA diff --git a/research/om-bench/bench/pubtasks/train/caesar.v1/04.in b/research/om-bench/bench/pubtasks/train/caesar.v1/04.in new file mode 100644 index 000000000..089a4fccc --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v1/04.in @@ -0,0 +1,10 @@ +4RxtBpWnoka8Yd +clCtIjLXC6bk0I9XIZBkSLBP9OcWd NpAaHTL2lsXWQnTV, +3EDn78DXoCuDHfe5QVR36rN1uOq.wyM2M1wVdfDf8gxd6 N.5mjy4fqyB,BnZfoGPhTjZf3CMx +Mbgpyig0rQswug,EJGNt.vIWEoKfX5C,cfVZFjNgt 10Yv3j4vyvixS0UBj4H ryYpeoV +B.xp2 +jGs CryOUqcKAV.H57UzQ971S71YoHaX 82PF1Ek0wBLzh7FVNDCq HOL +wi2zALAafzJw8Ob5ZMXjoAeWmMYgRSZxCW.mKD8m2Em4xRmsN +A4nfGeNc7c6Ef,JRfyN1aNuWtQix2JcPiE6geRcsj3 +clXYvLW +yNVpd diff --git a/research/om-bench/bench/pubtasks/train/caesar.v1/04.out b/research/om-bench/bench/pubtasks/train/caesar.v1/04.out new file mode 100644 index 000000000..737e4a1b9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v1/04.out @@ -0,0 +1,10 @@ +4SyuCqXoplb8Ze +dmDuJkMYD6cl0J9YJAClTMCQ9PdXe OqBbIUM2mtYXRoUW, +3FEo78EYpDvEIgf5RWS36sO1vPr.xzN2N1xWegEg8hye6 O.5nkz4grzC,CoAgpHQiUkAg3DNy +Nchqzjh0sRtxvh,FKHOu.wJXFpLgY5D,dgWAGkOhu 10Zw3k4wzwjyT0VCk4I szZqfpW +C.yq2 +kHt DszPVrdLBW.I57VaR971T71ZpIbY 82QG1Fl0xCMai7GWOEDr IPM +xj2aBMBbgaKx8Pc5ANYkpBfXnNZhSTAyDX.nLE8n2Fn4ySntO +B4ogHfOd7d6Fg,KSgzO1bOvXuRjy2KdQjF6hfSdtk3 +dmYZwMX +zOWqe diff --git a/research/om-bench/bench/pubtasks/train/caesar.v1/05.in b/research/om-bench/bench/pubtasks/train/caesar.v1/05.in new file mode 100644 index 000000000..1a059d350 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v1/05.in @@ -0,0 +1,3 @@ +stA TZIdFtY7lBquTrht5uEIwrSd6EEsdXQJIGrMUzHSx.XqTVJ0G.SHlu +5vfzZaxcx,LcFWLUnxIVnhnt1F4kioGtPw.AdP3PWwSvnWY4CTUj +n,f9x .QGzZL0eFizZEO93be9SHgyFWsbRXJOHg24zuoBXZDifKA59,De,SBpTgbKGqWeJ5EccFKCGT diff --git a/research/om-bench/bench/pubtasks/train/caesar.v1/05.out b/research/om-bench/bench/pubtasks/train/caesar.v1/05.out new file mode 100644 index 000000000..aa743849f --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v1/05.out @@ -0,0 +1,3 @@ +tuB UAJeGuZ7mCrvUsiu5vFJxsTe6FFteYRKJHsNVaITy.YrUWK0H.TImv +5wgaAbydy,MdGXMVoyJWoiou1G4ljpHuQx.BeQ3QXxTwoXZ4DUVk +o,g9y .RHaAM0fGjaAFP93cf9TIhzGXtcSYKPIh24avpCYAEjgLB59,Ef,TCqUhcLHrXfK5FddGLDHU diff --git a/research/om-bench/bench/pubtasks/train/caesar.v1/06.in b/research/om-bench/bench/pubtasks/train/caesar.v1/06.in new file mode 100644 index 000000000..6299f49cd --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v1/06.in @@ -0,0 +1,4 @@ +xMBI,CYgyhWMGrECyF +NP8,PV,fQKyi,wJ6y2VsA,S55Gs1T0vxe fMvpy6NbIcSaLSlMRrS FOjEK6b7OD.Bb03n1TBFlVi0n +XnsUuBwPiu2ii5slltI4a.yHitmI3G8xn2jUTtakKMYA6jivmGM +cpCpFlHLfXE7xRjQ ReYhWdrnzDa diff --git a/research/om-bench/bench/pubtasks/train/caesar.v1/06.out b/research/om-bench/bench/pubtasks/train/caesar.v1/06.out new file mode 100644 index 000000000..2561547d4 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v1/06.out @@ -0,0 +1,4 @@ +yNCJ,DZhziXNHsFDzG +OQ8,QW,gRLzj,xK6z2WtB,T55Ht1U0wyf gNwqz6OcJdTbMTmNSsT GPkFL6c7PE.Cc03o1UCGmWj0o +YotVvCxQjv2jj5tmmuJ4b.zIjunJ3H8yo2kVUublLNZB6kjwnHN +dqDqGmIMgYF7ySkR SfZiXesoaEb diff --git a/research/om-bench/bench/pubtasks/train/caesar.v1/07.in b/research/om-bench/bench/pubtasks/train/caesar.v1/07.in new file mode 100644 index 000000000..901cda094 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v1/07.in @@ -0,0 +1,10 @@ +GAn .PdN32lGdDeZv79TCb6y4Hk3CY1PuQ0iXZpg,mp7n6kloCle3a5k1ZPMi0Rj0k0EqcwW +IukLkQx7pf +G81M5LGvIL9G,xS8s5S uTVpW5mmrPh4yFCsURmmjV.fUN4ttgDH3eGTyf RWgKPQZ0C +Ury +4fAredF6SwurIMtL,cW,RU46i 3Tm9mKDZ3hgc.flAaJrm +H37FpVN1kg,xgo1 VQlkEeRc2KM2 +7GiixZI2SW UBdUcvrUb +XIGaoMBhbcvGZA86QOu,wiIMZUf78jao.IsQ +NxUOlQ7CS7kqf Ax75Xt Yf5782bAaJD7LirJr5Q0 +jMnVFxHK9sdz15sUQy5BLf diff --git a/research/om-bench/bench/pubtasks/train/caesar.v1/07.out b/research/om-bench/bench/pubtasks/train/caesar.v1/07.out new file mode 100644 index 000000000..762f856f0 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v1/07.out @@ -0,0 +1,10 @@ +HBo .QeO32mHeEfAw79UDc6z4Il3DZ1QvR0jYAqh,nq7o6lmpDmf3b5l1AQNj0Sk0l0FrdxX +JvlMlRy7qg +H81N5MHwJM9H,yT8t5T vUWqX5nnsQi4zGDtVSnnkW.gVO4uuhEI3fHUzg SXhLQRA0D +Vsz +4gBsfeG6TxvsJNuM,dX,SV46j 3Un9nLEA3ihd.gmBbKsn +I37GqWO1lh,yhp1 WRmlFfSd2LN2 +7HjjyAJ2TX VCeVdwsVc +YJHbpNCicdwHAB86RPv,xjJNAVg78kbp.JtR +OyVPmR7DT7lrg By75Yu Zg5782cBbKE7MjsKs5R0 +kNoWGyIL9tea15tVRz5CMg diff --git a/research/om-bench/bench/pubtasks/train/caesar.v1/08.in b/research/om-bench/bench/pubtasks/train/caesar.v1/08.in new file mode 100644 index 000000000..0f8d0cdb8 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v1/08.in @@ -0,0 +1,7 @@ +Eo .s +mvTq8 ,3FDeVv7GjUx6yStnPbEub 7SybHfzHqi5XeXSt R5rsvYckiE1 +NPGRNNvwx2eUdYME3iJZJ.BxchWE,nSTDzgkiED,.279hrNfA.WJ +yu,V1VLQ1waWm1lyD1cJaP5gezWLwt2XuX.b2Jmr3yMW.wN09OmB +c +JevZiDFcnWOl2.5FSE1wVpPzcr3X gN .i1EB0VESPOGTKeF7TqNPq7xr8ZGJ, +nD99f1BEWIm diff --git a/research/om-bench/bench/pubtasks/train/caesar.v1/08.out b/research/om-bench/bench/pubtasks/train/caesar.v1/08.out new file mode 100644 index 000000000..7479d3fb7 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v1/08.out @@ -0,0 +1,7 @@ +Fp .t +nwUr8 ,3GEfWw7HkVy6zTuoQcFvc 7TzcIgaIrj5YfYTu S5stwZdljF1 +OQHSOOwxy2fVeZNF3jKAK.CydiXF,oTUEahljFE,.279isOgB.XK +zv,W1WMR1xbXn1mzE1dKbQ5hfaXMxu2YvY.c2Kns3zNX.xO09PnC +d +KfwAjEGdoXPm2.5GTF1xWqQads3Y hO .j1FC0WFTQPHULfG7UrOQr7ys8AHK, +oE99g1CFXJn diff --git a/research/om-bench/bench/pubtasks/train/caesar.v1/09.in b/research/om-bench/bench/pubtasks/train/caesar.v1/09.in new file mode 100644 index 000000000..b0f35650a --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v1/09.in @@ -0,0 +1,3 @@ +xMMYbH3xAx yKR ciVoSmp,VmUrZ 0eGGd3Fn1cu3WwbK.M3uBKga5cKlGdv6bQ9dngnAon +.aXkhrBuzhvNUeVRBIf.BHzWC2vkWZiF3alcFOmR,iZJzXr8HWBjE 59 +sBvahllCL7wnKZZ7 H,WyL1mdkmtN,YOLGJYyvJznPN diff --git a/research/om-bench/bench/pubtasks/train/caesar.v1/09.out b/research/om-bench/bench/pubtasks/train/caesar.v1/09.out new file mode 100644 index 000000000..f568499e7 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v1/09.out @@ -0,0 +1,3 @@ +yNNZcI3yBy zLS djWpTnq,WnVsA 0fHHe3Go1dv3XxcL.N3vCLhb5dLmHew6cR9eohoBpo +.bYlisCvaiwOVfWSCJg.CIaXD2wlXAjG3bmdGPnS,jAKaYs8IXCkF 59 +tCwbimmDM7xoLAA7 I,XzM1nelnuO,ZPMHKZzwKaoQO diff --git a/research/om-bench/bench/pubtasks/train/caesar.v1/meta.json b/research/om-bench/bench/pubtasks/train/caesar.v1/meta.json new file mode 100644 index 000000000..ab151bca2 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v1/meta.json @@ -0,0 +1,57 @@ +{ + "cases": [ + { + "exit": 0, + "n": 0, + "visible": true + }, + { + "exit": 0, + "n": 1, + "visible": true + }, + { + "exit": 0, + "n": 2, + "visible": false + }, + { + "exit": 0, + "n": 3, + "visible": false + }, + { + "exit": 0, + "n": 4, + "visible": false + }, + { + "exit": 0, + "n": 5, + "visible": false + }, + { + "exit": 0, + "n": 6, + "visible": false + }, + { + "exit": 0, + "n": 7, + "visible": false + }, + { + "exit": 0, + "n": 8, + "visible": false + }, + { + "exit": 0, + "n": 9, + "visible": false + } + ], + "family": "caesar", + "split": "train", + "tid": "caesar.v1" +} diff --git a/research/om-bench/bench/pubtasks/train/caesar.v1/statement.txt b/research/om-bench/bench/pubtasks/train/caesar.v1/statement.txt new file mode 100644 index 000000000..18782ffec --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v1/statement.txt @@ -0,0 +1 @@ +Copy the input to the output, replacing every ASCII letter by the letter 1 places later in the alphabet, wrapping from z to a and from Z to A and keeping its case. All other bytes, including newlines, are copied unchanged. diff --git a/research/om-bench/bench/pubtasks/train/caesar.v2/00.in b/research/om-bench/bench/pubtasks/train/caesar.v2/00.in new file mode 100644 index 000000000..3fa0d4b98 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v2/00.in @@ -0,0 +1 @@ +Hello, World diff --git a/research/om-bench/bench/pubtasks/train/caesar.v2/00.out b/research/om-bench/bench/pubtasks/train/caesar.v2/00.out new file mode 100644 index 000000000..3f7fd1716 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v2/00.out @@ -0,0 +1 @@ +Khoor, Zruog diff --git a/research/om-bench/bench/pubtasks/train/caesar.v2/01.in b/research/om-bench/bench/pubtasks/train/caesar.v2/01.in new file mode 100644 index 000000000..ffbadf17c --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v2/01.in @@ -0,0 +1 @@ +xyz XYZ diff --git a/research/om-bench/bench/pubtasks/train/caesar.v2/01.out b/research/om-bench/bench/pubtasks/train/caesar.v2/01.out new file mode 100644 index 000000000..450bac862 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v2/01.out @@ -0,0 +1 @@ +abc ABC diff --git a/research/om-bench/bench/pubtasks/train/caesar.v2/02.in b/research/om-bench/bench/pubtasks/train/caesar.v2/02.in new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v2/02.in @@ -0,0 +1 @@ + diff --git a/research/om-bench/bench/pubtasks/train/caesar.v2/02.out b/research/om-bench/bench/pubtasks/train/caesar.v2/02.out new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v2/02.out @@ -0,0 +1 @@ + diff --git a/research/om-bench/bench/pubtasks/train/caesar.v2/03.in b/research/om-bench/bench/pubtasks/train/caesar.v2/03.in new file mode 100644 index 000000000..3e00fefb2 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v2/03.in @@ -0,0 +1 @@ +zZ diff --git a/research/om-bench/bench/pubtasks/train/caesar.v2/03.out b/research/om-bench/bench/pubtasks/train/caesar.v2/03.out new file mode 100644 index 000000000..ef4fc5ce4 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v2/03.out @@ -0,0 +1 @@ +cC diff --git a/research/om-bench/bench/pubtasks/train/caesar.v2/04.in b/research/om-bench/bench/pubtasks/train/caesar.v2/04.in new file mode 100644 index 000000000..75fba86de --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v2/04.in @@ -0,0 +1,4 @@ +ox6HDZBL9qFEbI6Q1Elo6fEVb.1Kfc,l8JI0EkaiGNUPtp.OzcM87W6sOd3WiOA,Z.sh0zWTmgpV6Kd +EmGe4.L7enfHHI88eoY2om1cRYlIz.nKIHt6mTTf5I,Y +O5ro 1ga +OIooP1L5 diff --git a/research/om-bench/bench/pubtasks/train/caesar.v2/04.out b/research/om-bench/bench/pubtasks/train/caesar.v2/04.out new file mode 100644 index 000000000..ac4ca4446 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v2/04.out @@ -0,0 +1,4 @@ +ra6KGCEO9tIHeL6T1Hor6iHYe.1Nif,o8ML0HndlJQXSws.RcfP87Z6vRg3ZlRD,C.vk0cZWpjsY6Ng +HpJh4.O7hqiKKL88hrB2rp1fUBoLc.qNLKw6pWWi5L,B +R5ur 1jd +RLrrS1O5 diff --git a/research/om-bench/bench/pubtasks/train/caesar.v2/05.in b/research/om-bench/bench/pubtasks/train/caesar.v2/05.in new file mode 100644 index 000000000..9af5cbe86 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v2/05.in @@ -0,0 +1,10 @@ +G0aN3seR0NOSogVgQ4. v,8rKnP64FdvZNl,N2ewy0c33vpGFqxqvVbFgedM5IPIpNj2wa4bJ9 +dMlim5vjmPoD.wmx4Ks HNm7kgBlEKly31TLH19da8MU0i5piOv1mmqmGi5F8yEpX +qEqRUW QGyttrO7WPXLhpHAiFD4Ykq1GPVLIpgbTDP xMmH5r2u9cf7eK,BbsIU7 +z +GI +oIqQplznXOLJn5WBGCC5ImM631hRUQ7nhacM +Wc 7BXs0QJgjx0O dv Vutq2o3KCMUHLNzbARhJ,Dumrz4P0,D28pxq2M +PnjaLBD55LYg8km3bCmMZ8Yj6zcfURfhf1EC6w K +o.Uy leM8dJSxio3sjltr +QGMf9G4R2mTR00962vc4,VyGfRiMhHWOKQz3Ro8DhvSyOUv he69cE8.oteW.jFKegUMwm diff --git a/research/om-bench/bench/pubtasks/train/caesar.v2/05.out b/research/om-bench/bench/pubtasks/train/caesar.v2/05.out new file mode 100644 index 000000000..40b7bbf9a --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v2/05.out @@ -0,0 +1,10 @@ +J0dQ3vhU0QRVrjYjT4. y,8uNqS64IgyCQo,Q2hzb0f33ysJItatyYeIjhgP5LSLsQm2zd4eM9 +gPolp5ympSrG.zpa4Nv KQp7njEoHNob31WOK19gd8PX0l5slRy1pptpJl5I8bHsA +tHtUXZ TJbwwuR7ZSAOksKDlIG4Bnt1JSYOLsjeWGS aPpK5u2x9fi7hN,EevLX7 +c +JL +rLtTsocqAROMq5ZEJFF5LpP631kUXT7qkdfP +Zf 7EAv0TMjma0R gy Yxwt2r3NFPXKOQceDUkM,Gxpuc4S0,G28sat2P +SqmdOEG55OBj8np3eFpPC8Bm6cfiXUiki1HF6z N +r.Xb ohP8gMValr3vmowu +TJPi9J4U2pWU00962yf4,YbJiUlPkKZRNTc3Ur8GkyVbRXy kh69fH8.rwhZ.mINhjXPzp diff --git a/research/om-bench/bench/pubtasks/train/caesar.v2/06.in b/research/om-bench/bench/pubtasks/train/caesar.v2/06.in new file mode 100644 index 000000000..4bd9227b7 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v2/06.in @@ -0,0 +1,2 @@ +LaBtaUiYpWT ZQd5ENEO5XDfQ +s.2 diff --git a/research/om-bench/bench/pubtasks/train/caesar.v2/06.out b/research/om-bench/bench/pubtasks/train/caesar.v2/06.out new file mode 100644 index 000000000..f3b3384e1 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v2/06.out @@ -0,0 +1,2 @@ +OdEwdXlBsZW CTg5HQHR5AGiT +v.2 diff --git a/research/om-bench/bench/pubtasks/train/caesar.v2/07.in b/research/om-bench/bench/pubtasks/train/caesar.v2/07.in new file mode 100644 index 000000000..4899373cc --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v2/07.in @@ -0,0 +1 @@ +sx8fqqiKbXAKzzk7wHUe.A0ti1Gt52Aos4UnSDkDVo5aBIinWzV5W5A diff --git a/research/om-bench/bench/pubtasks/train/caesar.v2/07.out b/research/om-bench/bench/pubtasks/train/caesar.v2/07.out new file mode 100644 index 000000000..7c8b9802d --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v2/07.out @@ -0,0 +1 @@ +va8ittlNeADNccn7zKXh.D0wl1Jw52Drv4XqVGnGYr5dELlqZcY5Z5D diff --git a/research/om-bench/bench/pubtasks/train/caesar.v2/08.in b/research/om-bench/bench/pubtasks/train/caesar.v2/08.in new file mode 100644 index 000000000..5f6b045b8 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v2/08.in @@ -0,0 +1,7 @@ +qx2,VZki4bJFtPyz22hF Kknl1Ep12f,ysVpLEk3po +SYYRhOwhRpR8CCATp,Lo6eePzqWor4919fnd8O5AmlBWJXbZ,O +OPobcmoh5mzpvFr 2M4,RQLmvgWWXNb9vRj2oY0Gg56pgCY c3Em1QArqHSGzU3ugXA7do1xmdKI +bEWuVrnINw8A5Tu7Wy81InUZe.JEf5PY Mw8F5oCzne2tcZcBGAKtY7iY8 iWN2WRdEnsHvNwr +cOooj7,PnHRxpiBhvg5GVve3AwQkMKavcb2YgPqC7t3Yu4 +hOPzMgtkAD7PWHJVgI.NSsFQ +39GNywJLoZg21ASNgv22WjuLPFmnyXfluM5 diff --git a/research/om-bench/bench/pubtasks/train/caesar.v2/08.out b/research/om-bench/bench/pubtasks/train/caesar.v2/08.out new file mode 100644 index 000000000..bc9ce26ca --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v2/08.out @@ -0,0 +1,7 @@ +ta2,YCnl4eMIwSbc22kI Nnqo1Hs12i,bvYsOHn3sr +VBBUkRzkUsU8FFDWs,Or6hhSctZru4919iqg8R5DpoEZMAeC,R +RSrefprk5pcsyIu 2P4,UTOpyjZZAQe9yUm2rB0Jj56sjFB f3Hp1TDutKVJcX3xjAD7gr1apgNL +eHZxYuqLQz8D5Wx7Zb81LqXCh.MHi5SB Pz8I5rFcqh2wfCfEJDNwB7lB8 lZQ2ZUgHqvKyQzu +fRrrm7,SqKUaslEkyj5JYyh3DzTnPNdyfe2BjStF7w3Bx4 +kRScPjwnDG7SZKMYjL.QVvIT +39JQbzMOrCj21DVQjy22ZmxOSIpqbAioxP5 diff --git a/research/om-bench/bench/pubtasks/train/caesar.v2/09.in b/research/om-bench/bench/pubtasks/train/caesar.v2/09.in new file mode 100644 index 000000000..047138d0d --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v2/09.in @@ -0,0 +1,8 @@ +B7bAg4QH,c +xECgkwnvZjHPJmM 8qm +qXgfVsXbmQ3ulcGU2M9wyfCAwMd0bbU0cy98K6COoof6Ag3,YPD +5xs4b3O3gbAj3b5B1v7cJ79bv,iIJhGvt7 +KIkCgr1oxufdYBgi 22aAdKaKgHHsvFuB +hdR,Jgp9Oqu4aebC63UbLhMeFlHlLyTvjahiUhOx5IoJ +O.6GEA6UTfwxr1KQdPxipAB +yDtTzAwkqztJTMxnZZNvEe05gEJtFXfg5 diff --git a/research/om-bench/bench/pubtasks/train/caesar.v2/09.out b/research/om-bench/bench/pubtasks/train/caesar.v2/09.out new file mode 100644 index 000000000..ab4cbf871 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v2/09.out @@ -0,0 +1,8 @@ +E7eDj4TK,f +aHFjnzqyCmKSMpP 8tp +tAjiYvAepT3xofJX2P9zbiFDzPg0eeX0fb98N6FRrri6Dj3,BSG +5av4e3R3jeDm3e5E1y7fM79ey,lLMkJyw7 +NLnFju1raxigBEjl 22dDgNdNjKKvyIxE +kgU,Mjs9Rtx4dheF63XeOkPhIoKoObWymdklXkRa5LrM +R.6JHD6XWizau1NTgSalsDE +bGwWcDzntcwMWPaqCCQyHh05jHMwIAij5 diff --git a/research/om-bench/bench/pubtasks/train/caesar.v2/meta.json b/research/om-bench/bench/pubtasks/train/caesar.v2/meta.json new file mode 100644 index 000000000..7d4e03101 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v2/meta.json @@ -0,0 +1,57 @@ +{ + "cases": [ + { + "exit": 0, + "n": 0, + "visible": true + }, + { + "exit": 0, + "n": 1, + "visible": true + }, + { + "exit": 0, + "n": 2, + "visible": false + }, + { + "exit": 0, + "n": 3, + "visible": false + }, + { + "exit": 0, + "n": 4, + "visible": false + }, + { + "exit": 0, + "n": 5, + "visible": false + }, + { + "exit": 0, + "n": 6, + "visible": false + }, + { + "exit": 0, + "n": 7, + "visible": false + }, + { + "exit": 0, + "n": 8, + "visible": false + }, + { + "exit": 0, + "n": 9, + "visible": false + } + ], + "family": "caesar", + "split": "train", + "tid": "caesar.v2" +} diff --git a/research/om-bench/bench/pubtasks/train/caesar.v2/statement.txt b/research/om-bench/bench/pubtasks/train/caesar.v2/statement.txt new file mode 100644 index 000000000..2dd3d5d06 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v2/statement.txt @@ -0,0 +1 @@ +Copy the input to the output, replacing every ASCII letter by the letter 3 places later in the alphabet, wrapping from z to a and from Z to A and keeping its case. All other bytes, including newlines, are copied unchanged. diff --git a/research/om-bench/bench/pubtasks/train/caesar.v3/00.in b/research/om-bench/bench/pubtasks/train/caesar.v3/00.in new file mode 100644 index 000000000..3fa0d4b98 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v3/00.in @@ -0,0 +1 @@ +Hello, World diff --git a/research/om-bench/bench/pubtasks/train/caesar.v3/00.out b/research/om-bench/bench/pubtasks/train/caesar.v3/00.out new file mode 100644 index 000000000..ce174d9ec --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v3/00.out @@ -0,0 +1 @@ +Uryyb, Jbeyq diff --git a/research/om-bench/bench/pubtasks/train/caesar.v3/01.in b/research/om-bench/bench/pubtasks/train/caesar.v3/01.in new file mode 100644 index 000000000..ffbadf17c --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v3/01.in @@ -0,0 +1 @@ +xyz XYZ diff --git a/research/om-bench/bench/pubtasks/train/caesar.v3/01.out b/research/om-bench/bench/pubtasks/train/caesar.v3/01.out new file mode 100644 index 000000000..fd8a4f8f4 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v3/01.out @@ -0,0 +1 @@ +klm KLM diff --git a/research/om-bench/bench/pubtasks/train/caesar.v3/02.in b/research/om-bench/bench/pubtasks/train/caesar.v3/02.in new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v3/02.in @@ -0,0 +1 @@ + diff --git a/research/om-bench/bench/pubtasks/train/caesar.v3/02.out b/research/om-bench/bench/pubtasks/train/caesar.v3/02.out new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v3/02.out @@ -0,0 +1 @@ + diff --git a/research/om-bench/bench/pubtasks/train/caesar.v3/03.in b/research/om-bench/bench/pubtasks/train/caesar.v3/03.in new file mode 100644 index 000000000..3e00fefb2 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v3/03.in @@ -0,0 +1 @@ +zZ diff --git a/research/om-bench/bench/pubtasks/train/caesar.v3/03.out b/research/om-bench/bench/pubtasks/train/caesar.v3/03.out new file mode 100644 index 000000000..4b4294d8a --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v3/03.out @@ -0,0 +1 @@ +mM diff --git a/research/om-bench/bench/pubtasks/train/caesar.v3/04.in b/research/om-bench/bench/pubtasks/train/caesar.v3/04.in new file mode 100644 index 000000000..29d293f7c --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v3/04.in @@ -0,0 +1,10 @@ +mb.h8xQkCzGzn0.zbFgxGKwl fYUS2J89B ZaaOaRJ.hVaU8qLfPyWH + i36CNblBXmnmbmIHxZxvr5,cmc9beMQHsQMGl9KbErWgkkgwVuUm6,u8aqDC4CyI70e +9y20EzX8Mg26ntc4UmbtRR9njk4pZmJAgz0eLrZhJzmiXKhxJ +pC3t1L6.BqcoSngghUeECrb +dCewefeX9oZjf7lutTz1uszXsYsFVaCQ8lNohp3K4i,Zg4WLwf +w0eDDz7LJozErWh0poApd3dp +nyG1rMmnsm5t.9D940.FHHTUKomtwLgp + k5H3BSuEogoG3ugQxGvvJ0HE71Wj3Aj7G,RkWX7K544L,7KkMno3OdZ25cmFl9v,CB4OwReP +k, vfMxIfYYnNY8HZP9iLV9nyGmOuLIW534hwFwsWEWE9CChQ6ixrY.5jih +0SgD0j3EMyhzyMwZZm5umDoorRrvgUwiJ1.VjA8aRL xsGb7yj3KsN,Ebk,fltbTVzC7hl9NsrqHu0Y diff --git a/research/om-bench/bench/pubtasks/train/caesar.v3/04.out b/research/om-bench/bench/pubtasks/train/caesar.v3/04.out new file mode 100644 index 000000000..520aa08bc --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v3/04.out @@ -0,0 +1,10 @@ +zo.u8kDxPmTma0.moStkTXjy sLHF2W89O MnnBnEW.uInH8dYsClJU + v36PAoyOKzazozVUkMkie5,pzp9orZDUfDZTy9XoReJtxxtjIhHz6,h8ndQP4PlV70r +9l20RmK8Zt26agp4HzogEE9awx4cMzWNtm0rYeMuWmzvKXukW +cP3g1Y6.OdpbFattuHrRPeo +qPrjrsrK9bMws7yhgGm1hfmKfLfSInPD8yAbuc3X4v,Mt4JYjs +j0rQQm7YWbmReJu0cbNcq3qc +alT1eZzafz5g.9Q940.SUUGHXbzgjYtc + x5U3OFhRbtbT3htDkTiiW0UR71Jw3Nw7T,ExJK7X544Y,7XxZab3BqM25pzSy9i,PO4BjErC +x, isZkVsLLaAL8UMC9vYI9alTzBhYVJ534ujSjfJRJR9PPuD6vkeL.5wvu +0FtQ0w3RZlumlZjMMz5hzQbbeEeitHjvW1.IwN8nEY kfTo7lw3XfA,Rox,sygoGImP7uy9AfedUh0L diff --git a/research/om-bench/bench/pubtasks/train/caesar.v3/05.in b/research/om-bench/bench/pubtasks/train/caesar.v3/05.in new file mode 100644 index 000000000..a63e05def --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v3/05.in @@ -0,0 +1,10 @@ +EE2.1T2IXceOXqfZWWIdhNX6k3Oh4hbl8hQjP7jmIfd.TkVL8SHmPNkmjRiLNPZOX,c +t18X7Gqyww.1OBKmz3b83Po.orL1,ZTwQPEyyrL0N1ZLshMPHdoV5IHXN +DOCm4gFC,1sCOnWcTG6dGakYkuMxl6id8wgSD9wavYm1JAPc3dHPKtfX1jbB,rI8INaJu +.QtoT37npAxuS +vFbJJZu,YKjJae0E69ZzYk 8CLIg,kAuuHmVBERzs +,KsUq3R68bhsq +,ZW J0fGFpRLmD4ufiyXVtRFbR5uQVISBSl +YY3TF1gXtd97Qa +nMVTUB4QGUlP1ON.uvCu ec47OBEc9LnXXR76Tlv3FTLsyerzcqPs23BZNQd6sqgjo +giqMIsLOHraAKmZ5aZvxD diff --git a/research/om-bench/bench/pubtasks/train/caesar.v3/05.out b/research/om-bench/bench/pubtasks/train/caesar.v3/05.out new file mode 100644 index 000000000..cb7b614b1 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v3/05.out @@ -0,0 +1,10 @@ +RR2.1G2VKprBKdsMJJVquAK6x3Bu4uoy8uDwC7wzVsq.GxIY8FUzCAxzwEvYACMBK,p +g18K7Tdljj.1BOXzm3o83Cb.beY1,MGjDCRlleY0A1MYfuZCUqbI5VUKA +QBPz4tSP,1fPBaJpGT6qTnxLxhZky6vq8jtFQ9jniLz1WNCp3qUCXgsK1woO,eV8VAnWh +.DgbG37acNkhF +iSoWWMh,LXwWnr0R69MmLx 8PYVt,xNhhUzIOREmf +,XfHd3E68oufd +,MJ W0sTScEYzQ4hsvlKIgESoE5hDIVFOFy +LL3GS1tKgq97Dn +aZIGHO4DTHyC1BA.hiPh rp47BORp9YaKKE76Gyi3SGYflrempdCf23OMADq6fdtwb +tvdZVfYBUenNXzM5nMikQ diff --git a/research/om-bench/bench/pubtasks/train/caesar.v3/06.in b/research/om-bench/bench/pubtasks/train/caesar.v3/06.in new file mode 100644 index 000000000..79f61f915 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v3/06.in @@ -0,0 +1,5 @@ +1dU7p5lxJYTchslItCz7ITOL2yTcMzsjujInGD4qxHPZ3 AjgVU8hh6E8ZLCdizTkgCc2f +fD0ci3jt2PDgsP5uP5A3ZUObl0C5I6O.z JRtifwzp +BJTJveEU2fWEi7PJdXy3pssoNoJH0sEvps85G,9JuPFEeHwUYSUn, U91rfWH,j0nH 2F +tzqqXpqh0xFoSv +Xkf diff --git a/research/om-bench/bench/pubtasks/train/caesar.v3/06.out b/research/om-bench/bench/pubtasks/train/caesar.v3/06.out new file mode 100644 index 000000000..af7ed0c8d --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v3/06.out @@ -0,0 +1,5 @@ +1qH7c5ykWLGpufyVgPm7VGBY2lGpZmfwhwVaTQ4dkUCM3 NwtIH8uu6R8MYPqvmGxtPp2s +sQ0pv3wg2CQtfC5hC5N3MHBoy0P5V6B.m WEgvsjmc +OWGWirRH2sJRv7CWqKl3cffbAbWU0fRicf85T,9WhCSRrUjHLFHa, H91esJU,w0aU 2S +gmddKcdu0kSbFi +Kxs diff --git a/research/om-bench/bench/pubtasks/train/caesar.v3/07.in b/research/om-bench/bench/pubtasks/train/caesar.v3/07.in new file mode 100644 index 000000000..af629d3ea --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v3/07.in @@ -0,0 +1,3 @@ +d stcX5LfF4uhyTl +Dw1YDjpsf0J0YSd90XpLNgM +lJxi0grPP33bfWkm7E8RCWZ4YdRxuZeSkcJt0OzmD diff --git a/research/om-bench/bench/pubtasks/train/caesar.v3/07.out b/research/om-bench/bench/pubtasks/train/caesar.v3/07.out new file mode 100644 index 000000000..6009c1ea2 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v3/07.out @@ -0,0 +1,3 @@ +q fgpK5YsS4hulGy +Qj1LQwcfs0W0LFq90KcYAtZ +yWkv0teCC33osJxz7R8EPJM4LqEkhMrFxpWg0BmzQ diff --git a/research/om-bench/bench/pubtasks/train/caesar.v3/08.in b/research/om-bench/bench/pubtasks/train/caesar.v3/08.in new file mode 100644 index 000000000..3a6af9d5b --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v3/08.in @@ -0,0 +1,4 @@ +UNb.2cziW4UDhgQ,ymDjjXgmtHQcjUhnZwfMYPSnWUOAGSMrMUxig7C1mjx +iGRIjUoyjq913,.oB16bM6sjoVizuxZgorvxlpThLtTCwEs3ic.lNQxzClwiF,15CAG0qdxJE +Xwp6EJRE +jEqOLwlpGYlMVN,S9BKlET1DmCVk diff --git a/research/om-bench/bench/pubtasks/train/caesar.v3/08.out b/research/om-bench/bench/pubtasks/train/caesar.v3/08.out new file mode 100644 index 000000000..f03b1d93b --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v3/08.out @@ -0,0 +1,4 @@ +HAo.2pmvJ4HQutD,lzQwwKtzgUDpwHuaMjsZLCFaJHBNTFZeZHkvt7P1zwk +vTEVwHblwd913,.bO16oZ6fwbIvmhkMtbeikycGuYgGPjRf3vp.yADkmPyjvS,15PNT0dqkWR +Kjc6RWER +wRdBYjycTLyZIA,F9OXyRG1QzPIx diff --git a/research/om-bench/bench/pubtasks/train/caesar.v3/09.in b/research/om-bench/bench/pubtasks/train/caesar.v3/09.in new file mode 100644 index 000000000..938053a1e --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v3/09.in @@ -0,0 +1,5 @@ +dg +DVKq +3U,S 0VyfOleicDNlZsqrg4C0LDipV3VItALUfkBrQ,WrZg.ZSJb2Do5 IBhdGp68T0Ag 8YZ +zbHcWPi.yOBJQhpB0jdlsW +3lmGUYrx6UvbwrgsNtnKS1LN1ZX diff --git a/research/om-bench/bench/pubtasks/train/caesar.v3/09.out b/research/om-bench/bench/pubtasks/train/caesar.v3/09.out new file mode 100644 index 000000000..dd047fb63 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v3/09.out @@ -0,0 +1,5 @@ +qt +QIXd +3H,F 0IlsByrvpQAyMfdet4P0YQvcI3IVgNYHsxOeD,JeMt.MFWo2Qb5 VOuqTc68G0Nt 8LM +moUpJCv.lBOWDucO0wqyfJ +3yzTHLek6HiojetfAgaXF1YA1MK diff --git a/research/om-bench/bench/pubtasks/train/caesar.v3/meta.json b/research/om-bench/bench/pubtasks/train/caesar.v3/meta.json new file mode 100644 index 000000000..2a5c53f65 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v3/meta.json @@ -0,0 +1,57 @@ +{ + "cases": [ + { + "exit": 0, + "n": 0, + "visible": true + }, + { + "exit": 0, + "n": 1, + "visible": true + }, + { + "exit": 0, + "n": 2, + "visible": false + }, + { + "exit": 0, + "n": 3, + "visible": false + }, + { + "exit": 0, + "n": 4, + "visible": false + }, + { + "exit": 0, + "n": 5, + "visible": false + }, + { + "exit": 0, + "n": 6, + "visible": false + }, + { + "exit": 0, + "n": 7, + "visible": false + }, + { + "exit": 0, + "n": 8, + "visible": false + }, + { + "exit": 0, + "n": 9, + "visible": false + } + ], + "family": "caesar", + "split": "train", + "tid": "caesar.v3" +} diff --git a/research/om-bench/bench/pubtasks/train/caesar.v3/statement.txt b/research/om-bench/bench/pubtasks/train/caesar.v3/statement.txt new file mode 100644 index 000000000..f03275625 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v3/statement.txt @@ -0,0 +1 @@ +Copy the input to the output, replacing every ASCII letter by the letter 13 places later in the alphabet, wrapping from z to a and from Z to A and keeping its case. All other bytes, including newlines, are copied unchanged. diff --git a/research/om-bench/bench/pubtasks/train/caesar.v4/00.in b/research/om-bench/bench/pubtasks/train/caesar.v4/00.in new file mode 100644 index 000000000..3fa0d4b98 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v4/00.in @@ -0,0 +1 @@ +Hello, World diff --git a/research/om-bench/bench/pubtasks/train/caesar.v4/00.out b/research/om-bench/bench/pubtasks/train/caesar.v4/00.out new file mode 100644 index 000000000..ef0db0c1e --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v4/00.out @@ -0,0 +1 @@ +Gdkkn, Vnqkc diff --git a/research/om-bench/bench/pubtasks/train/caesar.v4/01.in b/research/om-bench/bench/pubtasks/train/caesar.v4/01.in new file mode 100644 index 000000000..ffbadf17c --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v4/01.in @@ -0,0 +1 @@ +xyz XYZ diff --git a/research/om-bench/bench/pubtasks/train/caesar.v4/01.out b/research/om-bench/bench/pubtasks/train/caesar.v4/01.out new file mode 100644 index 000000000..f73eb8abc --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v4/01.out @@ -0,0 +1 @@ +wxy WXY diff --git a/research/om-bench/bench/pubtasks/train/caesar.v4/02.in b/research/om-bench/bench/pubtasks/train/caesar.v4/02.in new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v4/02.in @@ -0,0 +1 @@ + diff --git a/research/om-bench/bench/pubtasks/train/caesar.v4/02.out b/research/om-bench/bench/pubtasks/train/caesar.v4/02.out new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v4/02.out @@ -0,0 +1 @@ + diff --git a/research/om-bench/bench/pubtasks/train/caesar.v4/03.in b/research/om-bench/bench/pubtasks/train/caesar.v4/03.in new file mode 100644 index 000000000..3e00fefb2 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v4/03.in @@ -0,0 +1 @@ +zZ diff --git a/research/om-bench/bench/pubtasks/train/caesar.v4/03.out b/research/om-bench/bench/pubtasks/train/caesar.v4/03.out new file mode 100644 index 000000000..c244ebca2 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v4/03.out @@ -0,0 +1 @@ +yY diff --git a/research/om-bench/bench/pubtasks/train/caesar.v4/04.in b/research/om-bench/bench/pubtasks/train/caesar.v4/04.in new file mode 100644 index 000000000..c577ae153 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v4/04.in @@ -0,0 +1,5 @@ +SLEFkQC5h5vOHJk HG.afO6 aAnsM5ySIVMRl Bzv1 kHVuxXg5acwfWMEc2 +ViQn,ESrJpIYvPY26vC0SbBstXdIQge5IFDh g1DO +G +2GcRjqu.lQVktl1R,gEY3mXtukqaw0PGyD.zLb3vNfAySY0sxfEb5Wl3v3g1a9 +XampDTQ7FaUdo5.z diff --git a/research/om-bench/bench/pubtasks/train/caesar.v4/04.out b/research/om-bench/bench/pubtasks/train/caesar.v4/04.out new file mode 100644 index 000000000..bf65e5b3e --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v4/04.out @@ -0,0 +1,5 @@ +RKDEjPB5g5uNGIj GF.zeN6 zZmrL5xRHULQk Ayu1 jGUtwWf5zbveVLDb2 +UhPm,DRqIoHXuOX26uB0RaArsWcHPfd5HECg f1CN +F +2FbQipt.kPUjsk1Q,fDX3lWstjpzv0OFxC.yKa3uMeZxRX0rweDa5Vk3u3f1z9 +WzloCSP7EzTcn5.y diff --git a/research/om-bench/bench/pubtasks/train/caesar.v4/05.in b/research/om-bench/bench/pubtasks/train/caesar.v4/05.in new file mode 100644 index 000000000..2626fdf78 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v4/05.in @@ -0,0 +1,7 @@ +Hk,eved5URm69EMVPy6Hz4Os5jlw,zSGRaf.X8P.l,EQbkfmAWIVH0fqHYHpp +3SmnZzvFxXxb0WngSIlc9muqCzg +bFvH.,,K0GcYnYwt rx0H3e4t4gowqGC0XdYy,q.LpTtzD4CBBgPVvsSwW +zm,DRKcrpXfNceuipr3Sn6.Xsp5AznI6ZFDmY0BuW,we2fWj4a0teomr.MUlbd +VFgs46iHr82njFsbNuu.Z2h3A48q6JYqZiK +5q0p7ef2besBYl5wLz.MEd021vVCIJV0HIwnMCJdxPqsnpbPd4hK4U8cX7lP1WR7 +qmJ648SdMGxhvMKtnadxfnilx diff --git a/research/om-bench/bench/pubtasks/train/caesar.v4/05.out b/research/om-bench/bench/pubtasks/train/caesar.v4/05.out new file mode 100644 index 000000000..da47c286e --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v4/05.out @@ -0,0 +1,7 @@ +Gj,dudc5TQl69DLUOx6Gy4Nr5ikv,yRFQze.W8O.k,DPajelZVHUG0epGXGoo +3RlmYyuEwWwa0VmfRHkb9ltpByf +aEuG.,,J0FbXmXvs qw0G3d4s4fnvpFB0WcXx,p.KoSsyC4BAAfOUurRvV +yl,CQJbqoWeMbdthoq3Rm6.Wro5ZymH6YEClX0AtV,vd2eVi4z0sdnlq.LTkac +UEfr46hGq82miEraMtt.Y2g3Z48p6IXpYhJ +5p0o7de2adrAXk5vKy.LDc021uUBHIU0GHvmLBIcwOprmoaOc4gJ4T8bW7kO1VQ7 +plI648RcLFwguLJsmzcwemhkw diff --git a/research/om-bench/bench/pubtasks/train/caesar.v4/06.in b/research/om-bench/bench/pubtasks/train/caesar.v4/06.in new file mode 100644 index 000000000..5a924ca0b --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v4/06.in @@ -0,0 +1,6 @@ +vMbcRMPvqYwvYCdGSWwyF8B54 jsVcNpGHqAQM244J2dgjx60pahG3UdqP8ykY5ANSWQ +A3cpEA.BPHr0Nbib lHFlaGAlUNv.Ue,O6xkcJVMQ0Zqx9dfW0oyZSWLRiA5McQFZOojpcYL62t +inPS4SFRbS20BD0KFVA,Hp9a7OBGFLJZnB8THhvJ +HxKuWd3RD NSE2VQX2pb +,9skIUBfGJEFQ9gJB0iGz0.1ja0lrGktMCSpKyab4 +xo4ALJNa.fJ1 diff --git a/research/om-bench/bench/pubtasks/train/caesar.v4/06.out b/research/om-bench/bench/pubtasks/train/caesar.v4/06.out new file mode 100644 index 000000000..63e283698 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v4/06.out @@ -0,0 +1,6 @@ +uLabQLOupXvuXBcFRVvxE8A54 irUbMoFGpZPL244I2cfiw60ozgF3TcpO8xjX5ZMRVP +Z3boDZ.AOGq0Maha kGEkzFZkTMu.Td,N6wjbIULP0Ypw9ceV0nxYRVKQhZ5LbPEYNniobXK62s +hmOR4REQaR20AC0JEUZ,Go9z7NAFEKIYmA8SGguI +GwJtVc3QC MRD2UPW2oa +,9rjHTAeFIDEP9fIA0hFy0.1iz0kqFjsLBRoJxza4 +wn4ZKIMz.eI1 diff --git a/research/om-bench/bench/pubtasks/train/caesar.v4/07.in b/research/om-bench/bench/pubtasks/train/caesar.v4/07.in new file mode 100644 index 000000000..d6312b0b0 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v4/07.in @@ -0,0 +1,2 @@ +hwJuEVq1.cCldsV,mBnr5DTNxfBsGFPGPb +4WUhBGvIfW4PfkS1zSSC2c2BFjV5emIaFwEu.pC7jYIHs2RuPTt4oriBR diff --git a/research/om-bench/bench/pubtasks/train/caesar.v4/07.out b/research/om-bench/bench/pubtasks/train/caesar.v4/07.out new file mode 100644 index 000000000..3a1f23114 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v4/07.out @@ -0,0 +1,2 @@ +gvItDUp1.bBkcrU,lAmq5CSMweArFEOFOa +4VTgAFuHeV4OejR1yRRB2b2AEiU5dlHzEvDt.oB7iXHGr2QtOSs4nqhAQ diff --git a/research/om-bench/bench/pubtasks/train/caesar.v4/08.in b/research/om-bench/bench/pubtasks/train/caesar.v4/08.in new file mode 100644 index 000000000..1a378f39a --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v4/08.in @@ -0,0 +1,4 @@ +xs7KG,aOa +HUvc6Z,d9swqQhuxHzNjcP e +ilVt tJg671MaTf,UFVW55B39focbsmOadZQf4SjJzW1isggp2fnmfyz1JV,wNhHv9 +hmaakR32goS2VFtveUkwKchayK 3BMztjPvM11LauR9n,KB f7xPtGF diff --git a/research/om-bench/bench/pubtasks/train/caesar.v4/08.out b/research/om-bench/bench/pubtasks/train/caesar.v4/08.out new file mode 100644 index 000000000..b5affd3f2 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v4/08.out @@ -0,0 +1,4 @@ +wr7JF,zNz +GTub6Y,c9rvpPgtwGyMibO d +hkUs sIf671LzSe,TEUV55A39enbarlNzcYPe4RiIyV1hrffo2emlexy1IU,vMgGu9 +glzzjQ32fnR2UEsudTjvJbgzxJ 3ALysiOuL11KztQ9m,JA e7wOsFE diff --git a/research/om-bench/bench/pubtasks/train/caesar.v4/09.in b/research/om-bench/bench/pubtasks/train/caesar.v4/09.in new file mode 100644 index 000000000..069bb521a --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v4/09.in @@ -0,0 +1 @@ +0BVfMi89ZiMtTaV 9hw6.4,xbx3RKUDEY043xC5xia7iWxhNGxPFxJ1vxZhPKq1 diff --git a/research/om-bench/bench/pubtasks/train/caesar.v4/09.out b/research/om-bench/bench/pubtasks/train/caesar.v4/09.out new file mode 100644 index 000000000..279ee035f --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v4/09.out @@ -0,0 +1 @@ +0AUeLh89YhLsSzU 9gv6.4,waw3QJTCDX043wB5whz7hVwgMFwOEwI1uwYgOJp1 diff --git a/research/om-bench/bench/pubtasks/train/caesar.v4/meta.json b/research/om-bench/bench/pubtasks/train/caesar.v4/meta.json new file mode 100644 index 000000000..fffc3a3aa --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v4/meta.json @@ -0,0 +1,57 @@ +{ + "cases": [ + { + "exit": 0, + "n": 0, + "visible": true + }, + { + "exit": 0, + "n": 1, + "visible": true + }, + { + "exit": 0, + "n": 2, + "visible": false + }, + { + "exit": 0, + "n": 3, + "visible": false + }, + { + "exit": 0, + "n": 4, + "visible": false + }, + { + "exit": 0, + "n": 5, + "visible": false + }, + { + "exit": 0, + "n": 6, + "visible": false + }, + { + "exit": 0, + "n": 7, + "visible": false + }, + { + "exit": 0, + "n": 8, + "visible": false + }, + { + "exit": 0, + "n": 9, + "visible": false + } + ], + "family": "caesar", + "split": "train", + "tid": "caesar.v4" +} diff --git a/research/om-bench/bench/pubtasks/train/caesar.v4/statement.txt b/research/om-bench/bench/pubtasks/train/caesar.v4/statement.txt new file mode 100644 index 000000000..baad58a0d --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/caesar.v4/statement.txt @@ -0,0 +1 @@ +Copy the input to the output, replacing every ASCII letter by the letter 25 places later in the alphabet, wrapping from z to a and from Z to A and keeping its case. All other bytes, including newlines, are copied unchanged. diff --git a/research/om-bench/bench/pubtasks/train/countb.v1/00.in b/research/om-bench/bench/pubtasks/train/countb.v1/00.in new file mode 100644 index 000000000..637a09b86 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v1/00.in @@ -0,0 +1 @@ +banana diff --git a/research/om-bench/bench/pubtasks/train/countb.v1/00.out b/research/om-bench/bench/pubtasks/train/countb.v1/00.out new file mode 100644 index 000000000..00750edc0 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v1/00.out @@ -0,0 +1 @@ +3 diff --git a/research/om-bench/bench/pubtasks/train/countb.v1/01.in b/research/om-bench/bench/pubtasks/train/countb.v1/01.in new file mode 100644 index 000000000..cd470e619 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v1/01.in @@ -0,0 +1 @@ +xyz diff --git a/research/om-bench/bench/pubtasks/train/countb.v1/01.out b/research/om-bench/bench/pubtasks/train/countb.v1/01.out new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v1/01.out @@ -0,0 +1 @@ +0 diff --git a/research/om-bench/bench/pubtasks/train/countb.v1/02.in b/research/om-bench/bench/pubtasks/train/countb.v1/02.in new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v1/02.in @@ -0,0 +1 @@ + diff --git a/research/om-bench/bench/pubtasks/train/countb.v1/02.out b/research/om-bench/bench/pubtasks/train/countb.v1/02.out new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v1/02.out @@ -0,0 +1 @@ +0 diff --git a/research/om-bench/bench/pubtasks/train/countb.v1/03.in b/research/om-bench/bench/pubtasks/train/countb.v1/03.in new file mode 100644 index 000000000..5cfafaa19 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v1/03.in @@ -0,0 +1,1000 @@ +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a +a diff --git a/research/om-bench/bench/pubtasks/train/countb.v1/03.out b/research/om-bench/bench/pubtasks/train/countb.v1/03.out new file mode 100644 index 000000000..83b33d238 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v1/03.out @@ -0,0 +1 @@ +1000 diff --git a/research/om-bench/bench/pubtasks/train/countb.v1/04.in b/research/om-bench/bench/pubtasks/train/countb.v1/04.in new file mode 100644 index 000000000..0cb62ffac --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v1/04.in @@ -0,0 +1,14 @@ +0b931ax +b2ca 91362ABb886c + b2A7ayaz7954aaa2B766czy7a302yB7cBAb yzc62c yz4xa4c826x1B6 +A674 x0c 3z5 +505Bzb34b59933980a42Ax89 x6 b26 9BB6ac7 +50a642c54416xz8B86y1xb771yz470z6c5yaBcy +027y0952A576x392b267x3z6cz898cy1B45A2b2bA96yx651 zzbby8 +bb3 +23y3c2y 6c29838z9333397AxxabzaA91xz7zcb9 bc8yb73yxB8256xB +8945b Aa11924x863Ay04xA745xcB16zB56c65y821353763307B08549y b + 8849yzbyzax6233x6B43 +32cA9zb9cB7aa0y A7 5987b2x4179zb +za ayAy 19az37y xxc94by2c8 5a6521 +a36aA08a037ba6x49xa3y5a91c5Bya3y95b7B60B2 3cB diff --git a/research/om-bench/bench/pubtasks/train/countb.v1/04.out b/research/om-bench/bench/pubtasks/train/countb.v1/04.out new file mode 100644 index 000000000..64bb6b746 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v1/04.out @@ -0,0 +1 @@ +30 diff --git a/research/om-bench/bench/pubtasks/train/countb.v1/05.in b/research/om-bench/bench/pubtasks/train/countb.v1/05.in new file mode 100644 index 000000000..8fba01dc1 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v1/05.in @@ -0,0 +1,6 @@ +B2y7ax7 bcybc +B c0 BxA5x9z957b2a77ay1z65 b2x +9Bbyxx95bA0z7yBxAb +4c3z120481z6y79 +xac1A2736y4BAy0085A3z +2c1y3Ba5c16z4 4ab61a737x 82xb1A diff --git a/research/om-bench/bench/pubtasks/train/countb.v1/05.out b/research/om-bench/bench/pubtasks/train/countb.v1/05.out new file mode 100644 index 000000000..7f8f011eb --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v1/05.out @@ -0,0 +1 @@ +7 diff --git a/research/om-bench/bench/pubtasks/train/countb.v1/06.in b/research/om-bench/bench/pubtasks/train/countb.v1/06.in new file mode 100644 index 000000000..4f1508477 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v1/06.in @@ -0,0 +1,26 @@ +A6cbx2zbz71633 B97z91 182 5cz24b1553364 +A32304BA06 +2c49 99c86bc5y9yz 96Ayaazxyzy3xA6y0xAyxc3c2 +26b7b8A8x6yb6687 +xxAz3AB6A BA49 xA37c2 2x7659x94z8ab19y15Ax +a x +b7bz 0ab8ybz4080651b1bzzba80051 9c1A6799055A6382x6x188 +4B1aa1 +aAy46791c 6a8zA5A82y6A45 zbaBx4bb1725zyyz +54b8A311541x8a2axy6bxc1453xy200A2Ax0B +bB35b0B80 +y6z79b c0A +849yy8c4a +3Ab10cy1A bB3z13c50 +347 z1b3B220b02957 y7A5B41Ax606z +8b77 za5AcAcyB1cbzBB017836c5c0 +BBb80AaBx2cAB794x19b5zB28936y4x c1679zAb48Bx6y1435A691zz26 +6A944x +682A500czyA3bz2ba6 +zaxb78947B8b B27a 9Bz74833ba8 6z44y2xz3BB94 +81aB38844A6A054796 0xA +65y6c78Baa34120b x52c0b6y6B15A51By20y +4342051y7 7yyc3a7y9x554yxz13B6zy7B89aB 9Ba08cxyc 21 +yy01x6Aa9a6 ABc +b69 5y8 z43yAx7068101210378AB7BA + z1245 diff --git a/research/om-bench/bench/pubtasks/train/countb.v1/06.out b/research/om-bench/bench/pubtasks/train/countb.v1/06.out new file mode 100644 index 000000000..9902f1784 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v1/06.out @@ -0,0 +1 @@ +28 diff --git a/research/om-bench/bench/pubtasks/train/countb.v1/07.in b/research/om-bench/bench/pubtasks/train/countb.v1/07.in new file mode 100644 index 000000000..130278f93 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v1/07.in @@ -0,0 +1,18 @@ +33738a88axb9cy8cx3z02xa9bxb0x34xy 39888c8B2 35Bz +a482b 749A0y5y448x +8b42a0 559792ay20726B4cAy66 14z3A4azz18b +xb91c2a31b31x0y +07y764bax8902A2AB +b9207A9y18cBz5c462bB487y5yA5A 4bB00c570B083767 +0y 5 +1 +cA xyc8547b azBAz09BAc3x44 +bB4ccz78Bbba92x xc2B0x0c9B8aA 95BB3B84cB5zbcx9z8cbABy02B4030 +653A14Bc365 A32c80980c7BA6B04a884b 8x05A8 +8y8Bb cba97zy0ya77a66B39bx9x + 8y19y0zyx65cA91ca5006A24cAacb7a454z9Ay7 y +aBb3z63 +z12A44c453y +8x40y 18b19zAy8946c8zy4876a177az625b3cb2Azc4y0bA3A45z9 +8b5z A53bx3A936ya +8B5 x5bab231 diff --git a/research/om-bench/bench/pubtasks/train/countb.v1/07.out b/research/om-bench/bench/pubtasks/train/countb.v1/07.out new file mode 100644 index 000000000..a45fd52cc --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v1/07.out @@ -0,0 +1 @@ +24 diff --git a/research/om-bench/bench/pubtasks/train/countb.v1/08.in b/research/om-bench/bench/pubtasks/train/countb.v1/08.in new file mode 100644 index 000000000..08ce441a5 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v1/08.in @@ -0,0 +1,8 @@ +7x7caya1yb0787986Bb199 b338721b5 0 4 +Acbcc5b64c4b6z7168aAbb6xB334 +1x992AB79 5x4x b8 +z63azc85c23bBca17 +05B 9aya0c9 6ay72402z197y7AA7 + +yc1c321 26a2 +69 by75b8 diff --git a/research/om-bench/bench/pubtasks/train/countb.v1/08.out b/research/om-bench/bench/pubtasks/train/countb.v1/08.out new file mode 100644 index 000000000..ec635144f --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v1/08.out @@ -0,0 +1 @@ +9 diff --git a/research/om-bench/bench/pubtasks/train/countb.v1/09.in b/research/om-bench/bench/pubtasks/train/countb.v1/09.in new file mode 100644 index 000000000..2ada55fbb --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v1/09.in @@ -0,0 +1,3 @@ +6 y1c 66010yBA5aay5yzx7cy850xa20 +9c29y0 1430y35704b310a0xy82169y A80c51b0b +650c 02b cc8b zy6369aA05x52aa5yz18azA9Bbyaxy96 xcz diff --git a/research/om-bench/bench/pubtasks/train/countb.v1/09.out b/research/om-bench/bench/pubtasks/train/countb.v1/09.out new file mode 100644 index 000000000..ec635144f --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v1/09.out @@ -0,0 +1 @@ +9 diff --git a/research/om-bench/bench/pubtasks/train/countb.v1/meta.json b/research/om-bench/bench/pubtasks/train/countb.v1/meta.json new file mode 100644 index 000000000..69c283519 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v1/meta.json @@ -0,0 +1,57 @@ +{ + "cases": [ + { + "exit": 0, + "n": 0, + "visible": true + }, + { + "exit": 0, + "n": 1, + "visible": true + }, + { + "exit": 0, + "n": 2, + "visible": false + }, + { + "exit": 0, + "n": 3, + "visible": false + }, + { + "exit": 0, + "n": 4, + "visible": false + }, + { + "exit": 0, + "n": 5, + "visible": false + }, + { + "exit": 0, + "n": 6, + "visible": false + }, + { + "exit": 0, + "n": 7, + "visible": false + }, + { + "exit": 0, + "n": 8, + "visible": false + }, + { + "exit": 0, + "n": 9, + "visible": false + } + ], + "family": "countb", + "split": "train", + "tid": "countb.v1" +} diff --git a/research/om-bench/bench/pubtasks/train/countb.v1/statement.txt b/research/om-bench/bench/pubtasks/train/countb.v1/statement.txt new file mode 100644 index 000000000..3964352bb --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v1/statement.txt @@ -0,0 +1 @@ +Count the bytes equal to lowercase letter a (byte 97) in the whole input. Print the count. diff --git a/research/om-bench/bench/pubtasks/train/countb.v2/00.in b/research/om-bench/bench/pubtasks/train/countb.v2/00.in new file mode 100644 index 000000000..814f4a422 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v2/00.in @@ -0,0 +1,2 @@ +one +two diff --git a/research/om-bench/bench/pubtasks/train/countb.v2/00.out b/research/om-bench/bench/pubtasks/train/countb.v2/00.out new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v2/00.out @@ -0,0 +1 @@ +2 diff --git a/research/om-bench/bench/pubtasks/train/countb.v2/01.in b/research/om-bench/bench/pubtasks/train/countb.v2/01.in new file mode 100644 index 000000000..587be6b4c --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v2/01.in @@ -0,0 +1 @@ +x diff --git a/research/om-bench/bench/pubtasks/train/countb.v2/01.out b/research/om-bench/bench/pubtasks/train/countb.v2/01.out new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v2/01.out @@ -0,0 +1 @@ +1 diff --git a/research/om-bench/bench/pubtasks/train/countb.v2/02.in b/research/om-bench/bench/pubtasks/train/countb.v2/02.in new file mode 100644 index 000000000..28ab3c94d --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v2/02.in @@ -0,0 +1,5000 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/research/om-bench/bench/pubtasks/train/countb.v2/02.out b/research/om-bench/bench/pubtasks/train/countb.v2/02.out new file mode 100644 index 000000000..e9c02dad1 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v2/02.out @@ -0,0 +1 @@ +5000 diff --git a/research/om-bench/bench/pubtasks/train/countb.v2/03.in b/research/om-bench/bench/pubtasks/train/countb.v2/03.in new file mode 100644 index 000000000..8ac1cc1be --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v2/03.in @@ -0,0 +1,14 @@ +3z1A8cc63A65265zzaxzAb8B19597zxb1b790Bx82B446AA5ac +6a29y7ABx1396 96 ac97B +05671Bz9x199 z5x73cxyb9bxy8776 1z +9530a26979BBycBA4bA882bb0 6390cB1bAaB9 89 +2x Az35ayA +94ba2yz zca8736B91a2zx4x60z +34743z290a1A8x3 5B000yb33c06Bc05b6xA125c zb3x2byy1aAAz 7B8 +045A354B8205b578A98By0b1zbB6c6 +26b4A05y +b2x05cyx29bx04x 8xx2610 +263A2a04z900B4ccc 26x55xAyya3B21Ay4c 502za7y44 +57ac0aA2b Bb78 6y1xA6x1x17z497xxc0381B1y50b2611c0z2zxz979 +59 6Axc5ccA620aA54 +b8z 2cA9bAyy3zABzz diff --git a/research/om-bench/bench/pubtasks/train/countb.v2/03.out b/research/om-bench/bench/pubtasks/train/countb.v2/03.out new file mode 100644 index 000000000..8351c1939 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v2/03.out @@ -0,0 +1 @@ +14 diff --git a/research/om-bench/bench/pubtasks/train/countb.v2/04.in b/research/om-bench/bench/pubtasks/train/countb.v2/04.in new file mode 100644 index 000000000..ad3a0302e --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v2/04.in @@ -0,0 +1,10 @@ + zy679Ba4x5a05 1BaB b68ycc2aA8c cz7Baz658 +Aa1x9ax0c0a2A 3 +a8 35cc4c0 x7271czA40bA9A9A9y Bb8zA0c15c483zz304115y +yy1b5 a2A4z6y0b 0BB72bb b1088015B9x 57b6Az5 +33zaA87b5b41c8yxcA6b80 +9a6z45566x47144yayaB71y 01y0B8Ay9c +3 05aA04b8242a608680ByB638cbAby5xAz8A0by2 2b6y +36BA181xBa1386bx59102y +0c8b6914a4aA71449118bcA622x4238cB0 4x6 072b1Bxxba +73 diff --git a/research/om-bench/bench/pubtasks/train/countb.v2/04.out b/research/om-bench/bench/pubtasks/train/countb.v2/04.out new file mode 100644 index 000000000..f599e28b8 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v2/04.out @@ -0,0 +1 @@ +10 diff --git a/research/om-bench/bench/pubtasks/train/countb.v2/05.in b/research/om-bench/bench/pubtasks/train/countb.v2/05.in new file mode 100644 index 000000000..5f8b5c75d --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v2/05.in @@ -0,0 +1,5 @@ +88c4a79 +x4bz8bBb0c2yb +5837c6y94a3c5705b +5a1B6bbyab72 A38zx0y7475711B243834zy47Ba9y8x61A +5aA5y19xa7c4aaAa717y23B7A59b2146B37231a8B1a5y1Aa0b0c26 2 diff --git a/research/om-bench/bench/pubtasks/train/countb.v2/05.out b/research/om-bench/bench/pubtasks/train/countb.v2/05.out new file mode 100644 index 000000000..7ed6ff82d --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v2/05.out @@ -0,0 +1 @@ +5 diff --git a/research/om-bench/bench/pubtasks/train/countb.v2/06.in b/research/om-bench/bench/pubtasks/train/countb.v2/06.in new file mode 100644 index 000000000..68b8948cd --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v2/06.in @@ -0,0 +1,29 @@ +ya5A53AA3xaB1BB994 +Ax47b6x552x00cc20xz a8xayx604a4 8y45c +439x 9yAA14a8c9x87 +25aBAa15y17 4B4b61x40aAc53zyA6z27bcyB5 y376 +x573yb1cA9A800026Byzcz4xc366yA66zz0 b9251c63y4B + +zAxz0245z62yA7424y z90ya0 B0bzcc 7azaacBAA +0 +0x6c023B6294266aybcy414391x5x341 90 10784 Ax022a1Aba31 +z37B8z0x52yx4bAB9Ay3x6x 2b915c7b3 +5xc4686b4ax 7933901B2b +16y892xb04y520b34cx6753cy66yyz5226z +z04x47b7301Bac04bab3axbB4B3AA +2xx058 +4bbby14219B6y2cx8Bx45x8By910663 b67 +b21691 a4a52xAB6c7zx 564101a20a1y 92BB0BbczByz79 +9c17Axzb342z8x704za95zc1A55 +y0a4 9 +azb6Aac8518AAbx8A45a22 y4245b b +Bc2 aba 1x3x68z373yBx5B65c ccA43x2ba12xAy + 25512878 60 889y75y5B87A238a401zA +bB2816aa4z0 b +91c48154y58A2xz2A 3276B2Aa55zA7ac9 c za7x9z8y74 0942 90B958 +zz0x6x x3y11z18a y21cy311yb 4 +59 zbcB25x31B6b10 2x +7b060620392A15 00 z447BB5y6Aay898 b9Bb7265xB18 +A B7BA608997aza0xxx235 +83a +0A1A70163x9B4 3Bz24y288 diff --git a/research/om-bench/bench/pubtasks/train/countb.v2/06.out b/research/om-bench/bench/pubtasks/train/countb.v2/06.out new file mode 100644 index 000000000..f04c001f3 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v2/06.out @@ -0,0 +1 @@ +29 diff --git a/research/om-bench/bench/pubtasks/train/countb.v2/07.in b/research/om-bench/bench/pubtasks/train/countb.v2/07.in new file mode 100644 index 000000000..62243f742 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v2/07.in @@ -0,0 +1,7 @@ +1x80 aza8x9A36zb9ABAya151Ac5yc8z4xAb0Bya4778A358zzc +8 c401 AyBy8575ac 0A89yx0799z x6B94c4zx643 +0B00A513cx5a6y51zAz658y191 3b23A9c3360y 0A31a0626a126B5x538 +865xc82a9099zc95b53B0 +9A6 527150544 Az B645A10 + zac6y 4 884a7AB 1z3z8zcAa A0225 yy1726 c b44yy +2 diff --git a/research/om-bench/bench/pubtasks/train/countb.v2/07.out b/research/om-bench/bench/pubtasks/train/countb.v2/07.out new file mode 100644 index 000000000..7f8f011eb --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v2/07.out @@ -0,0 +1 @@ +7 diff --git a/research/om-bench/bench/pubtasks/train/countb.v2/08.in b/research/om-bench/bench/pubtasks/train/countb.v2/08.in new file mode 100644 index 000000000..d34139a5e --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v2/08.in @@ -0,0 +1,8 @@ +6z3bA10350c6x341abaBa9B6cA1044y22A2c8bc746b2c7A8 +7c683Ab26 c7bay9abA0b5769bb3930568 +b7z 8x135zx bx32bx8x50Ay8b59260bx +30AzbB694yc3809yAA1b50y47 +c1A35z6ybx993Bc16B69x 288yx +Axxy56215yyc2aay cyzc2x6755 +5 4y8y5768Bx9bz 6 2 0477817a34BA8xAy +y45c993yx282yBA600772037442242x9z z 5y9aa56026678A 5ay diff --git a/research/om-bench/bench/pubtasks/train/countb.v2/08.out b/research/om-bench/bench/pubtasks/train/countb.v2/08.out new file mode 100644 index 000000000..45a4fb75d --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v2/08.out @@ -0,0 +1 @@ +8 diff --git a/research/om-bench/bench/pubtasks/train/countb.v2/meta.json b/research/om-bench/bench/pubtasks/train/countb.v2/meta.json new file mode 100644 index 000000000..cbce42e1a --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v2/meta.json @@ -0,0 +1,52 @@ +{ + "cases": [ + { + "exit": 0, + "n": 0, + "visible": true + }, + { + "exit": 0, + "n": 1, + "visible": true + }, + { + "exit": 0, + "n": 2, + "visible": false + }, + { + "exit": 0, + "n": 3, + "visible": false + }, + { + "exit": 0, + "n": 4, + "visible": false + }, + { + "exit": 0, + "n": 5, + "visible": false + }, + { + "exit": 0, + "n": 6, + "visible": false + }, + { + "exit": 0, + "n": 7, + "visible": false + }, + { + "exit": 0, + "n": 8, + "visible": false + } + ], + "family": "countb", + "split": "train", + "tid": "countb.v2" +} diff --git a/research/om-bench/bench/pubtasks/train/countb.v2/statement.txt b/research/om-bench/bench/pubtasks/train/countb.v2/statement.txt new file mode 100644 index 000000000..0741c6b38 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v2/statement.txt @@ -0,0 +1 @@ +Count the newline bytes (byte 10) in the input. Print the count. diff --git a/research/om-bench/bench/pubtasks/train/countb.v3/00.in b/research/om-bench/bench/pubtasks/train/countb.v3/00.in new file mode 100644 index 000000000..9111ce593 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v3/00.in @@ -0,0 +1 @@ +a1b22 diff --git a/research/om-bench/bench/pubtasks/train/countb.v3/00.out b/research/om-bench/bench/pubtasks/train/countb.v3/00.out new file mode 100644 index 000000000..00750edc0 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v3/00.out @@ -0,0 +1 @@ +3 diff --git a/research/om-bench/bench/pubtasks/train/countb.v3/01.in b/research/om-bench/bench/pubtasks/train/countb.v3/01.in new file mode 100644 index 000000000..621e94f0e --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v3/01.in @@ -0,0 +1 @@ +none diff --git a/research/om-bench/bench/pubtasks/train/countb.v3/01.out b/research/om-bench/bench/pubtasks/train/countb.v3/01.out new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v3/01.out @@ -0,0 +1 @@ +0 diff --git a/research/om-bench/bench/pubtasks/train/countb.v3/02.in b/research/om-bench/bench/pubtasks/train/countb.v3/02.in new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v3/02.in @@ -0,0 +1 @@ + diff --git a/research/om-bench/bench/pubtasks/train/countb.v3/02.out b/research/om-bench/bench/pubtasks/train/countb.v3/02.out new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v3/02.out @@ -0,0 +1 @@ +0 diff --git a/research/om-bench/bench/pubtasks/train/countb.v3/03.in b/research/om-bench/bench/pubtasks/train/countb.v3/03.in new file mode 100644 index 000000000..c0d81db15 --- /dev/null +++ b/research/om-bench/bench/pubtasks/train/countb.v3/03.in @@ -0,0 +1 @@ ``` The diff is longer than this page shows; the raw diff has all of it.