aien
aien-dev/aien
Brought by drakestapleton
GitHub aien-dev/aien#23 (code only)
Fetch it
curl -fsSL https://interplane.io/drakestapleton/aien/patches/32a0ce886386e244.bundle -o 32a0ce886386e244.bundle git fetch 32a0ce886386e244.bundle refs/pull/23/head
Provenance
github-import 1
aien-dev/aien
23
d456a1b74a5bdee5f155bf5c6be140eeac5257db
{"kind":"github-import","owner":"aien-dev","repo":"aien","number":23,"url":"https://github.com/aien-dev/aien/pull/23","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:40:51Z","metadata":"unavailable","state_derived":true}
Changes
diff --git a/docs/GOAL_MICROJOBS.md b/docs/GOAL_MICROJOBS.md index 0d4afbf..86512f7 100644 --- a/docs/GOAL_MICROJOBS.md +++ b/docs/GOAL_MICROJOBS.md @@ -2,7 +2,7 @@ Allen keeps one persistent objective as a typed, dependency-bound microjob DAG plus an append-only event journal. The seeded `.om` kernel `src/goal_microjobs/kernel.om` is the only admission logic: it replays plan + journal from stdin and either prints the derived state or refuses with a code. It runs no job, calls no model, and writes no memory or authority state. The model or planner proposes; the kernel decides what is admitted. -Status: **IMPLEMENTED, HOST_TESTED (offline, synthetic fixtures)**. Not run: model inference, Omega/Core dispatch, Cortex write/restart, canonical MJB1 binary ABI, routing comparison, GPU or physical qualification. Deployment OFF. +Status: **IMPLEMENTED, HOST_TESTED (offline, synthetic fixtures)**. The bounded canonical Aienet-0 adapter below is also HOST_TESTED. Not run: model inference, Cortex write/restart, general multi-node canonical export, routing comparison, GPU or physical qualification. Deployment OFF. ## Boundary @@ -14,7 +14,7 @@ Status: **IMPLEMENTED, HOST_TESTED (offline, synthetic fixtures)**. Not run: mod The journal is not Cortex and is not a second memory store: it is the local replay log of one objective until the Cortex owner publishes a typed writer. The existing transitional shell (`scripts/goal_microjobs/microjobs.sh`) handles files, the `flock` lock and the atomic rename. Current seeded Omega has file and argument APIs; the shell has not been migrated. The NL-5 shadow experiment below does not invoke this writer. -## Records (local adapter, pending aien-protocols-mv#50) +## Records (local replay ABI; canonical adapter below) Whitespace-separated decimal words, one record per line. A 32-byte SHA-256 digest is written as four big-endian 64-bit words (`microjobs.sh digest TEXT`). @@ -41,9 +41,9 @@ Refusal codes (`199 seq code`, exit = code): 2 truncated, 3 malformed or too lar ### Alignment with the MJB1 draft -Checked against `specs/microjob/SPEC.md` draft v0.1 on aien-protocols-mv branch `feat/si-microjob-capsule-abi` at `33e28b9a2b381d9eb2089e866c4f377bcd61b1a9` (not merged). Same closed values: kind (1 COMPUTE, 2 NEURAL), op ranges per kind, profile 0..4 with caps 64/16, 128/32, 256/64, 512/128, effect class 0/1/2 bounded by the header ceiling, verifier kind 1..3, retry class 1..3, max attempts 1..8. Same rules: COMPUTE spends zero tokens; required tokens above caps refuse as needs-expansion (no silent truncation); NEVER with more than one attempt and EFFECT with IDEMPOTENT refuse; sums of node input-token, output-token and time caps stay within header budgets, summed exactly; node tenant equals the objective tenant; dependency cycle refuses. Allen-local guard, not an MJB1 rule: the kernel refuses (26) a node whose input-token, output-token or time cap exceeds 2^32 - 1, so its 64-bit sums of at most 64 nodes cannot overflow. MJB1 stores those three fields as u16, u16 and u32, so the guard never refuses a value MJB1 can encode. MJB1's u64 fuel, memory and work caps (exact sums; a total that does not fit 64 bits is `MJB_OVER_BUDGET`) are not checked by this kernel yet. +Checked against `specs/microjob/SPEC.md` draft v0.1 on aien-protocols-mv main `e705fdc9c97394f17f32f1dcbcbf038ca556250b`. Same closed values: kind (1 COMPUTE, 2 NEURAL), op ranges per kind, profile 0..4 with caps 64/16, 128/32, 256/64, 512/128, effect class 0/1/2 bounded by the header ceiling, verifier kind 1..3, retry class 1..3, max attempts 1..8. Same rules: COMPUTE spends zero tokens; required tokens above caps refuse as needs-expansion (no silent truncation); NEVER with more than one attempt and EFFECT with IDEMPOTENT refuse; sums of node input-token, output-token and time caps stay within header budgets; node tenant equals the objective tenant; dependency cycle refuses. The local replay kernel and canonical document serve different roles. Its original admission and event semantics are unchanged. -Allen-local and to be replaced by the canonical ABI: decimal text instead of big-endian bytes; small integer identities instead of 32-byte subject, capability, model and verifier references; `route` (1 reflex, 2 student, 3 qualified teacher) standing in for `model_ref`; `required` and `terminal`; per-event generations instead of a re-issued document per generation; journal events instead of signed MJR1 receipts. MJR1 outcomes map as RESULT+VERIFY → COMPLETED, REFUSE → REFUSED, FAIL → FAILED, CANCEL → CANCELLED. Fuel, memory, work, precision, substrate, expiry, operand kinds and P-256 receipt signatures are not checked here yet. +Allen-local records intentionally retain integer authority roles, routes, required/terminal markers and journal sequence numbers. Canonical documents use explicit external references and are re-issued for each generation. `canon.om` supports only the bounded one-node COMPUTE/MATMUL Aienet-0 shape, not arbitrary local DAG export. Cryptographic MJR1 and AN0V verification remains with the protocols/Open Humanity checker, not the replay kernel. ## Restart, partial completion and duplicates @@ -74,10 +74,180 @@ The 12-node acceptance objective runs nodes 1 to 4 concurrently before the join ## Open -- Bind to the canonical MJB1/MJR1 bytes once aien-protocols-mv#50 lands (reader in `.om` or through the protocol's reference reader). +- General canonical multi-node export, neural jobs and non-COMPLETED canonical outcomes are outside the bounded Aienet-0 adapter. - Cortex writer and restart through the Omega owner; Core #735 worker admission and dispatch; qualified-worker registry for route selection. - Objective text to DAG rule baseline and shadow route policy; ordinary routing vs microjob comparison; native `.om` plan export. +## Canonical Aienet-0 adapter (M1) + +`src/goal_microjobs/canon.om` is IMPLEMENTED and HOST_TESTED against protocols +`e705fdc9c97394f17f32f1dcbcbf038ca556250b`. It emits canonical MJB1 bytes, +hashes them in Omega, and checks receipt/countersign bindings before formatting +local RESULT and VERIFY events. It does not verify P-256 signatures, execute a +worker, authenticate integer authority roles, append a journal, or grant authority. +The caller MUST successfully run `aienet0-run check` against its pinned executor +and independent verifier keys before ingest, and replay/atomically commit the +events through the kernel. Passing ingest alone is not authenticated completion. +**Ingest is not a standalone verifier. It must only receive the exact immutable +document/MJR1/AN0V bytes that passed that Rust check.** In particular, ingest +does not verify either signature, source/model/policy hashes, fuel/memory/work +accounting or the recompute verdict's cryptographic derivation. Refreshing an +AN0V receipt hash is not signature verification. A changed AN0V signature can +still pass ingest; it must fail the preceding Rust checker. + +### Build and pins + +```sh +OMEGA_OMC=/path/to/omc OMEGA_MV=/path/to/omega-checkout \ + sh scripts/goal_microjobs/canon-build.sh /tmp/canon +``` + +The compiler is Omega `e5b32567`, SHA-256 +`2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f`. +The build extracts `55845e70:om/sha256/sha256-om2.om` from that checkout and +requires SHA-256 `dbf002dd6aa36585632b9d01d98ac3f0bd2fa0f0475082940de53638847994bb`. +Only the four `export fn` prefixes are removed for program mode, following the +protocols jobpath build convention. Missing artifacts or mismatches exit 3 with +BLOCKED; they never invoke a fallback compiler. The shell script is a migration +build adapter under [shell retirement #22](https://github.com/aien-dev/aien/issues/22), +not a first-party runtime implementation. + +### Emit + +`/tmp/canon emit < records > emission` consumes exactly these four whitespace +decimal records (all digest groups are four big-endian u64 words): + +1. The existing 17-word header record, including tag 1. +2. One 23-word node record, including tag 2 and `ndeps=0`. +3. That node's kernel status record: + `101 id state generation attempts blocked ready effect_generation`. +4. The explicit binding record: + `4 objective(4) tenant(4) subject(4) approval(4) capability(4) expires_at m k n seed incarnation`. + +Every reference group and expiry must be nonzero; binding objective must equal +the header objective. The caller supplies the actual Aienet-0 `tenant()` and +`capability()` values and the submitter's `approval_ref`, never integer stand-ins. +Dimensions are 1 through 256; seed is u64; incarnation and generation are +nonzero u32; node id is nonzero u16. The 15-byte payload is kind 1, m/k/n u16 BE, +then seed u64 BE. Its SHA-256 must equal the node operand digest. A correction +uses the kernel's corrected operand and derived generation, not the original +plan's stale operand. Node shape is COMPUTE/MATMUL, route 0, profile ZERO, +effect COMPUTE, zero token caps and requirements, RECOMPUTE, NEVER/one attempt, +no dependencies, and a nonzero local verifier. + +Output framing is `document[640] || payload[15] || dag_digest[32]`, all binary: + +```sh +dd if=emission of=document bs=1 count=640 status=none +dd if=emission of=payload bs=1 skip=640 count=15 status=none +dd if=emission of=dag_digest bs=1 skip=655 count=32 status=none +``` + +The one-node document uses the supplied refs, incarnation and expiry. Node and +operand generations both equal the derived status generation. RECOMPUTE has +zero verifier_ref and pure=1; cancel DISCARD, CPU substrate, exact precision, +DIGEST rank-zero result; unused and reserved bytes are zero. Time cap comes +from the local node. Fuel/work are `m*k*n`; memory is `4*(m*k+k*n+m*n)`, following +the protocols profile. Header budgets equal the single node's caps. + +Job identity is the first 16 bytes of +`SHA-256("AIEN-ALLEN-AN0-JOB-V1\0" || objective[32] || node_id_u16_BE || generation_u32_BE)`; +idempotence uses `"AIEN-ALLEN-AN0-IDEM-V1\0"` with the same suffix. +NUL is a literal zero byte. Changing generation changes both identities and +the document/dag digest, not the authority references. + +### Ingest + +`/tmp/canon ingest < ingest-input > events` consumes: +`document[640] || MJR1[404] || AN0V[236] || expected_ascii`, where the final +ASCII record is: + +`5 node generation attempt worker verifier executor_key_sha256(4) verifier_key_sha256(4) next_sequence objective_id(4) effective_operand_digest(4)` + +This is exactly 23 decimal words. The original first 15 words are unchanged; +objective occupies zero-based words 15..18 and effective operand 19..22. +The caller MUST derive those pins from its trusted objective header and replayed +effective operand (including the latest CORRECT), never from the supplied +document or receipt. A different objective or operand must not complete the +original task even when its bundle and signatures are otherwise valid. + +The key digests are SHA-256 of the 33-byte compressed SEC1 public keys, not keys +or signatures. Worker/verifier are the caller's pinned local role integers, +nonzero and distinct. The adapter checks document objective and CONTENT operand +digest against those independent pins, then derives job/idempotence identities +from the expected objective and node. It requires the receipt's full 32-byte +job/idempotence pair, generation, attempt (one), COMPLETED outcome, dag digest, +nonzero output, zero COMPUTE tokens and bounded time. It checks all MJR1 reserved +bytes are zero and recomputes input_binding as +`SHA-256("MJR1-BIND" || operand_kind_u8 || operand_generation_u32_BE || operand_digest)`, +following SPEC section 5.1 for one operand and no dependencies. +It checks AN0V framing, hash of the entire 404-byte receipt (including signature), +cross-record dag/output/verdict equality, and both public-key hashes. + +On success exactly two lines are emitted: +`3 seq 2 node attempt generation worker 0 output(4) 0 used_time_ms`, then +`3 seq+1 3 node attempt generation verifier 1 output(4) 0 0`. +MJR1 used_time_ms is decoded at offset 76 and output at 144. No event is +printed for any input mismatch. Duplicate completion and stale replay are +ultimately refused by the existing kernel, not by pretending ingest owns a +durable ledger. The caller must atomically append both lines, or after a crash +compare an already appended RESULT byte-for-byte and append only its matching +VERIFY. Never re-dispatch or replace an existing completion on recovery. + +Refusals print `CANON_<NAME>` to stderr and exit: 2 INPUT (including truncation), +3 IO, 10 REF, 11 PAYLOAD, 12 SHAPE, 13 RANGE, 14 GENERATION, 15 JOB, +16 OUTCOME, 17 DAG, 18 OUTPUT, 19 AN0V, 20 KEYPIN, 21 ATTEMPT, 22 RESOURCE, +23 OBJECTIVE, 24 OPERAND, 25 BINDING, 26 RESERVED. +No refusal writes event/document bytes to stdout. + +### Host acceptance and limits + +```sh +taskset -c 10-14 nice -n 19 ionice -c3 env \ + OMEGA_OMC=/path/to/pinned/omc OMEGA_MV=/path/to/omega-checkout \ + OMEGA_WORKTREE=/path/to/archived/c434565c \ + CANON_RUN_ROOT=/tmp/canon-results bash tests/goal_microjobs/canon/run.sh +``` + +Prerequisites: AArch64 Linux, the two pinned compilers above and the existing +kernel compiler archive described under Reproduce, bash, coreutils, git, sed, +xxd. The committed synthetic hex fixtures were generated with an external +throwaway Rust oracle using protocols `e705fdc9`, `p256 0.14.0` and `sha2 0.10.9`. +The positive receipt/countersign use deterministic synthetic test keys; these +are not credentials or hardware receipts. The external Rust check compared +the complete Omega document to independent Rust `encode`, verified `decode` +and `dag_digest`, `seal_bundle`/`admit_bundle`, `executor_receipt`/`check_receipt`, +`countersign`/`check_countersign`, exact event bytes, and generation-two admission. +The throwaway helper is not shipped. Fresh clones can replay the committed +byte-level oracles without Cargo or generated helper source. + +The gate checks exact emission and events, nineteen refusal fixtures and sixteen +source mutants, replay through the archived kernel to DONE, and compiler +pin refusal. Guard-isolating malformed fixtures deliberately refresh AN0V +bindings without signatures where necessary: they test individual structural +guards, not authenticated network acceptance. `staleoutput` leaves signatures +and AN0V stale and is also rejected by the external Rust receipt checker. +The mutant table records that each guardless binary accepts its targeted +malformed input while the real adapter refuses with the named code. +The new objective/operand swap fixtures carry valid independently admitted, +executed, signed and countersigned jobs; they are refused only because the +caller's expected task differs. The objective-pin mutant removes both the +explicit equality check and expected-objective identity derivation. The +idempotence-only fixture kills the specific mutant shortening the comparison +from 32 to 16 bytes. Three reserved-byte-region fixtures share one guard mutant. + +WolframLanguageEvaluator: `FromDigits[ToCharacterCode["MJB1"],256]`, +`FromDigits[ToCharacterCode["MJR1"],256]`, +`FromDigits[ToCharacterCode["AN0V"],256]` returned 1296712241, 1296716337, +1095643222. Query `3*2*2` and `4*(2*3+3*2+2*2)` returned fixture caps 12 and +64 bytes. Bounded-dimension maxima queries returned work 16777216 and memory +786432 bytes, both representable in the encoded u64 cap fields. +These are computed bounds, not measured performance. + +HOST_TESTED is not hardware qualification. P1 two-machine, P2 federation, +GPU, deployment and merge are NOT_RUN. General DAG conversion and P-256 +verification in Omega are not claimed. + ## NL-5: default-off private-local shadow experiment Issue [#19](https://github.com/aien-dev/aien/issues/19), parent @@ -204,4 +374,3 @@ public endpoint, promotion, Cortex writer or release gate changes are included. The independent benchmark preregistration is [benchmarks PR #56](https://github.com/aien-dev/benchmarks-mv/pull/56), commit `8ee0a494bf73230c9d37647eb3caea792298fa8d`. - diff --git a/scripts/goal_microjobs/.crumb b/scripts/goal_microjobs/.crumb index e639c1c..e346b8e 100644 --- a/scripts/goal_microjobs/.crumb +++ b/scripts/goal_microjobs/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-29T02:17:31Z", + "compiled_at": "2026-10-30T00:33:51Z", "compiler": "crumb-compile/1", - "digest": "sha256:f3dbc1a15e2e5677175a6b2ab3837945c4ce8449d9c50d4cb14d59d24857d384", + "digest": "sha256:c5d3d614db0d2fbf7aa0e6d2d69e1624f889fe9039d09c3574b0da6c60c99372", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "files": 2, - "generated_at_commit": "52067ba2ec2e631db017fb9e700f31c048f1a12d", - "source_tree": "sha256:dbe35dae41c0d15a63877cd872288881f499397a822235a50d723cff66c7bea7" + "files": 3, + "generated_at_commit": "b02bc7fb8c28bf90803d5bd357d1749cabdfc974", + "source_tree": "sha256:1b9d104e879fb6b953e29b751ae6506e28e1cc7f87d3fcfad6c4c84bcca58f69" } }, "name": "goal-microjobs", diff --git a/scripts/goal_microjobs/canon-build.sh b/scripts/goal_microjobs/canon-build.sh new file mode 100755 index 0000000..226fcae --- /dev/null +++ b/scripts/goal_microjobs/canon-build.sh @@ -0,0 +1,23 @@ +#!/bin/sh +# Migration-only build adapter, aien-dev/aien#22: no runtime protocol logic. +# OMEGA_OMC: e5b32567 omc; OMEGA_MV: checkout holding Omega 55845e70. +# $1: output binary. No download, substitution, or stale output on refusal. +set -eu +HERE=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd) +OUT=${1:-./canon} +blocked() { echo "BLOCKED: $*" >&2; exit 3; } +[ -x "${OMEGA_OMC:-}" ] || blocked 'set OMEGA_OMC to pinned omc' +[ -n "${OMEGA_MV:-}" ] || blocked 'set OMEGA_MV to SHA unit checkout' +[ "$(sha256sum < "$OMEGA_OMC" | cut -c1-64)" = 2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f ] || blocked 'omc hash mismatch' +T=$(mktemp -d) +trap 'rm -rf "$T"' EXIT HUP INT TERM +git -C "$OMEGA_MV" show 55845e70:om/sha256/sha256-om2.om > "$T/sha.om" || blocked 'missing SHA unit revision' +[ "$(sha256sum < "$T/sha.om" | cut -c1-64)" = dbf002dd6aa36585632b9d01d98ac3f0bd2fa0f0475082940de53638847994bb ] || blocked 'SHA unit hash mismatch' +# Existing protocols jobpath/build.sh convention: program-mode export removal only. +sed 's/^export fn /fn /' "$T/sha.om" > "$T/unit.om" +cat "$T/unit.om" "$HERE/src/goal_microjobs/canon.om" > "$T/source.om" +"$OMEGA_OMC" < "$T/source.om" > "$T/canon" +chmod +x "$T/canon" +mv "$T/canon" "$OUT" +printf 'built %s\n' "$OUT" +sha256sum "$OUT" diff --git a/src/goal_microjobs/.crumb b/src/goal_microjobs/.crumb index a683368..7337b29 100644 --- a/src/goal_microjobs/.crumb +++ b/src/goal_microjobs/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-29T17:54:41Z", + "compiled_at": "2026-10-31T02:20:58Z", "compiler": "crumb-compile/1", - "digest": "sha256:9a1ff463ad2239e5602ec20d4513b5c2122b989fbe6205d801a7f6be5b80a26e", + "digest": "sha256:9531f0de727d79d9ae6f41772b937309a6c072c6038da5a0fe3c1993b0b95e28", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "files": 2, - "generated_at_commit": "946d701ed0c81684000eef6dc738c9e031db0b9f", - "source_tree": "sha256:ff5fdd91a7a11af762d98bd5566d5eaab1192abd99d6c2d5c9f43c0d23512647" + "files": 3, + "generated_at_commit": "4e11a8954699953f9e741a868b355f15d55de0d2", + "source_tree": "sha256:b993fc12b3c56446d76e18c7325239d6cab9de45a619ac75104166a64ddbcc92" } }, "name": "goal-microjobs", diff --git a/src/goal_microjobs/canon.om b/src/goal_microjobs/canon.om new file mode 100644 index 0000000..5719dc9 --- /dev/null +++ b/src/goal_microjobs/canon.om @@ -0,0 +1,540 @@ +note SPDX-License-Identifier: AGPL-3.0-or-later +note Append to hash-checked sha256-om2.om with exports removed. No signature verification here. +note SPEC e705fdc9: MJB1 192+448 bytes; MJR1 404; AN0V 236. See GOAL_MICROJOBS.md. +global Ib uchar 8192 +global Pos ulong 2 +global Ob uchar 1024 +global Op ulong 1 +text jobdom "AIEN-ALLEN-AN0-JOB-V1" +text idemdom "AIEN-ALLEN-AN0-IDEM-V1" +text modearg "emit" +text ingarg "ingest" +text binddom "MJR1-BIND" +text errpre "CANON_" +text errname "INPUT IO REF PAYLOAD SHAPE RANGE GENERATION JOB OUTCOME DAG OUTPUT AN0V KEYPIN ATTEMPT RESOURCE OBJECTIVE OPERAND BINDING RESERVED" + +fn die code int to void +w = write 2 errpre 0 len errpre +p = ulong 0 +idx = int 2 +if ge code 10 +idx = 10 +p = 9 +end +while lt idx code bound 24 +while ne get errname p 32 bound 16 +p = add p 1 +end +p = add p 1 +idx = add idx 1 +end +q = p +while lt q len errname bound 16 +if eq get errname q 32 +break +end +q = add q 1 +end +w = write 2 errname p sub q p +put Ob 0 10 +w = write 2 Ob 0 1 +exit code +end + +fn loadin to void +n = ulong 0 +while lt n len Ib bound 8192 +r = read 0 Ib n sub len Ib n +if lt r 0 +die 3 +end +if eq r 0 +put Pos 1 n +ret +end +n = add n ulong r +end +die 2 +end + +fn ws c uchar to bool +ret or eq c 32 or eq c 10 or eq c 13 eq c 9 +end +fn word to ulong +p = get Pos 0 +while lt p get Pos 1 bound 8192 +if not ws get Ib p +break +end +p = add p 1 +end +if eq p get Pos 1 +die 2 +end +v = ulong 0 +while lt p get Pos 1 bound 8192 +c = get Ib p +if ws c +break +end +if or lt c 48 gt c 57 +die 2 +end +d = ulong sub c 48 +if or gt v 1844674407370955161 and eq v 1844674407370955161 gt d 5 +die 13 +end +v = add mul v 10 d +p = add p 1 +end +put Pos 0 p +ret v +end +fn endin to void +p = get Pos 0 +while lt p get Pos 1 bound 8192 +if not ws get Ib p +die 2 +end +p = add p 1 +end +end +fn be b edit uchar * p ulong n ulong v ulong to void +for i ulong n +put b add p i uchar and shr v mul sub sub n 1 i 8 255 +end +end +fn num b view uchar * p ulong n ulong to ulong +v = ulong 0 +for i ulong n +v = or shl v 8 ulong get b add p i +end +ret v +end +fn same a view uchar * b view uchar * to bool +if ne len a len b +ret false +end +for i ulong len a +if ne get a i get b i +ret false +end +end +ret true +end +fn nz b view uchar * to bool +v = uchar 0 +for i ulong len b +v = or v get b i +end +ret ne v 0 +end +fn sendout b view uchar * to void +n = ulong 0 +while lt n len b bound 8192 +w = write 1 b n sub len b n +if le w 0 +die 3 +end +n = add n ulong w +end +end +fn words b edit uchar * a view ulong * p ulong to void +for i ulong 4 +be b mul i 8 8 get a add p i +end +end +fn ident doc edit uchar 640 a view ulong 75 gen ulong to void +pre = new uchar 64 0 +d = new uchar 32 0 +for i ulong len jobdom +put pre i get jobdom i +end +words part pre add len jobdom 1 32 a 2 +be pre add len jobdom 33 2 get a 18 +be pre add len jobdom 35 4 gen +sha256_hash part pre 0 add len jobdom 39 d +for i ulong 16 +put doc add 192 i get d i +end +for i ulong len idemdom +put pre i get idemdom i +end +put pre len idemdom 0 +words part pre add len idemdom 1 32 a 2 +be pre add len idemdom 33 2 get a 18 +be pre add len idemdom 35 4 gen +sha256_hash part pre 0 add len idemdom 39 d +for i ulong 16 +put doc add 208 i get d i +end +end +fn shape a view ulong 75 to void +for i ulong 4 +if gt get a add 24 i 65535 +die 13 +end +end +if or ne get a 0 1 ne get a 1 1 +die 12 +end +if or or eq get a 18 0 gt get a 18 65535 ne get a 48 4 +die 13 +end +if or ne get a 40 101 ne get a 41 get a 18 +die 14 +end +if or eq get a 43 0 gt get a 43 4294967295 +die 13 +end +if or ne get a 19 1 ne get a 20 2 +die 12 +end +if or or ne get a 21 0 ne get a 22 0 ne get a 23 1 +die 12 +end +for i ulong 4 +if ne get a add 24 i 0 +die 12 +end +end +if or or ne get a 28 1 ne get a 30 1 ne get a 31 1 +die 12 +end +if or or eq get a 29 0 ne get a 32 get a 6 ne get a 39 0 +die 12 +end +if or eq get a 33 0 gt get a 33 4294967295 +die 13 +end +if lt get a 8 1 +die 12 +end +for i ulong 3 +v = get a add 70 i +if or eq v 0 gt v 256 +die 13 +end +end +if or eq get a 74 0 gt get a 74 4294967295 +die 13 +end +end +fn refs doc edit uchar 640 a view ulong 75 to void +for i ulong 5 +words part doc add 8 mul i 32 32 a add 49 mul i 4 +note CANON-GUARD ref +if not nz part doc add 8 mul i 32 32 +die 10 +end +end +for i ulong 4 +if ne get a add 2 i get a add 49 i +die 10 +end +end +if eq get a 69 0 +die 10 +end +note capability was temporarily at 136; copy it before writing incarnation and expiry. +for i ulong 32 +put doc add 304 i get doc add 136 i +put doc add 336 i get doc add 40 i +end +for i ulong 56 +put doc add 136 i 0 +end +be doc 136 4 get a 74 +be doc 144 8 get a 69 +end +fn caps doc edit uchar 640 a view ulong 75 to void +m = get a 70 +k = get a 71 +n = get a 72 +workv = mul mul m k n +mem = mul 4 add add mul m k mul k n mul m n +be doc 152 8 get a 33 +be doc 160 8 workv +be doc 168 8 mem +be doc 176 8 workv +be doc 252 4 get a 33 +be doc 256 8 workv +be doc 264 8 mem +be doc 272 8 workv +be doc 280 8 get a 69 +end +fn emitdoc to void +a = new ulong 75 0 +doc = new uchar 640 0 +p = new uchar 15 0 +d = new uchar 32 0 +want = new uchar 32 0 +for i ulong 75 +put a i word +end +endin +shape a +refs doc a +put p 0 1 +be p 1 2 get a 70 +be p 3 2 get a 71 +be p 5 2 get a 72 +be p 7 8 get a 73 +sha256_hash view p d +words want a 35 +note CANON-GUARD payload +if not same view d view want +die 11 +end +put doc 0 77 +put doc 1 74 +put doc 2 66 +put doc 3 49 +put doc 4 1 +put doc 5 1 +be doc 6 2 1 +ident doc a get a 43 +be doc 224 4 get a 43 +put doc 228 1 +put doc 229 2 +put doc 231 1 +put doc 240 1 +put doc 241 1 +put doc 242 1 +put doc 243 1 +put doc 245 1 +put doc 247 1 +put doc 248 7 +put doc 250 1 +caps doc a +put doc 480 3 +be doc 484 4 get a 43 +for i ulong 32 +put doc add 488 i get d i +end +sha256_hash view doc d +sendout view doc +sendout view p +sendout view d +end +fn digit v ulong to void +if gt v 9 +digit div v 10 +end +put Ob get Op 0 uchar add rem v 10 48 +put Op 0 add get Op 0 1 +end +fn dec v ulong to void +digit v +put Ob get Op 0 32 +put Op 0 add get Op 0 1 +end +fn eventline a view ulong 23 r view uchar 404 typ ulong to void +dec 3 +dec add get a 14 sub typ 2 +dec typ +dec get a 1 +dec get a 3 +dec get a 2 +if eq typ 2 +dec get a 4 +dec 0 +else +dec get a 5 +dec 1 +end +for i ulong 4 +dec num r add 144 mul i 8 8 +end +dec 0 +if eq typ 2 +dec num r 76 4 +else +dec 0 +end +put Ob sub get Op 0 1 10 +end +fn nodechk doc view uchar 640 a view ulong 23 to void +tmp = new uchar 640 0 +av = new ulong 75 0 +if or gt get a 1 65535 gt get a 2 4294967295 +die 13 +end +put av 18 get a 1 +for i ulong 4 +put av add 2 i get a add 15 i +be tmp add 8 mul i 8 8 get a add 15 i +end +note CANON-GUARD objective +if not same part tmp 8 32 part doc 8 32 +die 23 +end +for i ulong 4 +note CANON-GUARD operand +if ne num doc add 488 mul i 8 8 get a add 19 i +die 24 +end +end +ident tmp av num doc 224 4 +note CANON-GUARD node +if not same part tmp 192 32 part doc 192 32 +die 15 +end +end +fn recchk doc view uchar 640 r view uchar 404 a view ulong 23 to void +d = new uchar 32 0 +pre = new uchar 46 0 +note CANON-GUARD reserved +if or or ne get r 7 0 ne num r 84 4 0 ne num r 337 3 0 +die 26 +end +for i ulong 9 +put pre i get binddom i +end +put pre 9 get doc 480 +for i ulong 4 +put pre add 10 i get doc add 484 i +end +for i ulong 32 +put pre add 14 i get doc add 488 i +end +sha256_hash view pre d +note CANON-GUARD binding +if not same view d part r 112 32 +die 25 +end +if or ne num r 0 4 1296716337 ne get r 4 1 +die 2 +end +note CANON-GUARD outcome +if ne get r 5 1 +die 16 +end +note CANON-GUARD generation +if or ne get a 2 num doc 224 4 ne num r 72 4 get a 2 +die 14 +end +if or ne get a 3 1 ne ulong get r 6 get a 3 +die 21 +end +note CANON-GUARD job +if not same part doc 192 32 part r 40 32 +die 15 +end +sha256_hash doc d +note CANON-GUARD dag +if not same view d part r 8 32 +die 17 +end +note CANON-GUARD output +if not nz part r 144 32 +die 18 +end +sha256_hash part r 304 33 d +for i ulong 4 +if ne num d mul i 8 8 get a add 6 i +die 20 +end +end +if or ne num r 80 4 0 gt num r 76 4 num doc 252 4 +die 22 +end +end +fn verchk r view uchar 404 v view uchar 236 a view ulong 23 to void +d = new uchar 32 0 +if or ne num v 0 4 1095643222 ne get v 4 1 +die 19 +end +if or ne num v 5 3 0 ne num v 169 3 0 +die 19 +end +sha256_hash r d +note CANON-GUARD receipt +if not same view d part v 8 32 +die 19 +end +note CANON-GUARD dagbind +if not same part r 8 32 part v 40 32 +die 19 +end +note CANON-GUARD outbind +if not same part r 144 32 part v 72 32 +die 19 +end +if not same part r 272 32 part v 104 32 +die 19 +end +sha256_hash part v 136 33 d +for i ulong 4 +if ne num d mul i 8 8 get a add 10 i +die 20 +end +end +end +fn ingest to void +doc = new uchar 640 0 +r = new uchar 404 0 +v = new uchar 236 0 +a = new ulong 23 0 +if lt get Pos 1 1280 +die 2 +end +for i ulong 640 +put doc i get Ib i +end +for i ulong 404 +put r i get Ib add 640 i +end +for i ulong 236 +put v i get Ib add 1044 i +end +put Pos 0 1280 +for i ulong 23 +put a i word +end +endin +if or ne get a 0 5 eq get a 1 0 +die 2 +end +if or or eq get a 4 0 eq get a 5 0 eq get a 4 get a 5 +die 20 +end +if or eq get a 14 0 eq get a 14 18446744073709551615 +die 13 +end +if or ne num doc 0 4 1296712241 ne num doc 6 2 1 +die 12 +end +nodechk doc a +recchk doc r a +verchk r v a +eventline a r 2 +eventline a r 3 +n = ulong 0 +while lt n get Op 0 bound 1024 +w = write 1 Ob n sub get Op 0 n +if le w 0 +die 3 +end +n = add n ulong w +end +end +fn main to int +arg = new uchar 16 0 +r = argread 1 arg 0 16 +loadin +if eq r 4 +if same part arg 0 4 view modearg +emitdoc +ret 0 +end +end +if eq r 6 +if same part arg 0 6 view ingarg +ingest +ret 0 +end +end +die 2 +ret 2 +end diff --git a/src/goal_microjobs/kernel.om b/src/goal_microjobs/kernel.om index 7b30326..c874888 100644 --- a/src/goal_microjobs/kernel.om +++ b/src/goal_microjobs/kernel.om @@ -4,8 +4,8 @@ note typed microjob DAG. Input on stdin is the plan (header, nodes) then the app note event journal, all whitespace-separated decimal words. Output on stdout is the note replayed state, the fundable ready set and, when complete, the objective receipt. note A refused plan or event prints 199 seq code and exits with code; nothing is admitted. -note LOCAL ADAPTER PENDING aien-protocols-mv#50: record order and codes are Allen-local and -note documented in docs/GOAL_MICROJOBS.md; the canonical microjob-v1 ABI replaces them. +note Local records and codes remain the replay ABI documented in docs/GOAL_MICROJOBS.md. +note canon.om implements the bounded Aienet-0 MJB1/MJR1 adapter; kernel semantics are unchanged. note This kernel executes no job, calls no model, and writes no memory or authority state. global Inb uchar 262144 global Cur ulong 8 diff --git a/tests/goal_microjobs/.crumb b/tests/goal_microjobs/.crumb index 3ff334a..e5b7b96 100644 --- a/tests/goal_microjobs/.crumb +++ b/tests/goal_microjobs/.crumb @@ -1,16 +1,23 @@ { "extensions": { "generated": { - "children": [], - "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-29T17:54:41Z", + "children": [ + { + "digest": "e1d8451acf26b764832cedb86714f72fd238deb4c632ab418df81fbb9962b0b0", + "last_commit": "b5057df", + "name": "canon", + "purpose": "Synthetic canonical Aienet-0 byte oracles, refusal probes and guard-removal mutants" + } + ], + "children_root": "sha256:0d16a180e37a367d57b67f95c31ba2227fa974ea63b13ef53cf9650dad0f8ed6", + "compiled_at": "2026-10-31T02:20:58Z", "compiler": "crumb-compile/1", - "digest": "sha256:b9f3213defcfd29f7c3a71088c3e8b38bef9853ac97440c83acd6854964d7197", + "digest": "sha256:63c714e665d89c601f7a5f8ab14d582efe36d2a6f83863bb90b8ac9ac4007409", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "files": 10, - "generated_at_commit": "946d701ed0c81684000eef6dc738c9e031db0b9f", - "source_tree": "sha256:30cd67b713a2c91e6cab56cb9b5eb1b63af03e7c9dea6f7ce259693c0fd75c92" + "files": 38, + "generated_at_commit": "4e11a8954699953f9e741a868b355f15d55de0d2", + "source_tree": "sha256:1804d07390823f415d5ee5d5da79e95bcaaaa23ef1837e6e64125e2aedc66668" } }, "name": "goal-microjobs", diff --git a/tests/goal_microjobs/canon/.crumb b/tests/goal_microjobs/canon/.crumb new file mode 100644 index 0000000..8fd8dd8 --- /dev/null +++ b/tests/goal_microjobs/canon/.crumb @@ -0,0 +1,19 @@ +{ + "extensions": { + "generated": { + "children": [], + "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "compiled_at": "2026-10-30T01:25:18Z", + "compiler": "crumb-compile/1", + "digest": "sha256:e1d8451acf26b764832cedb86714f72fd238deb4c632ab418df81fbb9962b0b0", + "evidence_files": 0, + "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "files": 28, + "generated_at_commit": "4e85855210a4828f1143c08518c0aea99208d008", + "source_tree": "sha256:350770c5db40ef00667897c76eaf162bfdcad28ace241b520cfa214fa95629cd" + } + }, + "name": "canon-tests", + "purpose": "Synthetic canonical Aienet-0 byte oracles, refusal probes and guard-removal mutants", + "schema_version": "1.0.0" +} diff --git a/tests/goal_microjobs/canon/binding.in.hex b/tests/goal_microjobs/canon/binding.in.hex new file mode 100644 index 0000000..494cd22 --- /dev/null +++ b/tests/goal_microjobs/canon/binding.in.hex @@ -0,0 +1 @@ +4d4a4231010100014a68659b24b5044347b602ecbb1fdd85e2d21564e006375cbb78365b87fd367a34f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b59236a37d4314ca967a1b1c91c8761d1c2e6af54641cea1254991936914641c16205f24d9711ae0f026f1ad6f7c9707de37a6db2801faf2dd564ab78070c5ccf90000000100000000000000006b49e010000000000001d4c0000000000000000c0000000000000040000000000000000c0000000000000000cb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b59000000010102000100000000000000000101010100010001070001000001d4c0000000000000000c0000000000000040000000000000000c000000006b49e01000000000000000000000000000000000b813d451ad70ac7598219d0dbd5a764e741f18ed011e912572fc10d71a4cdb1634f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000168da4a5dc4c78e6ea81403211802f2cff58981b9137b394a63f1b6c4f05bb25f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d4a52310101010017bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afcb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b5900000001000000070000000000000000000000000000000c0000000000000040000000000000000ca429b12fa8fd5bbed5158fb9cc1b9a18a626b35c2d514b7b9f03891e2b6012bdc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2704040404040404040404040404040404040404040404040404040404040404040000000000000000000000000000000000000000000000000000000000000000050505050505050505050505050505050505050505050505050505050505050546b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402550f471003f3df97c3df506ac797f6721fb1a1fb7b8f6f83d224498a65c88e24000000393021d7156853a33493645de7987f18068655aabf1710f527680a11588e88a70a3baa770f60dcef1e3852f421fcc4ddfad19b6a183f8d35f57012eb9f4f1d3b414e305601000000085db0f991345d05a6a6b982658de0088f8beeecc79135e6e2e06f405d7de88b17bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2746b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402591ab771ebbcfd6d9cb9094d106528add1a69d44c2c1f627f089ec58b9c61adf0000008120e4d4adf880b0bf93d7e3f2c940c6ba17ec73c26ee3ec6680245d18c787390b22ca2629de35c881cbaff258fc60adec00e570c6bc4dd3b52052b918e3679e35203120312031203230203520313335323535373433363538343439353136323620313334303030303839343736373732333034342031373032323933353934313131303735363831312036353930333630323236393131393534323120313432323331313936333630353437383730323220323830323934353031363236323937383132203137363531383235393636353134393134303720383631393939333634333737373232383139203220353336313634373037333339343735343632372035313637333230383338323239313837393733203136333434313439353230363830333637393634203133353038363036383439303439323435333036203735353534333330393134363132353437363620313231313133303837333835373737353638373920313736393238313532343239393734373937353420373230313733383233363130343532303238370a diff --git a/tests/goal_microjobs/canon/cases b/tests/goal_microjobs/canon/cases new file mode 100644 index 0000000..0986895 --- /dev/null +++ b/tests/goal_microjobs/canon/cases @@ -0,0 +1,19 @@ +generation 14 ingest +node 15 ingest +job 15 ingest +outcome 16 ingest +dag 17 ingest +staleoutput 19 ingest +receipt 19 ingest +dagbind 19 ingest +outbind 19 ingest +output 18 ingest +idempotence 15 ingest +binding 25 ingest +reserved 26 ingest +reserved1 26 ingest +reserved2 26 ingest +operand 24 ingest +objective 23 ingest +payload 11 emit +ref 10 emit diff --git a/tests/goal_microjobs/canon/dag.in.hex b/tests/goal_microjobs/canon/dag.in.hex new file mode 100644 index 0000000..9975582 --- /dev/null +++ b/tests/goal_microjobs/canon/dag.in.hex @@ -0,0 +1 @@ +4d4a4231010100014a68659b24b5044347b602ecbb1fdd85e2d21564e006375cbb78365b87fd367a34f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b59236a37d4314ca967a1b1c91c8761d1c2e6af54641cea1254991936914641c16205f24d9711ae0f026f1ad6f7c9707de37a6db2801faf2dd564ab78070c5ccf90000000100000000000000006b49e010000000000001d4c0000000000000000c0000000000000040000000000000000c0000000000000000cb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b59000000010102000100000000000000000101010100010001070001000001d4c0000000000000000c0000000000000040000000000000000c000000006b49e01000000000000000000000000000000000b813d451ad70ac7598219d0dbd5a764e741f18ed011e912572fc10d71a4cdb1634f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000168da4a5dc4c78e6ea81403211802f2cff58981b9137b394a63f1b6c4f05bb25f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d4a52310101010016bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afcb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b5900000001000000070000000000000000000000000000000c0000000000000040000000000000000ca529b12fa8fd5bbed5158fb9cc1b9a18a626b35c2d514b7b9f03891e2b6012bdc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2704040404040404040404040404040404040404040404040404040404040404040000000000000000000000000000000000000000000000000000000000000000050505050505050505050505050505050505050505050505050505050505050546b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402550f471003f3df97c3df506ac797f6721fb1a1fb7b8f6f83d224498a65c88e24000000393021d7156853a33493645de7987f18068655aabf1710f527680a11588e88a70a3baa770f60dcef1e3852f421fcc4ddfad19b6a183f8d35f57012eb9f4f1d3b414e30560100000024ab314fb3090b2603f2912e40e47691f7bd103a7f57bd8b2b04915aed6278f216bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2746b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402591ab771ebbcfd6d9cb9094d106528add1a69d44c2c1f627f089ec58b9c61adf0000008120e4d4adf880b0bf93d7e3f2c940c6ba17ec73c26ee3ec6680245d18c787390b22ca2629de35c881cbaff258fc60adec00e570c6bc4dd3b52052b918e3679e35203120312031203230203520313335323535373433363538343439353136323620313334303030303839343736373732333034342031373032323933353934313131303735363831312036353930333630323236393131393534323120313432323331313936333630353437383730323220323830323934353031363236323937383132203137363531383235393636353134393134303720383631393939333634333737373232383139203220353336313634373037333339343735343632372035313637333230383338323239313837393733203136333434313439353230363830333637393634203133353038363036383439303439323435333036203735353534333330393134363132353437363620313231313133303837333835373737353638373920313736393238313532343239393734373937353420373230313733383233363130343532303238370a diff --git a/tests/goal_microjobs/canon/dagbind.in.hex b/tests/goal_microjobs/canon/dagbind.in.hex new file mode 100644 index 0000000..e952007 --- /dev/null +++ b/tests/goal_microjobs/canon/dagbind.in.hex @@ -0,0 +1 @@ +4d4a4231010100014a68659b24b5044347b602ecbb1fdd85e2d21564e006375cbb78365b87fd367a34f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b59236a37d4314ca967a1b1c91c8761d1c2e6af54641cea1254991936914641c16205f24d9711ae0f026f1ad6f7c9707de37a6db2801faf2dd564ab78070c5ccf90000000100000000000000006b49e010000000000001d4c0000000000000000c0000000000000040000000000000000c0000000000000000cb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b59000000010102000100000000000000000101010100010001070001000001d4c0000000000000000c0000000000000040000000000000000c000000006b49e01000000000000000000000000000000000b813d451ad70ac7598219d0dbd5a764e741f18ed011e912572fc10d71a4cdb1634f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000168da4a5dc4c78e6ea81403211802f2cff58981b9137b394a63f1b6c4f05bb25f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d4a52310101010017bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afcb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b5900000001000000070000000000000000000000000000000c0000000000000040000000000000000ca529b12fa8fd5bbed5158fb9cc1b9a18a626b35c2d514b7b9f03891e2b6012bdc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2704040404040404040404040404040404040404040404040404040404040404040000000000000000000000000000000000000000000000000000000000000000050505050505050505050505050505050505050505050505050505050505050546b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402550f471003f3df97c3df506ac797f6721fb1a1fb7b8f6f83d224498a65c88e24000000393021d7156853a33493645de7987f18068655aabf1710f527680a11588e88a70a3baa770f60dcef1e3852f421fcc4ddfad19b6a183f8d35f57012eb9f4f1d3b414e30560100000096aea26619b2dcb5ba934906ebed112c6982ea97290c71e907475a45f009a0bf16bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2746b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402591ab771ebbcfd6d9cb9094d106528add1a69d44c2c1f627f089ec58b9c61adf0000008120e4d4adf880b0bf93d7e3f2c940c6ba17ec73c26ee3ec6680245d18c787390b22ca2629de35c881cbaff258fc60adec00e570c6bc4dd3b52052b918e3679e35203120312031203230203520313335323535373433363538343439353136323620313334303030303839343736373732333034342031373032323933353934313131303735363831312036353930333630323236393131393534323120313432323331313936333630353437383730323220323830323934353031363236323937383132203137363531383235393636353134393134303720383631393939333634333737373232383139203220353336313634373037333339343735343632372035313637333230383338323239313837393733203136333434313439353230363830333637393634203133353038363036383439303439323435333036203735353534333330393134363132353437363620313231313133303837333835373737353638373920313736393238313532343239393734373937353420373230313733383233363130343532303238370a diff --git a/tests/goal_microjobs/canon/document.hex b/tests/goal_microjobs/canon/document.hex new file mode 100644 index 0000000..2a69f86 --- /dev/null +++ b/tests/goal_microjobs/canon/document.hex @@ -0,0 +1 @@ +4d4a4231010100014a68659b24b5044347b602ecbb1fdd85e2d21564e006375cbb78365b87fd367a34f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b59236a37d4314ca967a1b1c91c8761d1c2e6af54641cea1254991936914641c16205f24d9711ae0f026f1ad6f7c9707de37a6db2801faf2dd564ab78070c5ccf90000000100000000000000006b49e010000000000001d4c0000000000000000c0000000000000040000000000000000c0000000000000000cb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b59000000010102000100000000000000000101010100010001070001000001d4c0000000000000000c0000000000000040000000000000000c000000006b49e01000000000000000000000000000000000b813d451ad70ac7598219d0dbd5a764e741f18ed011e912572fc10d71a4cdb1634f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000168da4a5dc4c78e6ea81403211802f2cff58981b9137b394a63f1b6c4f05bb25f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/tests/goal_microjobs/canon/emit.in b/tests/goal_microjobs/canon/emit.in new file mode 100644 index 0000000..e117864 --- /dev/null +++ b/tests/goal_microjobs/canon/emit.in @@ -0,0 +1,4 @@ +1 1 5361647073394754627 5167320838229187973 16344149520680367964 13508606849049245306 7 9 1 1 1 1 0 0 0 0 120000 +2 1 1 2 0 0 1 0 0 0 0 1 5 1 1 7 120000 1 7555433091461254766 12111308738577756879 17692815242997479754 7201738236104520287 0 +101 1 2 1 1 0 0 0 +4 5361647073394754627 5167320838229187973 16344149520680367964 13508606849049245306 3814921874117947330 12996142769160832235 17717439880488553956 12676639801442152629 10535788136671529622 8798657709457415452 3344755355376591141 5301180315914738710 2332623648325296368 2806214737171777502 4010133483098403549 6217983997814099193 13264178774803524725 10962215650333455950 8367434038882767141 8285515930500127510 1800003600 2 3 2 42 1 diff --git a/tests/goal_microjobs/canon/events b/tests/goal_microjobs/canon/events new file mode 100644 index 0000000..f3f001b --- /dev/null +++ b/tests/goal_microjobs/canon/events @@ -0,0 +1,2 @@ +3 2 2 1 1 1 20 0 13999863331929295105 7484602640151307408 16856984390822150564 8378917287653682471 0 7 +3 3 3 1 1 1 5 1 13999863331929295105 7484602640151307408 16856984390822150564 8378917287653682471 0 0 diff --git a/tests/goal_microjobs/canon/generation.in.hex b/tests/goal_microjobs/canon/generation.in.hex new file mode 100644 index 0000000..01b889a --- /dev/null +++ b/tests/goal_microjobs/canon/generation.in.hex @@ -0,0 +1 @@ +4d4a4231010100014a68659b24b5044347b602ecbb1fdd85e2d21564e006375cbb78365b87fd367a34f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b59236a37d4314ca967a1b1c91c8761d1c2e6af54641cea1254991936914641c16205f24d9711ae0f026f1ad6f7c9707de37a6db2801faf2dd564ab78070c5ccf90000000100000000000000006b49e010000000000001d4c0000000000000000c0000000000000040000000000000000c0000000000000000cb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b59000000010102000100000000000000000101010100010001070001000001d4c0000000000000000c0000000000000040000000000000000c000000006b49e01000000000000000000000000000000000b813d451ad70ac7598219d0dbd5a764e741f18ed011e912572fc10d71a4cdb1634f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000168da4a5dc4c78e6ea81403211802f2cff58981b9137b394a63f1b6c4f05bb25f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d4a52310101010017bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afcb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b5900000001000000070000000000000000000000000000000c0000000000000040000000000000000ca529b12fa8fd5bbed5158fb9cc1b9a18a626b35c2d514b7b9f03891e2b6012bdc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2704040404040404040404040404040404040404040404040404040404040404040000000000000000000000000000000000000000000000000000000000000000050505050505050505050505050505050505050505050505050505050505050546b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402550f471003f3df97c3df506ac797f6721fb1a1fb7b8f6f83d224498a65c88e24000000393021d7156853a33493645de7987f18068655aabf1710f527680a11588e88a70a3baa770f60dcef1e3852f421fcc4ddfad19b6a183f8d35f57012eb9f4f1d3b414e30560100000096aea26619b2dcb5ba934906ebed112c6982ea97290c71e907475a45f009a0bf17bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2746b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402591ab771ebbcfd6d9cb9094d106528add1a69d44c2c1f627f089ec58b9c61adf0000008120e4d4adf880b0bf93d7e3f2c940c6ba17ec73c26ee3ec6680245d18c787390b22ca2629de35c881cbaff258fc60adec00e570c6bc4dd3b52052b918e3679e35203120322031203230203520313335323535373433363538343439353136323620313334303030303839343736373732333034342031373032323933353934313131303735363831312036353930333630323236393131393534323120313432323331313936333630353437383730323220323830323934353031363236323937383132203137363531383235393636353134393134303720383631393939333634333737373232383139203220353336313634373037333339343735343632372035313637333230383338323239313837393733203136333434313439353230363830333637393634203133353038363036383439303439323435333036203735353534333330393134363132353437363620313231313133303837333835373737353638373920313736393238313532343239393734373937353420373230313733383233363130343532303238370a diff --git a/tests/goal_microjobs/canon/idempotence.in.hex b/tests/goal_microjobs/canon/idempotence.in.hex new file mode 100644 index 0000000..93043db --- /dev/null +++ b/tests/goal_microjobs/canon/idempotence.in.hex @@ -0,0 +1 @@ +4d4a4231010100014a68659b24b5044347b602ecbb1fdd85e2d21564e006375cbb78365b87fd367a34f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b59236a37d4314ca967a1b1c91c8761d1c2e6af54641cea1254991936914641c16205f24d9711ae0f026f1ad6f7c9707de37a6db2801faf2dd564ab78070c5ccf90000000100000000000000006b49e010000000000001d4c0000000000000000c0000000000000040000000000000000c0000000000000000cb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b59000000010102000100000000000000000101010100010001070001000001d4c0000000000000000c0000000000000040000000000000000c000000006b49e01000000000000000000000000000000000b813d451ad70ac7598219d0dbd5a764e741f18ed011e912572fc10d71a4cdb1634f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000168da4a5dc4c78e6ea81403211802f2cff58981b9137b394a63f1b6c4f05bb25f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d4a52310101010017bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afcb92d89cd9b73f82939aa9aa6d94248288505710f8f56dd147f72fb05ddf5b5900000001000000070000000000000000000000000000000c0000000000000040000000000000000ca529b12fa8fd5bbed5158fb9cc1b9a18a626b35c2d514b7b9f03891e2b6012bdc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2704040404040404040404040404040404040404040404040404040404040404040000000000000000000000000000000000000000000000000000000000000000050505050505050505050505050505050505050505050505050505050505050546b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402550f471003f3df97c3df506ac797f6721fb1a1fb7b8f6f83d224498a65c88e24000000f3c23c38993e9da47323aebed977c30e6760a0bd05b2517901f738831e05dec00e729c9938dc85652c9aafeff2f552a3c0d6ef9fcd89cf4610735cebad523b19414e30560100000040080fe0a6906af825676bb706618181ff7657435ee41b9e596c9db230dbb3b317bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2746b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402591ab771ebbcfd6d9cb9094d106528add1a69d44c2c1f627f089ec58b9c61adf0000007906dfaa2a42a4f2ba401649d0339f564bc61f05b6f9a6928f4bcab660fd4799760c83e61238e36f7d7ab78951eabf033a0efb6fadac05123f9828688892adfc35203120312031203230203520313335323535373433363538343439353136323620313334303030303839343736373732333034342031373032323933353934313131303735363831312036353930333630323236393131393534323120313432323331313936333630353437383730323220323830323934353031363236323937383132203137363531383235393636353134393134303720383631393939333634333737373232383139203220353336313634373037333339343735343632372035313637333230383338323239313837393733203136333434313439353230363830333637393634203133353038363036383439303439323435333036203735353534333330393134363132353437363620313231313133303837333835373737353638373920313736393238313532343239393734373937353420373230313733383233363130343532303238370a diff --git a/tests/goal_microjobs/canon/ingest.in.hex b/tests/goal_microjobs/canon/ingest.in.hex new file mode 100644 index 0000000..7461bbb --- /dev/null +++ b/tests/goal_microjobs/canon/ingest.in.hex @@ -0,0 +1 @@ +4d4a4231010100014a68659b24b5044347b602ecbb1fdd85e2d21564e006375cbb78365b87fd367a34f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b59236a37d4314ca967a1b1c91c8761d1c2e6af54641cea1254991936914641c16205f24d9711ae0f026f1ad6f7c9707de37a6db2801faf2dd564ab78070c5ccf90000000100000000000000006b49e010000000000001d4c0000000000000000c0000000000000040000000000000000c0000000000000000cb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b59000000010102000100000000000000000101010100010001070001000001d4c0000000000000000c0000000000000040000000000000000c000000006b49e01000000000000000000000000000000000b813d451ad70ac7598219d0dbd5a764e741f18ed011e912572fc10d71a4cdb1634f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000168da4a5dc4c78e6ea81403211802f2cff58981b9137b394a63f1b6c4f05bb25f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d4a52310101010017bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afcb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b5900000001000000070000000000000000000000000000000c0000000000000040000000000000000ca529b12fa8fd5bbed5158fb9cc1b9a18a626b35c2d514b7b9f03891e2b6012bdc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2704040404040404040404040404040404040404040404040404040404040404040000000000000000000000000000000000000000000000000000000000000000050505050505050505050505050505050505050505050505050505050505050546b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402550f471003f3df97c3df506ac797f6721fb1a1fb7b8f6f83d224498a65c88e24000000393021d7156853a33493645de7987f18068655aabf1710f527680a11588e88a70a3baa770f60dcef1e3852f421fcc4ddfad19b6a183f8d35f57012eb9f4f1d3b414e30560100000096aea26619b2dcb5ba934906ebed112c6982ea97290c71e907475a45f009a0bf17bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2746b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402591ab771ebbcfd6d9cb9094d106528add1a69d44c2c1f627f089ec58b9c61adf0000008120e4d4adf880b0bf93d7e3f2c940c6ba17ec73c26ee3ec6680245d18c787390b22ca2629de35c881cbaff258fc60adec00e570c6bc4dd3b52052b918e3679e35203120312031203230203520313335323535373433363538343439353136323620313334303030303839343736373732333034342031373032323933353934313131303735363831312036353930333630323236393131393534323120313432323331313936333630353437383730323220323830323934353031363236323937383132203137363531383235393636353134393134303720383631393939333634333737373232383139203220353336313634373037333339343735343632372035313637333230383338323239313837393733203136333434313439353230363830333637393634203133353038363036383439303439323435333036203735353534333330393134363132353437363620313231313133303837333835373737353638373920313736393238313532343239393734373937353420373230313733383233363130343532303238370a diff --git a/tests/goal_microjobs/canon/job.in.hex b/tests/goal_microjobs/canon/job.in.hex new file mode 100644 index 0000000..ba625bc --- /dev/null +++ b/tests/goal_microjobs/canon/job.in.hex @@ -0,0 +1 @@ +4d4a4231010100014a68659b24b5044347b602ecbb1fdd85e2d21564e006375cbb78365b87fd367a34f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b59236a37d4314ca967a1b1c91c8761d1c2e6af54641cea1254991936914641c16205f24d9711ae0f026f1ad6f7c9707de37a6db2801faf2dd564ab78070c5ccf90000000100000000000000006b49e010000000000001d4c0000000000000000c0000000000000040000000000000000c0000000000000000cb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b59000000010102000100000000000000000101010100010001070001000001d4c0000000000000000c0000000000000040000000000000000c000000006b49e01000000000000000000000000000000000b813d451ad70ac7598219d0dbd5a764e741f18ed011e912572fc10d71a4cdb1634f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000168da4a5dc4c78e6ea81403211802f2cff58981b9137b394a63f1b6c4f05bb25f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d4a52310101010017bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afca92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b5900000001000000070000000000000000000000000000000c0000000000000040000000000000000ca529b12fa8fd5bbed5158fb9cc1b9a18a626b35c2d514b7b9f03891e2b6012bdc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2704040404040404040404040404040404040404040404040404040404040404040000000000000000000000000000000000000000000000000000000000000000050505050505050505050505050505050505050505050505050505050505050546b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402550f471003f3df97c3df506ac797f6721fb1a1fb7b8f6f83d224498a65c88e24000000393021d7156853a33493645de7987f18068655aabf1710f527680a11588e88a70a3baa770f60dcef1e3852f421fcc4ddfad19b6a183f8d35f57012eb9f4f1d3b414e305601000000a4d3d310390d71f8a25124065e79e8e9ab01c884cea5be5e4eacb0f93262972017bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2746b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402591ab771ebbcfd6d9cb9094d106528add1a69d44c2c1f627f089ec58b9c61adf0000008120e4d4adf880b0bf93d7e3f2c940c6ba17ec73c26ee3ec6680245d18c787390b22ca2629de35c881cbaff258fc60adec00e570c6bc4dd3b52052b918e3679e35203120312031203230203520313335323535373433363538343439353136323620313334303030303839343736373732333034342031373032323933353934313131303735363831312036353930333630323236393131393534323120313432323331313936333630353437383730323220323830323934353031363236323937383132203137363531383235393636353134393134303720383631393939333634333737373232383139203220353336313634373037333339343735343632372035313637333230383338323239313837393733203136333434313439353230363830333637393634203133353038363036383439303439323435333036203735353534333330393134363132353437363620313231313133303837333835373737353638373920313736393238313532343239393734373937353420373230313733383233363130343532303238370a diff --git a/tests/goal_microjobs/canon/node.in.hex b/tests/goal_microjobs/canon/node.in.hex new file mode 100644 index 0000000..8e84158 --- /dev/null +++ b/tests/goal_microjobs/canon/node.in.hex @@ -0,0 +1 @@ +4d4a4231010100014a68659b24b5044347b602ecbb1fdd85e2d21564e006375cbb78365b87fd367a34f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b59236a37d4314ca967a1b1c91c8761d1c2e6af54641cea1254991936914641c16205f24d9711ae0f026f1ad6f7c9707de37a6db2801faf2dd564ab78070c5ccf90000000100000000000000006b49e010000000000001d4c0000000000000000c0000000000000040000000000000000c0000000000000000cb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b59000000010102000100000000000000000101010100010001070001000001d4c0000000000000000c0000000000000040000000000000000c000000006b49e01000000000000000000000000000000000b813d451ad70ac7598219d0dbd5a764e741f18ed011e912572fc10d71a4cdb1634f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000168da4a5dc4c78e6ea81403211802f2cff58981b9137b394a63f1b6c4f05bb25f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d4a52310101010017bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afcb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b5900000001000000070000000000000000000000000000000c0000000000000040000000000000000ca529b12fa8fd5bbed5158fb9cc1b9a18a626b35c2d514b7b9f03891e2b6012bdc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2704040404040404040404040404040404040404040404040404040404040404040000000000000000000000000000000000000000000000000000000000000000050505050505050505050505050505050505050505050505050505050505050546b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402550f471003f3df97c3df506ac797f6721fb1a1fb7b8f6f83d224498a65c88e24000000393021d7156853a33493645de7987f18068655aabf1710f527680a11588e88a70a3baa770f60dcef1e3852f421fcc4ddfad19b6a183f8d35f57012eb9f4f1d3b414e30560100000096aea26619b2dcb5ba934906ebed112c6982ea97290c71e907475a45f009a0bf17bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2746b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402591ab771ebbcfd6d9cb9094d106528add1a69d44c2c1f627f089ec58b9c61adf0000008120e4d4adf880b0bf93d7e3f2c940c6ba17ec73c26ee3ec6680245d18c787390b22ca2629de35c881cbaff258fc60adec00e570c6bc4dd3b52052b918e3679e35203220312031203230203520313335323535373433363538343439353136323620313334303030303839343736373732333034342031373032323933353934313131303735363831312036353930333630323236393131393534323120313432323331313936333630353437383730323220323830323934353031363236323937383132203137363531383235393636353134393134303720383631393939333634333737373232383139203220353336313634373037333339343735343632372035313637333230383338323239313837393733203136333434313439353230363830333637393634203133353038363036383439303439323435333036203735353534333330393134363132353437363620313231313133303837333835373737353638373920313736393238313532343239393734373937353420373230313733383233363130343532303238370a diff --git a/tests/goal_microjobs/canon/objective.in.hex b/tests/goal_microjobs/canon/objective.in.hex new file mode 100644 index 0000000..551b6a8 --- /dev/null +++ b/tests/goal_microjobs/canon/objective.in.hex @@ -0,0 +1 @@ +4d4a4231010100014a68659b24b5044247b602ecbb1fdd85e2d21564e006375cbb78365b87fd367a34f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b59236a37d4314ca967a1b1c91c8761d1c2e6af54641cea1254991936914641c16205f24d9711ae0f026f1ad6f7c9707de37a6db2801faf2dd564ab78070c5ccf90000000100000000000000006b49e010000000000001d4c0000000000000000c0000000000000040000000000000000c0000000000000000fdbfadd931b8c6b3b1e5de3802559d038329dc2e521b190c80d1cfc465165d87000000010102000100000000000000000101010100010001070001000001d4c0000000000000000c0000000000000040000000000000000c000000006b49e01000000000000000000000000000000000b813d451ad70ac7598219d0dbd5a764e741f18ed011e912572fc10d71a4cdb1634f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000168da4a5dc4c78e6ea81403211802f2cff58981b9137b394a63f1b6c4f05bb25f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d4a523101010100857d46211c920eb9ac1857d86356645469f29270c6e209875c95c8685981f31bfdbfadd931b8c6b3b1e5de3802559d038329dc2e521b190c80d1cfc465165d8700000001000000070000000000000000000000000000000c0000000000000040000000000000000ca529b12fa8fd5bbed5158fb9cc1b9a18a626b35c2d514b7b9f03891e2b6012bdc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2704040404040404040404040404040404040404040404040404040404040404040000000000000000000000000000000000000000000000000000000000000000050505050505050505050505050505050505050505050505050505050505050592271da9d5c9fb327fc9040ec33fe0f89ad5805861ab99fd9988c19e87a7225202550f471003f3df97c3df506ac797f6721fb1a1fb7b8f6f83d224498a65c88e240000009f16e6fe7ef88a21e086b633d32005f4b979655df4e85edaf55a7b35425d015f386c784f552ac15140cb5418041f9413c31c415e7390b9b898fba507df964e61414e305601000000755a836da09d43887af5badd3b0a96424c0c7f3ad30ddc7eb2f56f8452975b45857d46211c920eb9ac1857d86356645469f29270c6e209875c95c8685981f31bc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2792271da9d5c9fb327fc9040ec33fe0f89ad5805861ab99fd9988c19e87a7225202591ab771ebbcfd6d9cb9094d106528add1a69d44c2c1f627f089ec58b9c61adf0000005c110e3d0ee4c5ac855db5f8e7b3d61fae540374b6db5e2f79812870b9a5441f0696ba4d30d68322f3a64bb5d24577c42edfa30d69973bcf7c75601356c9059035203120312031203230203520313335323535373433363538343439353136323620313334303030303839343736373732333034342031373032323933353934313131303735363831312036353930333630323236393131393534323120313432323331313936333630353437383730323220323830323934353031363236323937383132203137363531383235393636353134393134303720383631393939333634333737373232383139203220353336313634373037333339343735343632372035313637333230383338323239313837393733203136333434313439353230363830333637393634203133353038363036383439303439323435333036203735353534333330393134363132353437363620313231313133303837333835373737353638373920313736393238313532343239393734373937353420373230313733383233363130343532303238370a diff --git a/tests/goal_microjobs/canon/operand.in.hex b/tests/goal_microjobs/canon/operand.in.hex new file mode 100644 index 0000000..6a5bddc --- /dev/null +++ b/tests/goal_microjobs/canon/operand.in.hex @@ -0,0 +1 @@ +4d4a4231010100014a68659b24b5044347b602ecbb1fdd85e2d21564e006375cbb78365b87fd367a34f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b59236a37d4314ca967a1b1c91c8761d1c2e6af54641cea1254991936914641c16205f24d9711ae0f026f1ad6f7c9707de37a6db2801faf2dd564ab78070c5ccf90000000100000000000000006b49e010000000000001d4c0000000000000000c0000000000000040000000000000000c0000000000000000cb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b59000000010102000100000000000000000101010100010001070001000001d4c0000000000000000c0000000000000040000000000000000c000000006b49e01000000000000000000000000000000000b813d451ad70ac7598219d0dbd5a764e741f18ed011e912572fc10d71a4cdb1634f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000001b86ab04a071d6430ebc9b683d2a1f182b175a88f7c78a3cd781d22b32b0114930000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d4a52310101010073dff04c5b098c76994be071e179594f1ebdd43335c7936fa698349df485c750cb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b5900000001000000070000000000000000000000000000000c0000000000000040000000000000000ced2c049e4ea0079066f76d5f00a7740794bb10de895d56919645d5e184ba7cff88f0e5651940529b608a817070f0b443f7a3c1dda45fff99c5aecf8656632805040404040404040404040404040404040404040404040404040404040404040400000000000000000000000000000000000000000000000000000000000000000505050505050505050505050505050505050505050505050505050505050505eabc43d4bf88a03dd22f1f5c89047d3a4fabeac8c6bcc20c453d9afc5c9a544502550f471003f3df97c3df506ac797f6721fb1a1fb7b8f6f83d224498a65c88e240000002cd3e308199b4c141b4f36b7b12cb3dd78087c4ad6a48d0761e3cdcff2a3fa964615ede1ee1ad3858682adcce390d1083b0a872a641cc9becba1e88a06e0afb0414e305601000000c60dc4864b76daff367a8d5da061b2e96cdecced8e6d1d4097cce7199bc8870a73dff04c5b098c76994be071e179594f1ebdd43335c7936fa698349df485c75088f0e5651940529b608a817070f0b443f7a3c1dda45fff99c5aecf8656632805eabc43d4bf88a03dd22f1f5c89047d3a4fabeac8c6bcc20c453d9afc5c9a544502591ab771ebbcfd6d9cb9094d106528add1a69d44c2c1f627f089ec58b9c61adf000000c9dfc16143e630716cbc828bc5ec629a9751e99312c55d54624af26f984089d513c29eece6f0348ddb578a277f7ed2296b8282a6b890c6caad6725ac02753c9f35203120312031203230203520313335323535373433363538343439353136323620313334303030303839343736373732333034342031373032323933353934313131303735363831312036353930333630323236393131393534323120313432323331313936333630353437383730323220323830323934353031363236323937383132203137363531383235393636353134393134303720383631393939333634333737373232383139203220353336313634373037333339343735343632372035313637333230383338323239313837393733203136333434313439353230363830333637393634203133353038363036383439303439323435333036203735353534333330393134363132353437363620313231313133303837333835373737353638373920313736393238313532343239393734373937353420373230313733383233363130343532303238370a diff --git a/tests/goal_microjobs/canon/outbind.in.hex b/tests/goal_microjobs/canon/outbind.in.hex new file mode 100644 index 0000000..da287d5 --- /dev/null +++ b/tests/goal_microjobs/canon/outbind.in.hex @@ -0,0 +1 @@ +4d4a4231010100014a68659b24b5044347b602ecbb1fdd85e2d21564e006375cbb78365b87fd367a34f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b59236a37d4314ca967a1b1c91c8761d1c2e6af54641cea1254991936914641c16205f24d9711ae0f026f1ad6f7c9707de37a6db2801faf2dd564ab78070c5ccf90000000100000000000000006b49e010000000000001d4c0000000000000000c0000000000000040000000000000000c0000000000000000cb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b59000000010102000100000000000000000101010100010001070001000001d4c0000000000000000c0000000000000040000000000000000c000000006b49e01000000000000000000000000000000000b813d451ad70ac7598219d0dbd5a764e741f18ed011e912572fc10d71a4cdb1634f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000168da4a5dc4c78e6ea81403211802f2cff58981b9137b394a63f1b6c4f05bb25f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d4a52310101010017bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afcb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b5900000001000000070000000000000000000000000000000c0000000000000040000000000000000ca529b12fa8fd5bbed5158fb9cc1b9a18a626b35c2d514b7b9f03891e2b6012bdc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2704040404040404040404040404040404040404040404040404040404040404040000000000000000000000000000000000000000000000000000000000000000050505050505050505050505050505050505050505050505050505050505050546b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402550f471003f3df97c3df506ac797f6721fb1a1fb7b8f6f83d224498a65c88e24000000393021d7156853a33493645de7987f18068655aabf1710f527680a11588e88a70a3baa770f60dcef1e3852f421fcc4ddfad19b6a183f8d35f57012eb9f4f1d3b414e30560100000096aea26619b2dcb5ba934906ebed112c6982ea97290c71e907475a45f009a0bf17bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afc3498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2746b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402591ab771ebbcfd6d9cb9094d106528add1a69d44c2c1f627f089ec58b9c61adf0000008120e4d4adf880b0bf93d7e3f2c940c6ba17ec73c26ee3ec6680245d18c787390b22ca2629de35c881cbaff258fc60adec00e570c6bc4dd3b52052b918e3679e35203120312031203230203520313335323535373433363538343439353136323620313334303030303839343736373732333034342031373032323933353934313131303735363831312036353930333630323236393131393534323120313432323331313936333630353437383730323220323830323934353031363236323937383132203137363531383235393636353134393134303720383631393939333634333737373232383139203220353336313634373037333339343735343632372035313637333230383338323239313837393733203136333434313439353230363830333637393634203133353038363036383439303439323435333036203735353534333330393134363132353437363620313231313133303837333835373737353638373920313736393238313532343239393734373937353420373230313733383233363130343532303238370a diff --git a/tests/goal_microjobs/canon/outcome.in.hex b/tests/goal_microjobs/canon/outcome.in.hex new file mode 100644 index 0000000..edfa0c3 --- /dev/null +++ b/tests/goal_microjobs/canon/outcome.in.hex @@ -0,0 +1 @@ +4d4a4231010100014a68659b24b5044347b602ecbb1fdd85e2d21564e006375cbb78365b87fd367a34f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b59236a37d4314ca967a1b1c91c8761d1c2e6af54641cea1254991936914641c16205f24d9711ae0f026f1ad6f7c9707de37a6db2801faf2dd564ab78070c5ccf90000000100000000000000006b49e010000000000001d4c0000000000000000c0000000000000040000000000000000c0000000000000000cb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b59000000010102000100000000000000000101010100010001070001000001d4c0000000000000000c0000000000000040000000000000000c000000006b49e01000000000000000000000000000000000b813d451ad70ac7598219d0dbd5a764e741f18ed011e912572fc10d71a4cdb1634f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000168da4a5dc4c78e6ea81403211802f2cff58981b9137b394a63f1b6c4f05bb25f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d4a52310103010017bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afcb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b5900000001000000070000000000000000000000000000000c0000000000000040000000000000000ca529b12fa8fd5bbed5158fb9cc1b9a18a626b35c2d514b7b9f03891e2b6012bdc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2704040404040404040404040404040404040404040404040404040404040404040000000000000000000000000000000000000000000000000000000000000000050505050505050505050505050505050505050505050505050505050505050546b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402550f471003f3df97c3df506ac797f6721fb1a1fb7b8f6f83d224498a65c88e24000000393021d7156853a33493645de7987f18068655aabf1710f527680a11588e88a70a3baa770f60dcef1e3852f421fcc4ddfad19b6a183f8d35f57012eb9f4f1d3b414e3056010000008360221b19313c5faf51e19be9123ca58c40285ae3fb30511134e7a12478df1017bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2746b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402591ab771ebbcfd6d9cb9094d106528add1a69d44c2c1f627f089ec58b9c61adf0000008120e4d4adf880b0bf93d7e3f2c940c6ba17ec73c26ee3ec6680245d18c787390b22ca2629de35c881cbaff258fc60adec00e570c6bc4dd3b52052b918e3679e35203120312031203230203520313335323535373433363538343439353136323620313334303030303839343736373732333034342031373032323933353934313131303735363831312036353930333630323236393131393534323120313432323331313936333630353437383730323220323830323934353031363236323937383132203137363531383235393636353134393134303720383631393939333634333737373232383139203220353336313634373037333339343735343632372035313637333230383338323239313837393733203136333434313439353230363830333637393634203133353038363036383439303439323435333036203735353534333330393134363132353437363620313231313133303837333835373737353638373920313736393238313532343239393734373937353420373230313733383233363130343532303238370a diff --git a/tests/goal_microjobs/canon/output.in.hex b/tests/goal_microjobs/canon/output.in.hex new file mode 100644 index 0000000..f5f6cf6 --- /dev/null +++ b/tests/goal_microjobs/canon/output.in.hex @@ -0,0 +1 @@ +4d4a4231010100014a68659b24b5044347b602ecbb1fdd85e2d21564e006375cbb78365b87fd367a34f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b59236a37d4314ca967a1b1c91c8761d1c2e6af54641cea1254991936914641c16205f24d9711ae0f026f1ad6f7c9707de37a6db2801faf2dd564ab78070c5ccf90000000100000000000000006b49e010000000000001d4c0000000000000000c0000000000000040000000000000000c0000000000000000cb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b59000000010102000100000000000000000101010100010001070001000001d4c0000000000000000c0000000000000040000000000000000c000000006b49e01000000000000000000000000000000000b813d451ad70ac7598219d0dbd5a764e741f18ed011e912572fc10d71a4cdb1634f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000168da4a5dc4c78e6ea81403211802f2cff58981b9137b394a63f1b6c4f05bb25f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d4a52310101010017bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afcb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b5900000001000000070000000000000000000000000000000c0000000000000040000000000000000ca529b12fa8fd5bbed5158fb9cc1b9a18a626b35c2d514b7b9f03891e2b6012bd000000000000000000000000000000000000000000000000000000000000000004040404040404040404040404040404040404040404040404040404040404040000000000000000000000000000000000000000000000000000000000000000050505050505050505050505050505050505050505050505050505050505050546b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402550f471003f3df97c3df506ac797f6721fb1a1fb7b8f6f83d224498a65c88e24000000393021d7156853a33493645de7987f18068655aabf1710f527680a11588e88a70a3baa770f60dcef1e3852f421fcc4ddfad19b6a183f8d35f57012eb9f4f1d3b414e3056010000009f6a00ad6d698ef0e1ca43815b5e7c58f45aa047b27a833e930c04c506dd1ad517bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128af000000000000000000000000000000000000000000000000000000000000000046b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402591ab771ebbcfd6d9cb9094d106528add1a69d44c2c1f627f089ec58b9c61adf0000008120e4d4adf880b0bf93d7e3f2c940c6ba17ec73c26ee3ec6680245d18c787390b22ca2629de35c881cbaff258fc60adec00e570c6bc4dd3b52052b918e3679e35203120312031203230203520313335323535373433363538343439353136323620313334303030303839343736373732333034342031373032323933353934313131303735363831312036353930333630323236393131393534323120313432323331313936333630353437383730323220323830323934353031363236323937383132203137363531383235393636353134393134303720383631393939333634333737373232383139203220353336313634373037333339343735343632372035313637333230383338323239313837393733203136333434313439353230363830333637393634203133353038363036383439303439323435333036203735353534333330393134363132353437363620313231313133303837333835373737353638373920313736393238313532343239393734373937353420373230313733383233363130343532303238370a diff --git a/tests/goal_microjobs/canon/payload.hex b/tests/goal_microjobs/canon/payload.hex new file mode 100644 index 0000000..4051c29 --- /dev/null +++ b/tests/goal_microjobs/canon/payload.hex @@ -0,0 +1 @@ +01000200030002000000000000002a diff --git a/tests/goal_microjobs/canon/payload.in.hex b/tests/goal_microjobs/canon/payload.in.hex new file mode 100644 index 0000000..e5a8e87 --- /dev/null +++ b/tests/goal_microjobs/canon/payload.in.hex @@ -0,0 +1 @@ +312031203533363136343730373333393437353436323720353136373332303833383232393138373937332031363334343134393532303638303336373936342031333530383630363834393034393234353330362037203920312031203120312030203020302030203132303030302032203120312032203020302031203020302030203020312035203120312037203132303030302031203735353534333330393134363132353437363620313231313133303837333835373737353638373920313736393238313532343239393734373937353420373230313733383233363130343532303238372030203130312031203220312031203020302030203420353336313634373037333339343735343632372035313637333230383338323239313837393733203136333434313439353230363830333637393634203133353038363036383439303439323435333036203338313439323138373431313739343733333020313239393631343237363931363038333232333520313737313734333938383034383835353339353620313236373636333938303134343231353236323920313035333537383831333636373135323936323220383739383635373730393435373431353435322033333434373535333535333736353931313431203533303131383033313539313437333837313020323333323632333634383332353239363336382032383036323134373337313731373737353032203430313031333334383330393834303335343920363231373938333939373831343039393139332031333236343137383737343830333532343732352031303936323231353635303333333435353935302038333637343334303338383832373637313431203832383535313539333035303031323735313020313830303030333630302032203320322034332031 diff --git a/tests/goal_microjobs/canon/plan b/tests/goal_microjobs/canon/plan new file mode 100644 index 0000000..abf4c50 --- /dev/null +++ b/tests/goal_microjobs/canon/plan @@ -0,0 +1,2 @@ +1 1 5361647073394754627 5167320838229187973 16344149520680367964 13508606849049245306 7 9 1 1 1 1 0 0 0 0 120000 +2 1 1 2 0 0 1 0 0 0 0 1 5 1 1 7 120000 1 7555433091461254766 12111308738577756879 17692815242997479754 7201738236104520287 0 diff --git a/tests/goal_microjobs/canon/receipt.in.hex b/tests/goal_microjobs/canon/receipt.in.hex new file mode 100644 index 0000000..ba1e0fd --- /dev/null +++ b/tests/goal_microjobs/canon/receipt.in.hex @@ -0,0 +1 @@ +4d4a4231010100014a68659b24b5044347b602ecbb1fdd85e2d21564e006375cbb78365b87fd367a34f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b59236a37d4314ca967a1b1c91c8761d1c2e6af54641cea1254991936914641c16205f24d9711ae0f026f1ad6f7c9707de37a6db2801faf2dd564ab78070c5ccf90000000100000000000000006b49e010000000000001d4c0000000000000000c0000000000000040000000000000000c0000000000000000cb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b59000000010102000100000000000000000101010100010001070001000001d4c0000000000000000c0000000000000040000000000000000c000000006b49e01000000000000000000000000000000000b813d451ad70ac7598219d0dbd5a764e741f18ed011e912572fc10d71a4cdb1634f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000168da4a5dc4c78e6ea81403211802f2cff58981b9137b394a63f1b6c4f05bb25f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d4a52310101010017bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afcb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b5900000001000000070000000000000000000000000000000c0000000000000040000000000000000ca529b12fa8fd5bbed5158fb9cc1b9a18a626b35c2d514b7b9f03891e2b6012bdc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2704040404040404040404040404040404040404040404040404040404040404040000000000000000000000000000000000000000000000000000000000000000050505050505050505050505050505050505050505050505050505050505050546b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402550f471003f3df97c3df506ac797f6721fb1a1fb7b8f6f83d224498a65c88e24000000383021d7156853a33493645de7987f18068655aabf1710f527680a11588e88a70a3baa770f60dcef1e3852f421fcc4ddfad19b6a183f8d35f57012eb9f4f1d3b414e30560100000096aea26619b2dcb5ba934906ebed112c6982ea97290c71e907475a45f009a0bf17bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2746b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402591ab771ebbcfd6d9cb9094d106528add1a69d44c2c1f627f089ec58b9c61adf0000008120e4d4adf880b0bf93d7e3f2c940c6ba17ec73c26ee3ec6680245d18c787390b22ca2629de35c881cbaff258fc60adec00e570c6bc4dd3b52052b918e3679e35203120312031203230203520313335323535373433363538343439353136323620313334303030303839343736373732333034342031373032323933353934313131303735363831312036353930333630323236393131393534323120313432323331313936333630353437383730323220323830323934353031363236323937383132203137363531383235393636353134393134303720383631393939333634333737373232383139203220353336313634373037333339343735343632372035313637333230383338323239313837393733203136333434313439353230363830333637393634203133353038363036383439303439323435333036203735353534333330393134363132353437363620313231313133303837333835373737353638373920313736393238313532343239393734373937353420373230313733383233363130343532303238370a diff --git a/tests/goal_microjobs/canon/ref.in.hex b/tests/goal_microjobs/canon/ref.in.hex new file mode 100644 index 0000000..408c877 --- /dev/null +++ b/tests/goal_microjobs/canon/ref.in.hex @@ -0,0 +1 @@ +312031203533363136343730373333393437353436323720353136373332303833383232393138373937332031363334343134393532303638303336373936342031333530383630363834393034393234353330362037203920312031203120312030203020302030203132303030302032203120312032203020302031203020302030203020312035203120312037203132303030302031203735353534333330393134363132353437363620313231313133303837333835373737353638373920313736393238313532343239393734373937353420373230313733383233363130343532303238372030203130312031203220312031203020302030203420353336313634373037333339343735343632372035313637333230383338323239313837393733203136333434313439353230363830333637393634203133353038363036383439303439323435333036203020302030203020313035333537383831333636373135323936323220383739383635373730393435373431353435322033333434373535333535333736353931313431203533303131383033313539313437333837313020323333323632333634383332353239363336382032383036323134373337313731373737353032203430313031333334383330393834303335343920363231373938333939373831343039393139332031333236343137383737343830333532343732352031303936323231353635303333333435353935302038333637343334303338383832373637313431203832383535313539333035303031323735313020313830303030333630302032203320322034322031 diff --git a/tests/goal_microjobs/canon/replay.in b/tests/goal_microjobs/canon/replay.in new file mode 100644 index 0000000..ffa8e00 --- /dev/null +++ b/tests/goal_microjobs/canon/replay.in @@ -0,0 +1,5 @@ +1 1 5361647073394754627 5167320838229187973 16344149520680367964 13508606849049245306 7 9 1 1 1 1 0 0 0 0 120000 +2 1 1 2 0 0 1 0 0 0 0 1 5 1 1 7 120000 1 7555433091461254766 12111308738577756879 17692815242997479754 7201738236104520287 0 +3 1 1 1 1 1 20 0 0 0 0 0 0 0 +3 2 2 1 1 1 20 0 13999863331929295105 7484602640151307408 16856984390822150564 8378917287653682471 0 7 +3 3 3 1 1 1 5 1 13999863331929295105 7484602640151307408 16856984390822150564 8378917287653682471 0 0 diff --git a/tests/goal_microjobs/canon/reserved.in.hex b/tests/goal_microjobs/canon/reserved.in.hex new file mode 100644 index 0000000..dcb9a58 --- /dev/null +++ b/tests/goal_microjobs/canon/reserved.in.hex @@ -0,0 +1 @@ +4d4a4231010100014a68659b24b5044347b602ecbb1fdd85e2d21564e006375cbb78365b87fd367a34f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b59236a37d4314ca967a1b1c91c8761d1c2e6af54641cea1254991936914641c16205f24d9711ae0f026f1ad6f7c9707de37a6db2801faf2dd564ab78070c5ccf90000000100000000000000006b49e010000000000001d4c0000000000000000c0000000000000040000000000000000c0000000000000000cb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b59000000010102000100000000000000000101010100010001070001000001d4c0000000000000000c0000000000000040000000000000000c000000006b49e01000000000000000000000000000000000b813d451ad70ac7598219d0dbd5a764e741f18ed011e912572fc10d71a4cdb1634f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000168da4a5dc4c78e6ea81403211802f2cff58981b9137b394a63f1b6c4f05bb25f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d4a52310101010117bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afcb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b5900000001000000070000000000000000000000000000000c0000000000000040000000000000000ca529b12fa8fd5bbed5158fb9cc1b9a18a626b35c2d514b7b9f03891e2b6012bdc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2704040404040404040404040404040404040404040404040404040404040404040000000000000000000000000000000000000000000000000000000000000000050505050505050505050505050505050505050505050505050505050505050546b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402550f471003f3df97c3df506ac797f6721fb1a1fb7b8f6f83d224498a65c88e24000000393021d7156853a33493645de7987f18068655aabf1710f527680a11588e88a70a3baa770f60dcef1e3852f421fcc4ddfad19b6a183f8d35f57012eb9f4f1d3b414e305601000000b515a26d38f469711f848f4655adecf388d5f2f8d01aaea022e527ffe2b3e0c417bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2746b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402591ab771ebbcfd6d9cb9094d106528add1a69d44c2c1f627f089ec58b9c61adf0000008120e4d4adf880b0bf93d7e3f2c940c6ba17ec73c26ee3ec6680245d18c787390b22ca2629de35c881cbaff258fc60adec00e570c6bc4dd3b52052b918e3679e35203120312031203230203520313335323535373433363538343439353136323620313334303030303839343736373732333034342031373032323933353934313131303735363831312036353930333630323236393131393534323120313432323331313936333630353437383730323220323830323934353031363236323937383132203137363531383235393636353134393134303720383631393939333634333737373232383139203220353336313634373037333339343735343632372035313637333230383338323239313837393733203136333434313439353230363830333637393634203133353038363036383439303439323435333036203735353534333330393134363132353437363620313231313133303837333835373737353638373920313736393238313532343239393734373937353420373230313733383233363130343532303238370a diff --git a/tests/goal_microjobs/canon/reserved1.in.hex b/tests/goal_microjobs/canon/reserved1.in.hex new file mode 100644 index 0000000..e3fd4de --- /dev/null +++ b/tests/goal_microjobs/canon/reserved1.in.hex @@ -0,0 +1 @@ +4d4a4231010100014a68659b24b5044347b602ecbb1fdd85e2d21564e006375cbb78365b87fd367a34f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b59236a37d4314ca967a1b1c91c8761d1c2e6af54641cea1254991936914641c16205f24d9711ae0f026f1ad6f7c9707de37a6db2801faf2dd564ab78070c5ccf90000000100000000000000006b49e010000000000001d4c0000000000000000c0000000000000040000000000000000c0000000000000000cb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b59000000010102000100000000000000000101010100010001070001000001d4c0000000000000000c0000000000000040000000000000000c000000006b49e01000000000000000000000000000000000b813d451ad70ac7598219d0dbd5a764e741f18ed011e912572fc10d71a4cdb1634f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000168da4a5dc4c78e6ea81403211802f2cff58981b9137b394a63f1b6c4f05bb25f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d4a52310101010017bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afcb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b5900000001000000070000000001000000000000000000000c0000000000000040000000000000000ca529b12fa8fd5bbed5158fb9cc1b9a18a626b35c2d514b7b9f03891e2b6012bdc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2704040404040404040404040404040404040404040404040404040404040404040000000000000000000000000000000000000000000000000000000000000000050505050505050505050505050505050505050505050505050505050505050546b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402550f471003f3df97c3df506ac797f6721fb1a1fb7b8f6f83d224498a65c88e24000000393021d7156853a33493645de7987f18068655aabf1710f527680a11588e88a70a3baa770f60dcef1e3852f421fcc4ddfad19b6a183f8d35f57012eb9f4f1d3b414e3056010000002ca80e4d853fd77c53839c7c7085f6b833681a67c9e09fde730eb67bd1bb253a17bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2746b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402591ab771ebbcfd6d9cb9094d106528add1a69d44c2c1f627f089ec58b9c61adf0000008120e4d4adf880b0bf93d7e3f2c940c6ba17ec73c26ee3ec6680245d18c787390b22ca2629de35c881cbaff258fc60adec00e570c6bc4dd3b52052b918e3679e35203120312031203230203520313335323535373433363538343439353136323620313334303030303839343736373732333034342031373032323933353934313131303735363831312036353930333630323236393131393534323120313432323331313936333630353437383730323220323830323934353031363236323937383132203137363531383235393636353134393134303720383631393939333634333737373232383139203220353336313634373037333339343735343632372035313637333230383338323239313837393733203136333434313439353230363830333637393634203133353038363036383439303439323435333036203735353534333330393134363132353437363620313231313133303837333835373737353638373920313736393238313532343239393734373937353420373230313733383233363130343532303238370a diff --git a/tests/goal_microjobs/canon/reserved2.in.hex b/tests/goal_microjobs/canon/reserved2.in.hex new file mode 100644 index 0000000..66653ff --- /dev/null +++ b/tests/goal_microjobs/canon/reserved2.in.hex @@ -0,0 +1 @@ +4d4a4231010100014a68659b24b5044347b602ecbb1fdd85e2d21564e006375cbb78365b87fd367a34f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b59236a37d4314ca967a1b1c91c8761d1c2e6af54641cea1254991936914641c16205f24d9711ae0f026f1ad6f7c9707de37a6db2801faf2dd564ab78070c5ccf90000000100000000000000006b49e010000000000001d4c0000000000000000c0000000000000040000000000000000c0000000000000000cb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b59000000010102000100000000000000000101010100010001070001000001d4c0000000000000000c0000000000000040000000000000000c000000006b49e01000000000000000000000000000000000b813d451ad70ac7598219d0dbd5a764e741f18ed011e912572fc10d71a4cdb1634f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000168da4a5dc4c78e6ea81403211802f2cff58981b9137b394a63f1b6c4f05bb25f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d4a52310101010017bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afcb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b5900000001000000070000000000000000000000000000000c0000000000000040000000000000000ca529b12fa8fd5bbed5158fb9cc1b9a18a626b35c2d514b7b9f03891e2b6012bdc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2704040404040404040404040404040404040404040404040404040404040404040000000000000000000000000000000000000000000000000000000000000000050505050505050505050505050505050505050505050505050505050505050546b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402550f471003f3df97c3df506ac797f6721fb1a1fb7b8f6f83d224498a65c88e24010000393021d7156853a33493645de7987f18068655aabf1710f527680a11588e88a70a3baa770f60dcef1e3852f421fcc4ddfad19b6a183f8d35f57012eb9f4f1d3b414e305601000000aa0a37605e3460ed94b65ff01973334a923141330aa42b41cd8f7c5ce3d41a3317bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2746b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402591ab771ebbcfd6d9cb9094d106528add1a69d44c2c1f627f089ec58b9c61adf0000008120e4d4adf880b0bf93d7e3f2c940c6ba17ec73c26ee3ec6680245d18c787390b22ca2629de35c881cbaff258fc60adec00e570c6bc4dd3b52052b918e3679e35203120312031203230203520313335323535373433363538343439353136323620313334303030303839343736373732333034342031373032323933353934313131303735363831312036353930333630323236393131393534323120313432323331313936333630353437383730323220323830323934353031363236323937383132203137363531383235393636353134393134303720383631393939333634333737373232383139203220353336313634373037333339343735343632372035313637333230383338323239313837393733203136333434313439353230363830333637393634203133353038363036383439303439323435333036203735353534333330393134363132353437363620313231313133303837333835373737353638373920313736393238313532343239393734373937353420373230313733383233363130343532303238370a diff --git a/tests/goal_microjobs/canon/run.sh b/tests/goal_microjobs/canon/run.sh new file mode 100755 index 0000000..75211e0 --- /dev/null +++ b/tests/goal_microjobs/canon/run.sh @@ -0,0 +1,61 @@ +#!/usr/bin/env bash +# Synthetic host verification oracle, not production orchestration. +set -euo pipefail +here=$(cd "$(dirname "$0")" && pwd) +repo=$(cd "$here/../../.." && pwd) +: "${CANON_RUN_ROOT:?Set CANON_RUN_ROOT to an external scratch/evidence directory}" +mkdir -p "$CANON_RUN_ROOT" +work=$(mktemp -d) +trap 'rm -rf "$work"' EXIT +for f in "$here"/*.hex; do xxd -r -p "$f" > "$work/$(basename "$f" .hex)"; done +bash "$repo/scripts/goal_microjobs/canon-build.sh" "$work/canon" +"$work/canon" emit < "$here/emit.in" > "$work/emission" +{ cat "$work/document" "$work/payload"; sha256sum < "$work/document" | cut -c1-64 | xxd -r -p; } > "$work/expected" +cmp "$work/emission" "$work/expected" +"$work/canon" ingest < "$work/ingest.in" > "$work/events" +cmp "$work/events" "$here/events" +printf 'PASS emit bytes + Omega dag hash; PASS exact RESULT/VERIFY\n' +checks=0 +while read -r name code mode; do + rc=0 + "$work/canon" "$mode" < "$work/$name.in" > "$work/out" 2> "$work/err" || rc=$? + test "$rc" -eq "$code" + test ! -s "$work/out" + printf 'PASS refusal %s rc=%s %s\n' "$name" "$rc" "$(cat "$work/err")" + checks=$((checks+1)) +done < "$here/cases" +mkdir -p "$work/mut/scripts/goal_microjobs" "$work/mut/src/goal_microjobs" +cp "$repo/scripts/goal_microjobs/canon-build.sh" "$work/mut/scripts/goal_microjobs/" +: > "$CANON_RUN_ROOT/mutants.tsv" +while read -r name code mode; do + # These share guards with isolated receipt/outbind and reserved controls. + case "$name" in staleoutput|reserved1|reserved2) continue;; esac + case "$name" in + objective) + # Remove the whole expected-objective pin: equality and identity derivation. + sed -e '/^note CANON-GUARD objective$/{n;s/.*/if false/;}' \ + -e 's/put av add 2 i get a add 15 i/put av add 2 i num doc add 8 mul i 8 8/' \ + "$repo/src/goal_microjobs/canon.om" > "$work/mut/src/goal_microjobs/canon.om";; + idempotence) + # The reviewed surviving mutant: check job_id but silently omit idempotence_key. + sed 's/same part doc 192 32 part r 40 32/same part doc 192 16 part r 40 16/' \ + "$repo/src/goal_microjobs/canon.om" > "$work/mut/src/goal_microjobs/canon.om";; + *) + sed "/^note CANON-GUARD $name\$/{n;s/.*/if false/;}" "$repo/src/goal_microjobs/canon.om" > "$work/mut/src/goal_microjobs/canon.om";; + esac + bash "$work/mut/scripts/goal_microjobs/canon-build.sh" "$work/mutant" > "$work/build.log" 2>&1 + rc=0 + "$work/mutant" "$mode" < "$work/$name.in" > "$work/out" 2> "$work/err" || rc=$? + test "$rc" -eq 0 || { printf 'SURVIVED %s rc=%s\n' "$name" "$rc"; exit 1; } + test -s "$work/out" + printf '%s\tKILLED\tguardless_exit=0\tguarded_exit=%s\n' "$name" "$code" | tee -a "$CANON_RUN_ROOT/mutants.tsv" +done < "$here/cases" +bash "$repo/scripts/goal_microjobs/build.sh" "$repo/src/goal_microjobs/kernel.om" "$work/kernel" +"$work/kernel" < "$here/replay.in" > "$CANON_RUN_ROOT/kernel.status" +grep -qx '101 1 4 1 1 0 0 0' "$CANON_RUN_ROOT/kernel.status" +printf 'PASS pinned kernel replay DONE; refusals=%s\n' "$checks" +# Build pin mismatch control: no output and exit 3, never silently compile with another tool. +rc=0 +OMEGA_OMC=/bin/true bash "$repo/scripts/goal_microjobs/canon-build.sh" "$work/not-built" > "$work/blocked" 2>&1 || rc=$? +test "$rc" -eq 3 && test ! -e "$work/not-built" +printf 'PASS compiler pin refusal rc=3\n' diff --git a/tests/goal_microjobs/canon/staleoutput.in.hex b/tests/goal_microjobs/canon/staleoutput.in.hex new file mode 100644 index 0000000..e5721c8 --- /dev/null +++ b/tests/goal_microjobs/canon/staleoutput.in.hex @@ -0,0 +1 @@ +4d4a4231010100014a68659b24b5044347b602ecbb1fdd85e2d21564e006375cbb78365b87fd367a34f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b59236a37d4314ca967a1b1c91c8761d1c2e6af54641cea1254991936914641c16205f24d9711ae0f026f1ad6f7c9707de37a6db2801faf2dd564ab78070c5ccf90000000100000000000000006b49e010000000000001d4c0000000000000000c0000000000000040000000000000000c0000000000000000cb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b59000000010102000100000000000000000101010100010001070001000001d4c0000000000000000c0000000000000040000000000000000c000000006b49e01000000000000000000000000000000000b813d451ad70ac7598219d0dbd5a764e741f18ed011e912572fc10d71a4cdb1634f1533b70aaefc2b45b92fdf617c4ebf5e0fdb345dc0de4afec78bc5689b0b500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000168da4a5dc4c78e6ea81403211802f2cff58981b9137b394a63f1b6c4f05bb25f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d4a52310101010017bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afcb92d89cd9b73f82939aa9aa6d94248289505710f8f56dd147f72fb05ddf5b5900000001000000070000000000000000000000000000000c0000000000000040000000000000000ca529b12fa8fd5bbed5158fb9cc1b9a18a626b35c2d514b7b9f03891e2b6012bdc3498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2704040404040404040404040404040404040404040404040404040404040404040000000000000000000000000000000000000000000000000000000000000000050505050505050505050505050505050505050505050505050505050505050546b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402550f471003f3df97c3df506ac797f6721fb1a1fb7b8f6f83d224498a65c88e24000000393021d7156853a33493645de7987f18068655aabf1710f527680a11588e88a70a3baa770f60dcef1e3852f421fcc4ddfad19b6a183f8d35f57012eb9f4f1d3b414e30560100000096aea26619b2dcb5ba934906ebed112c6982ea97290c71e907475a45f009a0bf17bb032f5704046d3e13a6475255a4913b0c32457a01114eb82314369c4128afc2498186a3a9890167dea672332b6490e9f009fdc74241a47447e4e134fa2d2746b676f12d14e8e70de399950a41add9353234381bcd77d91d549180de106eb402591ab771ebbcfd6d9cb9094d106528add1a69d44c2c1f627f089ec58b9c61adf0000008120e4d4adf880b0bf93d7e3f2c940c6ba17ec73c26ee3ec6680245d18c787390b22ca2629de35c881cbaff258fc60adec00e570c6bc4dd3b52052b918e3679e35203120312031203230203520313335323535373433363538343439353136323620313334303030303839343736373732333034342031373032323933353934313131303735363831312036353930333630323236393131393534323120313432323331313936333630353437383730323220323830323934353031363236323937383132203137363531383235393636353134393134303720383631393939333634333737373232383139203220353336313634373037333339343735343632372035313637333230383338323239313837393733203136333434313439353230363830333637393634203133353038363036383439303439323435333036203735353534333330393134363132353437363620313231313133303837333835373737353638373920313736393238313532343239393734373937353420373230313733383233363130343532303238370a