From 1a73c2d14fa4f9aeaf2933c02d5a289c6977788a Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Wed, 28 Oct 2026 09:21:57 -0500 Subject: [PATCH 1/3] feat(nl2): learn bounded Omega model-specific projections --- native/alignment/.crumb | 36 +++ native/alignment/PROTOCOL.md | 84 ++++++ native/alignment/check.om | 261 ++++++++++++++++ native/alignment/evidence/.crumb | 20 ++ native/alignment/evidence/run.json | 60 ++++ native/alignment/evidence/wolfram.jsonl | 14 + native/alignment/project.om | 385 ++++++++++++++++++++++++ 7 files changed, 860 insertions(+) create mode 100644 native/alignment/.crumb create mode 100644 native/alignment/PROTOCOL.md create mode 100644 native/alignment/check.om create mode 100644 native/alignment/evidence/.crumb create mode 100644 native/alignment/evidence/run.json create mode 100644 native/alignment/evidence/wolfram.jsonl create mode 100644 native/alignment/project.om diff --git a/native/alignment/.crumb b/native/alignment/.crumb new file mode 100644 index 0000000..9d53f8f --- /dev/null +++ b/native/alignment/.crumb @@ -0,0 +1,36 @@ +{ + "extensions": { + "generated": { + "children": [ + { + "digest": "f27afb55a17f16dfd54de8183764c527dd96ba50f0848a7a4a440712df6f5962", + "last_commit": "", + "name": "evidence", + "purpose": "NL2 synthetic host receipts and independent Wolfram calls, no activations" + } + ], + "children_root": "sha256:b73f29b754ff048220ad5560e2fea543722426eab95bd8f0db54d967980483be", + "compiled_at": "2026-10-28T14:20:37Z", + "compiler": "crumb-compile/1", + "digest": "sha256:41c545d1c412d1036f364a528f1bbb5f818da53c7468f6f5b8fe5c54c77a58d6", + "evidence_files": 0, + "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "files": 0, + "generated_at_commit": "b6c33e3a82611361b37c651df70d9a645045773a", + "source_tree": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + "owner_lane": "", + "seed": { + "files": [ + "PROTOCOL.md", + "check.om", + "project.om" + ], + "purpose_auto": "Repository root alignment. Purpose not yet described by a human." + } + }, + "layer": "research", + "name": "alignment", + "purpose": "NL2 bounded host-only model-specific projection learning and synthetic evidence", + "schema_version": "1.0.0" +} diff --git a/native/alignment/PROTOCOL.md b/native/alignment/PROTOCOL.md new file mode 100644 index 0000000..9581ff8 --- /dev/null +++ b/native/alignment/PROTOCOL.md @@ -0,0 +1,84 @@ +# NL-2: model-specific projection experiment + +Refs: [aien-train #34](https://github.com/aien-dev/aien-train/issues/34), [architecture #349](https://github.com/aien-dev/aien-architecture-mv/issues/349). This is the isolated latent-projection ablation reserved by #18, not the shared-base specialist pilot #26/#27 or an inference engine. + +## Frozen plan before execution + +1. Use existing seeded Omega scalar f64 arithmetic, fsqrt, fixed pools and bounded loops. Fit separate H_model -> P_model -> Z_shared projections. No device, capture, checkpoint or serving calls. +2. Compare full-rank orthogonal Procrustes (reflections allowed), truncated spectral least squares (principal-component regression, PCR), and a learned nonlinear quadratic feature projection. The last is nonlinear in its input, not an MLP or a trained transformer. Do not call PCR the generally different optimal reduced-rank regression. +3. Keep training and held-out latent rows disjoint. Independent Wolfram constructs representations and exact expected projectors. A held-out synthetic algebra check is not evidence of model/task generalization. Freeze all constants and fixtures before running; do not adjust them from held-out output. +4. Exercise wrong basis, null and shuffled-label controls, lossy rank, stale bindings, nonfinite input, bad shape and convergence/rank refusal. Run a changed-coefficient mutant and require the independent expected result to fail. +5. Publish only synthetic arrays, source/compiler/binary digests, commands, exits and oracle call/result evidence. A numerical vector proposes information; it carries no authority and this code executes no proposed operation. + +## Source and scope + +Training base: aien-train `b6c33e3a82611361b37c651df70d9a645045773a`, origin `git@github.com:aien-dev/aien-train.git`, default `main`. +Seeded compiler: omega-mv `1fe5976d398646b17acabbf6d9dfae96b017e439`, committed `seed/out/omc` SHA256 `d6290c7663c2b4bafb59eb3fdf812476e977f4c144def71095c6248ef9b96b84`. The file is unchanged relative to that commit. This resolves draft omega #919's compiler identity: it is this committed newer compiler, not documented historical `2c824805` or `49923639`. Its `.om` source is `seed/omc/omc.om`; its scalar contract is `docs/one_layer/OMEGESE.md` section 9.9. No compiler rebuild or trust-policy change. + +The bounded experiment supports at most 32 paired rows, four input features and four shared coordinates, all f64, fixed row stride four, with an explicit caller-supplied coordinate convention and no automatic centering or intercept. Quadratic lifting supports two raw coordinates into four features. These are declared host experiment bounds, not support for unmodified transformer dimensions. A future real-model adapter must supply an owner-qualified bounded readout or obtain an explicit capacity/composition extension through Omega #663; it cannot silently truncate dimensions. + +## Frozen numerical contract + +The exact derivations, fixture arrays, thresholds and independent expected results live in `evidence/wolfram.jsonl` (raw tool-call/tool-result events). Alignment is normalized residual sum of squares (NRSE), with a separate maximum absolute feature error and orthogonality residual. NRSE is undefined on zero target energy and must refuse. No cosine-only success criterion. + +Cyclic symmetric Jacobi diagonalization is bounded to 64 sweeps, at most four features. Stop only when all off-diagonal terms are within `1e-14 * max(1,max(abs(diagonal)))`; nonconvergence refuses. Retain eigenvalues above `1e-10 * largest`; requested rank must be available. Procrustes requires square, full-rank cross covariance. Frozen synthetic thresholds: NRSE <= `1e-12` and max absolute error <= `1e-6`. These are preregistered choices, not measured hardware/model tolerances. Numerical oracle verifies the formulas and constants before execution. + +All five bindings (model revision, layer/readout definition, tokenizer revision, precision profile, projection version) must match before a projection is used. Changing any one yields refusal, never a cosine-based acceptance. Schema IDs here are synthetic fixture bindings, not a second transport; any later message uses NL-3's canonical envelope and existing microjob authorization. Binding checks in this host harness are experiment-integrity checks, not cryptographic authorization. + +## Real-model preregistration: BLOCKED + +Keep three experimental modes separate: + +- **Hidden-state readout:** internal residual-stream tensors captured at a precise native operation boundary. Not messages, text or proof of reasoning. +- **Learned messages:** sender-generated numerical communication trained against the shared task labels. Not necessarily a transformer hidden state. +- **Latent reasoning/recurrence:** repeated internal-state computation. NOT_RUN here; neither alignment nor message decoding demonstrates it. + +Before any capture, freeze checkpoint/source/weight/tokenizer/chat-template digests, model architecture and text-only layer numbering, state dimension/shape, exact pre/post-normalization tap, last-nonpadding-token aggregation, precision/quantization/scale, native backend revision, deterministic settings, consent scope and data split manifest. Do not mix KV or GDN state, model weights or recurrence with residual readouts. + +Use public synthetic task identifiers, paired by semantic task and byte-span rather than assuming tokenizer positions are compatible. Fit each projector using training only; use validation to select rank/regularization, then seal projections and all identities before NL-6's independent single-use holdout. Never fit or select on the final holdout. Compare within-model cross-layer, cross-model, wrong basis, identity/null, shuffled labels and frozen random controls; report same-task feature preservation, exact typed operator/shape/dtype/effect recovery, independent authorized task completion, abstention and catastrophic wrong-operation count. The deterministic typed checker, not the numerical channel, grants semantic acceptance; existing authority decides effects. + +For model/layer/tokenizer/precision/projection changes, first report changed-field vector and mismatch count, refusal count and accepted-stale count (required zero). Refit as a new preregistered version, never silently reuse. On admitted paired calibration data report new versus original NRSE and max error, cross-projection drift, orthogonality residual where relevant, retained rank, condition/eigenvalue profile, held-out feature and task fidelity, refusal rate and wrong-operation rate. Report quantization/noise separately with the exact profile. No comparison treats a model rename as basis compatibility. + +Record complete capture, fitting, validation and inference costs: wall/CPU/device time, all calls/retries, raw/readout/projector/cache/scratch bytes, cold/warm IO, encode/project/decode/verify overhead and amortization assumptions. Host wall time here is process observation, not GPU latency or energy. Real-model p50/p95, memory headroom and lifecycle economics remain NOT_RUN until instrumented by existing owners and independent NL-6 evaluation. + +## Exact access request (not authorization) + +Request owner-reviewed, private-local, read-only activation access for these candidates, in this order: + +| Candidate | Exact requested readout | Present evidence / blocker | +| --- | --- | --- | +| `Qwen/Qwen3.5-0.8B` revision `2fc06364715b967f1860aea9cf38778875588b17` | text residual after decoder blocks 0, 5, 11, 17, 23, before final normalization, last nonpadding token | Public text config: 24 blocks, hidden width 1024, declared bfloat16, hybrid linear/full attention. Core #737 reports staging only; actual local checkpoint/tokenizer/precision digests and native capture qualification unavailable. BLOCKED. | +| `Qwen/Qwen3.5-2B` revision `15852e8c16360a2fea060d615a32b45270f8a8fc` | text residual after blocks 0, 5, 11, 17, 23, before final normalization, last nonpadding token | Public text config: 24 blocks, hidden width 2048, declared bfloat16, hybrid linear/full attention. Native owner Omega #694 must admit the actual local checkpoint and tap. Not acquired here. BLOCKED. | +| private reference 27B | block 0, exact middle block and final block, each post-block/pre-final-normalization, last nonpadding token | Exact model ID/revision, block count, source license, precision, tokenizer and native readout manifest must come from Core #735/#724; nickname is not identity. BLOCKED. | +| private reference 35B | same three relative taps, with exact integer middle/final block IDs frozen by owner before capture | No live tap or serving modification authorized. Exact manifest and separate offline capture path required. BLOCKED. | + +Public metadata read on 2026-10-28: [0.8B revision](https://huggingface.co/api/models/Qwen/Qwen3.5-0.8B/revision/main), [2B revision](https://huggingface.co/api/models/Qwen/Qwen3.5-2B/revision/main), [0.8B config](https://huggingface.co/Qwen/Qwen3.5-0.8B/blob/2fc06364715b967f1860aea9cf38778875588b17/config.json), [2B config](https://huggingface.co/Qwen/Qwen3.5-2B/blob/15852e8c16360a2fea060d615a32b45270f8a8fc/config.json). Apache-2.0 is declared by those public metadata records. This is a source inventory, not a local checkpoint or license-admission receipt. The owner must match the local hashes and text-only config before capture; an unavailable or changed layer refuses and requires a revised preregistration. Relative private-reference taps are frozen into integer IDs by the owner before any run, never chosen from alignment outcomes. + +Capture method: existing qualified native Omega/Core prefill path emits bounded, explicitly allowlisted residual slices into an owner-controlled local file, with task ID, model/config/tap/tokenizer/precision digests and record shape. No public HTTP instrumentation, private conversations, raw user traces, KV export or activation publication. The existing native owner must implement/qualify the tap against a pinned independent reference, including wrong-layer and wrong-checkpoint mutants. This PR does not install a tap or call a model. + +Resource request: one explicitly scheduled offline GB10 exclusive window of 30 minutes, sequential candidates only, after existing whole-Spark memory ledger and spark-window/quietlock procedure. The resident service may not be interrupted by this request; if an uncontended exclusive window cannot coexist, defer until its owner separately authorizes a maintenance window. No second large model is loaded beside it. Requested limits: only the fixed synthetic calibration corpus, no capture of live sessions, no checkpoint downloads without distinct acquisition approval, no public endpoint, no production promotion. Exact peak bytes and approved start/end must be supplied by the native owner before opening the window; the duration is a scheduling request, not a runtime estimate. + +Required approvals: Drake/operator for the exact window and resources; Omega #694/#695/#663 and Core #735/#724/#737 owners for the model identity, tap and native correctness/memory admission; data owner under Open Humanity #26/#33 for exact capture package, retention and separate training use, including withdrawal. Capture consent does not authorize publishing raw activations. Derived projectors inherit provenance and withdrawal/quarantine obligations. Without all approvals and manifests, real-model results remain **BLOCKED**, not FAIL, PASS or synthetic substitutes. + +## Dependencies and status + +Product/runtime dependencies: only the pinned existing seeded Omega compiler and Linux AArch64 host. Wolfram hosted service is an independent verification oracle, not shipped runtime. Git, gh and crumb are read-only/source custody and contribution tooling. No foreign trainer, numerical library, compiler, scheduler or authority is introduced. Synthetic validation is host-only; model-native, latent-reasoning, cross-model activation, GPU, energy, production and deployment claims are NOT_RUN/BLOCKED. No shared Omega guide semantics, compiler, protocol or ownership changes are made by this bounded experiment. + +## Host API and replay + +`project.om` is a reusable bounded unit, not a model loader. Populate `HX` and `ZY` at `4*row+column`, and `HM[0..4]` with the five immutable identity fields. `fit(n,d,o,rank,mode)` learns a candidate and installs `HP`, shape `HS` and identity `HI` only after successful validation. Mode 1 is square orthogonal Procrustes; mode 2 is truncated spectral PCR. `lift(n)` expands raw two-coordinate inputs to `[x,y,x*x,y*y]` before a mode-2 fit. `measure(n)` checks all bindings and finite data, stores residual sum, target energy and maximum error in `HE`, and refuses zero energy. Return codes: 0 success, 1 bounds/shape, 2 nonfinite input or result, 3 nonconvergence, 4 insufficient retained rank, 5 unready/stale identity, 6 zero target energy. A failed fit preserves the prior installed projector, not a newly authorized use of it. Pools are process-local and not reentrant. + +Replay on Linux AArch64 with the exact compiler above: + +```sh +cat native/alignment/project.om native/alignment/check.om > /tmp/nl2-check.om +/path/to/pinned/seed/out/omc < /tmp/nl2-check.om > /tmp/nl2-check +chmod +x /tmp/nl2-check +/tmp/nl2-check +``` + +The integer-only output is lossless: each line is `case field unsigned-binary64-bits`, except cases 10 (binding mismatch counts), 998 (total failed checks), and 999 (failed-check ID). Fields 0/1/2/3 are residual sum/target energy/max error/NRSE; field 4 is orthogonality error where relevant; fields `100+4*i+j` are coefficients and `200+4*r+j` are held-out predictions. No decimal formatter or foreign numerical implementation sits in the executed path. + +Cases 0/1 are identity and independently rotated representations with separately fitted projectors. Case 2 is the rank-two minimum-norm map from `[u,v,u+v]`; case 3 learns quadratic feature coefficients from nonlinear targets. Cases 4/5 are raw-linear and reversed-training-label controls against the same nonlinear held-out target. Cases 11/12/13 exercise an incompatible identity basis, null map and wrong transpose. Case 14 drops a genuine coordinate with rank-one PCR. `evidence/run.json` contains the observed raw output, exact source/binary digests and independent removed-metadata-guard and negated-projector mutant outputs. Mutants are temporary verification inputs, never an alternate product path. `evidence/oracle-review.jsonl` records independent Wolfram decoding and comparison of the native predictions against ground truth, not merely the harness's self-reported score. + +The NL-6 benchmark contract was frozen at benchmarks `8ee0a494bf73230c9d37647eb3caea792298fa8d` before host results. This algebra experiment does not claim the separate multi-seed task campaign, superiority, economics, real-model compatibility or independent task-completion acceptance. Numerical alignment alone cannot qualify those claims. diff --git a/native/alignment/check.om b/native/alignment/check.om new file mode 100644 index 0000000..deb6a43 --- /dev/null +++ b/native/alignment/check.om @@ -0,0 +1,261 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Oracle arrays and rational coefficients independently checked by Wolfram. +text sp " " +text nl "\n" +global ob uchar 32 +global fail ulong 1 + +fn num v ulong to void +k = ulong 0 +x = v +while true bound 30 +put ob sub 31 k uchar add rem x 10 48 +k = add k 1 +x = div x 10 +if eq x 0 +break +end +end +off = sub 32 k +while lt off 32 bound 32 +r = write 1 ob off sub 32 off +if le r 0 +exit 90 +end +off = add off ulong r +end +end + +fn out a ulong b ulong c ulong to void +num a +r = write 1 sp 0 1 +num b +r = write 1 sp 0 1 +num c +r = write 1 nl 0 1 +end + +fn ck b bool code ulong to void +if not b +put fail 0 add get fail 0 1 +out 999 code 1 +end +end + +fn row r ulong x f64 y f64 to void +put HX ix r 0 x +put HX ix r 1 y +put ZY ix r 0 x +put ZY ix r 1 y +end + +fn zr r ulong x f64 y f64 to void +put ZY ix r 0 x +put ZY ix r 1 y +end + +fn data held bool kind ulong to void +clear +if held +row 0 -3.0 -1.0 +row 1 -3.0 1.0 +row 2 -1.0 -3.0 +row 3 -1.0 3.0 +row 4 1.0 -3.0 +row 5 1.0 3.0 +row 6 3.0 -1.0 +row 7 3.0 1.0 +else +row 0 -2.0 -1.0 +row 1 -2.0 1.0 +row 2 -1.0 -2.0 +row 3 -1.0 2.0 +row 4 1.0 -2.0 +row 5 1.0 2.0 +row 6 2.0 -1.0 +row 7 2.0 1.0 +end +for r ulong 8 +x = get HX ix r 0 +y = get HX ix r 1 +if eq kind 1 +put HX ix r 0 y +put HX ix r 1 sub 0.0 x +end +if eq kind 2 +put HX ix r 2 add x y +end +end +if ge kind 3 +if held +zr 0 -2.0 8.0 +zr 1 -2.0 10.0 +zr 2 8.0 -2.0 +zr 3 8.0 4.0 +zr 4 10.0 -2.0 +zr 5 10.0 4.0 +zr 6 4.0 8.0 +zr 7 4.0 10.0 +else +zr 0 -1.0 3.0 +zr 1 -1.0 5.0 +zr 2 3.0 -1.0 +zr 3 3.0 3.0 +zr 4 5.0 -1.0 +zr 5 5.0 3.0 +zr 6 3.0 3.0 +zr 7 3.0 5.0 +end +if ne kind 4 +lift 8 +end +if and eq kind 5 not held +for r ulong 4 +for j ulong 2 +v = get ZY ix r j +pos = ix sub 7 r j +put ZY ix r j get ZY pos +put ZY pos v +end +end +end +end +end + +fn record id ulong d ulong to void +for i ulong d +for j ulong 2 +out id add 100 ix i j bitcast ulong get HP ix i j +end +end +for r ulong 8 +for j ulong 2 +out id add 200 ix r j bitcast ulong predict r j +end +end +out id 0 bitcast ulong get HE 0 +out id 1 bitcast ulong get HE 1 +out id 2 bitcast ulong get HE 2 +out id 3 bitcast ulong div get HE 0 get HE 1 +end + +fn ratio to f64 +ret div get HE 0 get HE 1 +end + +fn campaign kind ulong to void +data false kind +d = ulong 2 +rank = ulong 2 +mode = ulong 1 +if eq kind 2 +d = 3 +mode = 2 +end +if ge kind 3 +mode = 2 +if ne kind 4 +d = 4 +rank = 4 +end +end +rc = fit 8 d 2 rank mode +ck eq rc 0 add 10 kind +if ne rc 0 +ret +end +if lt kind 2 +ck le ortherr 2 0.000001 add 20 kind +out kind 4 bitcast ulong ortherr 2 +end +if eq kind 2 +ck le fabs sub get HP 0 div f64 2.0 3.0 0.000001 22 +ck le fabs sub get HP 1 div f64 -1.0 3.0 0.000001 23 +end +ck eq measure 8 0 add 30 kind +if lt kind 4 +ck le div get HE 0 get HE 1 0.000000000001 add 40 kind +end +data true kind +ck eq measure 8 0 add 50 kind +record kind d +if lt kind 4 +ck le div get HE 0 get HE 1 0.000000000001 add 60 kind +ck le get HE 2 0.000001 add 70 kind +else +want = div f64 41.0 46.0 +if eq kind 5 +want = div f64 10.0 23.0 +end +ck le fabs sub ratio want 0.000001 add 80 kind +end +end + +fn controls to void +data false 1 +ck eq fit 8 2 2 2 1 0 100 +for field ulong 5 +put HM field add get HM field 1 +ck eq mismatch 1 add 110 field +ck eq measure 8 5 add 120 field +out 10 field mismatch +put HM field sub get HM field 1 +end +note Wrong basis with matching labels is detected numerically, not authenticated away. +data true 1 +put HP 0 1.0 +put HP 1 0.0 +put HP 4 0.0 +put HP 5 1.0 +ck eq measure 8 0 130 +ck eq div get HE 0 get HE 1 2.0 131 +record 11 2 +for i ulong 16 +put HP i 0.0 +end +ck eq measure 8 0 132 +ck eq div get HE 0 get HE 1 1.0 133 +record 12 2 +put HP 1 -1.0 +put HP 4 1.0 +ck eq measure 8 0 134 +ck eq div get HE 0 get HE 1 4.0 135 +record 13 2 +note Invalid retraining must preserve the previous installed projector and identity. +data false 2 +put HP 0 7.0 +ck eq fit 8 3 2 3 2 4 140 +ck eq get HP 0 7.0 141 +put HX 0 bitcast f64 ulong 9221120237041090560 +ck eq fit 8 3 2 2 2 2 142 +ck eq get HP 0 7.0 143 +ck eq fit 33 3 2 2 2 1 144 +for i ulong 128 +put ZY i 0.0 +end +ck eq measure 8 2 145 +put HX 0 -2.0 +ck eq measure 8 6 146 +note Rank one is a genuinely reduced projection and cannot recover both coordinates. +data false 2 +ck eq fit 8 3 2 1 2 0 150 +data true 2 +ck eq measure 8 0 151 +ck gt div get HE 0 get HE 1 0.000001 152 +record 14 3 +end + +fn main to int +for i ulong 5 +put HM i add i 101 +end +for kind ulong 6 +campaign kind +end +controls +out 998 0 get fail 0 +if ne get fail 0 0 +ret 1 +end +ret 0 +end diff --git a/native/alignment/evidence/.crumb b/native/alignment/evidence/.crumb new file mode 100644 index 0000000..43f397e --- /dev/null +++ b/native/alignment/evidence/.crumb @@ -0,0 +1,20 @@ +{ + "extensions": { + "generated": { + "children": [], + "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "compiled_at": "2026-10-28T14:20:37Z", + "compiler": "crumb-compile/1", + "digest": "sha256:f27afb55a17f16dfd54de8183764c527dd96ba50f0848a7a4a440712df6f5962", + "evidence_files": 0, + "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "files": 0, + "generated_at_commit": "b6c33e3a82611361b37c651df70d9a645045773a", + "source_tree": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + } + }, + "layer": "research", + "name": "alignment-evidence", + "purpose": "NL2 synthetic host receipts and independent Wolfram calls, no activations", + "schema_version": "1.0.0" +} diff --git a/native/alignment/evidence/run.json b/native/alignment/evidence/run.json new file mode 100644 index 0000000..008bd78 --- /dev/null +++ b/native/alignment/evidence/run.json @@ -0,0 +1,60 @@ +{ + "schema": "nl2-host-v1", + "source_base": "b6c33e3a82611361b37c651df70d9a645045773a", + "compiler_commit": "1fe5976d398646b17acabbf6d9dfae96b017e439", + "compiler_sha256": "d6290c7663c2b4bafb59eb3fdf812476e977f4c144def71095c6248ef9b96b84", + "source_sha256": "373fbf6da2f928968f1b30066d69d0f78c97e5b7bb419a728e529af4c23b3744", + "binary_sha256": "77c262696a2091d316bc2a71dd69e8e9b6d7b126f0d39c9f4ef81c182d754418", + "commands": [ + { + "argv": [ + "cat", + "project.om", + "check.om" + ], + "purpose": "concatenate handwritten Omega units" + }, + { + "argv": [ + "/home/drakestapleton/workspace/omega-911-harness-fresh/seed/out/omc" + ], + "stdin": "concatenated source", + "exit": 0, + "stderr": "" + }, + { + "argv": [ + "/tmp/nl2-check" + ], + "exit": 0, + "stdout": "0 4 0\n0 100 4607182418800017408\n0 101 0\n0 104 0\n0 105 4607182418800017408\n0 200 13837309855095848960\n0 201 13830554455654793216\n0 204 13837309855095848960\n0 205 4607182418800017408\n0 208 13830554455654793216\n0 209 13837309855095848960\n0 212 13830554455654793216\n0 213 4613937818241073152\n0 216 4607182418800017408\n0 217 13837309855095848960\n0 220 4607182418800017408\n0 221 4613937818241073152\n0 224 4613937818241073152\n0 225 13830554455654793216\n0 228 4613937818241073152\n0 229 4607182418800017408\n0 0 0\n0 1 4635329916471083008\n0 2 0\n0 3 0\n1 4 0\n1 100 0\n1 101 4607182418800017408\n1 104 13830554455654793216\n1 105 0\n1 200 13837309855095848960\n1 201 13830554455654793216\n1 204 13837309855095848960\n1 205 4607182418800017408\n1 208 13830554455654793216\n1 209 13837309855095848960\n1 212 13830554455654793216\n1 213 4613937818241073152\n1 216 4607182418800017408\n1 217 13837309855095848960\n1 220 4607182418800017408\n1 221 4613937818241073152\n1 224 4613937818241073152\n1 225 13830554455654793216\n1 228 4613937818241073152\n1 229 4607182418800017408\n1 0 0\n1 1 4635329916471083008\n1 2 0\n1 3 0\n2 100 4604180019048437076\n2 101 13823048456275842386\n2 104 13823048456275842386\n2 105 4604180019048437078\n2 108 4599676419421066585\n2 109 4599676419421066585\n2 200 13837309855095848962\n2 201 13830554455654793222\n2 204 13837309855095848959\n2 205 4607182418800017399\n2 208 13830554455654793222\n2 209 13837309855095848962\n2 212 13830554455654793207\n2 213 4613937818241073152\n2 216 4607182418800017399\n2 217 13837309855095848960\n2 220 4607182418800017414\n2 221 4613937818241073154\n2 224 4613937818241073151\n2 225 13830554455654793207\n2 228 4613937818241073154\n2 229 4607182418800017414\n2 0 4175558134200270848\n2 1 4635329916471083008\n2 2 4384254237245177856\n2 3 4147167864361792307\n3 100 4607182418800017408\n3 101 0\n3 104 0\n3 105 4607182418800017408\n3 108 4368491638549381120\n3 109 4607182418800017407\n3 112 4607182418800017407\n3 113 4368491638549381120\n3 200 13835058055282163708\n3 201 4620693217682128894\n3 204 13835058055282163708\n3 205 4621819117588971519\n3 208 4620693217682128894\n3 209 13835058055282163708\n3 212 4620693217682128894\n3 213 4616189618054758401\n3 216 4621819117588971519\n3 217 13835058055282163708\n3 220 4621819117588971519\n3 221 4616189618054758401\n3 224 4616189618054758401\n3 225 4620693217682128894\n3 228 4616189618054758401\n3 229 4621819117588971519\n3 0 4180466354106662912\n3 1 4649685140283326464\n3 2 4386506037058863104\n3 3 4137633205476780477\n4 100 4607182418800017408\n4 101 0\n4 104 0\n4 105 4607182418800017408\n4 200 13837309855095848960\n4 201 13830554455654793216\n4 204 13837309855095848960\n4 205 4607182418800017408\n4 208 13830554455654793216\n4 209 13837309855095848960\n4 212 13830554455654793216\n4 213 4613937818241073152\n4 216 4607182418800017408\n4 217 13837309855095848960\n4 220 4607182418800017408\n4 221 4613937818241073152\n4 224 4613937818241073152\n4 225 13830554455654793216\n4 228 4613937818241073152\n4 229 4607182418800017408\n4 0 4648981452841549824\n4 1 4649685140283326464\n4 2 4621256167635550208\n4 3 4606203375402762952\n5 100 13830554455654793216\n5 101 0\n5 104 0\n5 105 13830554455654793216\n5 108 4368491638549381120\n5 109 4607182418800017407\n5 112 4607182418800017407\n5 113 4368491638549381120\n5 200 4616189618054758401\n5 201 4621819117588971519\n5 204 4616189618054758401\n5 205 4620693217682128894\n5 208 4621819117588971519\n5 209 4616189618054758401\n5 212 4621819117588971519\n5 213 13835058055282163708\n5 216 4620693217682128894\n5 217 4616189618054758401\n5 220 4620693217682128894\n5 221 13835058055282163708\n5 224 13835058055282163708\n5 225 4621819117588971519\n5 228 13835058055282163708\n5 229 4620693217682128894\n5 0 4644337115725824001\n5 1 4649685140283326464\n5 2 4618441417868443649\n5 3 4601503967095941567\n10 0 1\n10 1 1\n10 2 1\n10 3 1\n10 4 1\n11 100 4607182418800017408\n11 101 0\n11 104 0\n11 105 4607182418800017408\n11 200 13830554455654793216\n11 201 4613937818241073152\n11 204 4607182418800017408\n11 205 4613937818241073152\n11 208 13837309855095848960\n11 209 4607182418800017408\n11 212 4613937818241073152\n11 213 4607182418800017408\n11 216 13837309855095848960\n11 217 13830554455654793216\n11 220 4613937818241073152\n11 221 13830554455654793216\n11 224 13830554455654793216\n11 225 13837309855095848960\n11 228 4607182418800017408\n11 229 13837309855095848960\n11 0 4639833516098453504\n11 1 4635329916471083008\n11 2 4616189618054758400\n11 3 4611686018427387904\n12 100 0\n12 101 0\n12 104 0\n12 105 0\n12 200 0\n12 201 0\n12 204 0\n12 205 0\n12 208 0\n12 209 0\n12 212 0\n12 213 0\n12 216 0\n12 217 0\n12 220 0\n12 221 0\n12 224 0\n12 225 0\n12 228 0\n12 229 0\n12 0 4635329916471083008\n12 1 4635329916471083008\n12 2 4613937818241073152\n12 3 4607182418800017408\n13 100 0\n13 101 13830554455654793216\n13 104 4607182418800017408\n13 105 0\n13 200 4613937818241073152\n13 201 4607182418800017408\n13 204 4613937818241073152\n13 205 13830554455654793216\n13 208 4607182418800017408\n13 209 4613937818241073152\n13 212 4607182418800017408\n13 213 13837309855095848960\n13 216 13830554455654793216\n13 217 4613937818241073152\n13 220 13830554455654793216\n13 221 13837309855095848960\n13 224 13837309855095848960\n13 225 4607182418800017408\n13 228 13837309855095848960\n13 229 13830554455654793216\n13 0 4644337115725824000\n13 1 4635329916471083008\n13 2 4618441417868443648\n13 3 4616189618054758400\n14 100 4595172819793696087\n14 101 4595172819793696087\n14 104 4595172819793696087\n14 105 4595172819793696087\n14 108 4599676419421066585\n14 109 4599676419421066585\n14 200 13835058055282163714\n14 201 13835058055282163714\n14 204 13830554455654793218\n14 205 13830554455654793218\n14 208 13835058055282163714\n14 209 13835058055282163714\n14 212 4607182418800017410\n14 213 4607182418800017410\n14 216 13830554455654793218\n14 217 13830554455654793218\n14 220 4611686018427387906\n14 221 4611686018427387906\n14 224 4607182418800017410\n14 225 4607182418800017410\n14 228 4611686018427387906\n14 229 4611686018427387906\n14 0 4630826316843712512\n14 1 4635329916471083008\n14 2 4611686018427387905\n14 3 4602678819172646912\n998 0 0\n", + "stderr": "" + } + ], + "scope": "synthetic-host", + "real_model_status": "BLOCKED", + "negative_controls": [ + { + "name": "metadata", + "mutation": "remove metadata mismatch refusal", + "source_sha256": "c4cc6cbffafcc890c354fcf96b85b191e0f721fdb711ef0a257ad06c1f20633a", + "compile_exit": 0, + "compile_stderr": "", + "exit": 1, + "stdout": "0 4 0\n0 100 4607182418800017408\n0 101 0\n0 104 0\n0 105 4607182418800017408\n0 200 13837309855095848960\n0 201 13830554455654793216\n0 204 13837309855095848960\n0 205 4607182418800017408\n0 208 13830554455654793216\n0 209 13837309855095848960\n0 212 13830554455654793216\n0 213 4613937818241073152\n0 216 4607182418800017408\n0 217 13837309855095848960\n0 220 4607182418800017408\n0 221 4613937818241073152\n0 224 4613937818241073152\n0 225 13830554455654793216\n0 228 4613937818241073152\n0 229 4607182418800017408\n0 0 0\n0 1 4635329916471083008\n0 2 0\n0 3 0\n1 4 0\n1 100 0\n1 101 4607182418800017408\n1 104 13830554455654793216\n1 105 0\n1 200 13837309855095848960\n1 201 13830554455654793216\n1 204 13837309855095848960\n1 205 4607182418800017408\n1 208 13830554455654793216\n1 209 13837309855095848960\n1 212 13830554455654793216\n1 213 4613937818241073152\n1 216 4607182418800017408\n1 217 13837309855095848960\n1 220 4607182418800017408\n1 221 4613937818241073152\n1 224 4613937818241073152\n1 225 13830554455654793216\n1 228 4613937818241073152\n1 229 4607182418800017408\n1 0 0\n1 1 4635329916471083008\n1 2 0\n1 3 0\n2 100 4604180019048437076\n2 101 13823048456275842386\n2 104 13823048456275842386\n2 105 4604180019048437078\n2 108 4599676419421066585\n2 109 4599676419421066585\n2 200 13837309855095848962\n2 201 13830554455654793222\n2 204 13837309855095848959\n2 205 4607182418800017399\n2 208 13830554455654793222\n2 209 13837309855095848962\n2 212 13830554455654793207\n2 213 4613937818241073152\n2 216 4607182418800017399\n2 217 13837309855095848960\n2 220 4607182418800017414\n2 221 4613937818241073154\n2 224 4613937818241073151\n2 225 13830554455654793207\n2 228 4613937818241073154\n2 229 4607182418800017414\n2 0 4175558134200270848\n2 1 4635329916471083008\n2 2 4384254237245177856\n2 3 4147167864361792307\n3 100 4607182418800017408\n3 101 0\n3 104 0\n3 105 4607182418800017408\n3 108 4368491638549381120\n3 109 4607182418800017407\n3 112 4607182418800017407\n3 113 4368491638549381120\n3 200 13835058055282163708\n3 201 4620693217682128894\n3 204 13835058055282163708\n3 205 4621819117588971519\n3 208 4620693217682128894\n3 209 13835058055282163708\n3 212 4620693217682128894\n3 213 4616189618054758401\n3 216 4621819117588971519\n3 217 13835058055282163708\n3 220 4621819117588971519\n3 221 4616189618054758401\n3 224 4616189618054758401\n3 225 4620693217682128894\n3 228 4616189618054758401\n3 229 4621819117588971519\n3 0 4180466354106662912\n3 1 4649685140283326464\n3 2 4386506037058863104\n3 3 4137633205476780477\n4 100 4607182418800017408\n4 101 0\n4 104 0\n4 105 4607182418800017408\n4 200 13837309855095848960\n4 201 13830554455654793216\n4 204 13837309855095848960\n4 205 4607182418800017408\n4 208 13830554455654793216\n4 209 13837309855095848960\n4 212 13830554455654793216\n4 213 4613937818241073152\n4 216 4607182418800017408\n4 217 13837309855095848960\n4 220 4607182418800017408\n4 221 4613937818241073152\n4 224 4613937818241073152\n4 225 13830554455654793216\n4 228 4613937818241073152\n4 229 4607182418800017408\n4 0 4648981452841549824\n4 1 4649685140283326464\n4 2 4621256167635550208\n4 3 4606203375402762952\n5 100 13830554455654793216\n5 101 0\n5 104 0\n5 105 13830554455654793216\n5 108 4368491638549381120\n5 109 4607182418800017407\n5 112 4607182418800017407\n5 113 4368491638549381120\n5 200 4616189618054758401\n5 201 4621819117588971519\n5 204 4616189618054758401\n5 205 4620693217682128894\n5 208 4621819117588971519\n5 209 4616189618054758401\n5 212 4621819117588971519\n5 213 13835058055282163708\n5 216 4620693217682128894\n5 217 4616189618054758401\n5 220 4620693217682128894\n5 221 13835058055282163708\n5 224 13835058055282163708\n5 225 4621819117588971519\n5 228 13835058055282163708\n5 229 4620693217682128894\n5 0 4644337115725824001\n5 1 4649685140283326464\n5 2 4618441417868443649\n5 3 4601503967095941567\n999 120 1\n10 0 1\n999 121 1\n10 1 1\n999 122 1\n10 2 1\n999 123 1\n10 3 1\n999 124 1\n10 4 1\n11 100 4607182418800017408\n11 101 0\n11 104 0\n11 105 4607182418800017408\n11 200 13830554455654793216\n11 201 4613937818241073152\n11 204 4607182418800017408\n11 205 4613937818241073152\n11 208 13837309855095848960\n11 209 4607182418800017408\n11 212 4613937818241073152\n11 213 4607182418800017408\n11 216 13837309855095848960\n11 217 13830554455654793216\n11 220 4613937818241073152\n11 221 13830554455654793216\n11 224 13830554455654793216\n11 225 13837309855095848960\n11 228 4607182418800017408\n11 229 13837309855095848960\n11 0 4639833516098453504\n11 1 4635329916471083008\n11 2 4616189618054758400\n11 3 4611686018427387904\n12 100 0\n12 101 0\n12 104 0\n12 105 0\n12 200 0\n12 201 0\n12 204 0\n12 205 0\n12 208 0\n12 209 0\n12 212 0\n12 213 0\n12 216 0\n12 217 0\n12 220 0\n12 221 0\n12 224 0\n12 225 0\n12 228 0\n12 229 0\n12 0 4635329916471083008\n12 1 4635329916471083008\n12 2 4613937818241073152\n12 3 4607182418800017408\n13 100 0\n13 101 13830554455654793216\n13 104 4607182418800017408\n13 105 0\n13 200 4613937818241073152\n13 201 4607182418800017408\n13 204 4613937818241073152\n13 205 13830554455654793216\n13 208 4607182418800017408\n13 209 4613937818241073152\n13 212 4607182418800017408\n13 213 13837309855095848960\n13 216 13830554455654793216\n13 217 4613937818241073152\n13 220 13830554455654793216\n13 221 13837309855095848960\n13 224 13837309855095848960\n13 225 4607182418800017408\n13 228 13837309855095848960\n13 229 13830554455654793216\n13 0 4644337115725824000\n13 1 4635329916471083008\n13 2 4618441417868443648\n13 3 4616189618054758400\n14 100 4595172819793696087\n14 101 4595172819793696087\n14 104 4595172819793696087\n14 105 4595172819793696087\n14 108 4599676419421066585\n14 109 4599676419421066585\n14 200 13835058055282163714\n14 201 13835058055282163714\n14 204 13830554455654793218\n14 205 13830554455654793218\n14 208 13835058055282163714\n14 209 13835058055282163714\n14 212 4607182418800017410\n14 213 4607182418800017410\n14 216 13830554455654793218\n14 217 13830554455654793218\n14 220 4611686018427387906\n14 221 4611686018427387906\n14 224 4607182418800017410\n14 225 4607182418800017410\n14 228 4611686018427387906\n14 229 4611686018427387906\n14 0 4630826316843712512\n14 1 4635329916471083008\n14 2 4611686018427387905\n14 3 4602678819172646912\n998 0 5\n", + "stderr": "", + "binary_sha256": "f3fce1441af331b05843c144ede38594cacbb058a1f5a966714522a721037436" + }, + { + "name": "projector", + "mutation": "negate learned installed coefficients", + "source_sha256": "6466c26287940b1716f960d280aa2aefb61a8ed62aa7a90ecf7456c1660e74a9", + "compile_exit": 0, + "compile_stderr": "", + "exit": 1, + "stdout": "0 4 0\n999 40 1\n0 100 13830554455654793216\n0 101 0\n0 104 0\n0 105 13830554455654793216\n0 200 4613937818241073152\n0 201 4607182418800017408\n0 204 4613937818241073152\n0 205 13830554455654793216\n0 208 4607182418800017408\n0 209 4613937818241073152\n0 212 4607182418800017408\n0 213 13837309855095848960\n0 216 13830554455654793216\n0 217 4613937818241073152\n0 220 13830554455654793216\n0 221 13837309855095848960\n0 224 13837309855095848960\n0 225 4607182418800017408\n0 228 13837309855095848960\n0 229 13830554455654793216\n0 0 4644337115725824000\n0 1 4635329916471083008\n0 2 4618441417868443648\n0 3 4616189618054758400\n999 60 1\n999 70 1\n1 4 0\n999 41 1\n1 100 0\n1 101 13830554455654793216\n1 104 4607182418800017408\n1 105 0\n1 200 4613937818241073152\n1 201 4607182418800017408\n1 204 4613937818241073152\n1 205 13830554455654793216\n1 208 4607182418800017408\n1 209 4613937818241073152\n1 212 4607182418800017408\n1 213 13837309855095848960\n1 216 13830554455654793216\n1 217 4613937818241073152\n1 220 13830554455654793216\n1 221 13837309855095848960\n1 224 13837309855095848960\n1 225 4607182418800017408\n1 228 13837309855095848960\n1 229 13830554455654793216\n1 0 4644337115725824000\n1 1 4635329916471083008\n1 2 4618441417868443648\n1 3 4616189618054758400\n999 61 1\n999 71 1\n999 22 1\n999 23 1\n999 42 1\n2 100 13827552055903212884\n2 101 4599676419421066578\n2 104 4599676419421066578\n2 105 13827552055903212886\n2 108 13823048456275842393\n2 109 13823048456275842393\n2 200 4613937818241073154\n2 201 4607182418800017414\n2 204 4613937818241073151\n2 205 13830554455654793207\n2 208 4607182418800017414\n2 209 4613937818241073154\n2 212 4607182418800017399\n2 213 13837309855095848960\n2 216 13830554455654793207\n2 217 4613937818241073152\n2 220 13830554455654793222\n2 221 13837309855095848962\n2 224 13837309855095848959\n2 225 4607182418800017399\n2 228 13837309855095848962\n2 229 13830554455654793222\n2 0 4644337115725824001\n2 1 4635329916471083008\n2 2 4618441417868443649\n2 3 4616189618054758401\n999 62 1\n999 72 1\n999 43 1\n3 100 13830554455654793216\n3 101 0\n3 104 0\n3 105 13830554455654793216\n3 108 13591863675404156928\n3 109 13830554455654793215\n3 112 13830554455654793215\n3 113 13591863675404156928\n3 200 4611686018427387900\n3 201 13844065254536904702\n3 204 4611686018427387900\n3 205 13845191154443747327\n3 208 13844065254536904702\n3 209 4611686018427387900\n3 212 13844065254536904702\n3 213 13839561654909534209\n3 216 13845191154443747327\n3 217 4611686018427387900\n3 220 13845191154443747327\n3 221 13839561654909534209\n3 224 13839561654909534209\n3 225 13844065254536904702\n3 228 13839561654909534209\n3 229 13845191154443747327\n3 0 4658692339538067456\n3 1 4649685140283326464\n3 2 4626322717216342016\n3 3 4616189618054758400\n999 63 1\n999 73 1\n4 100 13830554455654793216\n4 101 0\n4 104 0\n4 105 13830554455654793216\n4 200 4613937818241073152\n4 201 4607182418800017408\n4 204 4613937818241073152\n4 205 13830554455654793216\n4 208 4607182418800017408\n4 209 4613937818241073152\n4 212 4607182418800017408\n4 213 13837309855095848960\n4 216 13830554455654793216\n4 217 4613937818241073152\n4 220 13830554455654793216\n4 221 13837309855095848960\n4 224 13837309855095848960\n4 225 4607182418800017408\n4 228 13837309855095848960\n4 229 13830554455654793216\n4 0 4651796202608656384\n4 1 4649685140283326464\n4 2 4622382067542392832\n4 3 4608650983895899091\n999 84 1\n5 100 4607182418800017408\n5 101 0\n5 104 0\n5 105 4607182418800017408\n5 108 13591863675404156928\n5 109 13830554455654793215\n5 112 13830554455654793215\n5 113 13591863675404156928\n5 200 13839561654909534209\n5 201 13845191154443747327\n5 204 13839561654909534209\n5 205 13844065254536904702\n5 208 13845191154443747327\n5 209 13839561654909534209\n5 212 13845191154443747327\n5 213 4611686018427387900\n5 216 13844065254536904702\n5 217 13839561654909534209\n5 220 13844065254536904702\n5 221 4611686018427387900\n5 224 4611686018427387900\n5 225 13845191154443747327\n5 228 4611686018427387900\n5 229 13844065254536904702\n5 0 4657988652096290816\n5 1 4649685140283326464\n5 2 4625759767262920704\n5 3 4615210574657503944\n999 85 1\n10 0 1\n10 1 1\n10 2 1\n10 3 1\n10 4 1\n11 100 4607182418800017408\n11 101 0\n11 104 0\n11 105 4607182418800017408\n11 200 13830554455654793216\n11 201 4613937818241073152\n11 204 4607182418800017408\n11 205 4613937818241073152\n11 208 13837309855095848960\n11 209 4607182418800017408\n11 212 4613937818241073152\n11 213 4607182418800017408\n11 216 13837309855095848960\n11 217 13830554455654793216\n11 220 4613937818241073152\n11 221 13830554455654793216\n11 224 13830554455654793216\n11 225 13837309855095848960\n11 228 4607182418800017408\n11 229 13837309855095848960\n11 0 4639833516098453504\n11 1 4635329916471083008\n11 2 4616189618054758400\n11 3 4611686018427387904\n12 100 0\n12 101 0\n12 104 0\n12 105 0\n12 200 0\n12 201 0\n12 204 0\n12 205 0\n12 208 0\n12 209 0\n12 212 0\n12 213 0\n12 216 0\n12 217 0\n12 220 0\n12 221 0\n12 224 0\n12 225 0\n12 228 0\n12 229 0\n12 0 4635329916471083008\n12 1 4635329916471083008\n12 2 4613937818241073152\n12 3 4607182418800017408\n13 100 0\n13 101 13830554455654793216\n13 104 4607182418800017408\n13 105 0\n13 200 4613937818241073152\n13 201 4607182418800017408\n13 204 4613937818241073152\n13 205 13830554455654793216\n13 208 4607182418800017408\n13 209 4613937818241073152\n13 212 4607182418800017408\n13 213 13837309855095848960\n13 216 13830554455654793216\n13 217 4613937818241073152\n13 220 13830554455654793216\n13 221 13837309855095848960\n13 224 13837309855095848960\n13 225 4607182418800017408\n13 228 13837309855095848960\n13 229 13830554455654793216\n13 0 4644337115725824000\n13 1 4635329916471083008\n13 2 4618441417868443648\n13 3 4616189618054758400\n14 100 13818544856648471895\n14 101 13818544856648471895\n14 104 13818544856648471895\n14 105 13818544856648471895\n14 108 13823048456275842393\n14 109 13823048456275842393\n14 200 4611686018427387906\n14 201 4611686018427387906\n14 204 4607182418800017410\n14 205 4607182418800017410\n14 208 4611686018427387906\n14 209 4611686018427387906\n14 212 13830554455654793218\n14 213 13830554455654793218\n14 216 4607182418800017410\n14 217 4607182418800017410\n14 220 13835058055282163714\n14 221 13835058055282163714\n14 224 13830554455654793218\n14 225 13830554455654793218\n14 228 13835058055282163714\n14 229 13835058055282163714\n14 0 4641240890982006785\n14 1 4635329916471083008\n14 2 4617315517961601025\n14 3 4612811918334230529\n998 0 16\n", + "stderr": "", + "binary_sha256": "f443e6c5b5f56e45dd21bb5c2deab1ae46933c9afeefb22783d481ca77b85427" + } + ] +} diff --git a/native/alignment/evidence/wolfram.jsonl b/native/alignment/evidence/wolfram.jsonl new file mode 100644 index 0000000..81a84af --- /dev/null +++ b/native/alignment/evidence/wolfram.jsonl @@ -0,0 +1,14 @@ +{"type":"tool_execution_start","toolCallId":"toolu_015DbqJFoEuRM3XJgB57PE7P","toolName":"eval","args":{"language":"js","code":"const a=await tool.mcp__wolfram_wolframlanguageevaluator({code:\"Integrate[x^2,{x,0,1}]\"});\nconst b=await tool.mcp__wolfram_wolframalpha({query:\"sqrt(27)/2\"});\nconsole.log(JSON.stringify(a),JSON.stringify(b))"},"intent":"running javascript"} +{"type":"tool_execution_end","toolCallId":"toolu_015DbqJFoEuRM3XJgB57PE7P","toolName":"eval","result":{"content":[{"type":"text","text":"{\"text\":\"Out[1]= 1/3\",\"details\":{\"serverName\":\"wolfram\",\"mcpToolName\":\"WolframLanguageEvaluator\",\"rawContent\":[{\"type\":\"text\",\"text\":\"Out[1]= 1/3\"}],\"provider\":\"native\",\"providerName\":\"OMP\"}} {\"text\":\"\\n\\n# Input\\n\\nsqrt(27)/2\\n\\n# Result\\n\\n(3 sqrt(3))/2\\n\\n# Decimal approximation\\n\\n2.5980762113533159402911695122588085504142078807155709420837104691...\\n\\n# Number line\\n\\n![Number line](https://public6.wolframalpha.com/files/GIF_u6kj5l7aut.gif)\\n\\n# Continued fraction\\n\\n[2; 1, 1, 2, 20, 2, 1, 1, 4^\\\\_]\\n\\n\",\"details\":{\"serverName\":\"wolfram\",\"mcpToolName\":\"WolframAlpha\",\"rawContent\":[{\"type\":\"text\",\"text\":\"\\n\\n# Input\\n\\nsqrt(27)/2\\n\\n# Result\\n\\n(3 sqrt(3))/2\\n\\n# Decimal approximation\\n\\n2.5980762113533159402911695122588085504142078807155709420837104691...\\n\\n# Number line\\n\\n![Number line](https://public6.wolframalpha.com/files/GIF_u6kj5l7aut.gif)\\n\\n# Continued fraction\\n\\n[2; 1, 1, 2, 20, 2, 1, 1, 4^\\\\_]\\n\\n\",\"details\":{\"serverName\":\"wolfram\",\"mcpToolName\":\"WolframAlpha\",\"rawContent\":[{\"type\":\"text\",\"text\":\"a},\nModule[{tau=(d-a)/(2 b),t,c,s,J,A,M},t=-1/(-tau+Sqrt[1+tau^2]);c=1/Sqrt[1+t^2];s=t c;J={{c,s},{-s,c}};A={{a,b},{b,d}};M=Transpose[J].A.J;\n{FullSimplify[M[[1,2]]],FullSimplify[M[[1,1]]-(a-t b)],FullSimplify[M[[2,2]]-(d+t b)]}]]`);\nawait ev(`Module[{J,A,M,c,s,V},A={{a,b},{b,d}};J={{c,s},{-s,c}};M=Transpose[J].A.J;{\"J^T A J entries\",Expand[M],\"tau=0,t=1: c,s,offdiag\",With[{c1=1/Sqrt[2],s1=1/Sqrt[2]},Simplify[(Transpose[{{c1,s1},{-s1,c1}}].{{a,b},{b,a}}.{{c1,s1},{-s1,c1}})[[1,2]]]],\"V.J columns\",{c*{v11,v21}-s*{v12,v22},s*{v11,v21}+c*{v12,v22}}==Transpose[{{v11,v12},{v21,v22}}.J]/.{}}]`);\nawait ev(`Module[{C,U,S,V,P,X,Y,Q,n=3,res},\nres=Table[C=RandomInteger[{-5,5},{3,3}];If[Det[C]==0,Nothing,{U,S,V}=SingularValueDecomposition[N[C,40]];P=C.MatrixPower[Transpose[C].C,-1/2];Q=U.Transpose[V];{Max[Abs[N[P,30]-Q]],Max[Abs[Transpose[N[P,30]].N[P,30]-IdentityMatrix[3]]],Det[N[P,30]],Tr[Transpose[N[P,30]].C]-Total[Diagonal[S]],\nMin[Table[Tr[Transpose[R].C],{R,Table[RotationMatrix[RandomReal[{0,2Pi}],{1,0,0}].DiagonalMatrix[{1,RandomChoice[{1,-1}],RandomChoice[{1,-1}]}],{200}]}]]0,d>a},\nModule[{tau=(d-a)/(2 b),t,c,s,J,A,M},t=1/(tau+Sqrt[1+tau^2]);c=1/Sqrt[1+t^2];s=t c;J={{c,s},{-s,c}};A={{a,b},{b,d}};M=Transpose[J].A.J;\n{\"offdiag12\",FullSimplify[M[[1,2]]],\"offdiag21\",FullSimplify[M[[2,1]]],\"a'-(a-t b)\",FullSimplify[M[[1,1]]-(a-t b)],\"d'-(d+t b)\",FullSimplify[M[[2,2]]-(d+t b)],\"JtJ\",FullSimplify[Transpose[J].J]}]]\nOUTPUT:\nSymbol::undefined2: Warning: Global symbols \"J, A, M, J, A, M, J, A, J, M, M, M, M, J, J\" are undefined.\nGeneral::messages: Messages were generated which may indicate errors.\n\nOut[1]= {\"offdiag12\", 0, \"offdiag21\", 0, \"a'-(a-t b)\", 0, \"d'-(d+t b)\", 0, \"JtJ\", {{1, 0}, {0, 1}}}\n-----\nQUERY:\nAssuming[{a\\[Element]Reals,b\\[Element]Reals,d\\[Element]Reals,b<0,d>a},\nModule[{tau=(d-a)/(2 b),t,c,s,J,A,M},t=-1/(-tau+Sqrt[1+tau^2]);c=1/Sqrt[1+t^2];s=t c;J={{c,s},{-s,c}};A={{a,b},{b,d}};M=Transpose[J].A.J;\n{FullSimplify[M[[1,2]]],FullSimplify[M[[1,1]]-(a-t b)],FullSimplify[M[[2,2]]-(d+t b)]}]]\nOUTPUT:\nSymbol::undefined2: Warning: Global symbols \"J, A, M, J, A, M, J, A, J, M, M, M\" are undefined.\nGeneral::messages: Messages were generated which may indicate errors.\n\nOut[1]= {0, 0, 0}\n-----\nQUERY:\nModule[{J,A,M,c,s,V},A={{a,b},{b,d}};J={{c,s},{-s,c}};M=Transpose[J].A.J;{\"J^T A J entries\",Expand[M],\"tau=0,t=1: c,s,offdiag\",With[{c1=1/Sqrt[2],s1=1/Sqrt[2]},Simplify[(Transpose[{{c1,s1},{-s1,c1}}].{{a,b},{b,a}}.{{c1,s1},{-s1,c1}})[[1,2]]]],\"V.J columns\",{c*{v11,v21}-s*{v12,v22},s*{v11,v21}+c*{v12,v22}}==Transpose[{{v11,v12},{v21,v22}}.J]/.{}}]\nOUTPUT:\nSymbol::undefined2: Warning: Global symbols \"J, A, M, V, A, J, M, J, A, J, M, J\" are undefined.\nGeneral::messages: Messages were generated which may indicate errors.\n\nOut[1]= {\"J^T A J entries\", {{a*c$83945^2 - 2*b*c$83945*s$83945 + d*s$83945^2, b*c$83945^2 + a*c$83945*s$83945 - c$83945*d*s$83945 - b*s$83945^2}, {b*c$83945^2 + a*c$83945*s$83945 - c$83945*d*s$83945 - b*s$83945^2, c$83945^2*d + 2*b*c$83945*s$83945 + a*s$83945^2}}, \"tau=0,t=1: c,s,offdiag\", 0, \"V.J columns\", True}\n-----\nQUERY:\nModule[{C,U,S,V,P,X,Y,Q,n=3,res},\nres=Table[C=RandomInteger[{-5,5},{3,3}];If[Det[C]==0,Nothing,{U,S,V}=SingularValueDecomposition[N[C,40]];P=C.MatrixPower[Transpose[C].C,-1/2];Q=U.Transpose[V];{Max[Abs[N[P,30]-Q]],Max[Abs[Transpose[N[P,30]].N[P,30]-IdentityMatrix[3]]],Det[N[P,30]],Tr[Transpose[N[P,30]].C]-Total[Diagonal[S]],\nMin[Table[Tr[Transpose[R].C],{R,Table[RotationMatrix[RandomReal[{0,2Pi}],{1,0,0}].DiagonalMatrix[{1,RandomChoice[{1,-1}],RandomChoice[{1,-1}]}],{200}]}]]{const r=await tool.mcp__wolfram_wolframlanguageevaluator({code:c});console.log(\"QUERY:\\n\"+c+\"\\nOUTPUT:\\n\"+r.text+\"\\n-----\");};\nglobalThis.ev=ev;\nawait ev(`jac[a_,b_,d_]:=Module[{tau=(d-a)/(2 b),t,c,s},t=If[tau==0,1,Sign[tau]/(Abs[tau]+Sqrt[1+tau^2])];c=1/Sqrt[1+t^2];s=t c;{t,c,s}];\nAssuming[{a\\\\[Element]Reals,b\\\\[Element]Reals,d\\\\[Element]Reals,b>0,d>a},\nModule[{tau=(d-a)/(2 b),t,c,s,J,A,M},t=1/(tau+Sqrt[1+tau^2]);c=1/Sqrt[1+t^2];s=t c;J={{c,s},{-s,c}};A={{a,b},{b,d}};M=Transpose[J].A.J;\n{\"offdiag12\",FullSimplify[M[[1,2]]],\"offdiag21\",FullSimplify[M[[2,1]]],\"a'-(a-t b)\",FullSimplify[M[[1,1]]-(a-t b)],\"d'-(d+t b)\",FullSimplify[M[[2,2]]-(d+t b)],\"JtJ\",FullSimplify[Transpose[J].J]}]]`);\nawait ev(`Assuming[{a\\\\[Element]Reals,b\\\\[Element]Reals,d\\\\[Element]Reals,b<0,d>a},\nModule[{tau=(d-a)/(2 b),t,c,s,J,A,M},t=-1/(-tau+Sqrt[1+tau^2]);c=1/Sqrt[1+t^2];s=t c;J={{c,s},{-s,c}};A={{a,b},{b,d}};M=Transpose[J].A.J;\n{FullSimplify[M[[1,2]]],FullSimplify[M[[1,1]]-(a-t b)],FullSimplify[M[[2,2]]-(d+t b)]}]]`);\nawait ev(`Module[{J,A,M,c,s,V},A={{a,b},{b,d}};J={{c,s},{-s,c}};M=Transpose[J].A.J;{\"J^T A J entries\",Expand[M],\"tau=0,t=1: c,s,offdiag\",With[{c1=1/Sqrt[2],s1=1/Sqrt[2]},Simplify[(Transpose[{{c1,s1},{-s1,c1}}].{{a,b},{b,a}}.{{c1,s1},{-s1,c1}})[[1,2]]]],\"V.J columns\",{c*{v11,v21}-s*{v12,v22},s*{v11,v21}+c*{v12,v22}}==Transpose[{{v11,v12},{v21,v22}}.J]/.{}}]`);\nawait ev(`Module[{C,U,S,V,P,X,Y,Q,n=3,res},\nres=Table[C=RandomInteger[{-5,5},{3,3}];If[Det[C]==0,Nothing,{U,S,V}=SingularValueDecomposition[N[C,40]];P=C.MatrixPower[Transpose[C].C,-1/2];Q=U.Transpose[V];{Max[Abs[N[P,30]-Q]],Max[Abs[Transpose[N[P,30]].N[P,30]-IdentityMatrix[3]]],Det[N[P,30]],Tr[Transpose[N[P,30]].C]-Total[Diagonal[S]],\nMin[Table[Tr[Transpose[R].C],{R,Table[RotationMatrix[RandomReal[{0,2Pi}],{1,0,0}].DiagonalMatrix[{1,RandomChoice[{1,-1}],RandomChoice[{1,-1}]}],{200}]}]]0,d>a},\nModule[{tau=(d-a)/(2 b),t,c,s,J,A,M},t=1/(tau+Sqrt[1+tau^2]);c=1/Sqrt[1+t^2];s=t c;J={{c,s},{-s,c}};A={{a,b},{b,d}};M=Transpose[J].A.J;\n{\"offdiag12\",FullSimplify[M[[1,2]]],\"offdiag21\",FullSimplify[M[[2,1]]],\"a'-(a-t b)\",FullSimplify[M[[1,1]]-(a-t b)],\"d'-(d+t b)\",FullSimplify[M[[2,2]]-(d+t b)],\"JtJ\",FullSimplify[Transpose[J].J]}]]\nOUTPUT:\nSymbol::undefined2: Warning: Global symbols \"J, A, M, J, A, M, J, A, J, M, M, M, M, J, J\" are undefined.\nGeneral::messages: Messages were generated which may indicate errors.\n\nOut[1]= {\"offdiag12\", 0, \"offdiag21\", 0, \"a'-(a-t b)\", 0, \"d'-(d+t b)\", 0, \"JtJ\", {{1, 0}, {0, 1}}}\n-----\nQUERY:\nAssuming[{a\\[Element]Reals,b\\[Element]Reals,d\\[Element]Reals,b<0,d>a},\nModule[{tau=(d-a)/(2 b),t,c,s,J,A,M},t=-1/(-tau+Sqrt[1+tau^2]);c=1/Sqrt[1+t^2];s=t c;J={{c,s},{-s,c}};A={{a,b},{b,d}};M=Transpose[J].A.J;\n{FullSimplify[M[[1,2]]],FullSimplify[M[[1,1]]-(a-t b)],FullSimplify[M[[2,2]]-(d+t b)]}]]\nOUTPUT:\nSymbol::undefined2: Warning: Global symbols \"J, A, M, J, A, M, J, A, J, M, M, M\" are undefined.\nGeneral::messages: Messages were generated which may indicate errors.\n\nOut[1]= {0, 0, 0}\n-----\nQUERY:\nModule[{J,A,M,c,s,V},A={{a,b},{b,d}};J={{c,s},{-s,c}};M=Transpose[J].A.J;{\"J^T A J entries\",Expand[M],\"tau=0,t=1: c,s,offdiag\",With[{c1=1/Sqrt[2],s1=1/Sqrt[2]},Simplify[(Transpose[{{c1,s1},{-s1,c1}}].{{a,b},{b,a}}.{{c1,s1},{-s1,c1}})[[1,2]]]],\"V.J columns\",{c*{v11,v21}-s*{v12,v22},s*{v11,v21}+c*{v12,v22}}==Transpose[{{v11,v12},{v21,v22}}.J]/.{}}]\nOUTPUT:\nSymbol::undefined2: Warning: Global symbols \"J, A, M, V, A, J, M, J, A, J, M, J\" are undefined.\nGeneral::messages: Messages were generated which may indicate errors.\n\nOut[1]= {\"J^T A J entries\", {{a*c$83945^2 - 2*b*c$83945*s$83945 + d*s$83945^2, b*c$83945^2 + a*c$83945*s$83945 - c$83945*d*s$83945 - b*s$83945^2}, {b*c$83945^2 + a*c$83945*s$83945 - c$83945*d*s$83945 - b*s$83945^2, c$83945^2*d + 2*b*c$83945*s$83945 + a*s$83945^2}}, \"tau=0,t=1: c,s,offdiag\", 0, \"V.J columns\", True}\n-----\nQUERY:\nModule[{C,U,S,V,P,X,Y,Q,n=3,res},\nres=Table[C=RandomInteger[{-5,5},{3,3}];If[Det[C]==0,Nothing,{U,S,V}=SingularValueDecomposition[N[C,40]];P=C.MatrixPower[Transpose[C].C,-1/2];Q=U.Transpose[V];{Max[Abs[N[P,30]-Q]],Max[Abs[Transpose[N[P,30]].N[P,30]-IdentityMatrix[3]]],Det[N[P,30]],Tr[Transpose[N[P,30]].C]-Total[Diagonal[S]],\nMin[Table[Tr[Transpose[R].C],{R,Table[RotationMatrix[RandomReal[{0,2Pi}],{1,0,0}].DiagonalMatrix[{1,RandomChoice[{1,-1}],RandomChoice[{1,-1}]}],{200}]}]]z>0],\n\"negativeTauRoot\",FullSimplify[1+2*z/(-z+Sqrt[1+z^2])-1/(-z+Sqrt[1+z^2])^2,Assumptions->z<0],\n\"zeroTauRoot\",1-2*0*1-1^2,\n\"columnUpdateCheck\",{{v11,v12},{v21,v22}}.{{cc,ss},{-ss,cc}}=={{cc*v11-ss*v12,ss*v11+cc*v12},{cc*v21-ss*v22,ss*v21+cc*v22}}}]]`);\nawait ev(`Module[{sig,sgn,c,p,q,x,y,err},\nsig=DiagonalMatrix[{2,3}];sgn=DiagonalMatrix[{1,-1}];c=sgn.sig;p=c.MatrixPower[Transpose[c].c,-1/2];\nInputForm[{\"ProcrustesReflection\",{\"C\",c,\"P\",p,\"PtP\",Transpose[p].p,\"detP\",Det[p],\"trace\",Tr[Transpose[p].c],\"sumSingularValues\",Tr[sig]},\n\"objectiveExpansion\",HoldForm[Norm[X.P-Y,\"Frobenius\"]^2==Tr[Transpose[X].X]+Tr[Transpose[Y].Y]-2*Tr[Transpose[P].Transpose[X].Y]],\n\"SVDpolar\",HoldForm[C==U.S.Transpose[V]&&P==U.Transpose[V]],\n\"NRSE\",HoldForm[Total[Flatten[(H.P-Z)^2]]/Total[Flatten[Z^2]]],\n\"MaxAbsFeatureError\",HoldForm[Max[Abs[Flatten[H.P-Z]]]],\n\"OrthogonalityError\",HoldForm[Max[Abs[Flatten[Transpose[P].P-IdentityMatrix[d]]]]],\n\"MetadataMismatchCount\",HoldForm[Count[MapThread[SameQ,{actual,expected}],False]],\n\"Policy\",{\"NRSEMax\",10^-12,\"MaxAbsMax\",10^-6,\"JacobiOffdiagMax\",HoldForm[10^-14*Max[1,Max[Abs[Diagonal[G]]]]],\"EigenvalueCutoff\",HoldForm[10^-10*Max[eigenvalues]],\"CyclicSweeps\",64,\"MaxFeatures\",4,\"MetadataFields\",5,\"PreregisteredNotMeasured\",True},\n\"MetadataExamples\",{Count[MapThread[SameQ,{{a,b,c,d,e},{a,b,c,d,e}}],False],Count[MapThread[SameQ,{{a,b,c,d,e},{a,b,c,d,f}}],False]}}]]`);","title":"Evaluating exact synthetic fixtures","timeout":1200000,"reset":false},"intent":"Evaluating exact synthetic fixtures"} +{"type":"tool_execution_end","toolCallId":"call_bed59787882f4db8b2e3a2396d1176ae|fc_07c030470dbf67e7016ae20133bbd4819e9d7b0b77eef2c22a","toolName":"eval","result":{"content":[{"type":"text","text":"Eval timeout clamped from 1200000s to 3600s.\n\nQUERY:\nModule[{t,u,r,hb,hbu,p,hc,hcu,pc,phi,yd,ydu,pd,pl,pp,nr},\nt={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};\nu={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};\nr={{0,-1},{1,0}};hb=t.r;hbu=u.r;p=Transpose[hb].t.MatrixPower[Transpose[Transpose[hb].t].(Transpose[hb].t),-1/2];\nnr[h_,q_,z_]:=Total[Flatten[(h.q-z)^2]]/Total[Flatten[z^2]];\nhc=({#[[1]],#[[2]],Total[#]}&)/@t;hcu=({#[[1]],#[[2]],Total[#]}&)/@u;pc=PseudoInverse[hc].t;\nphi[x_]:=({#[[1]],#[[2]],#[[1]]^2,#[[2]]^2}&)/@x;\nyd=({#[[1]]+#[[2]]^2,#[[2]]+#[[1]]^2}&)/@t;ydu=({#[[1]]+#[[2]]^2,#[[2]]+#[[1]]^2}&)/@u;\npd=PseudoInverse[phi[t]].yd;pl=PseudoInverse[t].yd;pp=PseudoInverse[phi[t]].Reverse[yd];\nInputForm[{\n\"A\",{\"P\",PseudoInverse[t].t,\"heldoutNRSE\",nr[u,IdentityMatrix[2],u]},\n\"B\",{\"train\",hb,\"heldout\",hbu,\"P\",p,\"heldoutNRSE\",{\"learned\",nr[hbu,p,u],\"identity\",nr[hbu,IdentityMatrix[2],u],\"null\",nr[hbu,ConstantArray[0,{2,2}],u],\"wrongBasisTranspose\",nr[hbu,Transpose[p],u]},\"orthogonalityMax\",Max[Abs[Flatten[Transpose[p].p-IdentityMatrix[2]]]]},\n\"C\",{\"train\",hc,\"heldout\",hcu,\"P\",pc,\"heldoutNRSE\",nr[hcu,pc,u],\"GramEigenvalues\",Eigenvalues[Transpose[hc].hc],\"GramRank\",MatrixRank[Transpose[hc].hc]},\n\"D\",{\"trainZ\",yd,\"heldoutZ\",ydu,\"phiP\",pd,\"rawLinearP\",pl,\"permutedPhiP\",pp,\"GramEigenvalues\",Eigenvalues[Transpose[phi[t]].phi[t]],\"GramRank\",MatrixRank[Transpose[phi[t]].phi[t]],\"heldoutNRSE\",{\"phi\",nr[phi[u],pd,ydu],\"linear\",nr[u,pl,ydu],\"permutedPhiAgainstTrueZ\",nr[phi[u],pp,ydu]},\"heldoutMaxAbs\",{\"phi\",Max[Abs[Flatten[phi[u].pd-ydu]]],\"linear\",Max[Abs[Flatten[u.pl-ydu]]],\"permutedPhi\",Max[Abs[Flatten[phi[u].pp-ydu]]]}}\n}]]\nOUTPUT:\nOut[1]= {\"A\", {\"P\", {{1, 0}, {0, 1}}, \"heldoutNRSE\", 0}, \"B\", {\"train\", {{-1, 2}, {1, 2}, {-2, 1}, {2, 1}, {-2, -1}, {2, -1}, {-1, -2}, {1, -2}}, \"heldout\", {{-1, 3}, {1, 3}, {-3, 1}, {3, 1}, {-3, -1}, {3, -1}, {-1, -3}, {1, -3}}, \"P\", {{0, 1}, {-1, 0}}, \"heldoutNRSE\", {\"learned\", 0, \"identity\", 2, \"null\", 1, \"wrongBasisTranspose\", 4}, \"orthogonalityMax\", 0}, \"C\", {\"train\", {{-2, -1, -3}, {-2, 1, -1}, {-1, -2, -3}, {-1, 2, 1}, {1, -2, -1}, {1, 2, 3}, {2, -1, 1}, {2, 1, 3}}, \"heldout\", {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}}, \"P\", {{2/3, -1/3}, {-1/3, 2/3}, {1/3, 1/3}}, \"heldoutNRSE\", 0, \"GramEigenvalues\", {60, 20, 0}, \"GramRank\", 2}, \"D\", {\"trainZ\", {{-1, 3}, {-1, 5}, {3, -1}, {3, 3}, {5, -1}, {\u2026\n-----\nQUERY:\nModule[{x,y,g,vals,vecs,vk,pcr,rr,nr,tau,t,c,s,j,off},\nx={{2,0},{0,1}};y={{0,0},{0,1}};g=Transpose[x].x;{vals,vecs}=Eigensystem[g];vk=Transpose[Take[vecs,1]];pcr=vk.DiagonalMatrix[1/Take[vals,1]].Transpose[vk].Transpose[x].y;rr={{0,0},{0,1}};\ntau=(d-a)/(2 b);t=q;c=1/Sqrt[1+t^2];s=t*c;j={{c,s},{-s,c}};off=Factor[(Transpose[j].{{a,b},{b,d}}.j)[[1,2]]];\nInputForm[{\"PCRcounterexample\",{\"X\",x,\"Y\",y,\"GramSpectrum\",vals,\"k\",1,\"PCR\",pcr,\"PCRsquaredResidual\",Total[Flatten[(x.pcr-y)^2]],\"RRR\",rr,\"RRRrank\",MatrixRank[rr],\"RRRsquaredResidual\",Total[Flatten[(x.rr-y)^2]]},\n\"JacobiOffdiag\",off,\"OffdiagPolynomial\",Expand[off*(1+q^2)],\n\"positiveTauRoot\",FullSimplify[1-2*z/(z+Sqrt[1+z^2])-1/(z+Sqrt[1+z^2])^2,Assumptions->z>0],\n\"negativeTauRoot\",FullSimplify[1+2*z/(-z+Sqrt[1+z^2])-1/(-z+Sqrt[1+z^2])^2,Assumptions->z<0],\n\"zeroTauRoot\",1-2*0*1-1^2,\n\"columnUpdateCheck\",{{v11,v12},{v21,v22}}.{{cc,ss},{-ss,cc}}=={{cc*v11-ss*v12,ss*v11+cc*v12},{cc*v21-ss*v22,ss*v21+cc*v22}}}]]\nOUTPUT:\nOut[1]= {\"PCRcounterexample\", {\"X\", {{2, 0}, {0, 1}}, \"Y\", {{0, 0}, {0, 1}}, \"GramSpectrum\", {4, 1}, \"k\", 1, \"PCR\", {{0, 0}, {0, 0}}, \"PCRsquaredResidual\", 1, \"RRR\", {{0, 0}, {0, 1}}, \"RRRrank\", 1, \"RRRsquaredResidual\", 0}, \"JacobiOffdiag\", -((-b - a*q + d*q + b*q^2)/(1 + q^2)), \"OffdiagPolynomial\", b + a*q - d*q - b*q^2, \"positiveTauRoot\", 0, \"negativeTauRoot\", 0, \"zeroTauRoot\", 0, \"columnUpdateCheck\", True}\n-----\nQUERY:\nModule[{sig,sgn,c,p,q,x,y,err},\nsig=DiagonalMatrix[{2,3}];sgn=DiagonalMatrix[{1,-1}];c=sgn.sig;p=c.MatrixPower[Transpose[c].c,-1/2];\nInputForm[{\"ProcrustesReflection\",{\"C\",c,\"P\",p,\"PtP\",Transpose[p].p,\"detP\",Det[p],\"trace\",Tr[Transpose[p].c],\"sumSingularValues\",Tr[sig]},\n\"objectiveExpansion\",HoldForm[Norm[X.P-Y,\"Frobenius\"]^2==Tr[Transpose[X].X]+Tr[Transpose[Y].Y]-2*Tr[Transpose[P].Transpose[X].Y]],\n\"SVDpolar\",HoldForm[C==U.S.Transpose[V]&&P==U.Transpose[V]],\n\"NRSE\",HoldForm[Total[Flatten[(H.P-Z)^2]]/Total[Flatten[Z^2]]],\n\"MaxAbsFeatureError\",HoldForm[Max[Abs[Flatten[H.P-Z]]]],\n\"OrthogonalityError\",HoldForm[Max[Abs[Flatten[Transpose[P].P-IdentityMatrix[d]]]]],\n\"MetadataMismatchCount\",HoldForm[Count[MapThread[SameQ,{actual,expected}],False]],\n\"Policy\",{\"NRSEMax\",10^-12,\"MaxAbsMax\",10^-6,\"JacobiOffdiagMax\",HoldForm[10^-14*Max[1,Max[Abs[Diagonal[G]]]]],\"EigenvalueCutoff\",HoldForm[10^-10*Max[eigenvalues]],\"CyclicSweeps\",64,\"MaxFeatures\",4,\"MetadataFields\",5,\"PreregisteredNotMeasured\",True},\n\"MetadataExamples\",{Count[MapThread[SameQ,{{a,b,c,d,e},{a,b,c,d,e}}],False],Count[MapThread[SameQ,{{a,b,c,d,e},{a,b,c,d,f}}],False]}}]]\nOUTPUT:\nSymbol::undefined2: Warning: Global symbols \"X, P, Y, X, X, Y, Y, P, X, Y, U, S, V, P, U, V, H, P, Z, Z, H, P, Z, P, P, G\" are undefined.\nGeneral::messages: Messages were generated which may indicate errors.\n\nOut[1]= {\"ProcrustesReflection\", {\"C\", {{2, 0}, {0, -3}}, \"P\", {{1, 0}, {0, -1}}, \"PtP\", {{1, 0}, {0, 1}}, \"detP\", -1, \"trace\", 5, \"sumSingularValues\", 5}, \"objectiveExpansion\", HoldForm[Norm[X . P - Y, \"Frobenius\"]^2 == Tr[Transpose[X] . X] + Tr[Transpose[Y] . Y] - 2*Tr[Transpose[P] . Transpose[X] . Y]], \"SVDpolar\", HoldForm[C == U . S . Transpose[V] && P == U . Transpose[V]], \"NRSE\", HoldForm[Total[Flatten[(H . P - Z)^2]]/Total[Flatten[Z^2]]], \"MaxAbsFeatureError\", HoldForm[Max[Abs[Flatten[H . P - Z]]]], \"OrthogonalityError\", HoldForm[Max[Abs[Flatten[Transpose[P] . P - IdentityMatrix[d]]]]], \"MetadataMismatchCount\", HoldForm[Count[MapThread[SameQ, {actual, expected}], False]], \"Policy\", {\"NRSEMax\", 1/1000000000000, \"MaxAbsMax\", 1/1000000, \"JacobiOffdiag\u2026\n-----\n\n[Some lines truncated to 768 bytes]"}],"details":{"language":"js","languages":["js"],"cells":[{"index":0,"title":"Evaluating exact synthetic fixtures","code":"await ev(`Module[{t,u,r,hb,hbu,p,hc,hcu,pc,phi,yd,ydu,pd,pl,pp,nr},\nt={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};\nu={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};\nr={{0,-1},{1,0}};hb=t.r;hbu=u.r;p=Transpose[hb].t.MatrixPower[Transpose[Transpose[hb].t].(Transpose[hb].t),-1/2];\nnr[h_,q_,z_]:=Total[Flatten[(h.q-z)^2]]/Total[Flatten[z^2]];\nhc=({#[[1]],#[[2]],Total[#]}&)/@t;hcu=({#[[1]],#[[2]],Total[#]}&)/@u;pc=PseudoInverse[hc].t;\nphi[x_]:=({#[[1]],#[[2]],#[[1]]^2,#[[2]]^2}&)/@x;\nyd=({#[[1]]+#[[2]]^2,#[[2]]+#[[1]]^2}&)/@t;ydu=({#[[1]]+#[[2]]^2,#[[2]]+#[[1]]^2}&)/@u;\npd=PseudoInverse[phi[t]].yd;pl=PseudoInverse[t].yd;pp=PseudoInverse[phi[t]].Reverse[yd];\nInputForm[{\n\"A\",{\"P\",PseudoInverse[t].t,\"heldoutNRSE\",nr[u,IdentityMatrix[2],u]},\n\"B\",{\"train\",hb,\"heldout\",hbu,\"P\",p,\"heldoutNRSE\",{\"learned\",nr[hbu,p,u],\"identity\",nr[hbu,IdentityMatrix[2],u],\"null\",nr[hbu,ConstantArray[0,{2,2}],u],\"wrongBasisTranspose\",nr[hbu,Transpose[p],u]},\"orthogonalityMax\",Max[Abs[Flatten[Transpose[p].p-IdentityMatrix[2]]]]},\n\"C\",{\"train\",hc,\"heldout\",hcu,\"P\",pc,\"heldoutNRSE\",nr[hcu,pc,u],\"GramEigenvalues\",Eigenvalues[Transpose[hc].hc],\"GramRank\",MatrixRank[Transpose[hc].hc]},\n\"D\",{\"trainZ\",yd,\"heldoutZ\",ydu,\"phiP\",pd,\"rawLinearP\",pl,\"permutedPhiP\",pp,\"GramEigenvalues\",Eigenvalues[Transpose[phi[t]].phi[t]],\"GramRank\",MatrixRank[Transpose[phi[t]].phi[t]],\"heldoutNRSE\",{\"phi\",nr[phi[u],pd,ydu],\"linear\",nr[u,pl,ydu],\"permutedPhiAgainstTrueZ\",nr[phi[u],pp,ydu]},\"heldoutMaxAbs\",{\"phi\",Max[Abs[Flatten[phi[u].pd-ydu]]],\"linear\",Max[Abs[Flatten[u.pl-ydu]]],\"permutedPhi\",Max[Abs[Flatten[phi[u].pp-ydu]]]}}\n}]]`);\nawait ev(`Module[{x,y,g,vals,vecs,vk,pcr,rr,nr,tau,t,c,s,j,off},\nx={{2,0},{0,1}};y={{0,0},{0,1}};g=Transpose[x].x;{vals,vecs}=Eigensystem[g];vk=Transpose[Take[vecs,1]];pcr=vk.DiagonalMatrix[1/Take[vals,1]].Transpose[vk].Transpose[x].y;rr={{0,0},{0,1}};\ntau=(d-a)/(2 b);t=q;c=1/Sqrt[1+t^2];s=t*c;j={{c,s},{-s,c}};off=Factor[(Transpose[j].{{a,b},{b,d}}.j)[[1,2]]];\nInputForm[{\"PCRcounterexample\",{\"X\",x,\"Y\",y,\"GramSpectrum\",vals,\"k\",1,\"PCR\",pcr,\"PCRsquaredResidual\",Total[Flatten[(x.pcr-y)^2]],\"RRR\",rr,\"RRRrank\",MatrixRank[rr],\"RRRsquaredResidual\",Total[Flatten[(x.rr-y)^2]]},\n\"JacobiOffdiag\",off,\"OffdiagPolynomial\",Expand[off*(1+q^2)],\n\"positiveTauRoot\",FullSimplify[1-2*z/(z+Sqrt[1+z^2])-1/(z+Sqrt[1+z^2])^2,Assumptions->z>0],\n\"negativeTauRoot\",FullSimplify[1+2*z/(-z+Sqrt[1+z^2])-1/(-z+Sqrt[1+z^2])^2,Assumptions->z<0],\n\"zeroTauRoot\",1-2*0*1-1^2,\n\"columnUpdateCheck\",{{v11,v12},{v21,v22}}.{{cc,ss},{-ss,cc}}=={{cc*v11-ss*v12,ss*v11+cc*v12},{cc*v21-ss*v22,ss*v21+cc*v22}}}]]`);\nawait ev(`Module[{sig,sgn,c,p,q,x,y,err},\nsig=DiagonalMatrix[{2,3}];sgn=DiagonalMatrix[{1,-1}];c=sgn.sig;p=c.MatrixPower[Transpose[c].c,-1/2];\nInputForm[{\"ProcrustesReflection\",{\"C\",c,\"P\",p,\"PtP\",Transpose[p].p,\"detP\",Det[p],\"trace\",Tr[Transpose[p].c],\"sumSingularValues\",Tr[sig]},\n\"objectiveExpansion\",HoldForm[Norm[X.P-Y,\"Frobenius\"]^2==Tr[Transpose[X].X]+Tr[Transpose[Y].Y]-2*Tr[Transpose[P].Transpose[X].Y]],\n\"SVDpolar\",HoldForm[C==U.S.Transpose[V]&&P==U.Transpose[V]],\n\"NRSE\",HoldForm[Total[Flatten[(H.P-Z)^2]]/Total[Flatten[Z^2]]],\n\"MaxAbsFeatureError\",HoldForm[Max[Abs[Flatten[H.P-Z]]]],\n\"OrthogonalityError\",HoldForm[Max[Abs[Flatten[Transpose[P].P-IdentityMatrix[d]]]]],\n\"MetadataMismatchCount\",HoldForm[Count[MapThread[SameQ,{actual,expected}],False]],\n\"Policy\",{\"NRSEMax\",10^-12,\"MaxAbsMax\",10^-6,\"JacobiOffdiagMax\",HoldForm[10^-14*Max[1,Max[Abs[Diagonal[G]]]]],\"EigenvalueCutoff\",HoldForm[10^-10*Max[eigenvalues]],\"CyclicSweeps\",64,\"MaxFeatures\",4,\"MetadataFields\",5,\"PreregisteredNotMeasured\",True},\n\"MetadataExamples\",{Count[MapThread[SameQ,{{a,b,c,d,e},{a,b,c,d,e}}],False],Count[MapThread[SameQ,{{a,b,c,d,e},{a,b,c,d,f}}],False]}}]]`);","language":"js","output":"QUERY:\nModule[{t,u,r,hb,hbu,p,hc,hcu,pc,phi,yd,ydu,pd,pl,pp,nr},\nt={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};\nu={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};\nr={{0,-1},{1,0}};hb=t.r;hbu=u.r;p=Transpose[hb].t.MatrixPower[Transpose[Transpose[hb].t].(Transpose[hb].t),-1/2];\nnr[h_,q_,z_]:=Total[Flatten[(h.q-z)^2]]/Total[Flatten[z^2]];\nhc=({#[[1]],#[[2]],Total[#]}&)/@t;hcu=({#[[1]],#[[2]],Total[#]}&)/@u;pc=PseudoInverse[hc].t;\nphi[x_]:=({#[[1]],#[[2]],#[[1]]^2,#[[2]]^2}&)/@x;\nyd=({#[[1]]+#[[2]]^2,#[[2]]+#[[1]]^2}&)/@t;ydu=({#[[1]]+#[[2]]^2,#[[2]]+#[[1]]^2}&)/@u;\npd=PseudoInverse[phi[t]].yd;pl=PseudoInverse[t].yd;pp=PseudoInverse[phi[t]].Reverse[yd];\nInputForm[{\n\"A\",{\"P\",PseudoInverse[t].t,\"heldoutNRSE\",nr[u,IdentityMatrix[2],u]},\n\"B\",{\"train\",hb,\"heldout\",hbu,\"P\",p,\"heldoutNRSE\",{\"learned\",nr[hbu,p,u],\"identity\",nr[hbu,IdentityMatrix[2],u],\"null\",nr[hbu,ConstantArray[0,{2,2}],u],\"wrongBasisTranspose\",nr[hbu,Transpose[p],u]},\"orthogonalityMax\",Max[Abs[Flatten[Transpose[p].p-IdentityMatrix[2]]]]},\n\"C\",{\"train\",hc,\"heldout\",hcu,\"P\",pc,\"heldoutNRSE\",nr[hcu,pc,u],\"GramEigenvalues\",Eigenvalues[Transpose[hc].hc],\"GramRank\",MatrixRank[Transpose[hc].hc]},\n\"D\",{\"trainZ\",yd,\"heldoutZ\",ydu,\"phiP\",pd,\"rawLinearP\",pl,\"permutedPhiP\",pp,\"GramEigenvalues\",Eigenvalues[Transpose[phi[t]].phi[t]],\"GramRank\",MatrixRank[Transpose[phi[t]].phi[t]],\"heldoutNRSE\",{\"phi\",nr[phi[u],pd,ydu],\"linear\",nr[u,pl,ydu],\"permutedPhiAgainstTrueZ\",nr[phi[u],pp,ydu]},\"heldoutMaxAbs\",{\"phi\",Max[Abs[Flatten[phi[u].pd-ydu]]],\"linear\",Max[Abs[Flatten[u.pl-ydu]]],\"permutedPhi\",Max[Abs[Flatten[phi[u].pp-ydu]]]}}\n}]]\nOUTPUT:\nOut[1]= {\"A\", {\"P\", {{1, 0}, {0, 1}}, \"heldoutNRSE\", 0}, \"B\", {\"train\", {{-1, 2}, {1, 2}, {-2, 1}, {2, 1}, {-2, -1}, {2, -1}, {-1, -2}, {1, -2}}, \"heldout\", {{-1, 3}, {1, 3}, {-3, 1}, {3, 1}, {-3, -1}, {3, -1}, {-1, -3}, {1, -3}}, \"P\", {{0, 1}, {-1, 0}}, \"heldoutNRSE\", {\"learned\", 0, \"identity\", 2, \"null\", 1, \"wrongBasisTranspose\", 4}, \"orthogonalityMax\", 0}, \"C\", {\"train\", {{-2, -1, -3}, {-2, 1, -1}, {-1, -2, -3}, {-1, 2, 1}, {1, -2, -1}, {1, 2, 3}, {2, -1, 1}, {2, 1, 3}}, \"heldout\", {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}}, \"P\", {{2/3, -1/3}, {-1/3, 2/3}, {1/3, 1/3}}, \"heldoutNRSE\", 0, \"GramEigenvalues\", {60, 20, 0}, \"GramRank\", 2}, \"D\", {\"trainZ\", {{-1, 3}, {-1, 5}, {3, -1}, {3, 3}, {5, -1}, {\u2026\n-----\nQUERY:\nModule[{x,y,g,vals,vecs,vk,pcr,rr,nr,tau,t,c,s,j,off},\nx={{2,0},{0,1}};y={{0,0},{0,1}};g=Transpose[x].x;{vals,vecs}=Eigensystem[g];vk=Transpose[Take[vecs,1]];pcr=vk.DiagonalMatrix[1/Take[vals,1]].Transpose[vk].Transpose[x].y;rr={{0,0},{0,1}};\ntau=(d-a)/(2 b);t=q;c=1/Sqrt[1+t^2];s=t*c;j={{c,s},{-s,c}};off=Factor[(Transpose[j].{{a,b},{b,d}}.j)[[1,2]]];\nInputForm[{\"PCRcounterexample\",{\"X\",x,\"Y\",y,\"GramSpectrum\",vals,\"k\",1,\"PCR\",pcr,\"PCRsquaredResidual\",Total[Flatten[(x.pcr-y)^2]],\"RRR\",rr,\"RRRrank\",MatrixRank[rr],\"RRRsquaredResidual\",Total[Flatten[(x.rr-y)^2]]},\n\"JacobiOffdiag\",off,\"OffdiagPolynomial\",Expand[off*(1+q^2)],\n\"positiveTauRoot\",FullSimplify[1-2*z/(z+Sqrt[1+z^2])-1/(z+Sqrt[1+z^2])^2,Assumptions->z>0],\n\"negativeTauRoot\",FullSimplify[1+2*z/(-z+Sqrt[1+z^2])-1/(-z+Sqrt[1+z^2])^2,Assumptions->z<0],\n\"zeroTauRoot\",1-2*0*1-1^2,\n\"columnUpdateCheck\",{{v11,v12},{v21,v22}}.{{cc,ss},{-ss,cc}}=={{cc*v11-ss*v12,ss*v11+cc*v12},{cc*v21-ss*v22,ss*v21+cc*v22}}}]]\nOUTPUT:\nOut[1]= {\"PCRcounterexample\", {\"X\", {{2, 0}, {0, 1}}, \"Y\", {{0, 0}, {0, 1}}, \"GramSpectrum\", {4, 1}, \"k\", 1, \"PCR\", {{0, 0}, {0, 0}}, \"PCRsquaredResidual\", 1, \"RRR\", {{0, 0}, {0, 1}}, \"RRRrank\", 1, \"RRRsquaredResidual\", 0}, \"JacobiOffdiag\", -((-b - a*q + d*q + b*q^2)/(1 + q^2)), \"OffdiagPolynomial\", b + a*q - d*q - b*q^2, \"positiveTauRoot\", 0, \"negativeTauRoot\", 0, \"zeroTauRoot\", 0, \"columnUpdateCheck\", True}\n-----\nQUERY:\nModule[{sig,sgn,c,p,q,x,y,err},\nsig=DiagonalMatrix[{2,3}];sgn=DiagonalMatrix[{1,-1}];c=sgn.sig;p=c.MatrixPower[Transpose[c].c,-1/2];\nInputForm[{\"ProcrustesReflection\",{\"C\",c,\"P\",p,\"PtP\",Transpose[p].p,\"detP\",Det[p],\"trace\",Tr[Transpose[p].c],\"sumSingularValues\",Tr[sig]},\n\"objectiveExpansion\",HoldForm[Norm[X.P-Y,\"Frobenius\"]^2==Tr[Transpose[X].X]+Tr[Transpose[Y].Y]-2*Tr[Transpose[P].Transpose[X].Y]],\n\"SVDpolar\",HoldForm[C==U.S.Transpose[V]&&P==U.Transpose[V]],\n\"NRSE\",HoldForm[Total[Flatten[(H.P-Z)^2]]/Total[Flatten[Z^2]]],\n\"MaxAbsFeatureError\",HoldForm[Max[Abs[Flatten[H.P-Z]]]],\n\"OrthogonalityError\",HoldForm[Max[Abs[Flatten[Transpose[P].P-IdentityMatrix[d]]]]],\n\"MetadataMismatchCount\",HoldForm[Count[MapThread[SameQ,{actual,expected}],False]],\n\"Policy\",{\"NRSEMax\",10^-12,\"MaxAbsMax\",10^-6,\"JacobiOffdiagMax\",HoldForm[10^-14*Max[1,Max[Abs[Diagonal[G]]]]],\"EigenvalueCutoff\",HoldForm[10^-10*Max[eigenvalues]],\"CyclicSweeps\",64,\"MaxFeatures\",4,\"MetadataFields\",5,\"PreregisteredNotMeasured\",True},\n\"MetadataExamples\",{Count[MapThread[SameQ,{{a,b,c,d,e},{a,b,c,d,e}}],False],Count[MapThread[SameQ,{{a,b,c,d,e},{a,b,c,d,f}}],False]}}]]\nOUTPUT:\nSymbol::undefined2: Warning: Global symbols \"X, P, Y, X, X, Y, Y, P, X, Y, U, S, V, P, U, V, H, P, Z, Z, H, P, Z, P, P, G\" are undefined.\nGeneral::messages: Messages were generated which may indicate errors.\n\nOut[1]= {\"ProcrustesReflection\", {\"C\", {{2, 0}, {0, -3}}, \"P\", {{1, 0}, {0, -1}}, \"PtP\", {{1, 0}, {0, 1}}, \"detP\", -1, \"trace\", 5, \"sumSingularValues\", 5}, \"objectiveExpansion\", HoldForm[Norm[X . P - Y, \"Frobenius\"]^2 == Tr[Transpose[X] . X] + Tr[Transpose[Y] . Y] - 2*Tr[Transpose[P] . Transpose[X] . Y]], \"SVDpolar\", HoldForm[C == U . S . Transpose[V] && P == U . Transpose[V]], \"NRSE\", HoldForm[Total[Flatten[(H . P - Z)^2]]/Total[Flatten[Z^2]]], \"MaxAbsFeatureError\", HoldForm[Max[Abs[Flatten[H . P - Z]]]], \"OrthogonalityError\", HoldForm[Max[Abs[Flatten[Transpose[P] . P - IdentityMatrix[d]]]]], \"MetadataMismatchCount\", HoldForm[Count[MapThread[SameQ, {actual, expected}], False]], \"Policy\", {\"NRSEMax\", 1/1000000000000, \"MaxAbsMax\", 1/1000000, \"JacobiOffdiag\u2026\n-----","status":"complete","statusEvents":[{"op":"mcp__wolfram_wolframlanguageevaluator","chars":1192},{"op":"mcp__wolfram_wolframlanguageevaluator","chars":412},{"op":"mcp__wolfram_wolframlanguageevaluator","chars":1202}],"exitCode":0,"durationMs":10934}],"statusEvents":[{"op":"mcp__wolfram_wolframlanguageevaluator","chars":1192},{"op":"mcp__wolfram_wolframlanguageevaluator","chars":412},{"op":"mcp__wolfram_wolframlanguageevaluator","chars":1202}],"notice":"Eval timeout clamped from 1200000s to 3600s.","meta":{"limits":{"columnTruncated":{"maxColumn":768,"unit":"bytes"}}}}},"isError":false} +{"type":"tool_execution_start","toolCallId":"call_c803115e16c54119b3ad6584736df0e4|fc_07c030470dbf67e7016ae201639c84819e98c0107696dfa8e8","toolName":"eval","args":{"language":"js","code":"await ev(`Module[{t,u,phi,z,zu,f,l,perm,nr},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};phi[x_]:=({#[[1]],#[[2]],#[[1]]^2,#[[2]]^2}&)/@x;z[x_]:=({#[[1]]+#[[2]]^2,#[[2]]+#[[1]]^2}&)/@x;f=PseudoInverse[phi[t]].z[t];l=PseudoInverse[t].z[t];perm=PseudoInverse[phi[t]].Reverse[z[t]];nr[h_,p_]:=Total[Flatten[(h.p-z[u])^2]]/Total[Flatten[z[u]^2]];InputForm[{\"trainZ\",z[t],\"heldoutZ\",z[u],\"phiP\",f,\"linearP\",l,\"permutationP\",perm,\"GramEigenvalues\",Eigenvalues[Transpose[phi[t]].phi[t]],\"GramRank\",MatrixRank[Transpose[phi[t]].phi[t]],\"heldoutNRSE\",{nr[phi[u],f],nr[u,l],nr[phi[u],perm]},\"heldoutMaxAbs\",{Max[Abs[Flatten[phi[u].f-z[u]]]],Max[Abs[Flatten[u.l-z[u]]]],Max[Abs[Flatten[phi[u].perm-z[u]]]]}}]]`);\nawait ev(`InputForm[{\"NRSEMax\",10^-12,\"MaxAbsMax\",10^-6,\"JacobiRelativeTolerance\",10^-14,\"EigenRelativeCutoff\",10^-10,\"CyclicSweeps\",64,\"MaxFeatures\",4,\"MetadataFields\",5,\"MetadataExamples\",{Count[MapThread[SameQ,{{a,b,c,d,e},{a,b,c,d,e}}],False],Count[MapThread[SameQ,{{a,b,c,d,e},{a,b,c,d,f}}],False]}}]`);\nawait ev(`Module[{t,u},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};InputForm[{\"trainHeldoutIntersection\",Intersection[t,u],\"linearGram\",Transpose[t].t,\"phiGram\",With[{h=({#[[1]],#[[2]],#[[1]]^2,#[[2]]^2}&)/@t},Transpose[h].h]}]]`);","title":"Recovering complete compact outputs","timeout":120,"reset":false},"intent":"Recovering complete compact outputs"} +{"type":"tool_execution_end","toolCallId":"call_c803115e16c54119b3ad6584736df0e4|fc_07c030470dbf67e7016ae201639c84819e98c0107696dfa8e8","toolName":"eval","result":{"content":[{"type":"text","text":"QUERY:\nModule[{t,u,phi,z,zu,f,l,perm,nr},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};phi[x_]:=({#[[1]],#[[2]],#[[1]]^2,#[[2]]^2}&)/@x;z[x_]:=({#[[1]]+#[[2]]^2,#[[2]]+#[[1]]^2}&)/@x;f=PseudoInverse[phi[t]].z[t];l=PseudoInverse[t].z[t];perm=PseudoInverse[phi[t]].Reverse[z[t]];nr[h_,p_]:=Total[Flatten[(h.p-z[u])^2]]/Total[Flatten[z[u]^2]];InputForm[{\"trainZ\",z[t],\"heldoutZ\",z[u],\"phiP\",f,\"linearP\",l,\"permutationP\",perm,\"GramEigenvalues\",Eigenvalues[Transpose[phi[t]].phi[t]],\"GramRank\",MatrixRank[Transpose[phi[t]].phi[t]],\"heldoutNRSE\",{nr[phi[u],f],nr[u,l],nr[phi[u],perm]},\"heldoutMaxAbs\",{Max[Abs[Flatten[phi[u].f-z[u]]]],Max[Abs[Flatten[u.l-z[u]]]],Max[Abs[Flatten[phi[u].perm-z[u]]]]}}]]\nOUTPUT:\nOut[1]= {\"trainZ\", {{-1, 3}, {-1, 5}, {3, -1}, {3, 3}, {5, -1}, {5, 3}, {3, 3}, {3, 5}}, \"heldoutZ\", {{-2, 8}, {-2, 10}, {8, -2}, {8, 4}, {10, -2}, {10, 4}, {4, 8}, {4, 10}}, \"phiP\", {{1, 0}, {0, 1}, {0, 1}, {1, 0}}, \"linearP\", {{1, 0}, {0, 1}}, \"permutationP\", {{-1, 0}, {0, -1}, {0, 1}, {1, 0}}, \"GramEigenvalues\", {100, 36, 20, 20}, \"GramRank\", 4, \"heldoutNRSE\", {0, 41/46, 10/23}, \"heldoutMaxAbs\", {0, 9, 6}}\n-----\nQUERY:\nInputForm[{\"NRSEMax\",10^-12,\"MaxAbsMax\",10^-6,\"JacobiRelativeTolerance\",10^-14,\"EigenRelativeCutoff\",10^-10,\"CyclicSweeps\",64,\"MaxFeatures\",4,\"MetadataFields\",5,\"MetadataExamples\",{Count[MapThread[SameQ,{{a,b,c,d,e},{a,b,c,d,e}}],False],Count[MapThread[SameQ,{{a,b,c,d,e},{a,b,c,d,f}}],False]}}]\nOUTPUT:\nOut[1]= {\"NRSEMax\", 1/1000000000000, \"MaxAbsMax\", 1/1000000, \"JacobiRelativeTolerance\", 1/100000000000000, \"EigenRelativeCutoff\", 1/10000000000, \"CyclicSweeps\", 64, \"MaxFeatures\", 4, \"MetadataFields\", 5, \"MetadataExamples\", {0, 1}}\n-----\nQUERY:\nModule[{t,u},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};InputForm[{\"trainHeldoutIntersection\",Intersection[t,u],\"linearGram\",Transpose[t].t,\"phiGram\",With[{h=({#[[1]],#[[2]],#[[1]]^2,#[[2]]^2}&)/@t},Transpose[h].h]}]]\nOUTPUT:\nOut[1]= {\"trainHeldoutIntersection\", {}, \"linearGram\", {{20, 0}, {0, 20}}, \"phiGram\", {{20, 0, 0, 0}, {0, 20, 0, 0}, {0, 0, 68, 32}, {0, 0, 32, 68}}}\n-----"}],"details":{"language":"js","languages":["js"],"cells":[{"index":0,"title":"Recovering complete compact outputs","code":"await ev(`Module[{t,u,phi,z,zu,f,l,perm,nr},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};phi[x_]:=({#[[1]],#[[2]],#[[1]]^2,#[[2]]^2}&)/@x;z[x_]:=({#[[1]]+#[[2]]^2,#[[2]]+#[[1]]^2}&)/@x;f=PseudoInverse[phi[t]].z[t];l=PseudoInverse[t].z[t];perm=PseudoInverse[phi[t]].Reverse[z[t]];nr[h_,p_]:=Total[Flatten[(h.p-z[u])^2]]/Total[Flatten[z[u]^2]];InputForm[{\"trainZ\",z[t],\"heldoutZ\",z[u],\"phiP\",f,\"linearP\",l,\"permutationP\",perm,\"GramEigenvalues\",Eigenvalues[Transpose[phi[t]].phi[t]],\"GramRank\",MatrixRank[Transpose[phi[t]].phi[t]],\"heldoutNRSE\",{nr[phi[u],f],nr[u,l],nr[phi[u],perm]},\"heldoutMaxAbs\",{Max[Abs[Flatten[phi[u].f-z[u]]]],Max[Abs[Flatten[u.l-z[u]]]],Max[Abs[Flatten[phi[u].perm-z[u]]]]}}]]`);\nawait ev(`InputForm[{\"NRSEMax\",10^-12,\"MaxAbsMax\",10^-6,\"JacobiRelativeTolerance\",10^-14,\"EigenRelativeCutoff\",10^-10,\"CyclicSweeps\",64,\"MaxFeatures\",4,\"MetadataFields\",5,\"MetadataExamples\",{Count[MapThread[SameQ,{{a,b,c,d,e},{a,b,c,d,e}}],False],Count[MapThread[SameQ,{{a,b,c,d,e},{a,b,c,d,f}}],False]}}]`);\nawait ev(`Module[{t,u},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};InputForm[{\"trainHeldoutIntersection\",Intersection[t,u],\"linearGram\",Transpose[t].t,\"phiGram\",With[{h=({#[[1]],#[[2]],#[[1]]^2,#[[2]]^2}&)/@t},Transpose[h].h]}]]`);","language":"js","output":"QUERY:\nModule[{t,u,phi,z,zu,f,l,perm,nr},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};phi[x_]:=({#[[1]],#[[2]],#[[1]]^2,#[[2]]^2}&)/@x;z[x_]:=({#[[1]]+#[[2]]^2,#[[2]]+#[[1]]^2}&)/@x;f=PseudoInverse[phi[t]].z[t];l=PseudoInverse[t].z[t];perm=PseudoInverse[phi[t]].Reverse[z[t]];nr[h_,p_]:=Total[Flatten[(h.p-z[u])^2]]/Total[Flatten[z[u]^2]];InputForm[{\"trainZ\",z[t],\"heldoutZ\",z[u],\"phiP\",f,\"linearP\",l,\"permutationP\",perm,\"GramEigenvalues\",Eigenvalues[Transpose[phi[t]].phi[t]],\"GramRank\",MatrixRank[Transpose[phi[t]].phi[t]],\"heldoutNRSE\",{nr[phi[u],f],nr[u,l],nr[phi[u],perm]},\"heldoutMaxAbs\",{Max[Abs[Flatten[phi[u].f-z[u]]]],Max[Abs[Flatten[u.l-z[u]]]],Max[Abs[Flatten[phi[u].perm-z[u]]]]}}]]\nOUTPUT:\nOut[1]= {\"trainZ\", {{-1, 3}, {-1, 5}, {3, -1}, {3, 3}, {5, -1}, {5, 3}, {3, 3}, {3, 5}}, \"heldoutZ\", {{-2, 8}, {-2, 10}, {8, -2}, {8, 4}, {10, -2}, {10, 4}, {4, 8}, {4, 10}}, \"phiP\", {{1, 0}, {0, 1}, {0, 1}, {1, 0}}, \"linearP\", {{1, 0}, {0, 1}}, \"permutationP\", {{-1, 0}, {0, -1}, {0, 1}, {1, 0}}, \"GramEigenvalues\", {100, 36, 20, 20}, \"GramRank\", 4, \"heldoutNRSE\", {0, 41/46, 10/23}, \"heldoutMaxAbs\", {0, 9, 6}}\n-----\nQUERY:\nInputForm[{\"NRSEMax\",10^-12,\"MaxAbsMax\",10^-6,\"JacobiRelativeTolerance\",10^-14,\"EigenRelativeCutoff\",10^-10,\"CyclicSweeps\",64,\"MaxFeatures\",4,\"MetadataFields\",5,\"MetadataExamples\",{Count[MapThread[SameQ,{{a,b,c,d,e},{a,b,c,d,e}}],False],Count[MapThread[SameQ,{{a,b,c,d,e},{a,b,c,d,f}}],False]}}]\nOUTPUT:\nOut[1]= {\"NRSEMax\", 1/1000000000000, \"MaxAbsMax\", 1/1000000, \"JacobiRelativeTolerance\", 1/100000000000000, \"EigenRelativeCutoff\", 1/10000000000, \"CyclicSweeps\", 64, \"MaxFeatures\", 4, \"MetadataFields\", 5, \"MetadataExamples\", {0, 1}}\n-----\nQUERY:\nModule[{t,u},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};InputForm[{\"trainHeldoutIntersection\",Intersection[t,u],\"linearGram\",Transpose[t].t,\"phiGram\",With[{h=({#[[1]],#[[2]],#[[1]]^2,#[[2]]^2}&)/@t},Transpose[h].h]}]]\nOUTPUT:\nOut[1]= {\"trainHeldoutIntersection\", {}, \"linearGram\", {{20, 0}, {0, 20}}, \"phiGram\", {{20, 0, 0, 0}, {0, 20, 0, 0}, {0, 0, 68, 32}, {0, 0, 32, 68}}}\n-----","status":"complete","statusEvents":[{"op":"mcp__wolfram_wolframlanguageevaluator","chars":412},{"op":"mcp__wolfram_wolframlanguageevaluator","chars":231},{"op":"mcp__wolfram_wolframlanguageevaluator","chars":149}],"exitCode":0,"durationMs":11013}],"statusEvents":[{"op":"mcp__wolfram_wolframlanguageevaluator","chars":412},{"op":"mcp__wolfram_wolframlanguageevaluator","chars":231},{"op":"mcp__wolfram_wolframlanguageevaluator","chars":149}]}},"isError":false} +{"type":"tool_execution_start","toolCallId":"call_873eaf79e2604c3eb9975809b7170076|fc_07c030470dbf67e7016ae2017e61fc819ea7d700d28ed592b2","toolName":"eval","args":{"language":"js","code":"await ev(`Module[{t,u,r,h,hu,c,p,nr},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};r={{0,-1},{1,0}};h=t.r;hu=u.r;c=Transpose[h].t;p=c.MatrixPower[Transpose[c].c,-1/2];nr[q_]:=Total[Flatten[(hu.q-u)^2]]/Total[Flatten[u^2]];InputForm[{\"trainHB\",h,\"heldoutHB\",hu,\"C\",c,\"PB\",p,\"AheldoutNRSE\",Total[Flatten[(u.IdentityMatrix[2]-u)^2]]/Total[Flatten[u^2]]],\"BheldoutNRSE_learned_identity_null_wrongTranspose\",nr/@{p,IdentityMatrix[2],ConstantArray[0,{2,2}],Transpose[p]},\"orthogonalityMax\",Max[Abs[Flatten[Transpose[p].p-IdentityMatrix[2]]]],\"learnedMaxAbs\",Max[Abs[Flatten[hu.p-u]]]]}]]`);\nawait ev(`Module[{t,u,h,hu,p},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};h=({#[[1]],#[[2]],Total[#]}&)/@t;hu=({#[[1]],#[[2]],Total[#]}&)/@u;p=PseudoInverse[h].t;InputForm[{\"trainHC\",h,\"heldoutHC\",hu,\"P\",p,\"GramEigenvalues\",Eigenvalues[Transpose[h].h],\"GramRank\",MatrixRank[Transpose[h].h],\"heldoutNRSE\",Total[Flatten[(hu.p-u)^2]]/Total[Flatten[u^2]]],\"heldoutMaxAbs\",Max[Abs[Flatten[hu.p-u]]]]}]]`);","title":"Preserving complete linear fixture outputs","timeout":120,"reset":false},"intent":"Preserving complete linear fixture outputs"} +{"type":"tool_execution_end","toolCallId":"call_873eaf79e2604c3eb9975809b7170076|fc_07c030470dbf67e7016ae2017e61fc819ea7d700d28ed592b2","toolName":"eval","result":{"content":[{"type":"text","text":"QUERY:\nModule[{t,u,r,h,hu,c,p,nr},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};r={{0,-1},{1,0}};h=t.r;hu=u.r;c=Transpose[h].t;p=c.MatrixPower[Transpose[c].c,-1/2];nr[q_]:=Total[Flatten[(hu.q-u)^2]]/Total[Flatten[u^2]];InputForm[{\"trainHB\",h,\"heldoutHB\",hu,\"C\",c,\"PB\",p,\"AheldoutNRSE\",Total[Flatten[(u.IdentityMatrix[2]-u)^2]]/Total[Flatten[u^2]]],\"BheldoutNRSE_learned_identity_null_wrongTranspose\",nr/@{p,IdentityMatrix[2],ConstantArray[0,{2,2}],Transpose[p]},\"orthogonalityMax\",Max[Abs[Flatten[Transpose[p].p-IdentityMatrix[2]]]],\"learnedMaxAbs\",Max[Abs[Flatten[hu.p-u]]]]}]]\nOUTPUT:\nToExpression::sntx: Invalid syntax in or before \" ... ^\".\"\\n\"\nGeneral::messages: Messages were generated which may indicate errors.\n\nOut[1]= $Failed\n-----\nQUERY:\nModule[{t,u,h,hu,p},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};h=({#[[1]],#[[2]],Total[#]}&)/@t;hu=({#[[1]],#[[2]],Total[#]}&)/@u;p=PseudoInverse[h].t;InputForm[{\"trainHC\",h,\"heldoutHC\",hu,\"P\",p,\"GramEigenvalues\",Eigenvalues[Transpose[h].h],\"GramRank\",MatrixRank[Transpose[h].h],\"heldoutNRSE\",Total[Flatten[(hu.p-u)^2]]/Total[Flatten[u^2]]],\"heldoutMaxAbs\",Max[Abs[Flatten[hu.p-u]]]]}]]\nOUTPUT:\nToExpression::sntx: Invalid syntax in or before \" ... ^\".\"\\n\"\nGeneral::messages: Messages were generated which may indicate errors.\n\nOut[1]= $Failed\n-----"}],"details":{"language":"js","languages":["js"],"cells":[{"index":0,"title":"Preserving complete linear fixture outputs","code":"await ev(`Module[{t,u,r,h,hu,c,p,nr},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};r={{0,-1},{1,0}};h=t.r;hu=u.r;c=Transpose[h].t;p=c.MatrixPower[Transpose[c].c,-1/2];nr[q_]:=Total[Flatten[(hu.q-u)^2]]/Total[Flatten[u^2]];InputForm[{\"trainHB\",h,\"heldoutHB\",hu,\"C\",c,\"PB\",p,\"AheldoutNRSE\",Total[Flatten[(u.IdentityMatrix[2]-u)^2]]/Total[Flatten[u^2]]],\"BheldoutNRSE_learned_identity_null_wrongTranspose\",nr/@{p,IdentityMatrix[2],ConstantArray[0,{2,2}],Transpose[p]},\"orthogonalityMax\",Max[Abs[Flatten[Transpose[p].p-IdentityMatrix[2]]]],\"learnedMaxAbs\",Max[Abs[Flatten[hu.p-u]]]]}]]`);\nawait ev(`Module[{t,u,h,hu,p},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};h=({#[[1]],#[[2]],Total[#]}&)/@t;hu=({#[[1]],#[[2]],Total[#]}&)/@u;p=PseudoInverse[h].t;InputForm[{\"trainHC\",h,\"heldoutHC\",hu,\"P\",p,\"GramEigenvalues\",Eigenvalues[Transpose[h].h],\"GramRank\",MatrixRank[Transpose[h].h],\"heldoutNRSE\",Total[Flatten[(hu.p-u)^2]]/Total[Flatten[u^2]]],\"heldoutMaxAbs\",Max[Abs[Flatten[hu.p-u]]]]}]]`);","language":"js","output":"QUERY:\nModule[{t,u,r,h,hu,c,p,nr},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};r={{0,-1},{1,0}};h=t.r;hu=u.r;c=Transpose[h].t;p=c.MatrixPower[Transpose[c].c,-1/2];nr[q_]:=Total[Flatten[(hu.q-u)^2]]/Total[Flatten[u^2]];InputForm[{\"trainHB\",h,\"heldoutHB\",hu,\"C\",c,\"PB\",p,\"AheldoutNRSE\",Total[Flatten[(u.IdentityMatrix[2]-u)^2]]/Total[Flatten[u^2]]],\"BheldoutNRSE_learned_identity_null_wrongTranspose\",nr/@{p,IdentityMatrix[2],ConstantArray[0,{2,2}],Transpose[p]},\"orthogonalityMax\",Max[Abs[Flatten[Transpose[p].p-IdentityMatrix[2]]]],\"learnedMaxAbs\",Max[Abs[Flatten[hu.p-u]]]]}]]\nOUTPUT:\nToExpression::sntx: Invalid syntax in or before \" ... ^\".\"\\n\"\nGeneral::messages: Messages were generated which may indicate errors.\n\nOut[1]= $Failed\n-----\nQUERY:\nModule[{t,u,h,hu,p},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};h=({#[[1]],#[[2]],Total[#]}&)/@t;hu=({#[[1]],#[[2]],Total[#]}&)/@u;p=PseudoInverse[h].t;InputForm[{\"trainHC\",h,\"heldoutHC\",hu,\"P\",p,\"GramEigenvalues\",Eigenvalues[Transpose[h].h],\"GramRank\",MatrixRank[Transpose[h].h],\"heldoutNRSE\",Total[Flatten[(hu.p-u)^2]]/Total[Flatten[u^2]]],\"heldoutMaxAbs\",Max[Abs[Flatten[hu.p-u]]]]}]]\nOUTPUT:\nToExpression::sntx: Invalid syntax in or before \" ... ^\".\"\\n\"\nGeneral::messages: Messages were generated which may indicate errors.\n\nOut[1]= $Failed\n-----","status":"complete","statusEvents":[{"op":"mcp__wolfram_wolframlanguageevaluator","chars":190},{"op":"mcp__wolfram_wolframlanguageevaluator","chars":190}],"exitCode":0,"durationMs":12109}],"statusEvents":[{"op":"mcp__wolfram_wolframlanguageevaluator","chars":190},{"op":"mcp__wolfram_wolframlanguageevaluator","chars":190}]}},"isError":false} +{"type":"tool_execution_start","toolCallId":"call_573e5525488e4b7984598393a3c21c92|fc_07c030470dbf67e7016ae201974780819ea0016cc30102f60f","toolName":"eval","args":{"language":"js","code":"await ev(`Module[{t,u,r,h,hu,c,p,nr},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};r={{0,-1},{1,0}};h=t.r;hu=u.r;c=Transpose[h].t;p=c.MatrixPower[Transpose[c].c,-1/2];nr[q_]:=Total[Flatten[(hu.q-u)^2]]/Total[Flatten[u^2]];InputForm[{\"trainHB\",h,\"heldoutHB\",hu,\"C\",c,\"PB\",p,\"AheldoutNRSE\",0,\"BheldoutNRSE_learned_identity_null_wrongTranspose\",nr/@{p,IdentityMatrix[2],ConstantArray[0,{2,2}],Transpose[p]},\"orthogonalityMax\",Norm[Flatten[Transpose[p].p-IdentityMatrix[2]],Infinity],\"learnedMaxAbs\",Norm[Flatten[hu.p-u],Infinity]}]]`);\nawait ev(`Module[{t,u,h,hu,p},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};h=({#[[1]],#[[2]],Total[#]}&)/@t;hu=({#[[1]],#[[2]],Total[#]}&)/@u;p=PseudoInverse[h].t;InputForm[{\"trainHC\",h,\"heldoutHC\",hu,\"P\",p,\"GramEigenvalues\",Eigenvalues[Transpose[h].h],\"GramRank\",MatrixRank[Transpose[h].h],\"heldoutNRSE\",Total[Flatten[(hu.p-u)^2]]/Total[Flatten[u^2]],\"heldoutMaxAbs\",Norm[Flatten[hu.p-u],Infinity]}]]`);","title":"Completing compact linear outputs","timeout":120,"reset":false},"intent":"Completing compact linear outputs"} +{"type":"tool_execution_end","toolCallId":"call_573e5525488e4b7984598393a3c21c92|fc_07c030470dbf67e7016ae201974780819ea0016cc30102f60f","toolName":"eval","result":{"content":[{"type":"text","text":"QUERY:\nModule[{t,u,r,h,hu,c,p,nr},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};r={{0,-1},{1,0}};h=t.r;hu=u.r;c=Transpose[h].t;p=c.MatrixPower[Transpose[c].c,-1/2];nr[q_]:=Total[Flatten[(hu.q-u)^2]]/Total[Flatten[u^2]];InputForm[{\"trainHB\",h,\"heldoutHB\",hu,\"C\",c,\"PB\",p,\"AheldoutNRSE\",0,\"BheldoutNRSE_learned_identity_null_wrongTranspose\",nr/@{p,IdentityMatrix[2],ConstantArray[0,{2,2}],Transpose[p]},\"orthogonalityMax\",Norm[Flatten[Transpose[p].p-IdentityMatrix[2]],Infinity],\"learnedMaxAbs\",Norm[Flatten[hu.p-u],Infinity]}]]\nOUTPUT:\nOut[1]= {\"trainHB\", {{-1, 2}, {1, 2}, {-2, 1}, {2, 1}, {-2, -1}, {2, -1}, {-1, -2}, {1, -2}}, \"heldoutHB\", {{-1, 3}, {1, 3}, {-3, 1}, {3, 1}, {-3, -1}, {3, -1}, {-1, -3}, {1, -3}}, \"C\", {{0, 20}, {-20, 0}}, \"PB\", {{0, 1}, {-1, 0}}, \"AheldoutNRSE\", 0, \"BheldoutNRSE_learned_identity_null_wrongTranspose\", {0, 2, 1, 4}, \"orthogonalityMax\", 0, \"learnedMaxAbs\", 0}\n-----\nQUERY:\nModule[{t,u,h,hu,p},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};h=({#[[1]],#[[2]],Total[#]}&)/@t;hu=({#[[1]],#[[2]],Total[#]}&)/@u;p=PseudoInverse[h].t;InputForm[{\"trainHC\",h,\"heldoutHC\",hu,\"P\",p,\"GramEigenvalues\",Eigenvalues[Transpose[h].h],\"GramRank\",MatrixRank[Transpose[h].h],\"heldoutNRSE\",Total[Flatten[(hu.p-u)^2]]/Total[Flatten[u^2]],\"heldoutMaxAbs\",Norm[Flatten[hu.p-u],Infinity]}]]\nOUTPUT:\nOut[1]= {\"trainHC\", {{-2, -1, -3}, {-2, 1, -1}, {-1, -2, -3}, {-1, 2, 1}, {1, -2, -1}, {1, 2, 3}, {2, -1, 1}, {2, 1, 3}}, \"heldoutHC\", {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}}, \"P\", {{2/3, -1/3}, {-1/3, 2/3}, {1/3, 1/3}}, \"GramEigenvalues\", {60, 20, 0}, \"GramRank\", 2, \"heldoutNRSE\", 0, \"heldoutMaxAbs\", 0}\n-----"}],"details":{"language":"js","languages":["js"],"cells":[{"index":0,"title":"Completing compact linear outputs","code":"await ev(`Module[{t,u,r,h,hu,c,p,nr},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};r={{0,-1},{1,0}};h=t.r;hu=u.r;c=Transpose[h].t;p=c.MatrixPower[Transpose[c].c,-1/2];nr[q_]:=Total[Flatten[(hu.q-u)^2]]/Total[Flatten[u^2]];InputForm[{\"trainHB\",h,\"heldoutHB\",hu,\"C\",c,\"PB\",p,\"AheldoutNRSE\",0,\"BheldoutNRSE_learned_identity_null_wrongTranspose\",nr/@{p,IdentityMatrix[2],ConstantArray[0,{2,2}],Transpose[p]},\"orthogonalityMax\",Norm[Flatten[Transpose[p].p-IdentityMatrix[2]],Infinity],\"learnedMaxAbs\",Norm[Flatten[hu.p-u],Infinity]}]]`);\nawait ev(`Module[{t,u,h,hu,p},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};h=({#[[1]],#[[2]],Total[#]}&)/@t;hu=({#[[1]],#[[2]],Total[#]}&)/@u;p=PseudoInverse[h].t;InputForm[{\"trainHC\",h,\"heldoutHC\",hu,\"P\",p,\"GramEigenvalues\",Eigenvalues[Transpose[h].h],\"GramRank\",MatrixRank[Transpose[h].h],\"heldoutNRSE\",Total[Flatten[(hu.p-u)^2]]/Total[Flatten[u^2]],\"heldoutMaxAbs\",Norm[Flatten[hu.p-u],Infinity]}]]`);","language":"js","output":"QUERY:\nModule[{t,u,r,h,hu,c,p,nr},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};r={{0,-1},{1,0}};h=t.r;hu=u.r;c=Transpose[h].t;p=c.MatrixPower[Transpose[c].c,-1/2];nr[q_]:=Total[Flatten[(hu.q-u)^2]]/Total[Flatten[u^2]];InputForm[{\"trainHB\",h,\"heldoutHB\",hu,\"C\",c,\"PB\",p,\"AheldoutNRSE\",0,\"BheldoutNRSE_learned_identity_null_wrongTranspose\",nr/@{p,IdentityMatrix[2],ConstantArray[0,{2,2}],Transpose[p]},\"orthogonalityMax\",Norm[Flatten[Transpose[p].p-IdentityMatrix[2]],Infinity],\"learnedMaxAbs\",Norm[Flatten[hu.p-u],Infinity]}]]\nOUTPUT:\nOut[1]= {\"trainHB\", {{-1, 2}, {1, 2}, {-2, 1}, {2, 1}, {-2, -1}, {2, -1}, {-1, -2}, {1, -2}}, \"heldoutHB\", {{-1, 3}, {1, 3}, {-3, 1}, {3, 1}, {-3, -1}, {3, -1}, {-1, -3}, {1, -3}}, \"C\", {{0, 20}, {-20, 0}}, \"PB\", {{0, 1}, {-1, 0}}, \"AheldoutNRSE\", 0, \"BheldoutNRSE_learned_identity_null_wrongTranspose\", {0, 2, 1, 4}, \"orthogonalityMax\", 0, \"learnedMaxAbs\", 0}\n-----\nQUERY:\nModule[{t,u,h,hu,p},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};h=({#[[1]],#[[2]],Total[#]}&)/@t;hu=({#[[1]],#[[2]],Total[#]}&)/@u;p=PseudoInverse[h].t;InputForm[{\"trainHC\",h,\"heldoutHC\",hu,\"P\",p,\"GramEigenvalues\",Eigenvalues[Transpose[h].h],\"GramRank\",MatrixRank[Transpose[h].h],\"heldoutNRSE\",Total[Flatten[(hu.p-u)^2]]/Total[Flatten[u^2]],\"heldoutMaxAbs\",Norm[Flatten[hu.p-u],Infinity]}]]\nOUTPUT:\nOut[1]= {\"trainHC\", {{-2, -1, -3}, {-2, 1, -1}, {-1, -2, -3}, {-1, 2, 1}, {1, -2, -1}, {1, 2, 3}, {2, -1, 1}, {2, 1, 3}}, \"heldoutHC\", {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}}, \"P\", {{2/3, -1/3}, {-1/3, 2/3}, {1/3, 1/3}}, \"GramEigenvalues\", {60, 20, 0}, \"GramRank\", 2, \"heldoutNRSE\", 0, \"heldoutMaxAbs\", 0}\n-----","status":"complete","statusEvents":[{"op":"mcp__wolfram_wolframlanguageevaluator","chars":360},{"op":"mcp__wolfram_wolframlanguageevaluator","chars":366}],"exitCode":0,"durationMs":6892}],"statusEvents":[{"op":"mcp__wolfram_wolframlanguageevaluator","chars":360},{"op":"mcp__wolfram_wolframlanguageevaluator","chars":366}]}},"isError":false} +{"type":"tool_execution_start","toolCallId":"call_f50ede560b1f49319cdcccb7c9e0065b|fc_07c030470dbf67e7016ae201f29288819e86418d882dd85956","toolName":"eval","args":{"language":"js","code":"await ev(`Module[{h,t,g,vals,vecs,v,p},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};h=({#[[1]],#[[2]],Total[#]}&)/@t;g=Transpose[h].h;{vals,vecs}=Eigensystem[g];v=Transpose[Normalize/@Take[vecs,2]];p=v.DiagonalMatrix[1/Take[vals,2]].Transpose[v].Transpose[h].t;InputForm[{\"spectralP\",p,\"equalsMinimumNorm\",p==PseudoInverse[h].t}]]`);\nawait ev(`Module[{u},u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};InputForm[{\"computedAheldoutNRSE\",Total[Flatten[(u.IdentityMatrix[2]-u)^2]]/Total[Flatten[u^2]]}]]`);\nawait ev(`InputForm[{\"JacobiToleranceFormula\",HoldForm[10^-14*Max[1,Max[Abs[Diagonal[g]]]]],\"EigenvalueCutoffFormula\",HoldForm[10^-10*Max[eigenvalues]]}]`);","title":"Closing spectral verification gaps","timeout":120,"reset":false},"intent":"Closing spectral verification gaps"} +{"type":"tool_execution_end","toolCallId":"call_f50ede560b1f49319cdcccb7c9e0065b|fc_07c030470dbf67e7016ae201f29288819e86418d882dd85956","toolName":"eval","result":{"content":[{"type":"text","text":"QUERY:\nModule[{h,t,g,vals,vecs,v,p},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};h=({#[[1]],#[[2]],Total[#]}&)/@t;g=Transpose[h].h;{vals,vecs}=Eigensystem[g];v=Transpose[Normalize/@Take[vecs,2]];p=v.DiagonalMatrix[1/Take[vals,2]].Transpose[v].Transpose[h].t;InputForm[{\"spectralP\",p,\"equalsMinimumNorm\",p==PseudoInverse[h].t}]]\nOUTPUT:\nOut[1]= {\"spectralP\", {{2/3, -1/3}, {-1/3, 2/3}, {1/3, 1/3}}, \"equalsMinimumNorm\", True}\n-----\nQUERY:\nModule[{u},u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};InputForm[{\"computedAheldoutNRSE\",Total[Flatten[(u.IdentityMatrix[2]-u)^2]]/Total[Flatten[u^2]]}]]\nOUTPUT:\nOut[1]= {\"computedAheldoutNRSE\", 0}\n-----\nQUERY:\nInputForm[{\"JacobiToleranceFormula\",HoldForm[10^-14*Max[1,Max[Abs[Diagonal[g]]]]],\"EigenvalueCutoffFormula\",HoldForm[10^-10*Max[eigenvalues]]}]\nOUTPUT:\nOut[1]= {\"JacobiToleranceFormula\", HoldForm[Max[1, Max[Abs[Diagonal[g]]]]/10^14], \"EigenvalueCutoffFormula\", HoldForm[Max[eigenvalues]/10^10]}\n-----"}],"details":{"language":"js","languages":["js"],"cells":[{"index":0,"title":"Closing spectral verification gaps","code":"await ev(`Module[{h,t,g,vals,vecs,v,p},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};h=({#[[1]],#[[2]],Total[#]}&)/@t;g=Transpose[h].h;{vals,vecs}=Eigensystem[g];v=Transpose[Normalize/@Take[vecs,2]];p=v.DiagonalMatrix[1/Take[vals,2]].Transpose[v].Transpose[h].t;InputForm[{\"spectralP\",p,\"equalsMinimumNorm\",p==PseudoInverse[h].t}]]`);\nawait ev(`Module[{u},u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};InputForm[{\"computedAheldoutNRSE\",Total[Flatten[(u.IdentityMatrix[2]-u)^2]]/Total[Flatten[u^2]]}]]`);\nawait ev(`InputForm[{\"JacobiToleranceFormula\",HoldForm[10^-14*Max[1,Max[Abs[Diagonal[g]]]]],\"EigenvalueCutoffFormula\",HoldForm[10^-10*Max[eigenvalues]]}]`);","language":"js","output":"QUERY:\nModule[{h,t,g,vals,vecs,v,p},t={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};h=({#[[1]],#[[2]],Total[#]}&)/@t;g=Transpose[h].h;{vals,vecs}=Eigensystem[g];v=Transpose[Normalize/@Take[vecs,2]];p=v.DiagonalMatrix[1/Take[vals,2]].Transpose[v].Transpose[h].t;InputForm[{\"spectralP\",p,\"equalsMinimumNorm\",p==PseudoInverse[h].t}]]\nOUTPUT:\nOut[1]= {\"spectralP\", {{2/3, -1/3}, {-1/3, 2/3}, {1/3, 1/3}}, \"equalsMinimumNorm\", True}\n-----\nQUERY:\nModule[{u},u={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};InputForm[{\"computedAheldoutNRSE\",Total[Flatten[(u.IdentityMatrix[2]-u)^2]]/Total[Flatten[u^2]]}]]\nOUTPUT:\nOut[1]= {\"computedAheldoutNRSE\", 0}\n-----\nQUERY:\nInputForm[{\"JacobiToleranceFormula\",HoldForm[10^-14*Max[1,Max[Abs[Diagonal[g]]]]],\"EigenvalueCutoffFormula\",HoldForm[10^-10*Max[eigenvalues]]}]\nOUTPUT:\nOut[1]= {\"JacobiToleranceFormula\", HoldForm[Max[1, Max[Abs[Diagonal[g]]]]/10^14], \"EigenvalueCutoffFormula\", HoldForm[Max[eigenvalues]/10^10]}\n-----","status":"complete","statusEvents":[{"op":"mcp__wolfram_wolframlanguageevaluator","chars":88},{"op":"mcp__wolfram_wolframlanguageevaluator","chars":35},{"op":"mcp__wolfram_wolframlanguageevaluator","chars":142}],"exitCode":0,"durationMs":10904}],"statusEvents":[{"op":"mcp__wolfram_wolframlanguageevaluator","chars":88},{"op":"mcp__wolfram_wolframlanguageevaluator","chars":35},{"op":"mcp__wolfram_wolframlanguageevaluator","chars":142}]}},"isError":false} diff --git a/native/alignment/project.om b/native/alignment/project.om new file mode 100644 index 0000000..62d4883 --- /dev/null +++ b/native/alignment/project.om @@ -0,0 +1,385 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note NL2 bounded f64 projector. Caller owns paired rows and five-field identity. +note Fixed row stride four. No model capture, authority, allocation or external runtime. +global HX f64 128 +global ZY f64 128 +global HG f64 16 +global HC f64 16 +global HV f64 16 +global HW f64 16 +global HP f64 16 +global HM ulong 5 +global HI ulong 5 +global HS ulong 5 +global HE f64 3 + +fn ix r ulong c ulong to ulong +ret add mul r 4 c +end + +fn finite x f64 to bool +ret lt and bitcast ulong x 9223372036854775807 9218868437227405312 +end + +fn clear to void +for i ulong 128 +put HX i 0.0 +put ZY i 0.0 +end +for i ulong 16 +put HG i 0.0 +put HC i 0.0 +put HV i 0.0 +put HW i 0.0 +end +end + +fn dotxy n ulong i ulong j ulong to f64 +s = f64 0.0 +for r ulong n +x = get HX ix r i +y = get ZY ix r j +s = add s mul x y +end +ret s +end + +fn dotxx n ulong i ulong j ulong to f64 +s = f64 0.0 +for r ulong n +x = get HX ix r i +y = get HX ix r j +s = add s mul x y +end +ret s +end + +fn dotcc n ulong i ulong j ulong to f64 +s = f64 0.0 +for r ulong n +x = get HC ix r i +y = get HC ix r j +s = add s mul x y +end +ret s +end + +fn cross n ulong d ulong o ulong to void +for i ulong d +for j ulong o +put HC ix i j dotxy n i j +end +end +end + +fn gram n ulong d ulong to void +for i ulong d +for j ulong d +put HG ix i j dotxx n i j +end +end +end + +fn polargram d ulong to void +for i ulong d +for j ulong d +put HG ix i j dotcc d i j +end +end +end + +fn rotrow k ulong p ulong q ulong c f64 s f64 to void +if and ne k p ne k q +u = get HG ix k p +v = get HG ix k q +x = sub mul c u mul s v +y = add mul s u mul c v +put HG ix k p x +put HG ix p k x +put HG ix k q y +put HG ix q k y +end +u = get HV ix k p +v = get HV ix k q +x = sub mul c u mul s v +y = add mul s u mul c v +put HV ix k p x +put HV ix k q y +end + +fn rotate p ulong q ulong d ulong to void +b = get HG ix p q +if eq b 0.0 +ret +end +a = get HG ix p p +z = get HG ix q q +tau = div sub z a mul 2.0 b +t = div 1.0 add fabs tau fsqrt add 1.0 mul tau tau +if lt tau 0.0 +t = sub 0.0 t +end +c = div 1.0 fsqrt add 1.0 mul t t +s = mul t c +put HG ix p p sub a mul t b +put HG ix q q add z mul t b +put HG ix p q 0.0 +put HG ix q p 0.0 +for k ulong d +rotrow k p q c s +end +end + +fn converge d ulong to bool +mx = f64 1.0 +off = f64 0.0 +for i ulong d +mx = fmax mx fabs get HG ix i i +for j ulong d +if ne i j +off = fmax off fabs get HG ix i j +end +end +end +ret le off mul 0.00000000000001 mx +end + +fn eigen d ulong to bool +for i ulong 16 +put HV i 0.0 +end +for i ulong d +put HV ix i i 1.0 +end +for sweep ulong 64 +if converge d +ret true +end +for p ulong d +for q ulong d +if gt q p +rotate p q d +end +end +end +end +ret converge d +end + +fn choose d ulong to ulong +best = ulong 0 +val = f64 -1.0 +for i ulong d +if gt get HG ix i i val +val = get HG ix i i +best = i +end +end +ret best +end + +fn accum i ulong j ulong k ulong s f64 to void +pos = ix i j +v = mul get HV ix i k s +put HW pos add get HW pos v +end + +fn accumt i ulong j ulong k ulong s f64 to void +pos = ix i j +v = mul get HV ix j k s +put HW pos add get HW pos v +end + +fn pcrcol k ulong d ulong o ulong to void +lam = get HG ix k k +for j ulong o +s = f64 0.0 +for r ulong d +s = add s mul get HV ix r k get HC ix r j +end +s = div s lam +for i ulong d +accum i j k s +end +end +end + +fn polarcol k ulong d ulong to void +lam = fsqrt get HG ix k k +for i ulong d +s = f64 0.0 +for r ulong d +s = add s mul get HC ix i r get HV ix r k +end +s = div s lam +for j ulong d +accumt i j k s +end +end +end + +note fit: mode1 orthogonal; mode2 PCR. Lift nonlinear inputs before mode2. +note Returns 1 shape,2 nonfinite,3 nonconverged,4 deficient rank; no partial install. +fn fit n ulong d ulong o ulong rank ulong mode ulong to ulong +if or eq n 0 gt n 32 +ret 1 +end +if or or eq d 0 gt d 4 or eq o 0 gt o 4 +ret 1 +end +if or or eq rank 0 gt rank d and ne mode 1 ne mode 2 +ret 1 +end +if and eq mode 1 or ne d o ne rank d +ret 1 +end +for r ulong n +for i ulong d +if not finite get HX ix r i +ret 2 +end +end +for j ulong o +if not finite get ZY ix r j +ret 2 +end +end +end +for i ulong 16 +put HW i 0.0 +end +cross n d o +if eq mode 1 +polargram d +else +gram n d +end +for i ulong 16 +if or not finite get HG i not finite get HC i +ret 2 +end +end +if not eigen d +ret 3 +end +k = choose d +cut = mul 0.0000000001 get HG ix k k +if le cut 0.0 +ret 4 +end +for j ulong rank +k = choose d +if le get HG ix k k cut +ret 4 +end +if eq mode 1 +polarcol k d +else +pcrcol k d o +end +put HG ix k k -1.0 +end +for i ulong 16 +if not finite get HW i +ret 2 +end +end +for i ulong 16 +put HP i get HW i +end +for i ulong 5 +put HI i get HM i +end +put HS 0 d +put HS 1 o +put HS 2 1 +ret 0 +end + +note Metadata is identity comparison, never provenance authentication or authority. +fn mismatch to ulong +n = ulong 0 +for i ulong 5 +if ne get HM i get HI i +n = add n 1 +end +end +ret n +end + +fn predict r ulong j ulong to f64 +s = f64 0.0 +for i ulong get HS 0 +s = add s mul get HX ix r i get HP ix i j +end +ret s +end + +note HE stores residual sum of squares, target energy, max absolute feature error. +fn measure n ulong to ulong +if or eq n 0 gt n 32 +ret 1 +end +if or eq get HS 2 0 ne mismatch 0 +ret 5 +end +ss = f64 0.0 +en = f64 0.0 +mx = f64 0.0 +for r ulong n +for i ulong get HS 0 +if not finite get HX ix r i +ret 2 +end +end +for j ulong get HS 1 +y = get ZY ix r j +if not finite y +ret 2 +end +e = sub predict r j y +if not finite e +ret 2 +end +ss = add ss mul e e +en = add en mul y y +mx = fmax mx fabs e +end +end +if or or not finite ss not finite en not finite mx +ret 2 +end +if le en 0.0 +ret 6 +end +put HE 0 ss +put HE 1 en +put HE 2 mx +ret 0 +end + +fn ortherr d ulong to f64 +mx = f64 0.0 +for i ulong d +for j ulong d +s = f64 0.0 +for k ulong d +s = add s mul get HP ix k i get HP ix k j +end +if eq i j +s = sub s 1.0 +end +mx = fmax mx fabs s +end +end +ret mx +end + +fn lift n ulong to void +for r ulong n +x = get HX ix r 0 +y = get HX ix r 1 +put HX ix r 2 mul x x +put HX ix r 3 mul y y +end +end From 41589735fe3e28b9b508cc1dd978ecf614834889 Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Wed, 28 Oct 2026 09:24:47 -0500 Subject: [PATCH 2/3] test(nl2): record independent Wolfram prediction checks and mutants --- native/alignment/.crumb | 20 +++++++++--------- native/alignment/PROTOCOL.md | 8 +++++++ native/alignment/evidence/.crumb | 14 ++++++------- native/alignment/evidence/oracle-review.jsonl | 20 ++++++++++++++++++ native/alignment/evidence/run.json | 21 ++++++++++++++++--- 5 files changed, 63 insertions(+), 20 deletions(-) create mode 100644 native/alignment/evidence/oracle-review.jsonl diff --git a/native/alignment/.crumb b/native/alignment/.crumb index 9d53f8f..4ba45c8 100644 --- a/native/alignment/.crumb +++ b/native/alignment/.crumb @@ -3,21 +3,21 @@ "generated": { "children": [ { - "digest": "f27afb55a17f16dfd54de8183764c527dd96ba50f0848a7a4a440712df6f5962", - "last_commit": "", + "digest": "930a95b14789f5f1cc58b78d4a7374a9d733f3ea4e03caed216abc9aed695b6f", + "last_commit": "1a73c2d", "name": "evidence", "purpose": "NL2 synthetic host receipts and independent Wolfram calls, no activations" } ], - "children_root": "sha256:b73f29b754ff048220ad5560e2fea543722426eab95bd8f0db54d967980483be", - "compiled_at": "2026-10-28T14:20:37Z", + "children_root": "sha256:988d746d2ddbc71e50d827ffa6ae0e991371f25da09cd56c7464699d4b879514", + "compiled_at": "2026-10-28T14:24:47Z", "compiler": "crumb-compile/1", - "digest": "sha256:41c545d1c412d1036f364a528f1bbb5f818da53c7468f6f5b8fe5c54c77a58d6", - "evidence_files": 0, - "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "files": 0, - "generated_at_commit": "b6c33e3a82611361b37c651df70d9a645045773a", - "source_tree": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + "digest": "sha256:5c8065c40a997a0e733fb8fcf85bae138c10144f150c8e3b2aa279811e0fa610", + "evidence_files": 2, + "evidence_root": "sha256:a6eec49ee7d0dae498f9fa3ba780e7e589b383ebb8cb106f940ef821fe377be3", + "files": 5, + "generated_at_commit": "1a73c2d14fa4f9aeaf2933c02d5a289c6977788a", + "source_tree": "sha256:3e5399cef3536279aa95479b93b946da3e784b2a0391e35fe6c7b1e98e655a8b" }, "owner_lane": "", "seed": { diff --git a/native/alignment/PROTOCOL.md b/native/alignment/PROTOCOL.md index 9581ff8..8fe22eb 100644 --- a/native/alignment/PROTOCOL.md +++ b/native/alignment/PROTOCOL.md @@ -82,3 +82,11 @@ The integer-only output is lossless: each line is `case field unsigned-binary64- Cases 0/1 are identity and independently rotated representations with separately fitted projectors. Case 2 is the rank-two minimum-norm map from `[u,v,u+v]`; case 3 learns quadratic feature coefficients from nonlinear targets. Cases 4/5 are raw-linear and reversed-training-label controls against the same nonlinear held-out target. Cases 11/12/13 exercise an incompatible identity basis, null map and wrong transpose. Case 14 drops a genuine coordinate with rank-one PCR. `evidence/run.json` contains the observed raw output, exact source/binary digests and independent removed-metadata-guard and negated-projector mutant outputs. Mutants are temporary verification inputs, never an alternate product path. `evidence/oracle-review.jsonl` records independent Wolfram decoding and comparison of the native predictions against ground truth, not merely the harness's self-reported score. The NL-6 benchmark contract was frozen at benchmarks `8ee0a494bf73230c9d37647eb3caea792298fa8d` before host results. This algebra experiment does not claim the separate multi-seed task campaign, superiority, economics, real-model compatibility or independent task-completion acceptance. Numerical alignment alone cannot qualify those claims. + +## Observed synthetic result + +Native host campaign: **PASS**, exit 0 and failed-check count 0. The independently decoded Wolfram results are filed with their queries in `evidence/oracle-review.jsonl` and summarized without recalculation in `evidence/run.json`. Cases 0/1 have exact zero held-out NRSE; rank-two case 2 has NRSE `1.8304038191456289e-31`; nonlinear case 3 has NRSE `4.2872875283750640e-32`. Maximum feature error across those recovery cases is `1.7763568394002505e-15`. These are synthetic unitless coordinates, not measured model activation tolerances. + +Independent exact control oracles: nonlinear raw-linear NRSE `41/46`, reversed-label NRSE `10/23`, wrong-basis/null/transpose NRSE `2/1/4`, rank-one NRSE `1/2`. Native observations agree within the frozen thresholds and ordinary f64 rounding; the raw values, rather than rounded exact claims, are retained. Each of the five identity changes produces mismatch count 1 and refusal. Removing the metadata guard is detected with five failures; negating learned coefficients is detected with sixteen failures. Native metric reporting was independently recomputed from all held-out predictions, not accepted on self-report alone. + +Qualification limits: only the stated bounded synthetic families are exercised, not arbitrary ill-conditioned matrices. Nonconvergence refusal is implemented defensively but **NOT_RUN** as an observed failure in these convergent fixtures; rank, shape, nonfinite, zero-energy and identity refusals are exercised. No performance or condition-number superiority is claimed. Real-model alignment remains **BLOCKED** for the exact access prerequisites above; latent recurrence, GPU, energy and end-to-end authorized model-task execution remain **NOT_RUN**. diff --git a/native/alignment/evidence/.crumb b/native/alignment/evidence/.crumb index 43f397e..be55a86 100644 --- a/native/alignment/evidence/.crumb +++ b/native/alignment/evidence/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-28T14:20:37Z", + "compiled_at": "2026-10-28T14:24:47Z", "compiler": "crumb-compile/1", - "digest": "sha256:f27afb55a17f16dfd54de8183764c527dd96ba50f0848a7a4a440712df6f5962", - "evidence_files": 0, - "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "files": 0, - "generated_at_commit": "b6c33e3a82611361b37c651df70d9a645045773a", - "source_tree": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + "digest": "sha256:930a95b14789f5f1cc58b78d4a7374a9d733f3ea4e03caed216abc9aed695b6f", + "evidence_files": 2, + "evidence_root": "sha256:a6eec49ee7d0dae498f9fa3ba780e7e589b383ebb8cb106f940ef821fe377be3", + "files": 2, + "generated_at_commit": "1a73c2d14fa4f9aeaf2933c02d5a289c6977788a", + "source_tree": "sha256:faa8c4e02fdd9f4359770b943df8f92c52dfebe2b46e661d17a89628accd2d85" } }, "layer": "research", diff --git a/native/alignment/evidence/oracle-review.jsonl b/native/alignment/evidence/oracle-review.jsonl new file mode 100644 index 0000000..598ae0f --- /dev/null +++ b/native/alignment/evidence/oracle-review.jsonl @@ -0,0 +1,20 @@ +{"type":"tool_execution_start","toolCallId":"toolu_01UN5XTMHg8DCQAqBxJuKbW4","toolName":"write","args":{"path":"xd://mcp__wolfram_wolframlanguageevaluator","content":"{\"code\":\"Integrate[x^2,{x,0,1}]\"}"},"intent":"Verification call 1"} +{"type":"tool_execution_end","toolCallId":"toolu_01UN5XTMHg8DCQAqBxJuKbW4","toolName":"write","result":{"content":[{"type":"text","text":"Out[1]= 1/3"}],"details":{"xdev":{"tool":"mcp__wolfram_wolframlanguageevaluator","mode":"execute","args":{"code":"Integrate[x^2,{x,0,1}]"},"tier":"write","readOnlyHint":true,"inner":{"serverName":"wolfram","mcpToolName":"WolframLanguageEvaluator","rawContent":[{"type":"text","text":"Out[1]= 1/3"}],"provider":"native","providerName":"OMP"}}}},"isError":false} +{"type":"tool_execution_start","toolCallId":"toolu_013HRdwZ3vmjv2eWSjGepJEQ","toolName":"write","args":{"path":"xd://mcp__wolfram_wolframalpha","content":"{\"query\":\"sqrt(27)/2\"}"},"intent":"Verification call 2"} +{"type":"tool_execution_end","toolCallId":"toolu_013HRdwZ3vmjv2eWSjGepJEQ","toolName":"write","result":{"content":[{"type":"text","text":"\n\n# Input\n\nsqrt(27)/2\n\n# Result\n\n(3 sqrt(3))/2\n\n# Decimal approximation\n\n2.5980762113533159402911695122588085504142078807155709420837104691...\n\n# Number line\n\n![Number line](https://public6.wolframalpha.com/files/GIF_unz8btgtv1.gif)\n\n# Continued fraction\n\n[2; 1, 1, 2, 20, 2, 1, 1, 4^\\_]\n\n"}],"details":{"xdev":{"tool":"mcp__wolfram_wolframalpha","mode":"execute","args":{"query":"sqrt(27)/2"},"tier":"write","readOnlyHint":true,"inner":{"serverName":"wolfram","mcpToolName":"WolframAlpha","rawContent":[{"type":"text","text":"\n\n# Input\n\nsqrt(27)/2\n\n# Result\n\n(3 sqrt(3))/2\n\n# Decimal approximation\n\n2.5980762113533159402911695122588085504142078807155709420837104691...\n\n# Number line\n\n![Number line](https://public6.wolframalpha.com/files/GIF_unz8btgtv1.gif)\n\n# Continued fraction\n\n[2; 1, 1, 2, 20, 2, 1, 1, 4^\\_]\n\n"}],"provider":"native","providerName":"OMP"}}}},"isError":false} +{"type":"tool_execution_start","toolCallId":"toolu_0119rv46CEKwvByvzKVdCNV5","toolName":"write","args":{"path":"xd://mcp__wolfram_wolframlanguageevaluator","content":"{\"code\":\"raw=\\\"0 4 0\\n0 100 4607182418800017408\\n0 101 0\\n0 104 0\\n0 105 4607182418800017408\\n0 200 13837309855095848960\\n0 201 13830554455654793216\\n0 204 13837309855095848960\\n0 205 4607182418800017408\\n0 208 13830554455654793216\\n0 209 13837309855095848960\\n0 212 13830554455654793216\\n0 213 4613937818241073152\\n0 216 4607182418800017408\\n0 217 13837309855095848960\\n0 220 4607182418800017408\\n0 221 4613937818241073152\\n0 224 4613937818241073152\\n0 225 13830554455654793216\\n0 228 4613937818241073152\\n0 229 4607182418800017408\\n0 0 0\\n0 1 4635329916471083008\\n0 2 0\\n0 3 0\\n1 4 0\\n1 100 0\\n1 101 4607182418800017408\\n1 104 13830554455654793216\\n1 105 0\\n1 200 13837309855095848960\\n1 201 13830554455654793216\\n1 204 13837309855095848960\\n1 205 4607182418800017408\\n1 208 13830554455654793216\\n1 209 13837309855095848960\\n1 212 13830554455654793216\\n1 213 4613937818241073152\\n1 216 4607182418800017408\\n1 217 13837309855095848960\\n1 220 4607182418800017408\\n1 221 4613937818241073152\\n1 224 4613937818241073152\\n1 225 13830554455654793216\\n1 228 4613937818241073152\\n1 229 4607182418800017408\\n1 0 0\\n1 1 4635329916471083008\\n1 2 0\\n1 3 0\\n2 100 4604180019048437076\\n2 101 13823048456275842386\\n2 104 13823048456275842386\\n2 105 4604180019048437078\\n2 108 4599676419421066585\\n2 109 4599676419421066585\\n2 200 13837309855095848962\\n2 201 13830554455654793222\\n2 204 13837309855095848959\\n2 205 4607182418800017399\\n2 208 13830554455654793222\\n2 209 13837309855095848962\\n2 212 13830554455654793207\\n2 213 4613937818241073152\\n2 216 4607182418800017399\\n2 217 13837309855095848960\\n2 220 4607182418800017414\\n2 221 4613937818241073154\\n2 224 4613937818241073151\\n2 225 13830554455654793207\\n2 228 4613937818241073154\\n2 229 4607182418800017414\\n2 0 4175558134200270848\\n2 1 4635329916471083008\\n2 2 4384254237245177856\\n2 3 4147167864361792307\\n3 100 4607182418800017408\\n3 101 0\\n3 104 0\\n3 105 4607182418800017408\\n3 108 4368491638549381120\\n3 109 4607182418800017407\\n3 112 4607182418800017407\\n3 113 4368491638549381120\\n3 200 13835058055282163708\\n3 201 4620693217682128894\\n3 204 13835058055282163708\\n3 205 4621819117588971519\\n3 208 4620693217682128894\\n3 209 13835058055282163708\\n3 212 4620693217682128894\\n3 213 4616189618054758401\\n3 216 4621819117588971519\\n3 217 13835058055282163708\\n3 220 4621819117588971519\\n3 221 4616189618054758401\\n3 224 4616189618054758401\\n3 225 4620693217682128894\\n3 228 4616189618054758401\\n3 229 4621819117588971519\\n3 0 4180466354106662912\\n3 1 4649685140283326464\\n3 2 4386506037058863104\\n3 3 4137633205476780477\\n4 100 4607182418800017408\\n4 101 0\\n4 104 0\\n4 105 4607182418800017408\\n4 200 13837309855095848960\\n4 201 13830554455654793216\\n4 204 13837309855095848960\\n4 205 4607182418800017408\\n4 208 13830554455654793216\\n4 209 13837309855095848960\\n4 212 13830554455654793216\\n4 213 4613937818241073152\\n4 216 4607182418800017408\\n4 217 13837309855095848960\\n4 220 4607182418800017408\\n4 221 4613937818241073152\\n4 224 4613937818241073152\\n4 225 13830554455654793216\\n4 228 4613937818241073152\\n4 229 4607182418800017408\\n4 0 4648981452841549824\\n4 1 4649685140283326464\\n4 2 4621256167635550208\\n4 3 4606203375402762952\\n5 100 13830554455654793216\\n5 101 0\\n5 104 0\\n5 105 13830554455654793216\\n5 108 4368491638549381120\\n5 109 4607182418800017407\\n5 112 4607182418800017407\\n5 113 4368491638549381120\\n5 200 4616189618054758401\\n5 201 4621819117588971519\\n5 204 4616189618054758401\\n5 205 4620693217682128894\\n5 208 4621819117588971519\\n5 209 4616189618054758401\\n5 212 4621819117588971519\\n5 213 13835058055282163708\\n5 216 4620693217682128894\\n5 217 4616189618054758401\\n5 220 4620693217682128894\\n5 221 13835058055282163708\\n5 224 13835058055282163708\\n5 225 4621819117588971519\\n5 228 13835058055282163708\\n5 229 4620693217682128894\\n5 0 4644337115725824001\\n5 1 4649685140283326464\\n5 2 4618441417868443649\\n5 3 4601503967095941567\\n10 0 1\\n10 1 1\\n10 2 1\\n10 3 1\\n10 4 1\\n11 100 4607182418800017408\\n11 101 0\\n11 104 0\\n11 105 4607182418800017408\\n11 200 13830554455654793216\\n11 201 4613937818241073152\\n11 204 4607182418800017408\\n11 205 4613937818241073152\\n11 208 13837309855095848960\\n11 209 4607182418800017408\\n11 212 4613937818241073152\\n11 213 4607182418800017408\\n11 216 13837309855095848960\\n11 217 13830554455654793216\\n11 220 4613937818241073152\\n11 221 13830554455654793216\\n11 224 13830554455654793216\\n11 225 13837309855095848960\\n11 228 4607182418800017408\\n11 229 13837309855095848960\\n11 0 4639833516098453504\\n11 1 4635329916471083008\\n11 2 4616189618054758400\\n11 3 4611686018427387904\\n12 100 0\\n12 101 0\\n12 104 0\\n12 105 0\\n12 200 0\\n12 201 0\\n12 204 0\\n12 205 0\\n12 208 0\\n12 209 0\\n12 212 0\\n12 213 0\\n12 216 0\\n12 217 0\\n12 220 0\\n12 221 0\\n12 224 0\\n12 225 0\\n12 228 0\\n12 229 0\\n12 0 4635329916471083008\\n12 1 4635329916471083008\\n12 2 4613937818241073152\\n12 3 4607182418800017408\\n13 100 0\\n13 101 13830554455654793216\\n13 104 4607182418800017408\\n13 105 0\\n13 200 4613937818241073152\\n13 201 4607182418800017408\\n13 204 4613937818241073152\\n13 205 13830554455654793216\\n13 208 4607182418800017408\\n13 209 4613937818241073152\\n13 212 4607182418800017408\\n13 213 13837309855095848960\\n13 216 13830554455654793216\\n13 217 4613937818241073152\\n13 220 13830554455654793216\\n13 221 13837309855095848960\\n13 224 13837309855095848960\\n13 225 4607182418800017408\\n13 228 13837309855095848960\\n13 229 13830554455654793216\\n13 0 4644337115725824000\\n13 1 4635329916471083008\\n13 2 4618441417868443648\\n13 3 4616189618054758400\\n14 100 4595172819793696087\\n14 101 4595172819793696087\\n14 104 4595172819793696087\\n14 105 4595172819793696087\\n14 108 4599676419421066585\\n14 109 4599676419421066585\\n14 200 13835058055282163714\\n14 201 13835058055282163714\\n14 204 13830554455654793218\\n14 205 13830554455654793218\\n14 208 13835058055282163714\\n14 209 13835058055282163714\\n14 212 4607182418800017410\\n14 213 4607182418800017410\\n14 216 13830554455654793218\\n14 217 13830554455654793218\\n14 220 4611686018427387906\\n14 221 4611686018427387906\\n14 224 4607182418800017410\\n14 225 4607182418800017410\\n14 228 4611686018427387906\\n14 229 4611686018427387906\\n14 0 4630826316843712512\\n14 1 4635329916471083008\\n14 2 4611686018427387905\\n14 3 4602678819172646912\\n998 0 0\\\";\\nrows=Map[ToExpression,StringSplit/@StringSplit[raw,\\\"\\\\n\\\"],{2}];\\nPrint[\\\"rawlines \\\",Length[rows],\\\" unique keys \\\",Length[DeleteDuplicates[rows[[All,{1,2}]]]]];\\nlook=Association[(({#[[1]],#[[2]]})->#[[3]])&/@rows];\\ndec[n_]:=Module[{b=IntegerDigits[n,2,64],s,e,m},s=b[[1]];e=FromDigits[b[[2;;12]],2];m=FromDigits[b[[13;;64]],2];If[e==2047,Indeterminate,(-1)^s*If[e==0,2^(-1022)*m/2^52,2^(e-1023)*(1+m/2^52)]]];\\nF[c_,f_]:=dec[look[{c,f}]];\\nWd[c_,d_]:=Table[F[c,100+4i+j],{i,0,d-1},{j,0,1}];\\nPd[c_]:=Table[F[c,200+4r+j],{r,0,7},{j,0,1}];\\nT={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};\\nU={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};\\nR={{0,-1},{1,0}};\\nphi[X_]:=Map[{#[[1]],#[[2]],#[[1]]^2,#[[2]]^2}&,X];\\nnl[X_]:=Map[{#[[1]]+#[[2]]^2,#[[2]]+#[[1]]^2}&,X];\\nl3[X_]:=Map[{#[[1]],#[[2]],#[[1]]+#[[2]]}&,X];\\ncs[0]={T,T,U,U,2};cs[1]={T.R,T,U.R,U,2};cs[2]={l3[T],T,l3[U],U,3};cs[3]={phi[T],nl[T],phi[U],nl[U],4};cs[4]={T,nl[T],U,nl[U],2};cs[5]={phi[T],Reverse[nl[T]],phi[U],nl[U],4};\\nnf[x_]:=ScientificForm[N[x,17],17];\\nmeas[P_,Zh_]:=Module[{ss=Total[(P-Zh)^2,2],en=Total[Zh^2,2],mx=Max[Abs[P-Zh]]},{ss,en,mx,ss/en}];\\nsplitrep[c_,Wo_,Hh_,Zh_,d_]:=Module[{Wc=Wd[c,d],Pc=Pd[c],rep={F[c,0],F[c,1],F[c,2],F[c,3]},rc,po,ec},rc=meas[Pc,Zh];po=Hh.Wo;ec=meas[po,Zh];\\nPrint[\\\"CASE \\\",c];\\nPrint[\\\" decoded rep: SS=\\\",nf[rep[[1]]],\\\" EN=\\\",nf[rep[[2]]],\\\" maxabs=\\\",nf[rep[[3]]],\\\" NRSE=\\\",nf[rep[[4]]]];\\nPrint[\\\" recomputed from decoded preds: SS=\\\",nf[rc[[1]]],\\\" EN=\\\",nf[rc[[2]]],\\\" maxabs=\\\",nf[rc[[3]]],\\\" NRSE=\\\",nf[rc[[4]]]];\\nPrint[\\\" |reported-recomputed| SS,EN,maxabs,NRSE: \\\",nf[Abs[rep[[1]]-rc[[1]]]],\\\" \\\",nf[Abs[rep[[2]]-rc[[2]]]],\\\" \\\",nf[Abs[rep[[3]]-rc[[3]]]],\\\" \\\",nf[Abs[rep[[4]]-rc[[4]]]]];\\nPrint[\\\" oracle (exact) SS,EN,maxabs,NRSE: \\\",nf[ec[[1]]],\\\" \\\",nf[ec[[2]]],\\\" \\\",nf[ec[[3]]],\\\" \\\",nf[ec[[4]]]];\\nPrint[\\\" coefficient err max|Wdec-Woracle|=\\\",nf[Max[Abs[Wc-Wo]]],\\\" ; pred err max|Pdec-Hh.Woracle|=\\\",nf[Max[Abs[Pc-po]]]];\\nPrint[\\\" within |report-recomputed|<=1e-12 (all four): \\\",AllTrue[Abs[rep-rc],#<=10^-12&],\\\"; maxabs<=1e-6: \\\",rc[[3]]<=10^-6,\\\"; NRSE<=1e-12: \\\",rc[[4]]<=10^-12];\\n{rc[[4]],rc[[3]],Abs[rep[[4]]-rc[[4]]],Abs[rep[[3]]-rc[[3]]],Max[Abs[Wc-Wo]],Wc}];\\nres=Table[Module[{Ht,Zt,Hh,Zh,d,Wo},{Ht,Zt,Hh,Zh,d}=cs[c];Wo=PseudoInverse[Ht].Zt;splitrep[c,Wo,Hh,Zh,d]],{c,0,5}];\\nFor[c=0,c<=1,c++,Module[{W=Wd[c,2]},Print[\\\"case \\\",c,\\\" orth err recomputed max|W^T W - I|=\\\",nf[Max[Abs[Transpose[W].W-IdentityMatrix[2]]]],\\\" ; decoded field4=\\\",nf[F[c,4]],\\\"; oracle W=\\\",PseudoInverse[cs[c][[1]]].cs[c][[2]]]]];\\nPrint[\\\"case2 oracle W=\\\",PseudoInverse[cs[2][[1]]].cs[2][[2]],\\\" ; HP0 vs 2/3, HP1? decoded W[[1,1]]-2/3=\\\",nf[Wd[2,3][[1,1]]-2/3],\\\" W[[1,2]]+1/3 =\\\",nf[Wd[2,3][[1,2]]+1/3]];\\nPrint[\\\"MAX over cases0..3 recomputed NRSE=\\\",nf[Max[res[[1;;4,1]]]],\\\" maxabs(feature err)=\\\",nf[Max[res[[1;;4,2]]]],\\\"; max |reported-recomputed| NRSE=\\\",nf[Max[res[[1;;4,3]]]],\\\" maxabs=\\\",nf[Max[res[[1;;4,4]]]]];\\nPrint[\\\"cases4,5 NRSE vs 41/46, 10/23 (decoded): \\\",nf[F[4,3]-41/46],\\\" \\\",nf[F[5,3]-10/23],\\\" recomputed oracle NRSE4=\\\",res[[5,1]],\\\" NRSE5=\\\",res[[6,1]],\\\"; exact 41/46=\\\",res[[5,1]]==41/46,\\\" 10/23=\\\",res[[6,1]]==10/23];\\nHh=U.R;Zh=U;\\nctl[id_,W_]:=Module[{o=meas[Hh.W,Zh],Wc=Wd[id,2],Pc=Pd[id],rep={F[id,0],F[id,1],F[id,2],F[id,3]}},Print[\\\"CONTROL \\\",id,\\\" decoded W=\\\",Wc,\\\" matches given W: \\\",Wc==W,\\\" ; decoded preds==Hh.W: \\\",Pc==Hh.W,\\\"; decoded rep SS,EN,maxabs,NRSE=\\\",rep,\\\" ; oracle=\\\",o,\\\" ; equal: \\\",rep==o]];\\nctl[11,IdentityMatrix[2]];ctl[12,{{0,0},{0,0}}];ctl[13,{{0,-1},{1,0}}];\\n{Ht,Zt,Hh14,Zh14}={l3[T],T,l3[U],U};C=Transpose[Ht].Zt;G=Transpose[Ht].Ht;{vals,vecs}=Eigensystem[G];w=vecs[[1]];lam=vals[[1]];W14=Outer[Times,w,w].C/(w.w*lam);\\nPrint[\\\"CONTROL 14 eigenvalues \\\",vals,\\\" top vec \\\",w,\\\" W14 oracle=\\\",W14,\\\" decoded W=\\\",Wd[14,3],\\\" max err=\\\",nf[Max[Abs[Wd[14,3]-W14]]]];\\no14=meas[Hh14.W14,Zh14];Pc=Pd[14];rep={F[14,0],F[14,1],F[14,2],F[14,3]};\\nPrint[\\\" oracle SS,EN,maxabs,NRSE=\\\",o14,\\\" ; decoded=\\\",rep,\\\" ; decoded preds==oracle: \\\",Pc==Hh14.W14,\\\" ; NRSE>1e-6: \\\",o14[[4]]>10^-6,\\\" ; |dec preds - oracle| max=\\\",nf[Max[Abs[Pc-Hh14.W14]]]];\\nm=Select[rows,#[[1]]==10&];\\nPrint[\\\"metadata rawlines (case 10): count=\\\",Length[m],\\\" fields=\\\",m[[All,2]],\\\" values=\\\",m[[All,3]],\\\" each count1: \\\",m[[All,2]]==Range[0,4]&&AllTrue[m[[All,3]],#==1&]];\\nPrint[\\\"last line: \\\",Last[rows],\\\" is 998 0 0: \\\",Last[rows]=={998,0,0}];\"}"},"intent":"Main Wolfram verification"} +{"type":"tool_execution_end","toolCallId":"toolu_0119rv46CEKwvByvzKVdCNV5","toolName":"write","result":{"content":[{"type":"text","text":"Symbol::undefined2: Warning: Global symbols \"F, Wd, F, Pd, F, T, U, R, X, X, X, X, X, X, T, ... , Pd, F, F, F, F, Pc, Hh14, W14, Pc, Hh14, W14\" are undefined.\nDuring evaluation of In[1]:= rawlines 260 unique keys 260\nDuring evaluation of In[1]:= CASE 0\nDuring evaluation of In[1]:= 1\n decoded rep: SS=0 EN=8.0000000000000000 \u00d7 10 maxabs=0 NRSE=0\nDuring evaluation of In[1]:= 1\n recomputed from decoded preds: SS=0 EN=8.0000000000000000 \u00d7 10 maxabs=0 NRSE=0\nDuring evaluation of In[1]:= |reported-recomputed| SS,EN,maxabs,NRSE: 0 0 0 0\nDuring evaluation of In[1]:= 1\n oracle (exact) SS,EN,maxabs,NRSE: 0 8.0000000000000000 \u00d7 10 0 0\nDuring evaluation of In[1]:= coefficient err max|Wdec-Woracle|=0 ; pred err max|Pdec-Hh.Woracle|=0\nDuring evaluation of In[1]:= within |report-recomputed|<=1e-12 (all four): True; maxabs<=1e-6: True; NRSE<=1e-12: True\nDuring evaluation of In[1]:= CASE 1\nDuring evaluation of In[1]:= 1\n decoded rep: SS=0 EN=8.0000000000000000 \u00d7 10 maxabs=0 NRSE=0\nDuring evaluation of In[1]:= 1\n recomputed from decoded preds: SS=0 EN=8.0000000000000000 \u00d7 10 maxabs=0 NRSE=0\nDuring evaluation of In[1]:= |reported-recomputed| SS,EN,maxabs,NRSE: 0 0 0 0\nDuring evaluation of In[1]:= 1\n oracle (exact) SS,EN,maxabs,NRSE: 0 8.0000000000000000 \u00d7 10 0 0\nDuring evaluation of In[1]:= coefficient err max|Wdec-Woracle|=0 ; pred err max|Pdec-Hh.Woracle|=0\nDuring evaluation of In[1]:= within |report-recomputed|<=1e-12 (all four): True; maxabs<=1e-6: True; NRSE<=1e-12: True\nDuring evaluation of In[1]:= CASE 2\nDuring evaluation of In[1]:= -29 1 -15 -31\n decoded rep: SS=1.4643230553165032 \u00d7 10 EN=8.0000000000000000 \u00d7 10 maxabs=1.3322676295501878 \u00d7 10 NRSE=1.8304038191456289 \u00d7 10\nDuring evaluation of In[1]:= -29 1 -15 -31\n recomputed from decoded preds: SS=1.4643230553165032 \u00d7 10 EN=8.0000000000000000 \u00d7 10 maxabs=1.3322676295501878 \u00d7 10 NRSE=1.8304038191456290 \u00d7 10\nDuring evaluation of In[1]:= -48\n |reported-recomputed| SS,EN,maxabs,NRSE: 0 0 0 4.3790577010150533 \u00d7 10\nDuring evaluation of In[1]:= 1\n oracle (exact) SS,EN,maxabs,NRSE: 0 8.0000000000000000 \u00d7 10 0 0\nDuring evaluation of In[1]:= -16 -15\n coefficient err max|Wdec-Woracle|=2.0354088784794537 \u00d7 10 ; pred err max|Pdec-Hh.Woracle|=1.3322676295501878 \u00d7 10\nDuring evaluation of In[1]:= within |report-recomputed|<=1e-12 (all four): True; maxabs<=1e-6: True; NRSE<=1e-12: True\nDuring evaluation of In[1]:= CASE 3\nDuring evaluation of In[1]:= -29 2 -15 -32\n decoded rep: SS=3.1554436208840472 \u00d7 10 EN=7.3600000000000000 \u00d7 10 maxabs=1.7763568394002505 \u00d7 10 NRSE=4.2872875283750640 \u00d7 10\nDuring evaluation of In[1]:= -29 2 -15 -32\n recomputed from decoded preds: SS=3.1554436208840472 \u00d7 10 EN=7.3600000000000000 \u00d7 10 maxabs=1.7763568394002505 \u00d7 10 NRSE=4.2872875283750642 \u00d7 10\nDuring evaluation of In[1]:= -48\n |reported-recomputed| SS,EN,maxabs,NRSE: 0 0 0 1.1899613317975688 \u00d7 10\nDuring evaluation of In[1]:= 2\n oracle (exact) SS,EN,maxabs,NRSE: 0 7.3600000000000000 \u00d7 10 0 0\nDuring evaluation of In[1]:= -16 -15\n coefficient err max|Wdec-Woracle|=1.1102230246251565 \u00d7 10 ; pred err max|Pdec-Hh.Woracle|=1.7763568394002505 \u00d7 10\nDuring evaluation of In[1]:= within |report-recomputed|<=1e-12 (all four): True; maxabs<=1e-6: True; NRSE<=1e-12: True\nDuring evaluation of In[1]:= CASE 4\nDuring evaluation of In[1]:= 2 2 -1\n decoded rep: SS=6.5600000000000000 \u00d7 10 EN=7.3600000000000000 \u00d7 10 maxabs=9.0000000000000000 NRSE=8.9130434782608692 \u00d7 10\nDuring evaluation of In[1]:= 2 2 -1\n recomputed from decoded preds: SS=6.5600000000000000 \u00d7 10 EN=7.3600000000000000 \u00d7 10 maxabs=9.0000000000000000 NRSE=8.9130434782608696 \u00d7 10\nDuring evaluation of In[1]:= -17\n |reported-recomputed| SS,EN,maxabs,NRSE: 0 0 0 3.8616453030440227 \u00d7 10\nDuring evaluation of In[1]:= 2 2 -1\n oracle (exact) SS,EN,maxabs,NRSE: 6.5600000000000000 \u00d7 10 7.3600000000000000 \u00d7 10 9.0000000000000000 8.9130434782608696 \u00d7 10\nDuring evaluation of In[1]:= coefficient err max|Wdec-Woracle|=0 ; pred err max|Pdec-Hh.Woracle|=0\nDuring evaluation of In[1]:= within |report-recomputed|<=1e-12 (all four): True; maxabs<=1e-6: False; NRSE<=1e-12: False\nDuring evaluation of In[1]:= CASE 5\nDuring evaluation of In[1]:= 2 2 -1\n decoded rep: SS=3.2000000000000006 \u00d7 10 EN=7.3600000000000000 \u00d7 10 maxabs=6.0000000000000009 NRSE=4.3478260869565227 \u00d7 10\nDuring evaluation of In[1]:= 2 2 -1\n recomputed from decoded preds: SS=3.2000000000000000 \u00d7 10 EN=7.3600000000000000 \u00d7 10 maxabs=6.0000000000000009 NRSE=4.3478260869565217 \u00d7 10\nDuring evaluation of In[1]:= -14 -17\n |reported-recomputed| SS,EN,maxabs,NRSE: 5.6843418860807983 \u00d7 10 0 0 9.8954660890503040 \u00d7 10\nDuring evaluation of In[1]:= 2 2 -1\n oracle (exact) SS,EN,maxabs,NRSE: 3.2000000000000000 \u00d7 10 7.3600000000000000 \u00d7 10 6.0000000000000000 4.3478260869565217 \u00d7 10\nDuring evaluation of In[1]:= -16 -15\n coefficient err max|Wdec-Woracle|=1.1102230246251565 \u00d7 10 ; pred err max|Pdec-Hh.Woracle|=1.7763568394002505 \u00d7 10\nDuring evaluation of In[1]:= within |report-recomputed|<=1e-12 (all four): True; maxabs<=1e-6: False; NRSE<=1e-12: False\nDuring evaluation of In[1]:= case 0 orth err recomputed max|W^T W - I|=0 ; decoded field4=0; oracle W={{1, 0}, {0, 1}}\nDuring evaluation of In[1]:= case 1 orth err recomputed max|W^T W - I|=0 ; decoded field4=0; oracle W={{0, 1}, {-1, 0}}\nDuring evaluation of In[1]:= 2 1 1 2 1 1 -16 -16\ncase2 oracle W={{-, -(-)}, {-(-), -}, {-, -}} ; HP0 vs 2/3, HP1? decoded W[[1,1]]-2/3=-1.4802973661668754 \u00d7 10 W[[1,2]]+1/3 =1.8503717077085942 \u00d7 10\n 3 3 3 3 3 3\nDuring evaluation of In[1]:= -31 -15 -48\nMAX over cases0..3 recomputed NRSE=1.8304038191456290 \u00d7 10 maxabs(feature err)=1.7763568394002505 \u00d7 10 ; max |reported-recomputed| NRSE=4.3790577010150533 \u00d7 10 maxabs=0\nDuring evaluation of In[1]:= -17 -17 41 50706024009129176059868128215045\ncases4,5 NRSE vs 41/46, 10/23 (decoded): -3.8616453030440227 \u00d7 10 9.8954660890503083 \u00d7 10 recomputed oracle NRSE4=-- NRSE5=---------------------------------; exact 41/46=True 10/23=False\n 46 116623855220997104937696694894592\nDuring evaluation of In[1]:= CONTROL 11 decoded W={{1, 0}, {0, 1}} matches given W: True ; decoded preds==Hh.W: True; decoded rep SS,EN,maxabs,NRSE={160, 80, 4, 2} ; oracle={160, 80, 4, 2} ; equal: True\nDuring evaluation of In[1]:= CONTROL 12 decoded W={{0, 0}, {0, 0}} matches given W: True ; decoded preds==Hh.W: True; decoded rep SS,EN,maxabs,NRSE={80, 80, 3, 1} ; oracle={80, 80, 3, 1} ; equal: True\nDuring evaluation of In[1]:= CONTROL 13 decoded W={{0, -1}, {1, 0}} matches given W: True ; decoded preds==Hh.W: True; decoded rep SS,EN,maxabs,NRSE={320, 80, 6, 4} ; oracle={320, 80, 6, 4} ; equal: True\nDuring evaluation of In[1]:= {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 6004799503160663 6004799503160663 6004799503160663 6004799503160663 6004799503160665 6004799503160665 -1 -3 -1 -3\nCONTROL 14 eigenvalues {60, 20, 0} top vec {1, 1, 2} W14 oracle=------------------------------------- decoded W={{-----------------, -----------------}, {-----------------, -----------------}, {-----------------, -----------------}} max err=Max[Abs[1.6666666666666671 \u00d7 10 - 2.7777777777777778 \u00d7 10 {{1.0000000000000000, 1.0000000000000000, 2.0000000000000000}, {1.0000000000000000, 1.0000000000000000, 2.0000000000000000}, {2.0000000000000000, 2.0000000000000000, 4.0000000000000000}} . C], Abs[3.3333333333333354 \u00d7 10 - 2.7777777777777778 \u00d7 10 {{1.0000000000000000, 1.0000000000000000, 2.0000000000000000}, {1.0000000000000000, 1.0000000000000000, 2.0000000000000000}, {2.0000000000000000, 2.0000000000000000, 4.0000000000000000}} . C]]\n 360 36028797018963968 36028797018963968 36028797018963968 36028797018963968 18014398509481984 18014398509481984\nDuring evaluation of In[1]:= {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 2 {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 2 {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 2 {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 2 {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 2 {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 2 {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 2 {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 2\n 4 (-3 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)) + 4 (-1 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)) + 4 (1 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)) + 4 (3 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)) 4 (-3 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)) + 4 (-1 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)) + 4 (1 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)) + 4 (3 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------))\n {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 2 {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 2 {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 2 {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 2 {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 360 360 360 360 4503599627370497 1 2251799813685249 2251799813685249 2251799813685249 2251799813685249 2251799813685249 2251799813685249 2251799813685249 2251799813685249 2251799813685249 2251799813685249 2251799813685249 2251799813685249 2251799813685249 2251799813685249 2251799813685249 2251799813685249 {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 360 360 360 360 1 -3 -3 -3 -3\n oracle SS,EN,maxabs,NRSE={4 (-3 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)) + 4 (-1 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)) + 4 (1 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)) + 4 (3 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)) , 80, Max[Abs[-3 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)], Abs[-1 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)], Abs[1 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)], Abs[3 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)]], ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------} ; decoded={40, 80, ----------------, -} ; decoded preds==oracle: {{-(----------------), -(----------------)}, {-(----------------), -(----------------)}, {-(----------------), -(----------------)}, {----------------, ----------------}, {-(----------------), -(----------------)}, {----------------, ----------------}, {----------------, ----------------}, {----------------, ----------------}} == {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------) ; NRSE>1e-6: --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > ------- ; |dec preds - oracle| max=Max[Abs[-2.0000000000000009 - 1.0000000000000000 {{-3.0000000000000000, -1.0000000000000000, -4.0000000000000000}, {-3.0000000000000000, 1.0000000000000000, -2.0000000000000000}, {-1.0000000000000000, -3.0000000000000000, -4.0000000000000000}, {-1.0000000000000000, 3.0000000000000000, 2.0000000000000000}, {1.0000000000000000, -3.0000000000000000, -2.0000000000000000}, {1.0000000000000000, 3.0000000000000000, 4.0000000000000000}, {3.0000000000000000, -1.0000000000000000, 2.0000000000000000}, {3.0000000000000000, 1.0000000000000000, 4.0000000000000000}} . (2.7777777777777778 \u00d7 10 {{1.0000000000000000, 1.0000000000000000, 2.0000000000000000}, {1.0000000000000000, 1.0000000000000000, 2.0000000000000000}, {2.0000000000000000, 2.0000000000000000, 4.0000000000000000}} . C)], Abs[-1.0000000000000004 - 1.0000000000000000 {{-3.0000000000000000, -1.0000000000000000, -4.0000000000000000}, {-3.0000000000000000, 1.0000000000000000, -2.0000000000000000}, {-1.0000000000000000, -3.0000000000000000, -4.0000000000000000}, {-1.0000000000000000, 3.0000000000000000, 2.0000000000000000}, {1.0000000000000000, -3.0000000000000000, -2.0000000000000000}, {1.0000000000000000, 3.0000000000000000, 4.0000000000000000}, {3.0000000000000000, -1.0000000000000000, 2.0000000000000000}, {3.0000000000000000, 1.0000000000000000, 4.0000000000000000}} . (2.7777777777777778 \u00d7 10 {{1.0000000000000000, 1.0000000000000000, 2.0000000000000000}, {1.0000000000000000, 1.0000000000000000, 2.0000000000000000}, {2.0000000000000000, 2.0000000000000000, 4.0000000000000000}} . C)], Abs[1.0000000000000004 - 1.0000000000000000 {{-3.0000000000000000, -1.0000000000000000, -4.0000000000000000}, {-3.0000000000000000, 1.0000000000000000, -2.0000000000000000}, {-1.0000000000000000, -3.0000000000000000, -4.0000000000000000}, {-1.0000000000000000, 3.0000000000000000, 2.0000000000000000}, {1.0000000000000000, -3.0000000000000000, -2.0000000000000000}, {1.0000000000000000, 3.0000000000000000, 4.0000000000000000}, {3.0000000000000000, -1.0000000000000000, 2.0000000000000000}, {3.0000000000000000, 1.0000000000000000, 4.0000000000000000}} . (2.7777777777777778 \u00d7 10 {{1.0000000000000000, 1.0000000000000000, 2.0000000000000000}, {1.0000000000000000, 1.0000000000000000, 2.0000000000000000}, {2.0000000000000000, 2.0000000000000000, 4.0000000000000000}} . C)], Abs[2.0000000000000009 - 1.0000000000000000 {{-3.0000000000000000, -1.0000000000000000, -4.0000000000000000}, {-3.0000000000000000, 1.0000000000000000, -2.0000000000000000}, {-1.0000000000000000, -3.0000000000000000, -4.0000000000000000}, {-1.0000000000000000, 3.0000000000000000, 2.0000000000000000}, {1.0000000000000000, -3.0000000000000000, -2.0000000000000000}, {1.0000000000000000, 3.0000000000000000, 4.0000000000000000}, {3.0000000000000000, -1.0000000000000000, 2.0000000000000000}, {3.0000000000000000, 1.0000000000000000, 4.0000000000000000}} . (2.7777777777777778 \u00d7 10 {{1.0000000000000000, 1.0000000000000000, 2.0000000000000000}, {1.0000000000000000, 1.0000000000000000, 2.0000000000000000}, {2.0000000000000000, 2.0000000000000000, 4.0000000000000000}} . C)]]\n 360 360 360 360 360 360 360 360 80 2251799813685248 2 1125899906842624 1125899906842624 2251799813685248 2251799813685248 1125899906842624 1125899906842624 2251799813685248 2251799813685248 2251799813685248 2251799813685248 1125899906842624 1125899906842624 2251799813685248 2251799813685248 1125899906842624 1125899906842624 360 80 1000000\nDuring evaluation of In[1]:= metadata rawlines (case 10): count=5 fields={0, 1, 2, 3, 4} values={1, 1, 1, 1, 1} each count1: True\nDuring evaluation of In[1]:= last line: {998, 0, 0} is 998 0 0: True\nGeneral::messages: Messages were generated which may indicate errors.\n\nOut[1]= Null"}],"details":{"xdev":{"tool":"mcp__wolfram_wolframlanguageevaluator","mode":"execute","args":{"code":"raw=\"0 4 0\n0 100 4607182418800017408\n0 101 0\n0 104 0\n0 105 4607182418800017408\n0 200 13837309855095848960\n0 201 13830554455654793216\n0 204 13837309855095848960\n0 205 4607182418800017408\n0 208 13830554455654793216\n0 209 13837309855095848960\n0 212 13830554455654793216\n0 213 4613937818241073152\n0 216 4607182418800017408\n0 217 13837309855095848960\n0 220 4607182418800017408\n0 221 4613937818241073152\n0 224 4613937818241073152\n0 225 13830554455654793216\n0 228 4613937818241073152\n0 229 4607182418800017408\n0 0 0\n0 1 4635329916471083008\n0 2 0\n0 3 0\n1 4 0\n1 100 0\n1 101 4607182418800017408\n1 104 13830554455654793216\n1 105 0\n1 200 13837309855095848960\n1 201 13830554455654793216\n1 204 13837309855095848960\n1 205 4607182418800017408\n1 208 13830554455654793216\n1 209 13837309855095848960\n1 212 13830554455654793216\n1 213 4613937818241073152\n1 216 4607182418800017408\n1 217 13837309855095848960\n1 220 4607182418800017408\n1 221 4613937818241073152\n1 224 4613937818241073152\n1 225 13830554455654793216\n1 228 4613937818241073152\n1 229 4607182418800017408\n1 0 0\n1 1 4635329916471083008\n1 2 0\n1 3 0\n2 100 4604180019048437076\n2 101 13823048456275842386\n2 104 13823048456275842386\n2 105 4604180019048437078\n2 108 4599676419421066585\n2 109 4599676419421066585\n2 200 13837309855095848962\n2 201 13830554455654793222\n2 204 13837309855095848959\n2 205 4607182418800017399\n2 208 13830554455654793222\n2 209 13837309855095848962\n2 212 13830554455654793207\n2 213 4613937818241073152\n2 216 4607182418800017399\n2 217 13837309855095848960\n2 220 4607182418800017414\n2 221 4613937818241073154\n2 224 4613937818241073151\n2 225 13830554455654793207\n2 228 4613937818241073154\n2 229 4607182418800017414\n2 0 4175558134200270848\n2 1 4635329916471083008\n2 2 4384254237245177856\n2 3 4147167864361792307\n3 100 4607182418800017408\n3 101 0\n3 104 0\n3 105 4607182418800017408\n3 108 4368491638549381120\n3 109 4607182418800017407\n3 112 4607182418800017407\n3 113 4368491638549381120\n3 200 13835058055282163708\n3 201 4620693217682128894\n3 204 13835058055282163708\n3 205 4621819117588971519\n3 208 4620693217682128894\n3 209 13835058055282163708\n3 212 4620693217682128894\n3 213 4616189618054758401\n3 216 4621819117588971519\n3 217 13835058055282163708\n3 220 4621819117588971519\n3 221 4616189618054758401\n3 224 4616189618054758401\n3 225 4620693217682128894\n3 228 4616189618054758401\n3 229 4621819117588971519\n3 0 4180466354106662912\n3 1 4649685140283326464\n3 2 4386506037058863104\n3 3 4137633205476780477\n4 100 4607182418800017408\n4 101 0\n4 104 0\n4 105 4607182418800017408\n4 200 13837309855095848960\n4 201 13830554455654793216\n4 204 13837309855095848960\n4 205 4607182418800017408\n4 208 13830554455654793216\n4 209 13837309855095848960\n4 212 13830554455654793216\n4 213 4613937818241073152\n4 216 4607182418800017408\n4 217 13837309855095848960\n4 220 4607182418800017408\n4 221 4613937818241073152\n4 224 4613937818241073152\n4 225 13830554455654793216\n4 228 4613937818241073152\n4 229 4607182418800017408\n4 0 4648981452841549824\n4 1 4649685140283326464\n4 2 4621256167635550208\n4 3 4606203375402762952\n5 100 13830554455654793216\n5 101 0\n5 104 0\n5 105 13830554455654793216\n5 108 4368491638549381120\n5 109 4607182418800017407\n5 112 4607182418800017407\n5 113 4368491638549381120\n5 200 4616189618054758401\n5 201 4621819117588971519\n5 204 4616189618054758401\n5 205 4620693217682128894\n5 208 4621819117588971519\n5 209 4616189618054758401\n5 212 4621819117588971519\n5 213 13835058055282163708\n5 216 4620693217682128894\n5 217 4616189618054758401\n5 220 4620693217682128894\n5 221 13835058055282163708\n5 224 13835058055282163708\n5 225 4621819117588971519\n5 228 13835058055282163708\n5 229 4620693217682128894\n5 0 4644337115725824001\n5 1 4649685140283326464\n5 2 4618441417868443649\n5 3 4601503967095941567\n10 0 1\n10 1 1\n10 2 1\n10 3 1\n10 4 1\n11 100 4607182418800017408\n11 101 0\n11 104 0\n11 105 4607182418800017408\n11 200 13830554455654793216\n11 201 4613937818241073152\n11 204 4607182418800017408\n11 205 4613937818241073152\n11 208 13837309855095848960\n11 209 4607182418800017408\n11 212 4613937818241073152\n11 213 4607182418800017408\n11 216 13837309855095848960\n11 217 13830554455654793216\n11 220 4613937818241073152\n11 221 13830554455654793216\n11 224 13830554455654793216\n11 225 13837309855095848960\n11 228 4607182418800017408\n11 229 13837309855095848960\n11 0 4639833516098453504\n11 1 4635329916471083008\n11 2 4616189618054758400\n11 3 4611686018427387904\n12 100 0\n12 101 0\n12 104 0\n12 105 0\n12 200 0\n12 201 0\n12 204 0\n12 205 0\n12 208 0\n12 209 0\n12 212 0\n12 213 0\n12 216 0\n12 217 0\n12 220 0\n12 221 0\n12 224 0\n12 225 0\n12 228 0\n12 229 0\n12 0 4635329916471083008\n12 1 4635329916471083008\n12 2 4613937818241073152\n12 3 4607182418800017408\n13 100 0\n13 101 13830554455654793216\n13 104 4607182418800017408\n13 105 0\n13 200 4613937818241073152\n13 201 4607182418800017408\n13 204 4613937818241073152\n13 205 13830554455654793216\n13 208 4607182418800017408\n13 209 4613937818241073152\n13 212 4607182418800017408\n13 213 13837309855095848960\n13 216 13830554455654793216\n13 217 4613937818241073152\n13 220 13830554455654793216\n13 221 13837309855095848960\n13 224 13837309855095848960\n13 225 4607182418800017408\n13 228 13837309855095848960\n13 229 13830554455654793216\n13 0 4644337115725824000\n13 1 4635329916471083008\n13 2 4618441417868443648\n13 3 4616189618054758400\n14 100 4595172819793696087\n14 101 4595172819793696087\n14 104 4595172819793696087\n14 105 4595172819793696087\n14 108 4599676419421066585\n14 109 4599676419421066585\n14 200 13835058055282163714\n14 201 13835058055282163714\n14 204 13830554455654793218\n14 205 13830554455654793218\n14 208 13835058055282163714\n14 209 13835058055282163714\n14 212 4607182418800017410\n14 213 4607182418800017410\n14 216 13830554455654793218\n14 217 13830554455654793218\n14 220 4611686018427387906\n14 221 4611686018427387906\n14 224 4607182418800017410\n14 225 4607182418800017410\n14 228 4611686018427387906\n14 229 4611686018427387906\n14 0 4630826316843712512\n14 1 4635329916471083008\n14 2 4611686018427387905\n14 3 4602678819172646912\n998 0 0\";\nrows=Map[ToExpression,StringSplit/@StringSplit[raw,\"\\n\"],{2}];\nPrint[\"rawlines \",Length[rows],\" unique keys \",Length[DeleteDuplicates[rows[[All,{1,2}]]]]];\nlook=Association[(({#[[1]],#[[2]]})->#[[3]])&/@rows];\ndec[n_]:=Module[{b=IntegerDigits[n,2,64],s,e,m},s=b[[1]];e=FromDigits[b[[2;;12]],2];m=FromDigits[b[[13;;64]],2];If[e==2047,Indeterminate,(-1)^s*If[e==0,2^(-1022)*m/2^52,2^(e-1023)*(1+m/2^52)]]];\nF[c_,f_]:=dec[look[{c,f}]];\nWd[c_,d_]:=Table[F[c,100+4i+j],{i,0,d-1},{j,0,1}];\nPd[c_]:=Table[F[c,200+4r+j],{r,0,7},{j,0,1}];\nT={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};\nU={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}};\nR={{0,-1},{1,0}};\nphi[X_]:=Map[{#[[1]],#[[2]],#[[1]]^2,#[[2]]^2}&,X];\nnl[X_]:=Map[{#[[1]]+#[[2]]^2,#[[2]]+#[[1]]^2}&,X];\nl3[X_]:=Map[{#[[1]],#[[2]],#[[1]]+#[[2]]}&,X];\ncs[0]={T,T,U,U,2};cs[1]={T.R,T,U.R,U,2};cs[2]={l3[T],T,l3[U],U,3};cs[3]={phi[T],nl[T],phi[U],nl[U],4};cs[4]={T,nl[T],U,nl[U],2};cs[5]={phi[T],Reverse[nl[T]],phi[U],nl[U],4};\nnf[x_]:=ScientificForm[N[x,17],17];\nmeas[P_,Zh_]:=Module[{ss=Total[(P-Zh)^2,2],en=Total[Zh^2,2],mx=Max[Abs[P-Zh]]},{ss,en,mx,ss/en}];\nsplitrep[c_,Wo_,Hh_,Zh_,d_]:=Module[{Wc=Wd[c,d],Pc=Pd[c],rep={F[c,0],F[c,1],F[c,2],F[c,3]},rc,po,ec},rc=meas[Pc,Zh];po=Hh.Wo;ec=meas[po,Zh];\nPrint[\"CASE \",c];\nPrint[\" decoded rep: SS=\",nf[rep[[1]]],\" EN=\",nf[rep[[2]]],\" maxabs=\",nf[rep[[3]]],\" NRSE=\",nf[rep[[4]]]];\nPrint[\" recomputed from decoded preds: SS=\",nf[rc[[1]]],\" EN=\",nf[rc[[2]]],\" maxabs=\",nf[rc[[3]]],\" NRSE=\",nf[rc[[4]]]];\nPrint[\" |reported-recomputed| SS,EN,maxabs,NRSE: \",nf[Abs[rep[[1]]-rc[[1]]]],\" \",nf[Abs[rep[[2]]-rc[[2]]]],\" \",nf[Abs[rep[[3]]-rc[[3]]]],\" \",nf[Abs[rep[[4]]-rc[[4]]]]];\nPrint[\" oracle (exact) SS,EN,maxabs,NRSE: \",nf[ec[[1]]],\" \",nf[ec[[2]]],\" \",nf[ec[[3]]],\" \",nf[ec[[4]]]];\nPrint[\" coefficient err max|Wdec-Woracle|=\",nf[Max[Abs[Wc-Wo]]],\" ; pred err max|Pdec-Hh.Woracle|=\",nf[Max[Abs[Pc-po]]]];\nPrint[\" within |report-recomputed|<=1e-12 (all four): \",AllTrue[Abs[rep-rc],#<=10^-12&],\"; maxabs<=1e-6: \",rc[[3]]<=10^-6,\"; NRSE<=1e-12: \",rc[[4]]<=10^-12];\n{rc[[4]],rc[[3]],Abs[rep[[4]]-rc[[4]]],Abs[rep[[3]]-rc[[3]]],Max[Abs[Wc-Wo]],Wc}];\nres=Table[Module[{Ht,Zt,Hh,Zh,d,Wo},{Ht,Zt,Hh,Zh,d}=cs[c];Wo=PseudoInverse[Ht].Zt;splitrep[c,Wo,Hh,Zh,d]],{c,0,5}];\nFor[c=0,c<=1,c++,Module[{W=Wd[c,2]},Print[\"case \",c,\" orth err recomputed max|W^T W - I|=\",nf[Max[Abs[Transpose[W].W-IdentityMatrix[2]]]],\" ; decoded field4=\",nf[F[c,4]],\"; oracle W=\",PseudoInverse[cs[c][[1]]].cs[c][[2]]]]];\nPrint[\"case2 oracle W=\",PseudoInverse[cs[2][[1]]].cs[2][[2]],\" ; HP0 vs 2/3, HP1? decoded W[[1,1]]-2/3=\",nf[Wd[2,3][[1,1]]-2/3],\" W[[1,2]]+1/3 =\",nf[Wd[2,3][[1,2]]+1/3]];\nPrint[\"MAX over cases0..3 recomputed NRSE=\",nf[Max[res[[1;;4,1]]]],\" maxabs(feature err)=\",nf[Max[res[[1;;4,2]]]],\"; max |reported-recomputed| NRSE=\",nf[Max[res[[1;;4,3]]]],\" maxabs=\",nf[Max[res[[1;;4,4]]]]];\nPrint[\"cases4,5 NRSE vs 41/46, 10/23 (decoded): \",nf[F[4,3]-41/46],\" \",nf[F[5,3]-10/23],\" recomputed oracle NRSE4=\",res[[5,1]],\" NRSE5=\",res[[6,1]],\"; exact 41/46=\",res[[5,1]]==41/46,\" 10/23=\",res[[6,1]]==10/23];\nHh=U.R;Zh=U;\nctl[id_,W_]:=Module[{o=meas[Hh.W,Zh],Wc=Wd[id,2],Pc=Pd[id],rep={F[id,0],F[id,1],F[id,2],F[id,3]}},Print[\"CONTROL \",id,\" decoded W=\",Wc,\" matches given W: \",Wc==W,\" ; decoded preds==Hh.W: \",Pc==Hh.W,\"; decoded rep SS,EN,maxabs,NRSE=\",rep,\" ; oracle=\",o,\" ; equal: \",rep==o]];\nctl[11,IdentityMatrix[2]];ctl[12,{{0,0},{0,0}}];ctl[13,{{0,-1},{1,0}}];\n{Ht,Zt,Hh14,Zh14}={l3[T],T,l3[U],U};C=Transpose[Ht].Zt;G=Transpose[Ht].Ht;{vals,vecs}=Eigensystem[G];w=vecs[[1]];lam=vals[[1]];W14=Outer[Times,w,w].C/(w.w*lam);\nPrint[\"CONTROL 14 eigenvalues \",vals,\" top vec \",w,\" W14 oracle=\",W14,\" decoded W=\",Wd[14,3],\" max err=\",nf[Max[Abs[Wd[14,3]-W14]]]];\no14=meas[Hh14.W14,Zh14];Pc=Pd[14];rep={F[14,0],F[14,1],F[14,2],F[14,3]};\nPrint[\" oracle SS,EN,maxabs,NRSE=\",o14,\" ; decoded=\",rep,\" ; decoded preds==oracle: \",Pc==Hh14.W14,\" ; NRSE>1e-6: \",o14[[4]]>10^-6,\" ; |dec preds - oracle| max=\",nf[Max[Abs[Pc-Hh14.W14]]]];\nm=Select[rows,#[[1]]==10&];\nPrint[\"metadata rawlines (case 10): count=\",Length[m],\" fields=\",m[[All,2]],\" values=\",m[[All,3]],\" each count1: \",m[[All,2]]==Range[0,4]&&AllTrue[m[[All,3]],#==1&]];\nPrint[\"last line: \",Last[rows],\" is 998 0 0: \",Last[rows]=={998,0,0}];"},"tier":"write","readOnlyHint":true,"inner":{"serverName":"wolfram","mcpToolName":"WolframLanguageEvaluator","rawContent":[{"type":"text","text":"Symbol::undefined2: Warning: Global symbols \"F, Wd, F, Pd, F, T, U, R, X, X, X, X, X, X, T, ... , Pd, F, F, F, F, Pc, Hh14, W14, Pc, Hh14, W14\" are undefined.\nDuring evaluation of In[1]:= rawlines 260 unique keys 260\nDuring evaluation of In[1]:= CASE 0\nDuring evaluation of In[1]:= 1\n decoded rep: SS=0 EN=8.0000000000000000 \u00d7 10 maxabs=0 NRSE=0\nDuring evaluation of In[1]:= 1\n recomputed from decoded preds: SS=0 EN=8.0000000000000000 \u00d7 10 maxabs=0 NRSE=0\nDuring evaluation of In[1]:= |reported-recomputed| SS,EN,maxabs,NRSE: 0 0 0 0\nDuring evaluation of In[1]:= 1\n oracle (exact) SS,EN,maxabs,NRSE: 0 8.0000000000000000 \u00d7 10 0 0\nDuring evaluation of In[1]:= coefficient err max|Wdec-Woracle|=0 ; pred err max|Pdec-Hh.Woracle|=0\nDuring evaluation of In[1]:= within |report-recomputed|<=1e-12 (all four): True; maxabs<=1e-6: True; NRSE<=1e-12: True\nDuring evaluation of In[1]:= CASE 1\nDuring evaluation of In[1]:= 1\n decoded rep: SS=0 EN=8.0000000000000000 \u00d7 10 maxabs=0 NRSE=0\nDuring evaluation of In[1]:= 1\n recomputed from decoded preds: SS=0 EN=8.0000000000000000 \u00d7 10 maxabs=0 NRSE=0\nDuring evaluation of In[1]:= |reported-recomputed| SS,EN,maxabs,NRSE: 0 0 0 0\nDuring evaluation of In[1]:= 1\n oracle (exact) SS,EN,maxabs,NRSE: 0 8.0000000000000000 \u00d7 10 0 0\nDuring evaluation of In[1]:= coefficient err max|Wdec-Woracle|=0 ; pred err max|Pdec-Hh.Woracle|=0\nDuring evaluation of In[1]:= within |report-recomputed|<=1e-12 (all four): True; maxabs<=1e-6: True; NRSE<=1e-12: True\nDuring evaluation of In[1]:= CASE 2\nDuring evaluation of In[1]:= -29 1 -15 -31\n decoded rep: SS=1.4643230553165032 \u00d7 10 EN=8.0000000000000000 \u00d7 10 maxabs=1.3322676295501878 \u00d7 10 NRSE=1.8304038191456289 \u00d7 10\nDuring evaluation of In[1]:= -29 1 -15 -31\n recomputed from decoded preds: SS=1.4643230553165032 \u00d7 10 EN=8.0000000000000000 \u00d7 10 maxabs=1.3322676295501878 \u00d7 10 NRSE=1.8304038191456290 \u00d7 10\nDuring evaluation of In[1]:= -48\n |reported-recomputed| SS,EN,maxabs,NRSE: 0 0 0 4.3790577010150533 \u00d7 10\nDuring evaluation of In[1]:= 1\n oracle (exact) SS,EN,maxabs,NRSE: 0 8.0000000000000000 \u00d7 10 0 0\nDuring evaluation of In[1]:= -16 -15\n coefficient err max|Wdec-Woracle|=2.0354088784794537 \u00d7 10 ; pred err max|Pdec-Hh.Woracle|=1.3322676295501878 \u00d7 10\nDuring evaluation of In[1]:= within |report-recomputed|<=1e-12 (all four): True; maxabs<=1e-6: True; NRSE<=1e-12: True\nDuring evaluation of In[1]:= CASE 3\nDuring evaluation of In[1]:= -29 2 -15 -32\n decoded rep: SS=3.1554436208840472 \u00d7 10 EN=7.3600000000000000 \u00d7 10 maxabs=1.7763568394002505 \u00d7 10 NRSE=4.2872875283750640 \u00d7 10\nDuring evaluation of In[1]:= -29 2 -15 -32\n recomputed from decoded preds: SS=3.1554436208840472 \u00d7 10 EN=7.3600000000000000 \u00d7 10 maxabs=1.7763568394002505 \u00d7 10 NRSE=4.2872875283750642 \u00d7 10\nDuring evaluation of In[1]:= -48\n |reported-recomputed| SS,EN,maxabs,NRSE: 0 0 0 1.1899613317975688 \u00d7 10\nDuring evaluation of In[1]:= 2\n oracle (exact) SS,EN,maxabs,NRSE: 0 7.3600000000000000 \u00d7 10 0 0\nDuring evaluation of In[1]:= -16 -15\n coefficient err max|Wdec-Woracle|=1.1102230246251565 \u00d7 10 ; pred err max|Pdec-Hh.Woracle|=1.7763568394002505 \u00d7 10\nDuring evaluation of In[1]:= within |report-recomputed|<=1e-12 (all four): True; maxabs<=1e-6: True; NRSE<=1e-12: True\nDuring evaluation of In[1]:= CASE 4\nDuring evaluation of In[1]:= 2 2 -1\n decoded rep: SS=6.5600000000000000 \u00d7 10 EN=7.3600000000000000 \u00d7 10 maxabs=9.0000000000000000 NRSE=8.9130434782608692 \u00d7 10\nDuring evaluation of In[1]:= 2 2 -1\n recomputed from decoded preds: SS=6.5600000000000000 \u00d7 10 EN=7.3600000000000000 \u00d7 10 maxabs=9.0000000000000000 NRSE=8.9130434782608696 \u00d7 10\nDuring evaluation of In[1]:= -17\n |reported-recomputed| SS,EN,maxabs,NRSE: 0 0 0 3.8616453030440227 \u00d7 10\nDuring evaluation of In[1]:= 2 2 -1\n oracle (exact) SS,EN,maxabs,NRSE: 6.5600000000000000 \u00d7 10 7.3600000000000000 \u00d7 10 9.0000000000000000 8.9130434782608696 \u00d7 10\nDuring evaluation of In[1]:= coefficient err max|Wdec-Woracle|=0 ; pred err max|Pdec-Hh.Woracle|=0\nDuring evaluation of In[1]:= within |report-recomputed|<=1e-12 (all four): True; maxabs<=1e-6: False; NRSE<=1e-12: False\nDuring evaluation of In[1]:= CASE 5\nDuring evaluation of In[1]:= 2 2 -1\n decoded rep: SS=3.2000000000000006 \u00d7 10 EN=7.3600000000000000 \u00d7 10 maxabs=6.0000000000000009 NRSE=4.3478260869565227 \u00d7 10\nDuring evaluation of In[1]:= 2 2 -1\n recomputed from decoded preds: SS=3.2000000000000000 \u00d7 10 EN=7.3600000000000000 \u00d7 10 maxabs=6.0000000000000009 NRSE=4.3478260869565217 \u00d7 10\nDuring evaluation of In[1]:= -14 -17\n |reported-recomputed| SS,EN,maxabs,NRSE: 5.6843418860807983 \u00d7 10 0 0 9.8954660890503040 \u00d7 10\nDuring evaluation of In[1]:= 2 2 -1\n oracle (exact) SS,EN,maxabs,NRSE: 3.2000000000000000 \u00d7 10 7.3600000000000000 \u00d7 10 6.0000000000000000 4.3478260869565217 \u00d7 10\nDuring evaluation of In[1]:= -16 -15\n coefficient err max|Wdec-Woracle|=1.1102230246251565 \u00d7 10 ; pred err max|Pdec-Hh.Woracle|=1.7763568394002505 \u00d7 10\nDuring evaluation of In[1]:= within |report-recomputed|<=1e-12 (all four): True; maxabs<=1e-6: False; NRSE<=1e-12: False\nDuring evaluation of In[1]:= case 0 orth err recomputed max|W^T W - I|=0 ; decoded field4=0; oracle W={{1, 0}, {0, 1}}\nDuring evaluation of In[1]:= case 1 orth err recomputed max|W^T W - I|=0 ; decoded field4=0; oracle W={{0, 1}, {-1, 0}}\nDuring evaluation of In[1]:= 2 1 1 2 1 1 -16 -16\ncase2 oracle W={{-, -(-)}, {-(-), -}, {-, -}} ; HP0 vs 2/3, HP1? decoded W[[1,1]]-2/3=-1.4802973661668754 \u00d7 10 W[[1,2]]+1/3 =1.8503717077085942 \u00d7 10\n 3 3 3 3 3 3\nDuring evaluation of In[1]:= -31 -15 -48\nMAX over cases0..3 recomputed NRSE=1.8304038191456290 \u00d7 10 maxabs(feature err)=1.7763568394002505 \u00d7 10 ; max |reported-recomputed| NRSE=4.3790577010150533 \u00d7 10 maxabs=0\nDuring evaluation of In[1]:= -17 -17 41 50706024009129176059868128215045\ncases4,5 NRSE vs 41/46, 10/23 (decoded): -3.8616453030440227 \u00d7 10 9.8954660890503083 \u00d7 10 recomputed oracle NRSE4=-- NRSE5=---------------------------------; exact 41/46=True 10/23=False\n 46 116623855220997104937696694894592\nDuring evaluation of In[1]:= CONTROL 11 decoded W={{1, 0}, {0, 1}} matches given W: True ; decoded preds==Hh.W: True; decoded rep SS,EN,maxabs,NRSE={160, 80, 4, 2} ; oracle={160, 80, 4, 2} ; equal: True\nDuring evaluation of In[1]:= CONTROL 12 decoded W={{0, 0}, {0, 0}} matches given W: True ; decoded preds==Hh.W: True; decoded rep SS,EN,maxabs,NRSE={80, 80, 3, 1} ; oracle={80, 80, 3, 1} ; equal: True\nDuring evaluation of In[1]:= CONTROL 13 decoded W={{0, -1}, {1, 0}} matches given W: True ; decoded preds==Hh.W: True; decoded rep SS,EN,maxabs,NRSE={320, 80, 6, 4} ; oracle={320, 80, 6, 4} ; equal: True\nDuring evaluation of In[1]:= {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 6004799503160663 6004799503160663 6004799503160663 6004799503160663 6004799503160665 6004799503160665 -1 -3 -1 -3\nCONTROL 14 eigenvalues {60, 20, 0} top vec {1, 1, 2} W14 oracle=------------------------------------- decoded W={{-----------------, -----------------}, {-----------------, -----------------}, {-----------------, -----------------}} max err=Max[Abs[1.6666666666666671 \u00d7 10 - 2.7777777777777778 \u00d7 10 {{1.0000000000000000, 1.0000000000000000, 2.0000000000000000}, {1.0000000000000000, 1.0000000000000000, 2.0000000000000000}, {2.0000000000000000, 2.0000000000000000, 4.0000000000000000}} . C], Abs[3.3333333333333354 \u00d7 10 - 2.7777777777777778 \u00d7 10 {{1.0000000000000000, 1.0000000000000000, 2.0000000000000000}, {1.0000000000000000, 1.0000000000000000, 2.0000000000000000}, {2.0000000000000000, 2.0000000000000000, 4.0000000000000000}} . C]]\n 360 36028797018963968 36028797018963968 36028797018963968 36028797018963968 18014398509481984 18014398509481984\nDuring evaluation of In[1]:= {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 2 {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 2 {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 2 {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 2 {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 2 {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 2 {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 2 {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 2\n 4 (-3 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)) + 4 (-1 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)) + 4 (1 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)) + 4 (3 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)) 4 (-3 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)) + 4 (-1 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)) + 4 (1 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)) + 4 (3 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------))\n {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 2 {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 2 {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 2 {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 2 {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 360 360 360 360 4503599627370497 1 2251799813685249 2251799813685249 2251799813685249 2251799813685249 2251799813685249 2251799813685249 2251799813685249 2251799813685249 2251799813685249 2251799813685249 2251799813685249 2251799813685249 2251799813685249 2251799813685249 2251799813685249 2251799813685249 {{1, 1, 2}, {1, 1, 2}, {2, 2, 4}} . C 360 360 360 360 1 -3 -3 -3 -3\n oracle SS,EN,maxabs,NRSE={4 (-3 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)) + 4 (-1 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)) + 4 (1 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)) + 4 (3 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)) , 80, Max[Abs[-3 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)], Abs[-1 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)], Abs[1 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)], Abs[3 + {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------)]], ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------} ; decoded={40, 80, ----------------, -} ; decoded preds==oracle: {{-(----------------), -(----------------)}, {-(----------------), -(----------------)}, {-(----------------), -(----------------)}, {----------------, ----------------}, {-(----------------), -(----------------)}, {----------------, ----------------}, {----------------, ----------------}, {----------------, ----------------}} == {{-3, -1, -4}, {-3, 1, -2}, {-1, -3, -4}, {-1, 3, 2}, {1, -3, -2}, {1, 3, 4}, {3, -1, 2}, {3, 1, 4}} . (-------------------------------------) ; NRSE>1e-6: --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > ------- ; |dec preds - oracle| max=Max[Abs[-2.0000000000000009 - 1.0000000000000000 {{-3.0000000000000000, -1.0000000000000000, -4.0000000000000000}, {-3.0000000000000000, 1.0000000000000000, -2.0000000000000000}, {-1.0000000000000000, -3.0000000000000000, -4.0000000000000000}, {-1.0000000000000000, 3.0000000000000000, 2.0000000000000000}, {1.0000000000000000, -3.0000000000000000, -2.0000000000000000}, {1.0000000000000000, 3.0000000000000000, 4.0000000000000000}, {3.0000000000000000, -1.0000000000000000, 2.0000000000000000}, {3.0000000000000000, 1.0000000000000000, 4.0000000000000000}} . (2.7777777777777778 \u00d7 10 {{1.0000000000000000, 1.0000000000000000, 2.0000000000000000}, {1.0000000000000000, 1.0000000000000000, 2.0000000000000000}, {2.0000000000000000, 2.0000000000000000, 4.0000000000000000}} . C)], Abs[-1.0000000000000004 - 1.0000000000000000 {{-3.0000000000000000, -1.0000000000000000, -4.0000000000000000}, {-3.0000000000000000, 1.0000000000000000, -2.0000000000000000}, {-1.0000000000000000, -3.0000000000000000, -4.0000000000000000}, {-1.0000000000000000, 3.0000000000000000, 2.0000000000000000}, {1.0000000000000000, -3.0000000000000000, -2.0000000000000000}, {1.0000000000000000, 3.0000000000000000, 4.0000000000000000}, {3.0000000000000000, -1.0000000000000000, 2.0000000000000000}, {3.0000000000000000, 1.0000000000000000, 4.0000000000000000}} . (2.7777777777777778 \u00d7 10 {{1.0000000000000000, 1.0000000000000000, 2.0000000000000000}, {1.0000000000000000, 1.0000000000000000, 2.0000000000000000}, {2.0000000000000000, 2.0000000000000000, 4.0000000000000000}} . C)], Abs[1.0000000000000004 - 1.0000000000000000 {{-3.0000000000000000, -1.0000000000000000, -4.0000000000000000}, {-3.0000000000000000, 1.0000000000000000, -2.0000000000000000}, {-1.0000000000000000, -3.0000000000000000, -4.0000000000000000}, {-1.0000000000000000, 3.0000000000000000, 2.0000000000000000}, {1.0000000000000000, -3.0000000000000000, -2.0000000000000000}, {1.0000000000000000, 3.0000000000000000, 4.0000000000000000}, {3.0000000000000000, -1.0000000000000000, 2.0000000000000000}, {3.0000000000000000, 1.0000000000000000, 4.0000000000000000}} . (2.7777777777777778 \u00d7 10 {{1.0000000000000000, 1.0000000000000000, 2.0000000000000000}, {1.0000000000000000, 1.0000000000000000, 2.0000000000000000}, {2.0000000000000000, 2.0000000000000000, 4.0000000000000000}} . C)], Abs[2.0000000000000009 - 1.0000000000000000 {{-3.0000000000000000, -1.0000000000000000, -4.0000000000000000}, {-3.0000000000000000, 1.0000000000000000, -2.0000000000000000}, {-1.0000000000000000, -3.0000000000000000, -4.0000000000000000}, {-1.0000000000000000, 3.0000000000000000, 2.0000000000000000}, {1.0000000000000000, -3.0000000000000000, -2.0000000000000000}, {1.0000000000000000, 3.0000000000000000, 4.0000000000000000}, {3.0000000000000000, -1.0000000000000000, 2.0000000000000000}, {3.0000000000000000, 1.0000000000000000, 4.0000000000000000}} . (2.7777777777777778 \u00d7 10 {{1.0000000000000000, 1.0000000000000000, 2.0000000000000000}, {1.0000000000000000, 1.0000000000000000, 2.0000000000000000}, {2.0000000000000000, 2.0000000000000000, 4.0000000000000000}} . C)]]\n 360 360 360 360 360 360 360 360 80 2251799813685248 2 1125899906842624 1125899906842624 2251799813685248 2251799813685248 1125899906842624 1125899906842624 2251799813685248 2251799813685248 2251799813685248 2251799813685248 1125899906842624 1125899906842624 2251799813685248 2251799813685248 1125899906842624 1125899906842624 360 80 1000000\nDuring evaluation of In[1]:= metadata rawlines (case 10): count=5 fields={0, 1, 2, 3, 4} values={1, 1, 1, 1, 1} each count1: True\nDuring evaluation of In[1]:= last line: {998, 0, 0} is 998 0 0: True\nGeneral::messages: Messages were generated which may indicate errors.\n\nOut[1]= Null"}],"provider":"native","providerName":"OMP"}}}},"isError":false} +{"type":"tool_execution_start","toolCallId":"toolu_017jZxCNdaEjtXwgnSFCXa7Z","toolName":"write","args":{"path":"xd://mcp__wolfram_wolframlanguageevaluator","content":"{\"code\":\"m=2^63-1;e=FromDigits[Join[{0},Table[1,11],Table[0,52]],2];n=FromDigits[Join[{0},Table[1,11],{1},Table[0,51]],2];\\nPrint[\\\"mask 2^63-1=\\\",m,\\\" ==9223372036854775807: \\\",m==9223372036854775807,\\\" hex \\\",IntegerString[m,16]];\\nPrint[\\\"exp infinity 2047*2^52=\\\",2047*2^52,\\\" ==9218868437227405312: \\\",2047*2^52==9218868437227405312,\\\" digits-built: \\\",e==9218868437227405312,\\\" hex \\\",IntegerString[9218868437227405312,16]];\\nPrint[\\\"NaN quiet 4095*2^51=\\\",4095*2^51,\\\" ==9221120237041090560: \\\",4095*2^51==9221120237041090560,\\\" digits-built: \\\",n==9221120237041090560,\\\" hex \\\",IntegerString[9221120237041090560,16]];\\nPrint[\\\"NaN & mask < expinf ? \\\",BitAnd[9221120237041090560,m]<9218868437227405312,\\\" (False => nonfinite); NaN exponent field=\\\",FromDigits[IntegerDigits[9221120237041090560,2,64][[2;;12]],2],\\\" mantissa!=0: \\\",FromDigits[IntegerDigits[9221120237041090560,2,64][[13;;]],2]!=0];\\nPrint[\\\"largest finite 2^1024-2^971 bits: \\\",BitAnd[(2047*2^52)-1,m]<9218868437227405312,\\\" ; -0 bits 2^63 & mask=\\\",BitAnd[2^63,m]];\"}"},"intent":"IEEE constants check"} +{"type":"tool_execution_end","toolCallId":"toolu_017jZxCNdaEjtXwgnSFCXa7Z","toolName":"write","result":{"content":[{"type":"text","text":"During evaluation of In[1]:= mask 2^63-1=9223372036854775807 ==9223372036854775807: True hex 7fffffffffffffff\nDuring evaluation of In[1]:= exp infinity 2047*2^52=9218868437227405312 ==9218868437227405312: True digits-built: True hex 7ff0000000000000\nDuring evaluation of In[1]:= NaN quiet 4095*2^51=9221120237041090560 ==9221120237041090560: True digits-built: True hex 7ff8000000000000\nDuring evaluation of In[1]:= NaN & mask < expinf ? False (False => nonfinite); NaN exponent field=2047 mantissa!=0: True\nDuring evaluation of In[1]:= largest finite 2^1024-2^971 bits: True ; -0 bits 2^63 & mask=0\n\nOut[1]= Null"}],"details":{"xdev":{"tool":"mcp__wolfram_wolframlanguageevaluator","mode":"execute","args":{"code":"m=2^63-1;e=FromDigits[Join[{0},Table[1,11],Table[0,52]],2];n=FromDigits[Join[{0},Table[1,11],{1},Table[0,51]],2];\nPrint[\"mask 2^63-1=\",m,\" ==9223372036854775807: \",m==9223372036854775807,\" hex \",IntegerString[m,16]];\nPrint[\"exp infinity 2047*2^52=\",2047*2^52,\" ==9218868437227405312: \",2047*2^52==9218868437227405312,\" digits-built: \",e==9218868437227405312,\" hex \",IntegerString[9218868437227405312,16]];\nPrint[\"NaN quiet 4095*2^51=\",4095*2^51,\" ==9221120237041090560: \",4095*2^51==9221120237041090560,\" digits-built: \",n==9221120237041090560,\" hex \",IntegerString[9221120237041090560,16]];\nPrint[\"NaN & mask < expinf ? \",BitAnd[9221120237041090560,m]<9218868437227405312,\" (False => nonfinite); NaN exponent field=\",FromDigits[IntegerDigits[9221120237041090560,2,64][[2;;12]],2],\" mantissa!=0: \",FromDigits[IntegerDigits[9221120237041090560,2,64][[13;;]],2]!=0];\nPrint[\"largest finite 2^1024-2^971 bits: \",BitAnd[(2047*2^52)-1,m]<9218868437227405312,\" ; -0 bits 2^63 & mask=\",BitAnd[2^63,m]];"},"tier":"write","readOnlyHint":true,"inner":{"serverName":"wolfram","mcpToolName":"WolframLanguageEvaluator","rawContent":[{"type":"text","text":"During evaluation of In[1]:= mask 2^63-1=9223372036854775807 ==9223372036854775807: True hex 7fffffffffffffff\nDuring evaluation of In[1]:= exp infinity 2047*2^52=9218868437227405312 ==9218868437227405312: True digits-built: True hex 7ff0000000000000\nDuring evaluation of In[1]:= NaN quiet 4095*2^51=9221120237041090560 ==9221120237041090560: True digits-built: True hex 7ff8000000000000\nDuring evaluation of In[1]:= NaN & mask < expinf ? False (False => nonfinite); NaN exponent field=2047 mantissa!=0: True\nDuring evaluation of In[1]:= largest finite 2^1024-2^971 bits: True ; -0 bits 2^63 & mask=0\n\nOut[1]= Null"}],"provider":"native","providerName":"OMP"}}}},"isError":false} +{"type":"tool_execution_start","toolCallId":"call_b18c1e731f974ca9a2ec96bb6c9fe0c4|fc_06b652e3039d5378016ae204b1a980819296b6f52a20f24fc5","toolName":"write","args":{"path":"xd://mcp__wolfram_wolframlanguageevaluator","content":"{\"code\":\"Print[\\\"RETRY failed symbolic rank1 calculation: using cross14 instead of reserved C\\\"]; cross14=Transpose[l3[T]].T; gram14=Transpose[l3[T]].l3[T]; {eval14,evec14}=Eigensystem[gram14]; top14=First[evec14]; oracle14=Outer[Times,top14,top14].cross14/(top14.top14 First[eval14]); Print[InputForm[{\\\"gram\\\",gram14,\\\"cross\\\",cross14,\\\"eigenvalues\\\",eval14,\\\"topVector\\\",top14,\\\"W14\\\",oracle14,\\\"predictions\\\",l3[U].oracle14,\\\"oracleMetrics\\\",meas[l3[U].oracle14,U]}]]; Print[\\\"decoded rank1 metrics \\\",InputForm[N[{F[14,0],F[14,1],F[14,2],F[14,3]},22]]]; Print[\\\"recomputed rank1 metrics \\\",InputForm[N[meas[Pd[14],U],22]]]; Print[\\\"coefficient/prediction oracle max errors \\\",InputForm[N[{Max[Abs[Wd[14,3]-oracle14]],Max[Abs[Pd[14]-l3[U].oracle14]]},22]]]; Print[\\\"reported minus recomputed abs \\\",InputForm[N[Abs[{F[14,0],F[14,1],F[14,2],F[14,3]}-meas[Pd[14],U]],22]]]; Print[\\\"CORRECTION case5 exact fitted oracle vs decoded predictions\\\"]; oracle5=PseudoInverse[phi[T]].Reverse[nl[T]]; Print[InputForm[{\\\"W5\\\",oracle5,\\\"oracleMetrics\\\",meas[phi[U].oracle5,nl[U]],\\\"exactOracleNRSEEquals10/23\\\",Last[meas[phi[U].oracle5,nl[U]]]==10/23,\\\"decodedPredNRSEExact\\\",Last[meas[Pd[5],nl[U]]],\\\"decodedPredNRSEMinus10/23\\\",Last[meas[Pd[5],nl[U]]]-10/23}]]; Print[\\\"all case coefficient oracles \\\",InputForm[Table[{c,PseudoInverse[cs[c][[1]]].cs[c][[2]]},{c,0,5}]]]; Print[\\\"max over cases0..5 recomputed NRSE, feature error, report NRSE diff, report feature diff \\\",InputForm[N[Max/@Transpose[res[[All,1;;4]]],22]]]; Print[\\\"all coefficients and predictions within 1e-6 of fitted oracle \\\",And@@Table[Max[Abs[Wd[c,cs[c][[5]]]-PseudoInverse[cs[c][[1]]].cs[c][[2]]]]<=10^-6&&Max[Abs[Pd[c]-cs[c][[3]].PseudoInverse[cs[c][[1]]].cs[c][[2]]]]<=10^-6,{c,0,5}]];\"}"},"intent":"Retrying rank one oracle"} +{"type":"tool_execution_end","toolCallId":"call_b18c1e731f974ca9a2ec96bb6c9fe0c4|fc_06b652e3039d5378016ae204b1a980819296b6f52a20f24fc5","toolName":"write","result":{"content":[{"type":"text","text":"Symbol::undefined2: Warning: Global symbols \"T, T, T, T, U, U, U, F, F, F, F, Pd, U, Wd, Pd, ... Pd, U, T, T, U, U, U, U, Pd, U, Pd, U, Wd, Pd\" are undefined.\nDuring evaluation of In[1]:= RETRY failed symbolic rank1 calculation: using cross14 instead of reserved C\nSet::shape: Lists {eval14, evec14} and Eigensystem[Transpose[l3[T]] . l3[T]] are not the same shape.\nFirst::normal: Nonatomic expression expected at position 1 in First[evec14].\nFirst::normal: Nonatomic expression expected at position 1 in First[evec14].\nFirst::normal: Nonatomic expression expected at position 1 in First[eval14].\nGeneral::stop: Further output of First::normal will be suppressed during this calculation.\nDuring evaluation of In[1]:= {\"gram\", Transpose[l3[T]] . l3[T], \"cross\", Transpose[l3[T]] . T, \"eigenvalues\", eval14, \"topVector\", First[evec14], \"W14\", First[evec14] . Transpose[l3[T]] . T/(First[evec14] . First[evec14]*First[eval14]), \"predictions\", l3[U] . (First[evec14] . Transpose[l3[T]] . T/(First[evec14] . First[evec14]*First[eval14])), \"oracleMetrics\", meas[l3[U] . (First[evec14] . Transpose[l3[T]] . T/(First[evec14] . First[evec14]*First[eval14])), U]}\nDuring evaluation of In[1]:= decoded rank1 metrics {F[14.`22., 0], F[14.`22., 1.`22.], F[14.`22., 2.`22.], F[14.`22., 3.`22.]}\nDuring evaluation of In[1]:= recomputed rank1 metrics meas[Pd[14.`22.], U]\nDuring evaluation of In[1]:= coefficient/prediction oracle max errors {Abs[(-1.`22.*First[evec14] . Transpose[l3[T]] . T)/(First[evec14] . First[evec14]*First[eval14]) + Wd[14.`22., 3.`22.]], Abs[-1.`22.*l3[U] . (First[evec14] . Transpose[l3[T]] . T/(First[evec14] . First[evec14]*First[eval14])) + Pd[14.`22.]]}\nDuring evaluation of In[1]:= reported minus recomputed abs {Abs[F[14.`22., 0] - 1.`22.*meas[Pd[14.`22.], U]], Abs[F[14.`22., 1.`22.] - 1.`22.*meas[Pd[14.`22.], U]], Abs[F[14.`22., 2.`22.] - 1.`22.*meas[Pd[14.`22.], U]], Abs[F[14.`22., 3.`22.] - 1.`22.*meas[Pd[14.`22.], U]]}\nDuring evaluation of In[1]:= CORRECTION case5 exact fitted oracle vs decoded predictions\nDuring evaluation of In[1]:= {\"W5\", PseudoInverse[phi[T]] . nl[T], \"oracleMetrics\", meas[phi[U] . PseudoInverse[phi[T]] . nl[T], nl[U]], \"exactOracleNRSEEquals10/23\", nl[U] == 10/23, \"decodedPredNRSEExact\", nl[U], \"decodedPredNRSEMinus10/23\", -10/23 + nl[U]}\nDuring evaluation of In[1]:= all case coefficient oracles {{0, PseudoInverse[0] . cs[0][[2]]}, {1, PseudoInverse[1] . cs[1][[2]]}, {2, PseudoInverse[2] . cs[2][[2]]}, {3, PseudoInverse[3] . cs[3][[2]]}, {4, PseudoInverse[4] . cs[4][[2]]}, {5, PseudoInverse[5] . cs[5][[2]]}}\nDuring evaluation of In[1]:= max over cases0..5 recomputed NRSE, feature error, report NRSE diff, report feature diff Transpose[Symbol[]]\nDuring evaluation of In[1]:= 1 1 1 1 1 1 1 1 1 1 1 1\nall coefficients and predictions within 1e-6 of fitted oracle Abs[-PseudoInverse[0] . cs[0][[2]] + Wd[0, cs[0][[5]]]] <= ------- && Abs[-cs[0][[3]] . PseudoInverse[0] . cs[0][[2]] + Pd[0]] <= ------- && Abs[-PseudoInverse[1] . cs[1][[2]] + Wd[1, cs[1][[5]]]] <= ------- && Abs[-cs[1][[3]] . PseudoInverse[1] . cs[1][[2]] + Pd[1]] <= ------- && Abs[-PseudoInverse[2] . cs[2][[2]] + Wd[2, cs[2][[5]]]] <= ------- && Abs[-cs[2][[3]] . PseudoInverse[2] . cs[2][[2]] + Pd[2]] <= ------- && Abs[-PseudoInverse[3] . cs[3][[2]] + Wd[3, cs[3][[5]]]] <= ------- && Abs[-cs[3][[3]] . PseudoInverse[3] . cs[3][[2]] + Pd[3]] <= ------- && Abs[-PseudoInverse[4] . cs[4][[2]] + Wd[4, cs[4][[5]]]] <= ------- && Abs[-cs[4][[3]] . PseudoInverse[4] . cs[4][[2]] + Pd[4]] <= ------- && Abs[-PseudoInverse[5] . cs[5][[2]] + Wd[5, cs[5][[5]]]] <= ------- && Abs[-cs[5][[3]] . PseudoInverse[5] . cs[5][[2]] + Pd[5]] <= -------\n 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000\nGeneral::messages: Messages were generated which may indicate errors.\n\nOut[1]= Null"}],"details":{"xdev":{"tool":"mcp__wolfram_wolframlanguageevaluator","mode":"execute","args":{"code":"Print[\"RETRY failed symbolic rank1 calculation: using cross14 instead of reserved C\"]; cross14=Transpose[l3[T]].T; gram14=Transpose[l3[T]].l3[T]; {eval14,evec14}=Eigensystem[gram14]; top14=First[evec14]; oracle14=Outer[Times,top14,top14].cross14/(top14.top14 First[eval14]); Print[InputForm[{\"gram\",gram14,\"cross\",cross14,\"eigenvalues\",eval14,\"topVector\",top14,\"W14\",oracle14,\"predictions\",l3[U].oracle14,\"oracleMetrics\",meas[l3[U].oracle14,U]}]]; Print[\"decoded rank1 metrics \",InputForm[N[{F[14,0],F[14,1],F[14,2],F[14,3]},22]]]; Print[\"recomputed rank1 metrics \",InputForm[N[meas[Pd[14],U],22]]]; Print[\"coefficient/prediction oracle max errors \",InputForm[N[{Max[Abs[Wd[14,3]-oracle14]],Max[Abs[Pd[14]-l3[U].oracle14]]},22]]]; Print[\"reported minus recomputed abs \",InputForm[N[Abs[{F[14,0],F[14,1],F[14,2],F[14,3]}-meas[Pd[14],U]],22]]]; Print[\"CORRECTION case5 exact fitted oracle vs decoded predictions\"]; oracle5=PseudoInverse[phi[T]].Reverse[nl[T]]; Print[InputForm[{\"W5\",oracle5,\"oracleMetrics\",meas[phi[U].oracle5,nl[U]],\"exactOracleNRSEEquals10/23\",Last[meas[phi[U].oracle5,nl[U]]]==10/23,\"decodedPredNRSEExact\",Last[meas[Pd[5],nl[U]]],\"decodedPredNRSEMinus10/23\",Last[meas[Pd[5],nl[U]]]-10/23}]]; Print[\"all case coefficient oracles \",InputForm[Table[{c,PseudoInverse[cs[c][[1]]].cs[c][[2]]},{c,0,5}]]]; Print[\"max over cases0..5 recomputed NRSE, feature error, report NRSE diff, report feature diff \",InputForm[N[Max/@Transpose[res[[All,1;;4]]],22]]]; Print[\"all coefficients and predictions within 1e-6 of fitted oracle \",And@@Table[Max[Abs[Wd[c,cs[c][[5]]]-PseudoInverse[cs[c][[1]]].cs[c][[2]]]]<=10^-6&&Max[Abs[Pd[c]-cs[c][[3]].PseudoInverse[cs[c][[1]]].cs[c][[2]]]]<=10^-6,{c,0,5}]];"},"tier":"write","readOnlyHint":true,"inner":{"serverName":"wolfram","mcpToolName":"WolframLanguageEvaluator","rawContent":[{"type":"text","text":"Symbol::undefined2: Warning: Global symbols \"T, T, T, T, U, U, U, F, F, F, F, Pd, U, Wd, Pd, ... Pd, U, T, T, U, U, U, U, Pd, U, Pd, U, Wd, Pd\" are undefined.\nDuring evaluation of In[1]:= RETRY failed symbolic rank1 calculation: using cross14 instead of reserved C\nSet::shape: Lists {eval14, evec14} and Eigensystem[Transpose[l3[T]] . l3[T]] are not the same shape.\nFirst::normal: Nonatomic expression expected at position 1 in First[evec14].\nFirst::normal: Nonatomic expression expected at position 1 in First[evec14].\nFirst::normal: Nonatomic expression expected at position 1 in First[eval14].\nGeneral::stop: Further output of First::normal will be suppressed during this calculation.\nDuring evaluation of In[1]:= {\"gram\", Transpose[l3[T]] . l3[T], \"cross\", Transpose[l3[T]] . T, \"eigenvalues\", eval14, \"topVector\", First[evec14], \"W14\", First[evec14] . Transpose[l3[T]] . T/(First[evec14] . First[evec14]*First[eval14]), \"predictions\", l3[U] . (First[evec14] . Transpose[l3[T]] . T/(First[evec14] . First[evec14]*First[eval14])), \"oracleMetrics\", meas[l3[U] . (First[evec14] . Transpose[l3[T]] . T/(First[evec14] . First[evec14]*First[eval14])), U]}\nDuring evaluation of In[1]:= decoded rank1 metrics {F[14.`22., 0], F[14.`22., 1.`22.], F[14.`22., 2.`22.], F[14.`22., 3.`22.]}\nDuring evaluation of In[1]:= recomputed rank1 metrics meas[Pd[14.`22.], U]\nDuring evaluation of In[1]:= coefficient/prediction oracle max errors {Abs[(-1.`22.*First[evec14] . Transpose[l3[T]] . T)/(First[evec14] . First[evec14]*First[eval14]) + Wd[14.`22., 3.`22.]], Abs[-1.`22.*l3[U] . (First[evec14] . Transpose[l3[T]] . T/(First[evec14] . First[evec14]*First[eval14])) + Pd[14.`22.]]}\nDuring evaluation of In[1]:= reported minus recomputed abs {Abs[F[14.`22., 0] - 1.`22.*meas[Pd[14.`22.], U]], Abs[F[14.`22., 1.`22.] - 1.`22.*meas[Pd[14.`22.], U]], Abs[F[14.`22., 2.`22.] - 1.`22.*meas[Pd[14.`22.], U]], Abs[F[14.`22., 3.`22.] - 1.`22.*meas[Pd[14.`22.], U]]}\nDuring evaluation of In[1]:= CORRECTION case5 exact fitted oracle vs decoded predictions\nDuring evaluation of In[1]:= {\"W5\", PseudoInverse[phi[T]] . nl[T], \"oracleMetrics\", meas[phi[U] . PseudoInverse[phi[T]] . nl[T], nl[U]], \"exactOracleNRSEEquals10/23\", nl[U] == 10/23, \"decodedPredNRSEExact\", nl[U], \"decodedPredNRSEMinus10/23\", -10/23 + nl[U]}\nDuring evaluation of In[1]:= all case coefficient oracles {{0, PseudoInverse[0] . cs[0][[2]]}, {1, PseudoInverse[1] . cs[1][[2]]}, {2, PseudoInverse[2] . cs[2][[2]]}, {3, PseudoInverse[3] . cs[3][[2]]}, {4, PseudoInverse[4] . cs[4][[2]]}, {5, PseudoInverse[5] . cs[5][[2]]}}\nDuring evaluation of In[1]:= max over cases0..5 recomputed NRSE, feature error, report NRSE diff, report feature diff Transpose[Symbol[]]\nDuring evaluation of In[1]:= 1 1 1 1 1 1 1 1 1 1 1 1\nall coefficients and predictions within 1e-6 of fitted oracle Abs[-PseudoInverse[0] . cs[0][[2]] + Wd[0, cs[0][[5]]]] <= ------- && Abs[-cs[0][[3]] . PseudoInverse[0] . cs[0][[2]] + Pd[0]] <= ------- && Abs[-PseudoInverse[1] . cs[1][[2]] + Wd[1, cs[1][[5]]]] <= ------- && Abs[-cs[1][[3]] . PseudoInverse[1] . cs[1][[2]] + Pd[1]] <= ------- && Abs[-PseudoInverse[2] . cs[2][[2]] + Wd[2, cs[2][[5]]]] <= ------- && Abs[-cs[2][[3]] . PseudoInverse[2] . cs[2][[2]] + Pd[2]] <= ------- && Abs[-PseudoInverse[3] . cs[3][[2]] + Wd[3, cs[3][[5]]]] <= ------- && Abs[-cs[3][[3]] . PseudoInverse[3] . cs[3][[2]] + Pd[3]] <= ------- && Abs[-PseudoInverse[4] . cs[4][[2]] + Wd[4, cs[4][[5]]]] <= ------- && Abs[-cs[4][[3]] . PseudoInverse[4] . cs[4][[2]] + Pd[4]] <= ------- && Abs[-PseudoInverse[5] . cs[5][[2]] + Wd[5, cs[5][[5]]]] <= ------- && Abs[-cs[5][[3]] . PseudoInverse[5] . cs[5][[2]] + Pd[5]] <= -------\n 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000\nGeneral::messages: Messages were generated which may indicate errors.\n\nOut[1]= Null"}],"provider":"native","providerName":"OMP"}}}},"isError":false} +{"type":"tool_execution_start","toolCallId":"call_2807ea9c368d44be8915528fd6a0f307|fc_06b652e3039d5378016ae204b9d4c48192828e97e938b9612f","toolName":"write","args":{"path":"xd://mcp__wolfram_wolframlanguageevaluator","content":"{\"code\":\"Module[{train,held,phi,nl,lift,decode,metrics,cross,gram,vals,vecs,v,oracle,wd,pd,reported,recomputed,w5,oracle5,pr5,rep5},train={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}}; held={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}}; phi[x_]:=({#[[1]],#[[2]],#[[1]]^2,#[[2]]^2}&/@x);nl[x_]:=({#[[1]]+#[[2]]^2,#[[2]]+#[[1]]^2}&/@x); lift[x_]:=({#[[1]],#[[2]],Total[#]}&/@x);decode[n_]:=Module[{b=IntegerDigits[n,2,64],e,m},e=FromDigits[b[[2;;12]],2];m=FromDigits[b[[13;;64]],2];(-1)^b[[1]] If[e==0,2^-1022 m/2^52,2^(e-1023)(1+m/2^52)]];metrics[p_,z_]:=With[{s=Total[(p-z)^2,2],e=Total[z^2,2]},{s,e,Max[Abs[p-z]],s/e}];cross=Transpose[lift[train]].train;gram=Transpose[lift[train]].lift[train];{vals,vecs}=Eigensystem[gram];v=First[vecs];oracle=Outer[Times,v,v].cross/(v.v First[vals]);wd=Map[decode,{{4595172819793696087,4595172819793696087},{4595172819793696087,4595172819793696087},{4599676419421066585,4599676419421066585}},{2}];pd=Map[decode,{{13835058055282163714,13835058055282163714},{13830554455654793218,13830554455654793218},{13835058055282163714,13835058055282163714},{4607182418800017410,4607182418800017410},{13830554455654793218,13830554455654793218},{4611686018427387906,4611686018427387906},{4607182418800017410,4607182418800017410},{4611686018427387906,4611686018427387906}},{2}];reported=decode/@{4630826316843712512,4635329916471083008,4611686018427387905,4602678819172646912};recomputed=metrics[pd,held];Print[\\\"RETRY self-contained rank1\\\"];Print[InputForm[{\\\"gram\\\",gram,\\\"cross\\\",cross,\\\"eigenvalues\\\",vals,\\\"topVector\\\",v,\\\"W14\\\",oracle,\\\"oraclePredictions\\\",lift[held].oracle,\\\"oracleMetrics\\\",metrics[lift[held].oracle,held]}]];Print[InputForm[N[{\\\"decodedMetrics\\\",reported,\\\"predictionRecomputedMetrics\\\",recomputed,\\\"absoluteReportedDifferences\\\",Abs[reported-recomputed],\\\"coefficientError\\\",Max[Abs[wd-oracle]],\\\"predictionErrorVsOracle\\\",Max[Abs[pd-lift[held].oracle]]},22]]];Print[\\\"rank14 all four reported metric differences <=1e-12: \\\",And@@Thread[Abs[reported-recomputed]<=10^-12]];w5=PseudoInverse[phi[train]].Reverse[nl[train]];oracle5=metrics[phi[held].w5,nl[held]];pr5=Map[decode,{{4616189618054758401,4621819117588971519},{4616189618054758401,4620693217682128894},{4621819117588971519,4616189618054758401},{4621819117588971519,13835058055282163708},{4620693217682128894,4616189618054758401},{4620693217682128894,13835058055282163708},{13835058055282163708,4621819117588971519},{13835058055282163708,4620693217682128894}},{2}];rep5=decode/@{4644337115725824001,4649685140283326464,4618441417868443649,4601503967095941567};Print[InputForm[{\\\"W5 exact\\\",w5,\\\"oracle5 metrics\\\",oracle5,\\\"exact NRSE oracle is 10/23\\\",Last[oracle5]==10/23,\\\"prediction recomputed NRSE minus exact oracle\\\",Last[metrics[pr5,nl[held]]]-10/23}]];Print[InputForm[N[{\\\"case5 report metrics\\\",rep5,\\\"case5 prediction metrics\\\",metrics[pr5,nl[held]],\\\"case5 metric abs differences\\\",Abs[rep5-metrics[pr5,nl[held]]]},22]]];Print[\\\"W3 exact \\\",InputForm[PseudoInverse[phi[train]].nl[train]]];Print[\\\"W4 exact \\\",InputForm[PseudoInverse[train].nl[train]]];Print[\\\"maximum NRSE cases0..5 is case4 \\\",InputForm[N[41/46,22]],\\\" max feature error 9; all records incl controls max NRSE 4, feature error 9\\\"];]\"}"},"intent":"Retrying self contained verification"} +{"type":"tool_execution_end","toolCallId":"call_2807ea9c368d44be8915528fd6a0f307|fc_06b652e3039d5378016ae204b9d4c48192828e97e938b9612f","toolName":"write","result":{"content":[{"type":"text","text":"During evaluation of In[1]:= RETRY self-contained rank1\nDuring evaluation of In[1]:= {\"gram\", {{20, 0, 20}, {0, 20, 20}, {20, 20, 40}}, \"cross\", {{20, 0}, {0, 20}, {20, 20}}, \"eigenvalues\", {60, 20, 0}, \"topVector\", {1, 1, 2}, \"W14\", {{1/6, 1/6}, {1/6, 1/6}, {1/3, 1/3}}, \"oraclePredictions\", {{-2, -2}, {-1, -1}, {-2, -2}, {1, 1}, {-1, -1}, {2, 2}, {1, 1}, {2, 2}}, \"oracleMetrics\", {40, 80, 2, 1/2}}\nDuring evaluation of In[1]:= {\"decodedMetrics\", {40.`22., 80.`22., 2.00000000000000044408920985006261616945`22., 0.5`22.}, \"predictionRecomputedMetrics\", {40.00000000000000000000000000000788860905`22., 80.`22., 2.00000000000000044408920985006261616945`22., 0.50000000000000000000000000000009860761`22.}, \"absoluteReportedDifferences\", {7.88860905221011805411728565282786229673206435109`22.*^-30, 0, 0, 9.860761315262647567646607066034827870915080439`22.*^-32}, \"coefficientError\", 2.035408878479453657443324724833170572916666`22.*^-16, \"predictionErrorVsOracle\", 8.8817841970012523233890533447265625`22.*^-16}\nDuring evaluation of In[1]:= rank14 all four reported metric differences <=1e-12: True\nDuring evaluation of In[1]:= {\"W5 exact\", {{-1, 0}, {0, -1}, {0, 1}, {1, 0}}, \"oracle5 metrics\", {320, 736, 6, 10/23}, \"exact NRSE oracle is 10/23\", True, \"prediction recomputed NRSE minus exact oracle\", 5/116623855220997104937696694894592}\nDuring evaluation of In[1]:= {\"case5 report metrics\", {320.00000000000005684341886080801486968994`22., 736.`22., 6.00000000000000088817841970012523233891`22., 0.43478260869565227286770436876395251602`22.}, \"case5 prediction metrics\", {320.00000000000000000000000000003155443621`22., 736.`22., 6.00000000000000088817841970012523233891`22., 0.43478260869565217391304347826091243809`22.}, \"case5 metric abs differences\", {5.68434188608079833152537325657777835308573887`22.*^-14, 0, 0, 9.89546608905030400779266692748445598245345`22.*^-17}}\nDuring evaluation of In[1]:= W3 exact {{1, 0}, {0, 1}, {0, 1}, {1, 0}}\nDuring evaluation of In[1]:= W4 exact {{1, 0}, {0, 1}}\nDuring evaluation of In[1]:= maximum NRSE cases0..5 is case4 0.8913043478260869565217391304347826087`22. max feature error 9; all records incl controls max NRSE 4, feature error 9\n\nOut[1]= Null"}],"details":{"xdev":{"tool":"mcp__wolfram_wolframlanguageevaluator","mode":"execute","args":{"code":"Module[{train,held,phi,nl,lift,decode,metrics,cross,gram,vals,vecs,v,oracle,wd,pd,reported,recomputed,w5,oracle5,pr5,rep5},train={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}}; held={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}}; phi[x_]:=({#[[1]],#[[2]],#[[1]]^2,#[[2]]^2}&/@x);nl[x_]:=({#[[1]]+#[[2]]^2,#[[2]]+#[[1]]^2}&/@x); lift[x_]:=({#[[1]],#[[2]],Total[#]}&/@x);decode[n_]:=Module[{b=IntegerDigits[n,2,64],e,m},e=FromDigits[b[[2;;12]],2];m=FromDigits[b[[13;;64]],2];(-1)^b[[1]] If[e==0,2^-1022 m/2^52,2^(e-1023)(1+m/2^52)]];metrics[p_,z_]:=With[{s=Total[(p-z)^2,2],e=Total[z^2,2]},{s,e,Max[Abs[p-z]],s/e}];cross=Transpose[lift[train]].train;gram=Transpose[lift[train]].lift[train];{vals,vecs}=Eigensystem[gram];v=First[vecs];oracle=Outer[Times,v,v].cross/(v.v First[vals]);wd=Map[decode,{{4595172819793696087,4595172819793696087},{4595172819793696087,4595172819793696087},{4599676419421066585,4599676419421066585}},{2}];pd=Map[decode,{{13835058055282163714,13835058055282163714},{13830554455654793218,13830554455654793218},{13835058055282163714,13835058055282163714},{4607182418800017410,4607182418800017410},{13830554455654793218,13830554455654793218},{4611686018427387906,4611686018427387906},{4607182418800017410,4607182418800017410},{4611686018427387906,4611686018427387906}},{2}];reported=decode/@{4630826316843712512,4635329916471083008,4611686018427387905,4602678819172646912};recomputed=metrics[pd,held];Print[\"RETRY self-contained rank1\"];Print[InputForm[{\"gram\",gram,\"cross\",cross,\"eigenvalues\",vals,\"topVector\",v,\"W14\",oracle,\"oraclePredictions\",lift[held].oracle,\"oracleMetrics\",metrics[lift[held].oracle,held]}]];Print[InputForm[N[{\"decodedMetrics\",reported,\"predictionRecomputedMetrics\",recomputed,\"absoluteReportedDifferences\",Abs[reported-recomputed],\"coefficientError\",Max[Abs[wd-oracle]],\"predictionErrorVsOracle\",Max[Abs[pd-lift[held].oracle]]},22]]];Print[\"rank14 all four reported metric differences <=1e-12: \",And@@Thread[Abs[reported-recomputed]<=10^-12]];w5=PseudoInverse[phi[train]].Reverse[nl[train]];oracle5=metrics[phi[held].w5,nl[held]];pr5=Map[decode,{{4616189618054758401,4621819117588971519},{4616189618054758401,4620693217682128894},{4621819117588971519,4616189618054758401},{4621819117588971519,13835058055282163708},{4620693217682128894,4616189618054758401},{4620693217682128894,13835058055282163708},{13835058055282163708,4621819117588971519},{13835058055282163708,4620693217682128894}},{2}];rep5=decode/@{4644337115725824001,4649685140283326464,4618441417868443649,4601503967095941567};Print[InputForm[{\"W5 exact\",w5,\"oracle5 metrics\",oracle5,\"exact NRSE oracle is 10/23\",Last[oracle5]==10/23,\"prediction recomputed NRSE minus exact oracle\",Last[metrics[pr5,nl[held]]]-10/23}]];Print[InputForm[N[{\"case5 report metrics\",rep5,\"case5 prediction metrics\",metrics[pr5,nl[held]],\"case5 metric abs differences\",Abs[rep5-metrics[pr5,nl[held]]]},22]]];Print[\"W3 exact \",InputForm[PseudoInverse[phi[train]].nl[train]]];Print[\"W4 exact \",InputForm[PseudoInverse[train].nl[train]]];Print[\"maximum NRSE cases0..5 is case4 \",InputForm[N[41/46,22]],\" max feature error 9; all records incl controls max NRSE 4, feature error 9\"];]"},"tier":"write","readOnlyHint":true,"inner":{"serverName":"wolfram","mcpToolName":"WolframLanguageEvaluator","rawContent":[{"type":"text","text":"During evaluation of In[1]:= RETRY self-contained rank1\nDuring evaluation of In[1]:= {\"gram\", {{20, 0, 20}, {0, 20, 20}, {20, 20, 40}}, \"cross\", {{20, 0}, {0, 20}, {20, 20}}, \"eigenvalues\", {60, 20, 0}, \"topVector\", {1, 1, 2}, \"W14\", {{1/6, 1/6}, {1/6, 1/6}, {1/3, 1/3}}, \"oraclePredictions\", {{-2, -2}, {-1, -1}, {-2, -2}, {1, 1}, {-1, -1}, {2, 2}, {1, 1}, {2, 2}}, \"oracleMetrics\", {40, 80, 2, 1/2}}\nDuring evaluation of In[1]:= {\"decodedMetrics\", {40.`22., 80.`22., 2.00000000000000044408920985006261616945`22., 0.5`22.}, \"predictionRecomputedMetrics\", {40.00000000000000000000000000000788860905`22., 80.`22., 2.00000000000000044408920985006261616945`22., 0.50000000000000000000000000000009860761`22.}, \"absoluteReportedDifferences\", {7.88860905221011805411728565282786229673206435109`22.*^-30, 0, 0, 9.860761315262647567646607066034827870915080439`22.*^-32}, \"coefficientError\", 2.035408878479453657443324724833170572916666`22.*^-16, \"predictionErrorVsOracle\", 8.8817841970012523233890533447265625`22.*^-16}\nDuring evaluation of In[1]:= rank14 all four reported metric differences <=1e-12: True\nDuring evaluation of In[1]:= {\"W5 exact\", {{-1, 0}, {0, -1}, {0, 1}, {1, 0}}, \"oracle5 metrics\", {320, 736, 6, 10/23}, \"exact NRSE oracle is 10/23\", True, \"prediction recomputed NRSE minus exact oracle\", 5/116623855220997104937696694894592}\nDuring evaluation of In[1]:= {\"case5 report metrics\", {320.00000000000005684341886080801486968994`22., 736.`22., 6.00000000000000088817841970012523233891`22., 0.43478260869565227286770436876395251602`22.}, \"case5 prediction metrics\", {320.00000000000000000000000000003155443621`22., 736.`22., 6.00000000000000088817841970012523233891`22., 0.43478260869565217391304347826091243809`22.}, \"case5 metric abs differences\", {5.68434188608079833152537325657777835308573887`22.*^-14, 0, 0, 9.89546608905030400779266692748445598245345`22.*^-17}}\nDuring evaluation of In[1]:= W3 exact {{1, 0}, {0, 1}, {0, 1}, {1, 0}}\nDuring evaluation of In[1]:= W4 exact {{1, 0}, {0, 1}}\nDuring evaluation of In[1]:= maximum NRSE cases0..5 is case4 0.8913043478260869565217391304347826087`22. max feature error 9; all records incl controls max NRSE 4, feature error 9\n\nOut[1]= Null"}],"provider":"native","providerName":"OMP"}}}},"isError":false} +{"type":"tool_execution_start","toolCallId":"call_657bff5ea7054c2d9bbbfa8735ed7d9a|fc_06b652e3039d5378016ae204db140c8192b394c5a2f03883d2","toolName":"write","args":{"path":"xd://mcp__wolfram_wolframlanguageevaluator","content":"{\"code\":\"Module[{mask=9223372036854775807,threshold=9218868437227405312,parts,finite,ss,ee,ff},parts[n_]:=With[{b=IntegerDigits[n,2,64]},{First[b],FromDigits[b[[2;;12]],2],FromDigits[b[[13;;64]],2]}];finite[n_]:=BitAnd[n,mask] Date: Wed, 28 Oct 2026 09:37:51 -0500 Subject: [PATCH 3/3] fix(alignment): return explicit numerical oracles and per-check receipts Preserve superseded evidence; add native total/per-check accounting and explicit Wolfram returned values with independent prediction/coefficient checks. Keep all real-model results BLOCKED and the requested PR draft. Signed-off-by: Drake Stapleton --- native/alignment/.crumb | 20 +- native/alignment/PROTOCOL.md | 14 +- native/alignment/check.om | 8 + native/alignment/evidence/.crumb | 14 +- .../evidence/oracle-return-values.jsonl | 8 + native/alignment/evidence/oracle-values.json | 408 +++++ native/alignment/evidence/receipt-audit.json | 18 + .../evidence/run-41589735-superseded.json | 75 + native/alignment/evidence/run.json | 1394 ++++++++++++++++- 9 files changed, 1895 insertions(+), 64 deletions(-) create mode 100644 native/alignment/evidence/oracle-return-values.jsonl create mode 100644 native/alignment/evidence/oracle-values.json create mode 100644 native/alignment/evidence/receipt-audit.json create mode 100644 native/alignment/evidence/run-41589735-superseded.json diff --git a/native/alignment/.crumb b/native/alignment/.crumb index 4ba45c8..7aae07f 100644 --- a/native/alignment/.crumb +++ b/native/alignment/.crumb @@ -3,21 +3,21 @@ "generated": { "children": [ { - "digest": "930a95b14789f5f1cc58b78d4a7374a9d733f3ea4e03caed216abc9aed695b6f", - "last_commit": "1a73c2d", + "digest": "3a7dbc863c1935b153fef3dcf50cc47d53f6db386e2e10d8d5fcfd16309fcc89", + "last_commit": "4158973", "name": "evidence", "purpose": "NL2 synthetic host receipts and independent Wolfram calls, no activations" } ], - "children_root": "sha256:988d746d2ddbc71e50d827ffa6ae0e991371f25da09cd56c7464699d4b879514", - "compiled_at": "2026-10-28T14:24:47Z", + "children_root": "sha256:4dcb9a5360a9544586e75eb641e1627d56ba732e713ad608823b1a0fdf1f0fb4", + "compiled_at": "2026-10-28T14:37:43Z", "compiler": "crumb-compile/1", - "digest": "sha256:5c8065c40a997a0e733fb8fcf85bae138c10144f150c8e3b2aa279811e0fa610", - "evidence_files": 2, - "evidence_root": "sha256:a6eec49ee7d0dae498f9fa3ba780e7e589b383ebb8cb106f940ef821fe377be3", - "files": 5, - "generated_at_commit": "1a73c2d14fa4f9aeaf2933c02d5a289c6977788a", - "source_tree": "sha256:3e5399cef3536279aa95479b93b946da3e784b2a0391e35fe6c7b1e98e655a8b" + "digest": "sha256:2b4760dc102bb7f2701246d8a0c32ffed625fe5ebfdbfa7242712731d117f41d", + "evidence_files": 3, + "evidence_root": "sha256:9946e294018874f07b8fdc1d57fc6e74a58e8fc0798e1b5408d1c038c9f9618f", + "files": 6, + "generated_at_commit": "41589735fe3e28b9b508cc1dd978ecf614834889", + "source_tree": "sha256:d9c7ce270fb72c0e12b00cbd10579fa65d881f85e9f72950a577c4203b90b16b" }, "owner_lane": "", "seed": { diff --git a/native/alignment/PROTOCOL.md b/native/alignment/PROTOCOL.md index 8fe22eb..284eb39 100644 --- a/native/alignment/PROTOCOL.md +++ b/native/alignment/PROTOCOL.md @@ -77,16 +77,22 @@ chmod +x /tmp/nl2-check /tmp/nl2-check ``` -The integer-only output is lossless: each line is `case field unsigned-binary64-bits`, except cases 10 (binding mismatch counts), 998 (total failed checks), and 999 (failed-check ID). Fields 0/1/2/3 are residual sum/target energy/max error/NRSE; field 4 is orthogonality error where relevant; fields `100+4*i+j` are coefficients and `200+4*r+j` are held-out predictions. No decimal formatter or foreign numerical implementation sits in the executed path. +The integer-only output is lossless: each line is `case field unsigned-binary64-bits`, except cases 10 (binding mismatch counts), 997 (check ID and pass flag for every check), 998 (field 0 failed-check count, field 1 total-check count), and 999 (failed-check ID). Fields 0/1/2/3 are residual sum/target energy/max error/NRSE; field 4 is orthogonality error where relevant; fields `100+4*i+j` are coefficients and `200+4*r+j` are held-out predictions. No decimal formatter or foreign numerical implementation sits in the executed path. -Cases 0/1 are identity and independently rotated representations with separately fitted projectors. Case 2 is the rank-two minimum-norm map from `[u,v,u+v]`; case 3 learns quadratic feature coefficients from nonlinear targets. Cases 4/5 are raw-linear and reversed-training-label controls against the same nonlinear held-out target. Cases 11/12/13 exercise an incompatible identity basis, null map and wrong transpose. Case 14 drops a genuine coordinate with rank-one PCR. `evidence/run.json` contains the observed raw output, exact source/binary digests and independent removed-metadata-guard and negated-projector mutant outputs. Mutants are temporary verification inputs, never an alternate product path. `evidence/oracle-review.jsonl` records independent Wolfram decoding and comparison of the native predictions against ground truth, not merely the harness's self-reported score. +Cases 0/1 are identity and independently rotated representations with separately fitted projectors. Case 2 is the rank-two minimum-norm map from `[u,v,u+v]`; case 3 learns quadratic feature coefficients from nonlinear targets. Cases 4/5 are raw-linear and reversed-training-label controls against the same nonlinear held-out target. Cases 11/12/13 exercise an incompatible identity basis, null map and wrong transpose. Case 14 drops a genuine coordinate with rank-one PCR. `evidence/run.json` contains structured native per-check records/counts, exact source/binary digests, raw output and mutant failure counts. Mutants are temporary verification inputs, never an alternate product path. Canonical independent numerical evidence is now `evidence/oracle-return-values.jsonl` and its returned value in `evidence/oracle-values.json`: each query returns a value explicitly, not `Print` output followed by `Null`. The NL-6 benchmark contract was frozen at benchmarks `8ee0a494bf73230c9d37647eb3caea792298fa8d` before host results. This algebra experiment does not claim the separate multi-seed task campaign, superiority, economics, real-model compatibility or independent task-completion acceptance. Numerical alignment alone cannot qualify those claims. ## Observed synthetic result -Native host campaign: **PASS**, exit 0 and failed-check count 0. The independently decoded Wolfram results are filed with their queries in `evidence/oracle-review.jsonl` and summarized without recalculation in `evidence/run.json`. Cases 0/1 have exact zero held-out NRSE; rank-two case 2 has NRSE `1.8304038191456289e-31`; nonlinear case 3 has NRSE `4.2872875283750640e-32`. Maximum feature error across those recovery cases is `1.7763568394002505e-15`. These are synthetic unitless coordinates, not measured model activation tolerances. +Native host campaign: **PASS**, exit 0, total-check count 63 and failed-check count 0 (`evidence/run.json`: `total_check_count`, `failed_check_count`, `per_check_results`). WolframLanguageEvaluator's self-contained query returns an explicit JSON value in `evidence/oracle-return-values.jsonl`; lossless decimal tokens are also filed as strings in `evidence/oracle-values.json` and `run.json` under `numerical_evidence.cases`. Cases 0/1 have exact zero held-out NRSE; case 2's returned `native.NRSE` is `1.8304038191456289e-31`; case 3's is `4.2872875283750640e-32`. Case 3's returned `native.max_error` is `1.7763568394002505e-15`. These are synthetic unitless coordinates, not measured model activation tolerances. Exact returned projector matrices are in each case's `oracle_matrix_exact`; the oracle independently reconstructs them from the fixture, without using native coefficients as ground truth. -Independent exact control oracles: nonlinear raw-linear NRSE `41/46`, reversed-label NRSE `10/23`, wrong-basis/null/transpose NRSE `2/1/4`, rank-one NRSE `1/2`. Native observations agree within the frozen thresholds and ordinary f64 rounding; the raw values, rather than rounded exact claims, are retained. Each of the five identity changes produces mismatch count 1 and refusal. Removing the metadata guard is detected with five failures; negating learned coefficients is detected with sixteen failures. Native metric reporting was independently recomputed from all held-out predictions, not accepted on self-report alone. +Independent exact control oracles: nonlinear raw-linear NRSE `41/46`, reversed-label NRSE `10/23`, wrong-basis/null/transpose NRSE `2/1/4`, rank-one NRSE `1/2` (`oracle-values.json`: each case's `oracle_NRSE_exact`). Native observations agree within the frozen thresholds and ordinary f64 rounding; the raw values, rather than rounded exact claims, are retained. Each of the five identity changes produces mismatch count 1 and refusal. `run.json.negative_controls` retains every per-check result, failed-check ID and count: removed metadata guard = 5 failures; negated learned coefficients = 16 failures; each has 63 checks and exit 1. The returned Wolfram value independently recomputes the metrics from 160 held-out prediction values and compares 52 coefficient values and 40 metrics, rather than accepting native self-report alone. Qualification limits: only the stated bounded synthetic families are exercised, not arbitrary ill-conditioned matrices. Nonconvergence refusal is implemented defensively but **NOT_RUN** as an observed failure in these convergent fixtures; rank, shape, nonfinite, zero-energy and identity refusals are exercised. No performance or condition-number superiority is claimed. Real-model alignment remains **BLOCKED** for the exact access prerequisites above; latent recurrence, GPU, energy and end-to-end authorized model-task execution remain **NOT_RUN**. + +### Evidence correction + +The first draft's `Print`/`Null` oracle record and unstructured escaped stdout were insufficiently auditable. They are superseded, not retroactively qualified: the original receipt is retained unchanged as `evidence/run-41589735-superseded.json`, with its historical oracle files. The corrected campaign emits every check result and both total/failure counts natively. The corrected Wolfram query returns all numerical comparisons as an explicit JSON value, which is copied without arithmetic into the current `run.json`. Historical narrative summaries are not the acceptance oracle. + +PR #35 remains a **draft with zero GitHub checks**, not merge-qualified. No merge is requested or performed. An executed local host receipt does not silently replace repository merge policy. diff --git a/native/alignment/check.om b/native/alignment/check.om index deb6a43..fc7454c 100644 --- a/native/alignment/check.om +++ b/native/alignment/check.om @@ -4,6 +4,7 @@ text sp " " text nl "\n" global ob uchar 32 global fail ulong 1 +global counts ulong 1 fn num v ulong to void k = ulong 0 @@ -36,6 +37,12 @@ r = write 1 nl 0 1 end fn ck b bool code ulong to void +put counts 0 add get counts 0 1 +if b +out 997 code 1 +else +out 997 code 0 +end if not b put fail 0 add get fail 0 1 out 999 code 1 @@ -254,6 +261,7 @@ campaign kind end controls out 998 0 get fail 0 +out 998 1 get counts 0 if ne get fail 0 0 ret 1 end diff --git a/native/alignment/evidence/.crumb b/native/alignment/evidence/.crumb index be55a86..ee9f5e8 100644 --- a/native/alignment/evidence/.crumb +++ b/native/alignment/evidence/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-28T14:24:47Z", + "compiled_at": "2026-10-28T14:37:43Z", "compiler": "crumb-compile/1", - "digest": "sha256:930a95b14789f5f1cc58b78d4a7374a9d733f3ea4e03caed216abc9aed695b6f", - "evidence_files": 2, - "evidence_root": "sha256:a6eec49ee7d0dae498f9fa3ba780e7e589b383ebb8cb106f940ef821fe377be3", - "files": 2, - "generated_at_commit": "1a73c2d14fa4f9aeaf2933c02d5a289c6977788a", - "source_tree": "sha256:faa8c4e02fdd9f4359770b943df8f92c52dfebe2b46e661d17a89628accd2d85" + "digest": "sha256:3a7dbc863c1935b153fef3dcf50cc47d53f6db386e2e10d8d5fcfd16309fcc89", + "evidence_files": 3, + "evidence_root": "sha256:9946e294018874f07b8fdc1d57fc6e74a58e8fc0798e1b5408d1c038c9f9618f", + "files": 3, + "generated_at_commit": "41589735fe3e28b9b508cc1dd978ecf614834889", + "source_tree": "sha256:161beabab33ae5800ee02f7a1d50ccbc4317472b3df73c03204648451e43b50e" } }, "layer": "research", diff --git a/native/alignment/evidence/oracle-return-values.jsonl b/native/alignment/evidence/oracle-return-values.jsonl new file mode 100644 index 0000000..5dc84d9 --- /dev/null +++ b/native/alignment/evidence/oracle-return-values.jsonl @@ -0,0 +1,8 @@ +{"type":"tool_execution_start","toolCallId":"toolu_01URWyHG1dZJfm1AyzgHmbpF","toolName":"mcp__wolfram_wolframlanguageevaluator","args":{"query":"Integrate[x^2,{x,0,1}]"}} +{"type":"tool_execution_end","toolCallId":"toolu_01URWyHG1dZJfm1AyzgHmbpF","toolName":"mcp__wolfram_wolframlanguageevaluator","result":{"content":[{"type":"text","text":"Validation failed for tool \"mcp__wolfram_wolframlanguageevaluator\":\n - code: is required\n\nReceived arguments:\n{\n \"query\": \"Integrate[x^2,{x,0,1}]\"\n}"}],"details":{"isError":true,"error":"Validation failed for tool \"mcp__wolfram_wolframlanguageevaluator\":\n - code: is required\n\nReceived arguments:\n{\n \"query\": \"Integrate[x^2,{x,0,1}]\"\n}"}},"isError":true} +{"type":"tool_execution_start","toolCallId":"toolu_01Sqw4ShRyMrr6rWBMF2T3Sy","toolName":"mcp__wolfram_wolframalpha","args":{"query":"sqrt(27)/2"}} +{"type":"tool_execution_end","toolCallId":"toolu_01Sqw4ShRyMrr6rWBMF2T3Sy","toolName":"mcp__wolfram_wolframalpha","result":{"content":[{"type":"text","text":"\n\n# Input\n\nsqrt(27)/2\n\n# Result\n\n(3 sqrt(3))/2\n\n# Decimal approximation\n\n2.5980762113533159402911695122588085504142078807155709420837104691...\n\n# Number line\n\n![Number line](https://public6.wolframalpha.com/files/GIF_v27ofpc2mb.gif)\n\n# Continued fraction\n\n[2; 1, 1, 2, 20, 2, 1, 1, 4^\\_]\n\n"}],"details":{"serverName":"wolfram","mcpToolName":"WolframAlpha","rawContent":[{"type":"text","text":"\n\n# Input\n\nsqrt(27)/2\n\n# Result\n\n(3 sqrt(3))/2\n\n# Decimal approximation\n\n2.5980762113533159402911695122588085504142078807155709420837104691...\n\n# Number line\n\n![Number line](https://public6.wolframalpha.com/files/GIF_v27ofpc2mb.gif)\n\n# Continued fraction\n\n[2; 1, 1, 2, 20, 2, 1, 1, 4^\\_]\n\n"}],"provider":"native","providerName":"OMP"}},"isError":false} +{"type":"tool_call","record_format":"normalized successful retry extracted from fresh OMP evaluation","tool":"mcp__wolfram_wolframlanguageevaluator","arguments":{"code":"Integrate[x^2,{x,0,1}]"}} +{"type":"tool_result","tool":"mcp__wolfram_wolframlanguageevaluator","result":{"text":"Out[1]= 1/3","details":{"serverName":"wolfram","mcpToolName":"WolframLanguageEvaluator","rawContent":[{"type":"text","text":"Out[1]= 1/3"}],"provider":"native","providerName":"OMP"}}} +{"type":"tool_call","record_format":"normalized direct call extracted from fresh OMP evaluation; exact literal query saved by that evaluation","tool":"mcp__wolfram_wolframlanguageevaluator","arguments":{"code":"Module[{raw=\"997 10 1\\n997 20 1\\n0 4 0\\n997 30 1\\n997 40 1\\n997 50 1\\n0 100 4607182418800017408\\n0 101 0\\n0 104 0\\n0 105 4607182418800017408\\n0 200 13837309855095848960\\n0 201 13830554455654793216\\n0 204 13837309855095848960\\n0 205 4607182418800017408\\n0 208 13830554455654793216\\n0 209 13837309855095848960\\n0 212 13830554455654793216\\n0 213 4613937818241073152\\n0 216 4607182418800017408\\n0 217 13837309855095848960\\n0 220 4607182418800017408\\n0 221 4613937818241073152\\n0 224 4613937818241073152\\n0 225 13830554455654793216\\n0 228 4613937818241073152\\n0 229 4607182418800017408\\n0 0 0\\n0 1 4635329916471083008\\n0 2 0\\n0 3 0\\n997 60 1\\n997 70 1\\n997 11 1\\n997 21 1\\n1 4 0\\n997 31 1\\n997 41 1\\n997 51 1\\n1 100 0\\n1 101 4607182418800017408\\n1 104 13830554455654793216\\n1 105 0\\n1 200 13837309855095848960\\n1 201 13830554455654793216\\n1 204 13837309855095848960\\n1 205 4607182418800017408\\n1 208 13830554455654793216\\n1 209 13837309855095848960\\n1 212 13830554455654793216\\n1 213 4613937818241073152\\n1 216 4607182418800017408\\n1 217 13837309855095848960\\n1 220 4607182418800017408\\n1 221 4613937818241073152\\n1 224 4613937818241073152\\n1 225 13830554455654793216\\n1 228 4613937818241073152\\n1 229 4607182418800017408\\n1 0 0\\n1 1 4635329916471083008\\n1 2 0\\n1 3 0\\n997 61 1\\n997 71 1\\n997 12 1\\n997 22 1\\n997 23 1\\n997 32 1\\n997 42 1\\n997 52 1\\n2 100 4604180019048437076\\n2 101 13823048456275842386\\n2 104 13823048456275842386\\n2 105 4604180019048437078\\n2 108 4599676419421066585\\n2 109 4599676419421066585\\n2 200 13837309855095848962\\n2 201 13830554455654793222\\n2 204 13837309855095848959\\n2 205 4607182418800017399\\n2 208 13830554455654793222\\n2 209 13837309855095848962\\n2 212 13830554455654793207\\n2 213 4613937818241073152\\n2 216 4607182418800017399\\n2 217 13837309855095848960\\n2 220 4607182418800017414\\n2 221 4613937818241073154\\n2 224 4613937818241073151\\n2 225 13830554455654793207\\n2 228 4613937818241073154\\n2 229 4607182418800017414\\n2 0 4175558134200270848\\n2 1 4635329916471083008\\n2 2 4384254237245177856\\n2 3 4147167864361792307\\n997 62 1\\n997 72 1\\n997 13 1\\n997 33 1\\n997 43 1\\n997 53 1\\n3 100 4607182418800017408\\n3 101 0\\n3 104 0\\n3 105 4607182418800017408\\n3 108 4368491638549381120\\n3 109 4607182418800017407\\n3 112 4607182418800017407\\n3 113 4368491638549381120\\n3 200 13835058055282163708\\n3 201 4620693217682128894\\n3 204 13835058055282163708\\n3 205 4621819117588971519\\n3 208 4620693217682128894\\n3 209 13835058055282163708\\n3 212 4620693217682128894\\n3 213 4616189618054758401\\n3 216 4621819117588971519\\n3 217 13835058055282163708\\n3 220 4621819117588971519\\n3 221 4616189618054758401\\n3 224 4616189618054758401\\n3 225 4620693217682128894\\n3 228 4616189618054758401\\n3 229 4621819117588971519\\n3 0 4180466354106662912\\n3 1 4649685140283326464\\n3 2 4386506037058863104\\n3 3 4137633205476780477\\n997 63 1\\n997 73 1\\n997 14 1\\n997 34 1\\n997 54 1\\n4 100 4607182418800017408\\n4 101 0\\n4 104 0\\n4 105 4607182418800017408\\n4 200 13837309855095848960\\n4 201 13830554455654793216\\n4 204 13837309855095848960\\n4 205 4607182418800017408\\n4 208 13830554455654793216\\n4 209 13837309855095848960\\n4 212 13830554455654793216\\n4 213 4613937818241073152\\n4 216 4607182418800017408\\n4 217 13837309855095848960\\n4 220 4607182418800017408\\n4 221 4613937818241073152\\n4 224 4613937818241073152\\n4 225 13830554455654793216\\n4 228 4613937818241073152\\n4 229 4607182418800017408\\n4 0 4648981452841549824\\n4 1 4649685140283326464\\n4 2 4621256167635550208\\n4 3 4606203375402762952\\n997 84 1\\n997 15 1\\n997 35 1\\n997 55 1\\n5 100 13830554455654793216\\n5 101 0\\n5 104 0\\n5 105 13830554455654793216\\n5 108 4368491638549381120\\n5 109 4607182418800017407\\n5 112 4607182418800017407\\n5 113 4368491638549381120\\n5 200 4616189618054758401\\n5 201 4621819117588971519\\n5 204 4616189618054758401\\n5 205 4620693217682128894\\n5 208 4621819117588971519\\n5 209 4616189618054758401\\n5 212 4621819117588971519\\n5 213 13835058055282163708\\n5 216 4620693217682128894\\n5 217 4616189618054758401\\n5 220 4620693217682128894\\n5 221 13835058055282163708\\n5 224 13835058055282163708\\n5 225 4621819117588971519\\n5 228 13835058055282163708\\n5 229 4620693217682128894\\n5 0 4644337115725824001\\n5 1 4649685140283326464\\n5 2 4618441417868443649\\n5 3 4601503967095941567\\n997 85 1\\n997 100 1\\n997 110 1\\n997 120 1\\n10 0 1\\n997 111 1\\n997 121 1\\n10 1 1\\n997 112 1\\n997 122 1\\n10 2 1\\n997 113 1\\n997 123 1\\n10 3 1\\n997 114 1\\n997 124 1\\n10 4 1\\n997 130 1\\n997 131 1\\n11 100 4607182418800017408\\n11 101 0\\n11 104 0\\n11 105 4607182418800017408\\n11 200 13830554455654793216\\n11 201 4613937818241073152\\n11 204 4607182418800017408\\n11 205 4613937818241073152\\n11 208 13837309855095848960\\n11 209 4607182418800017408\\n11 212 4613937818241073152\\n11 213 4607182418800017408\\n11 216 13837309855095848960\\n11 217 13830554455654793216\\n11 220 4613937818241073152\\n11 221 13830554455654793216\\n11 224 13830554455654793216\\n11 225 13837309855095848960\\n11 228 4607182418800017408\\n11 229 13837309855095848960\\n11 0 4639833516098453504\\n11 1 4635329916471083008\\n11 2 4616189618054758400\\n11 3 4611686018427387904\\n997 132 1\\n997 133 1\\n12 100 0\\n12 101 0\\n12 104 0\\n12 105 0\\n12 200 0\\n12 201 0\\n12 204 0\\n12 205 0\\n12 208 0\\n12 209 0\\n12 212 0\\n12 213 0\\n12 216 0\\n12 217 0\\n12 220 0\\n12 221 0\\n12 224 0\\n12 225 0\\n12 228 0\\n12 229 0\\n12 0 4635329916471083008\\n12 1 4635329916471083008\\n12 2 4613937818241073152\\n12 3 4607182418800017408\\n997 134 1\\n997 135 1\\n13 100 0\\n13 101 13830554455654793216\\n13 104 4607182418800017408\\n13 105 0\\n13 200 4613937818241073152\\n13 201 4607182418800017408\\n13 204 4613937818241073152\\n13 205 13830554455654793216\\n13 208 4607182418800017408\\n13 209 4613937818241073152\\n13 212 4607182418800017408\\n13 213 13837309855095848960\\n13 216 13830554455654793216\\n13 217 4613937818241073152\\n13 220 13830554455654793216\\n13 221 13837309855095848960\\n13 224 13837309855095848960\\n13 225 4607182418800017408\\n13 228 13837309855095848960\\n13 229 13830554455654793216\\n13 0 4644337115725824000\\n13 1 4635329916471083008\\n13 2 4618441417868443648\\n13 3 4616189618054758400\\n997 140 1\\n997 141 1\\n997 142 1\\n997 143 1\\n997 144 1\\n997 145 1\\n997 146 1\\n997 150 1\\n997 151 1\\n997 152 1\\n14 100 4595172819793696087\\n14 101 4595172819793696087\\n14 104 4595172819793696087\\n14 105 4595172819793696087\\n14 108 4599676419421066585\\n14 109 4599676419421066585\\n14 200 13835058055282163714\\n14 201 13835058055282163714\\n14 204 13830554455654793218\\n14 205 13830554455654793218\\n14 208 13835058055282163714\\n14 209 13835058055282163714\\n14 212 4607182418800017410\\n14 213 4607182418800017410\\n14 216 13830554455654793218\\n14 217 13830554455654793218\\n14 220 4611686018427387906\\n14 221 4611686018427387906\\n14 224 4607182418800017410\\n14 225 4607182418800017410\\n14 228 4611686018427387906\\n14 229 4611686018427387906\\n14 0 4630826316843712512\\n14 1 4635329916471083008\\n14 2 4611686018427387905\\n14 3 4602678819172646912\\n998 0 0\\n998 1 63\\n\", rows, dec, finite, get, t, u, rot, phi, target, redundant, ids, x, xu, y, b, c, gram, eig, v, oracle, cases, checks, failures, totals, metadata, fmt, num, metrics, all, finiteTests},\nrows = (ToExpression /@ StringSplit[#]) & /@ StringSplit[StringTrim[raw], \"\\n\"];\ndec[n_Integer] := Module[{d=IntegerDigits[n,2,64],s,e,f},s=First[d]; e=FromDigits[Take[d,{2,12}],2]; f=FromDigits[Take[d,{13,64}],2]; If[e==2047, If[f==0,If[s==0,Infinity,-Infinity],Indeterminate], (-1)^s If[e==0,f 2^-1074,(1+f/2^52)2^(e-1023)]]];\nfinite[n_Integer] := BitAnd[n,9223372036854775807]<9218868437227405312;\nget[k_,field_] := dec[First[Select[rows,#[[1]]==k && #[[2]]==field &]][[3]]];\nfmt[z_] := ToString[z,InputForm]; num[z_] := N[z,17];\nt={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}};\nu={{-3,-1},{-3,1},{-1,-3},{-1,3},{1,-3},{1,3},{3,-1},{3,1}}; rot={{0,-1},{1,0}};\nphi[z_] := ({#[[1]],#[[2]],#[[1]]^2,#[[2]]^2}& /@ z);\ntarget[z_] := ({#[[1]]+#[[2]]^2,#[[2]]+#[[1]]^2}& /@ z);\nredundant[z_] := ({#[[1]],#[[2]],#[[1]]+#[[2]]}& /@ z);\nids={0,1,2,3,4,5,11,12,13,14};\nmetrics[p_,truth_] := With[{rss=Total[Flatten[(p-truth)^2]],en=Total[Flatten[truth^2]]}, {rss,en,Max[Abs[Flatten[p-truth]]],rss/en}];\ncases=Association@Table[\nx=Switch[k,1|11|13,t.rot,2|14,redundant[t],3|5,phi[t],_,t];\nxu=Switch[k,1|11|13,u.rot,2|14,redundant[u],3|5,phi[u],_,u];\ny=If[MemberQ[{3,4,5},k],target[t],t];\nb=Switch[k,1,c=Transpose[x].y; Simplify[c.MatrixPower[Transpose[c].c,-1/2]],11,IdentityMatrix[2],12,ConstantArray[0,{2,2}],13,c=Transpose[x].y; Transpose[Simplify[c.MatrixPower[Transpose[c].c,-1/2]]],14,gram=Transpose[x].x; eig=Eigensystem[gram]; v=Normalize[eig[[2,First[Ordering[eig[[1]],-1]]]]]; Simplify[Outer[Times,v,v].Transpose[x].y/Max[eig[[1]]]],5,PseudoInverse[x].Reverse[y],_,PseudoInverse[x].y];\nWith[{truth=If[MemberQ[{3,4,5},k],target[u],u],coef=Table[get[k,100+4i+j],{i,0,Length[b]-1},{j,0,1}],pred=Table[get[k,200+4r+j],{r,0,7},{j,0,1}],reported=Table[get[k,j],{j,0,3}],op=xu.b},\nWith[{recomputed=metrics[pred,truth],om=metrics[op,truth],ce=Max[Abs[Flatten[coef-b]]],pe=Max[Abs[Flatten[pred-op]]]},\nToString[k]-><|\"native\"->AssociationThread[{\"RSS\",\"energy\",\"max_error\",\"NRSE\"},num /@ reported],\"recomputed\"->AssociationThread[{\"RSS\",\"energy\",\"max_error\",\"NRSE\"},num /@ recomputed],\"metric_pass_1e12\"->Thread[Abs[reported-recomputed]<=10^-12],\"metrics_pass\"->And@@Thread[Abs[reported-recomputed]<=10^-12],\"oracle_matrix_exact\"->fmt[b],\"oracle_NRSE_exact\"->fmt[om[[4]]],\"coef_maxerr\"->num[ce],\"pred_maxerr\"->num[pe],\"coef_pass_1e6\"->TrueQ[ce<=10^-6],\"pred_pass_1e6\"->TrueQ[pe<=10^-6],\"native_recovery\"->TrueQ[reported[[4]]<=10^-12 && reported[[3]]<=10^-6],\"recomputed_recovery\"->TrueQ[recomputed[[4]]<=10^-12 && recomputed[[3]]<=10^-6],\"recovery_pass\"->TrueQ[(recomputed[[4]]<=10^-12 && recomputed[[3]]<=10^-6)==MemberQ[{0,1,2,3},k]],\"orthogonality\"->If[MemberQ[{0,1},k],<|\"native_ortherr\"->num[get[k,4]],\"recomputed_ortherr\"->num[Max[Abs[Flatten[Transpose[coef].coef-IdentityMatrix[2]]]]],\"oracle_ortherr\"->num[Max[Abs[Flatten[Transpose[b].b-IdentityMatrix[2]]]]],\"tolerance_pass\"->TrueQ[Abs[get[k,4]-Max[Abs[Flatten[Transpose[coef].coef-IdentityMatrix[2]]]]]<=10^-12]|>,Null]|>]],{k,ids}];\nchecks=Select[rows,First[#]==997&]; failures=Select[checks,#[[3]]!=1&]; totals=Select[rows,First[#]==998&]; metadata=Select[rows,First[#]==10&];\nfiniteTests=<|\"mask\"->9223372036854775807,\"infinity\"->9218868437227405312,\"quietNaN\"->9221120237041090560,\"mask_matches_2pow63_minus1\"->TrueQ[9223372036854775807==2^63-1],\"infinity_exponent_fraction\"->TrueQ[9218868437227405312==2047*2^52],\"quietNaN_exponent_fraction\"->TrueQ[9221120237041090560==2047*2^52+2^51],\"positive_infinity_rejected\"->Not[finite[9218868437227405312]],\"negative_infinity_rejected\"->Not[finite[9218868437227405312+2^63]],\"quietNaN_rejected\"->Not[finite[9221120237041090560]],\"negative_quietNaN_rejected\"->Not[finite[9221120237041090560+2^63]],\"positive_zero_accepted\"->finite[0],\"negative_zero_accepted\"->finite[2^63],\"largest_finite_accepted\"->finite[9218868437227405311],\"negative_largest_finite_accepted\"->finite[9218868437227405311+2^63],\"smallest_subnormal_exact\"->\"2^(-1074)\",\"smallest_subnormal_decoder_pass\"->TrueQ[dec[1]==2^-1074],\"one_decodes_exactly\"->TrueQ[dec[4607182418800017408]==1],\"negative_one_decodes_exactly\"->TrueQ[dec[13830554455654793216]==-1],\"all_observed_float_words_finite\"->And@@(finite /@ Select[rows,!MemberQ[{10,997,998},First[#]]&][[All,3]])|>;\nall=Values[cases];\nExportString[<|\"scope\"->\"supplied host observations only; no new execution\",\"source\"->\"/tmp/nl2-current-native.stdout\",\"decoder\"->\"exact unsigned binary64; rational until N[...,17]\",\"NRSE_definition\"->\"RSS/energy (not square root)\",\"polar_convention\"->\"C=Transpose[t.rot].t; C.(Transpose[C].C)^(-1/2)\",\"rank1_method\"->\"exact Gram top-1 spectral inverse\",\"cases\"->cases,\"finite_predicate\"->finiteTests,\"native_total_check_count\"->Length[checks],\"failed_check_count\"->Length[failures],\"failed_check_ids\"->If[failures=={},{},failures[[All,2]]],\"reported_totals_998\"->totals,\"total_count_consistent\"->TrueQ[First[Select[totals,#[[2]]==1&]][[3]]==Length[checks]],\"failure_count_consistent\"->TrueQ[First[Select[totals,#[[2]]==0&]][[3]]==Length[failures]],\"metadata_10\"->metadata,\"metadata_mismatchcounts_all_one\"->TrueQ[Sort[metadata]==Table[{10,j,1},{j,0,4}]],\"observation_line_count\"->Length[rows],\"case_count\"->Length[ids],\"coefficient_value_count\"->Total[2 Length[ToExpression[#[\"oracle_matrix_exact\"]]]& /@ all],\"prediction_value_count\"->Length[ids]*8*2,\"metric_comparison_count\"->Length[ids]*4,\"all_coefficients_pass\"->And@@Lookup[all,\"coef_pass_1e6\"],\"all_predictions_pass\"->And@@Lookup[all,\"pred_pass_1e6\"],\"all_metrics_pass\"->And@@Lookup[all,\"metrics_pass\"],\"all_recovery_expectations_pass\"->And@@Lookup[all,\"recovery_pass\"]|>,\"RawJSON\",\"Compact\"->True]\n]"}} +{"type":"tool_result","tool":"mcp__wolfram_wolframlanguageevaluator","result":{"text":"Out[1]= \"{\\\"scope\\\":\\\"supplied host observations only; no new execution\\\",\\\"source\\\":\\\"\\\\/tmp\\\\/nl2-current-native.stdout\\\",\\\"decoder\\\":\\\"exact unsigned binary64; rational until N[...,17]\\\",\\\"NRSE_definition\\\":\\\"RSS\\\\/energy (not square root)\\\",\\\"polar_convention\\\":\\\"C=Transpose[t.rot].t; C.(Transpose[C].C)^(-1\\\\/2)\\\",\\\"rank1_method\\\":\\\"exact Gram top-1 spectral inverse\\\",\\\"cases\\\":{\\\"0\\\":{\\\"native\\\":{\\\"RSS\\\":0,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":0,\\\"NRSE\\\":0},\\\"recomputed\\\":{\\\"RSS\\\":0,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":0,\\\"NRSE\\\":0},\\\"metric_pass_1e12\\\":[true,true,true,true],\\\"metrics_pass\\\":true,\\\"oracle_matrix_exact\\\":\\\"{{1, 0}, {0, 1}}\\\",\\\"oracle_NRSE_exact\\\":\\\"0\\\",\\\"coef_maxerr\\\":0,\\\"pred_maxerr\\\":0,\\\"coef_pass_1e6\\\":true,\\\"pred_pass_1e6\\\":true,\\\"native_recovery\\\":true,\\\"recomputed_recovery\\\":true,\\\"recovery_pass\\\":true,\\\"orthogonality\\\":{\\\"native_ortherr\\\":0,\\\"recomputed_ortherr\\\":0,\\\"oracle_ortherr\\\":0,\\\"tolerance_pass\\\":true}},\\\"1\\\":{\\\"native\\\":{\\\"RSS\\\":0,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":0,\\\"NRSE\\\":0},\\\"recomputed\\\":{\\\"RSS\\\":0,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":0,\\\"NRSE\\\":0},\\\"metric_pass_1e12\\\":[true,true,true,true],\\\"metrics_pass\\\":true,\\\"oracle_matrix_exact\\\":\\\"{{0, 1}, {-1, 0}}\\\",\\\"oracle_NRSE_exact\\\":\\\"0\\\",\\\"coef_maxerr\\\":0,\\\"pred_maxerr\\\":0,\\\"coef_pass_1e6\\\":true,\\\"pred_pass_1e6\\\":true,\\\"native_recovery\\\":true,\\\"recomputed_recovery\\\":true,\\\"recovery_pass\\\":true,\\\"orthogonality\\\":{\\\"native_ortherr\\\":0,\\\"recomputed_ortherr\\\":0,\\\"oracle_ortherr\\\":0,\\\"tolerance_pass\\\":true}},\\\"2\\\":{\\\"native\\\":{\\\"RSS\\\":1.4643230553165032e-29,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":1.3322676295501878e-15,\\\"NRSE\\\":1.8304038191456289e-31},\\\"recomputed\\\":{\\\"RSS\\\":1.4643230553165032e-29,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":1.3322676295501878e-15,\\\"NRSE\\\":1.8304038191456290e-31},\\\"metric_pass_1e12\\\":[true,true,true,true],\\\"metrics_pass\\\":true,\\\"oracle_matrix_exact\\\":\\\"{{2\\\\/3, -1\\\\/3}, {-1\\\\/3, 2\\\\/3}, {1\\\\/3, 1\\\\/3}}\\\",\\\"oracle_NRSE_exact\\\":\\\"0\\\",\\\"coef_maxerr\\\":2.0354088784794537e-16,\\\"pred_maxerr\\\":1.3322676295501878e-15,\\\"coef_pass_1e6\\\":true,\\\"pred_pass_1e6\\\":true,\\\"native_recovery\\\":true,\\\"recomputed_recovery\\\":true,\\\"recovery_pass\\\":true,\\\"orthogonality\\\":null},\\\"3\\\":{\\\"native\\\":{\\\"RSS\\\":3.1554436208840472e-29,\\\"energy\\\":736.00000000000000,\\\"max_error\\\":1.7763568394002505e-15,\\\"NRSE\\\":4.2872875283750640e-32},\\\"recomputed\\\":{\\\"RSS\\\":3.1554436208840472e-29,\\\"energy\\\":736.00000000000000,\\\"max_error\\\":1.7763568394002505e-15,\\\"NRSE\\\":4.2872875283750642e-32},\\\"metric_pass_1e12\\\":[true,true,true,true],\\\"metrics_pass\\\":true,\\\"oracle_matrix_exact\\\":\\\"{{1, 0}, {0, 1}, {0, 1}, {1, 0}}\\\",\\\"oracle_NRSE_exact\\\":\\\"0\\\",\\\"coef_maxerr\\\":1.1102230246251565e-16,\\\"pred_maxerr\\\":1.7763568394002505e-15,\\\"coef_pass_1e6\\\":true,\\\"pred_pass_1e6\\\":true,\\\"native_recovery\\\":true,\\\"recomputed_recovery\\\":true,\\\"recovery_pass\\\":true,\\\"orthogonality\\\":null},\\\"4\\\":{\\\"native\\\":{\\\"RSS\\\":656.00000000000000,\\\"energy\\\":736.00000000000000,\\\"max_error\\\":9.0000000000000000,\\\"NRSE\\\":0.89130434782608692},\\\"recomputed\\\":{\\\"RSS\\\":656.00000000000000,\\\"energy\\\":736.00000000000000,\\\"max_error\\\":9.0000000000000000,\\\"NRSE\\\":0.89130434782608696},\\\"metric_pass_1e12\\\":[true,true,true,true],\\\"metrics_pass\\\":true,\\\"oracle_matrix_exact\\\":\\\"{{1, 0}, {0, 1}}\\\",\\\"oracle_NRSE_exact\\\":\\\"41\\\\/46\\\",\\\"coef_maxerr\\\":0,\\\"pred_maxerr\\\":0,\\\"coef_pass_1e6\\\":true,\\\"pred_pass_1e6\\\":true,\\\"native_recovery\\\":false,\\\"recomputed_recovery\\\":false,\\\"recovery_pass\\\":true,\\\"orthogonality\\\":null},\\\"5\\\":{\\\"native\\\":{\\\"RSS\\\":320.00000000000006,\\\"energy\\\":736.00000000000000,\\\"max_error\\\":6.0000000000000009,\\\"NRSE\\\":0.43478260869565227},\\\"recomputed\\\":{\\\"RSS\\\":320.00000000000000,\\\"energy\\\":736.00000000000000,\\\"max_error\\\":6.0000000000000009,\\\"NRSE\\\":0.43478260869565217},\\\"metric_pass_1e12\\\":[true,true,true,true],\\\"metrics_pass\\\":true,\\\"oracle_matrix_exact\\\":\\\"{{-1, 0}, {0, -1}, {0, 1}, {1, 0}}\\\",\\\"oracle_NRSE_exact\\\":\\\"10\\\\/23\\\",\\\"coef_maxerr\\\":1.1102230246251565e-16,\\\"pred_maxerr\\\":1.7763568394002505e-15,\\\"coef_pass_1e6\\\":true,\\\"pred_pass_1e6\\\":true,\\\"native_recovery\\\":false,\\\"recomputed_recovery\\\":false,\\\"recovery_pass\\\":true,\\\"orthogonality\\\":null},\\\"11\\\":{\\\"native\\\":{\\\"RSS\\\":160.00000000000000,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":4.0000000000000000,\\\"NRSE\\\":2.0000000000000000},\\\"recomputed\\\":{\\\"RSS\\\":160.00000000000000,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":4.0000000000000000,\\\"NRSE\\\":2.0000000000000000},\\\"metric_pass_1e12\\\":[true,true,true,true],\\\"metrics_pass\\\":true,\\\"oracle_matrix_exact\\\":\\\"{{1, 0}, {0, 1}}\\\",\\\"oracle_NRSE_exact\\\":\\\"2\\\",\\\"coef_maxerr\\\":0,\\\"pred_maxerr\\\":0,\\\"coef_pass_1e6\\\":true,\\\"pred_pass_1e6\\\":true,\\\"native_recovery\\\":false,\\\"recomputed_recovery\\\":false,\\\"recovery_pass\\\":true,\\\"orthogonality\\\":null},\\\"12\\\":{\\\"native\\\":{\\\"RSS\\\":80.000000000000000,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":3.0000000000000000,\\\"NRSE\\\":1.0000000000000000},\\\"recomputed\\\":{\\\"RSS\\\":80.000000000000000,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":3.0000000000000000,\\\"NRSE\\\":1.0000000000000000},\\\"metric_pass_1e12\\\":[true,true,true,true],\\\"metrics_pass\\\":true,\\\"oracle_matrix_exact\\\":\\\"{{0, 0}, {0, 0}}\\\",\\\"oracle_NRSE_exact\\\":\\\"1\\\",\\\"coef_maxerr\\\":0,\\\"pred_maxerr\\\":0,\\\"coef_pass_1e6\\\":true,\\\"pred_pass_1e6\\\":true,\\\"native_recovery\\\":false,\\\"recomputed_recovery\\\":false,\\\"recovery_pass\\\":true,\\\"orthogonality\\\":null},\\\"13\\\":{\\\"native\\\":{\\\"RSS\\\":320.00000000000000,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":6.0000000000000000,\\\"NRSE\\\":4.0000000000000000},\\\"recomputed\\\":{\\\"RSS\\\":320.00000000000000,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":6.0000000000000000,\\\"NRSE\\\":4.0000000000000000},\\\"metric_pass_1e12\\\":[true,true,true,true],\\\"metrics_pass\\\":true,\\\"oracle_matrix_exact\\\":\\\"{{0, -1}, {1, 0}}\\\",\\\"oracle_NRSE_exact\\\":\\\"4\\\",\\\"coef_maxerr\\\":0,\\\"pred_maxerr\\\":0,\\\"coef_pass_1e6\\\":true,\\\"pred_pass_1e6\\\":true,\\\"native_recovery\\\":false,\\\"recomputed_recovery\\\":false,\\\"recovery_pass\\\":true,\\\"orthogonality\\\":null},\\\"14\\\":{\\\"native\\\":{\\\"RSS\\\":40.000000000000000,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":2.0000000000000004,\\\"NRSE\\\":0.50000000000000000},\\\"recomputed\\\":{\\\"RSS\\\":40.000000000000000,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":2.0000000000000004,\\\"NRSE\\\":0.50000000000000000},\\\"metric_pass_1e12\\\":[true,true,true,true],\\\"metrics_pass\\\":true,\\\"oracle_matrix_exact\\\":\\\"{{1\\\\/6, 1\\\\/6}, {1\\\\/6, 1\\\\/6}, {1\\\\/3, 1\\\\/3}}\\\",\\\"oracle_NRSE_exact\\\":\\\"1\\\\/2\\\",\\\"coef_maxerr\\\":2.0354088784794537e-16,\\\"pred_maxerr\\\":8.8817841970012523e-16,\\\"coef_pass_1e6\\\":true,\\\"pred_pass_1e6\\\":true,\\\"native_recovery\\\":false,\\\"recomputed_recovery\\\":false,\\\"recovery_pass\\\":true,\\\"orthogonality\\\":null}},\\\"finite_predicate\\\":{\\\"mask\\\":9223372036854775807,\\\"infinity\\\":9218868437227405312,\\\"quietNaN\\\":9221120237041090560,\\\"mask_matches_2pow63_minus1\\\":true,\\\"infinity_exponent_fraction\\\":true,\\\"quietNaN_exponent_fraction\\\":true,\\\"positive_infinity_rejected\\\":true,\\\"negative_infinity_rejected\\\":true,\\\"quietNaN_rejected\\\":true,\\\"negative_quietNaN_rejected\\\":true,\\\"positive_zero_accepted\\\":true,\\\"negative_zero_accepted\\\":true,\\\"largest_finite_accepted\\\":true,\\\"negative_largest_finite_accepted\\\":true,\\\"smallest_subnormal_exact\\\":\\\"2^(-1074)\\\",\\\"smallest_subnormal_decoder_pass\\\":true,\\\"one_decodes_exactly\\\":true,\\\"negative_one_decodes_exactly\\\":true,\\\"all_observed_float_words_finite\\\":true},\\\"native_total_check_count\\\":63,\\\"failed_check_count\\\":0,\\\"failed_check_ids\\\":[],\\\"reported_totals_998\\\":[[998,0,0],[998,1,63]],\\\"total_count_consistent\\\":true,\\\"failure_count_consistent\\\":true,\\\"metadata_10\\\":[[10,0,1],[10,1,1],[10,2,1],[10,3,1],[10,4,1]],\\\"metadata_mismatchcounts_all_one\\\":true,\\\"observation_line_count\\\":324,\\\"case_count\\\":10,\\\"coefficient_value_count\\\":52,\\\"prediction_value_count\\\":160,\\\"metric_comparison_count\\\":40,\\\"all_coefficients_pass\\\":true,\\\"all_predictions_pass\\\":true,\\\"all_metrics_pass\\\":true,\\\"all_recovery_expectations_pass\\\":true}\"","details":{"serverName":"wolfram","mcpToolName":"WolframLanguageEvaluator","rawContent":[{"type":"text","text":"Out[1]= \"{\\\"scope\\\":\\\"supplied host observations only; no new execution\\\",\\\"source\\\":\\\"\\\\/tmp\\\\/nl2-current-native.stdout\\\",\\\"decoder\\\":\\\"exact unsigned binary64; rational until N[...,17]\\\",\\\"NRSE_definition\\\":\\\"RSS\\\\/energy (not square root)\\\",\\\"polar_convention\\\":\\\"C=Transpose[t.rot].t; C.(Transpose[C].C)^(-1\\\\/2)\\\",\\\"rank1_method\\\":\\\"exact Gram top-1 spectral inverse\\\",\\\"cases\\\":{\\\"0\\\":{\\\"native\\\":{\\\"RSS\\\":0,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":0,\\\"NRSE\\\":0},\\\"recomputed\\\":{\\\"RSS\\\":0,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":0,\\\"NRSE\\\":0},\\\"metric_pass_1e12\\\":[true,true,true,true],\\\"metrics_pass\\\":true,\\\"oracle_matrix_exact\\\":\\\"{{1, 0}, {0, 1}}\\\",\\\"oracle_NRSE_exact\\\":\\\"0\\\",\\\"coef_maxerr\\\":0,\\\"pred_maxerr\\\":0,\\\"coef_pass_1e6\\\":true,\\\"pred_pass_1e6\\\":true,\\\"native_recovery\\\":true,\\\"recomputed_recovery\\\":true,\\\"recovery_pass\\\":true,\\\"orthogonality\\\":{\\\"native_ortherr\\\":0,\\\"recomputed_ortherr\\\":0,\\\"oracle_ortherr\\\":0,\\\"tolerance_pass\\\":true}},\\\"1\\\":{\\\"native\\\":{\\\"RSS\\\":0,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":0,\\\"NRSE\\\":0},\\\"recomputed\\\":{\\\"RSS\\\":0,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":0,\\\"NRSE\\\":0},\\\"metric_pass_1e12\\\":[true,true,true,true],\\\"metrics_pass\\\":true,\\\"oracle_matrix_exact\\\":\\\"{{0, 1}, {-1, 0}}\\\",\\\"oracle_NRSE_exact\\\":\\\"0\\\",\\\"coef_maxerr\\\":0,\\\"pred_maxerr\\\":0,\\\"coef_pass_1e6\\\":true,\\\"pred_pass_1e6\\\":true,\\\"native_recovery\\\":true,\\\"recomputed_recovery\\\":true,\\\"recovery_pass\\\":true,\\\"orthogonality\\\":{\\\"native_ortherr\\\":0,\\\"recomputed_ortherr\\\":0,\\\"oracle_ortherr\\\":0,\\\"tolerance_pass\\\":true}},\\\"2\\\":{\\\"native\\\":{\\\"RSS\\\":1.4643230553165032e-29,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":1.3322676295501878e-15,\\\"NRSE\\\":1.8304038191456289e-31},\\\"recomputed\\\":{\\\"RSS\\\":1.4643230553165032e-29,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":1.3322676295501878e-15,\\\"NRSE\\\":1.8304038191456290e-31},\\\"metric_pass_1e12\\\":[true,true,true,true],\\\"metrics_pass\\\":true,\\\"oracle_matrix_exact\\\":\\\"{{2\\\\/3, -1\\\\/3}, {-1\\\\/3, 2\\\\/3}, {1\\\\/3, 1\\\\/3}}\\\",\\\"oracle_NRSE_exact\\\":\\\"0\\\",\\\"coef_maxerr\\\":2.0354088784794537e-16,\\\"pred_maxerr\\\":1.3322676295501878e-15,\\\"coef_pass_1e6\\\":true,\\\"pred_pass_1e6\\\":true,\\\"native_recovery\\\":true,\\\"recomputed_recovery\\\":true,\\\"recovery_pass\\\":true,\\\"orthogonality\\\":null},\\\"3\\\":{\\\"native\\\":{\\\"RSS\\\":3.1554436208840472e-29,\\\"energy\\\":736.00000000000000,\\\"max_error\\\":1.7763568394002505e-15,\\\"NRSE\\\":4.2872875283750640e-32},\\\"recomputed\\\":{\\\"RSS\\\":3.1554436208840472e-29,\\\"energy\\\":736.00000000000000,\\\"max_error\\\":1.7763568394002505e-15,\\\"NRSE\\\":4.2872875283750642e-32},\\\"metric_pass_1e12\\\":[true,true,true,true],\\\"metrics_pass\\\":true,\\\"oracle_matrix_exact\\\":\\\"{{1, 0}, {0, 1}, {0, 1}, {1, 0}}\\\",\\\"oracle_NRSE_exact\\\":\\\"0\\\",\\\"coef_maxerr\\\":1.1102230246251565e-16,\\\"pred_maxerr\\\":1.7763568394002505e-15,\\\"coef_pass_1e6\\\":true,\\\"pred_pass_1e6\\\":true,\\\"native_recovery\\\":true,\\\"recomputed_recovery\\\":true,\\\"recovery_pass\\\":true,\\\"orthogonality\\\":null},\\\"4\\\":{\\\"native\\\":{\\\"RSS\\\":656.00000000000000,\\\"energy\\\":736.00000000000000,\\\"max_error\\\":9.0000000000000000,\\\"NRSE\\\":0.89130434782608692},\\\"recomputed\\\":{\\\"RSS\\\":656.00000000000000,\\\"energy\\\":736.00000000000000,\\\"max_error\\\":9.0000000000000000,\\\"NRSE\\\":0.89130434782608696},\\\"metric_pass_1e12\\\":[true,true,true,true],\\\"metrics_pass\\\":true,\\\"oracle_matrix_exact\\\":\\\"{{1, 0}, {0, 1}}\\\",\\\"oracle_NRSE_exact\\\":\\\"41\\\\/46\\\",\\\"coef_maxerr\\\":0,\\\"pred_maxerr\\\":0,\\\"coef_pass_1e6\\\":true,\\\"pred_pass_1e6\\\":true,\\\"native_recovery\\\":false,\\\"recomputed_recovery\\\":false,\\\"recovery_pass\\\":true,\\\"orthogonality\\\":null},\\\"5\\\":{\\\"native\\\":{\\\"RSS\\\":320.00000000000006,\\\"energy\\\":736.00000000000000,\\\"max_error\\\":6.0000000000000009,\\\"NRSE\\\":0.43478260869565227},\\\"recomputed\\\":{\\\"RSS\\\":320.00000000000000,\\\"energy\\\":736.00000000000000,\\\"max_error\\\":6.0000000000000009,\\\"NRSE\\\":0.43478260869565217},\\\"metric_pass_1e12\\\":[true,true,true,true],\\\"metrics_pass\\\":true,\\\"oracle_matrix_exact\\\":\\\"{{-1, 0}, {0, -1}, {0, 1}, {1, 0}}\\\",\\\"oracle_NRSE_exact\\\":\\\"10\\\\/23\\\",\\\"coef_maxerr\\\":1.1102230246251565e-16,\\\"pred_maxerr\\\":1.7763568394002505e-15,\\\"coef_pass_1e6\\\":true,\\\"pred_pass_1e6\\\":true,\\\"native_recovery\\\":false,\\\"recomputed_recovery\\\":false,\\\"recovery_pass\\\":true,\\\"orthogonality\\\":null},\\\"11\\\":{\\\"native\\\":{\\\"RSS\\\":160.00000000000000,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":4.0000000000000000,\\\"NRSE\\\":2.0000000000000000},\\\"recomputed\\\":{\\\"RSS\\\":160.00000000000000,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":4.0000000000000000,\\\"NRSE\\\":2.0000000000000000},\\\"metric_pass_1e12\\\":[true,true,true,true],\\\"metrics_pass\\\":true,\\\"oracle_matrix_exact\\\":\\\"{{1, 0}, {0, 1}}\\\",\\\"oracle_NRSE_exact\\\":\\\"2\\\",\\\"coef_maxerr\\\":0,\\\"pred_maxerr\\\":0,\\\"coef_pass_1e6\\\":true,\\\"pred_pass_1e6\\\":true,\\\"native_recovery\\\":false,\\\"recomputed_recovery\\\":false,\\\"recovery_pass\\\":true,\\\"orthogonality\\\":null},\\\"12\\\":{\\\"native\\\":{\\\"RSS\\\":80.000000000000000,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":3.0000000000000000,\\\"NRSE\\\":1.0000000000000000},\\\"recomputed\\\":{\\\"RSS\\\":80.000000000000000,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":3.0000000000000000,\\\"NRSE\\\":1.0000000000000000},\\\"metric_pass_1e12\\\":[true,true,true,true],\\\"metrics_pass\\\":true,\\\"oracle_matrix_exact\\\":\\\"{{0, 0}, {0, 0}}\\\",\\\"oracle_NRSE_exact\\\":\\\"1\\\",\\\"coef_maxerr\\\":0,\\\"pred_maxerr\\\":0,\\\"coef_pass_1e6\\\":true,\\\"pred_pass_1e6\\\":true,\\\"native_recovery\\\":false,\\\"recomputed_recovery\\\":false,\\\"recovery_pass\\\":true,\\\"orthogonality\\\":null},\\\"13\\\":{\\\"native\\\":{\\\"RSS\\\":320.00000000000000,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":6.0000000000000000,\\\"NRSE\\\":4.0000000000000000},\\\"recomputed\\\":{\\\"RSS\\\":320.00000000000000,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":6.0000000000000000,\\\"NRSE\\\":4.0000000000000000},\\\"metric_pass_1e12\\\":[true,true,true,true],\\\"metrics_pass\\\":true,\\\"oracle_matrix_exact\\\":\\\"{{0, -1}, {1, 0}}\\\",\\\"oracle_NRSE_exact\\\":\\\"4\\\",\\\"coef_maxerr\\\":0,\\\"pred_maxerr\\\":0,\\\"coef_pass_1e6\\\":true,\\\"pred_pass_1e6\\\":true,\\\"native_recovery\\\":false,\\\"recomputed_recovery\\\":false,\\\"recovery_pass\\\":true,\\\"orthogonality\\\":null},\\\"14\\\":{\\\"native\\\":{\\\"RSS\\\":40.000000000000000,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":2.0000000000000004,\\\"NRSE\\\":0.50000000000000000},\\\"recomputed\\\":{\\\"RSS\\\":40.000000000000000,\\\"energy\\\":80.000000000000000,\\\"max_error\\\":2.0000000000000004,\\\"NRSE\\\":0.50000000000000000},\\\"metric_pass_1e12\\\":[true,true,true,true],\\\"metrics_pass\\\":true,\\\"oracle_matrix_exact\\\":\\\"{{1\\\\/6, 1\\\\/6}, {1\\\\/6, 1\\\\/6}, {1\\\\/3, 1\\\\/3}}\\\",\\\"oracle_NRSE_exact\\\":\\\"1\\\\/2\\\",\\\"coef_maxerr\\\":2.0354088784794537e-16,\\\"pred_maxerr\\\":8.8817841970012523e-16,\\\"coef_pass_1e6\\\":true,\\\"pred_pass_1e6\\\":true,\\\"native_recovery\\\":false,\\\"recomputed_recovery\\\":false,\\\"recovery_pass\\\":true,\\\"orthogonality\\\":null}},\\\"finite_predicate\\\":{\\\"mask\\\":9223372036854775807,\\\"infinity\\\":9218868437227405312,\\\"quietNaN\\\":9221120237041090560,\\\"mask_matches_2pow63_minus1\\\":true,\\\"infinity_exponent_fraction\\\":true,\\\"quietNaN_exponent_fraction\\\":true,\\\"positive_infinity_rejected\\\":true,\\\"negative_infinity_rejected\\\":true,\\\"quietNaN_rejected\\\":true,\\\"negative_quietNaN_rejected\\\":true,\\\"positive_zero_accepted\\\":true,\\\"negative_zero_accepted\\\":true,\\\"largest_finite_accepted\\\":true,\\\"negative_largest_finite_accepted\\\":true,\\\"smallest_subnormal_exact\\\":\\\"2^(-1074)\\\",\\\"smallest_subnormal_decoder_pass\\\":true,\\\"one_decodes_exactly\\\":true,\\\"negative_one_decodes_exactly\\\":true,\\\"all_observed_float_words_finite\\\":true},\\\"native_total_check_count\\\":63,\\\"failed_check_count\\\":0,\\\"failed_check_ids\\\":[],\\\"reported_totals_998\\\":[[998,0,0],[998,1,63]],\\\"total_count_consistent\\\":true,\\\"failure_count_consistent\\\":true,\\\"metadata_10\\\":[[10,0,1],[10,1,1],[10,2,1],[10,3,1],[10,4,1]],\\\"metadata_mismatchcounts_all_one\\\":true,\\\"observation_line_count\\\":324,\\\"case_count\\\":10,\\\"coefficient_value_count\\\":52,\\\"prediction_value_count\\\":160,\\\"metric_comparison_count\\\":40,\\\"all_coefficients_pass\\\":true,\\\"all_predictions_pass\\\":true,\\\"all_metrics_pass\\\":true,\\\"all_recovery_expectations_pass\\\":true}\""}],"provider":"native","providerName":"OMP"}}} diff --git a/native/alignment/evidence/oracle-values.json b/native/alignment/evidence/oracle-values.json new file mode 100644 index 0000000..df73be0 --- /dev/null +++ b/native/alignment/evidence/oracle-values.json @@ -0,0 +1,408 @@ +{ + "serialization": "Returned Wolfram JSON numeric tokens preserved as decimal strings, with no numerical recomputation", + "values": { + "scope": "supplied host observations only; no new execution", + "source": "/tmp/nl2-current-native.stdout", + "decoder": "exact unsigned binary64; rational until N[...,17]", + "NRSE_definition": "RSS/energy (not square root)", + "polar_convention": "C=Transpose[t.rot].t; C.(Transpose[C].C)^(-1/2)", + "rank1_method": "exact Gram top-1 spectral inverse", + "cases": { + "0": { + "native": { + "RSS": 0, + "energy": "80.000000000000000", + "max_error": 0, + "NRSE": 0 + }, + "recomputed": { + "RSS": 0, + "energy": "80.000000000000000", + "max_error": 0, + "NRSE": 0 + }, + "metric_pass_1e12": [ + true, + true, + true, + true + ], + "metrics_pass": true, + "oracle_matrix_exact": "{{1, 0}, {0, 1}}", + "oracle_NRSE_exact": "0", + "coef_maxerr": 0, + "pred_maxerr": 0, + "coef_pass_1e6": true, + "pred_pass_1e6": true, + "native_recovery": true, + "recomputed_recovery": true, + "recovery_pass": true, + "orthogonality": { + "native_ortherr": 0, + "recomputed_ortherr": 0, + "oracle_ortherr": 0, + "tolerance_pass": true + } + }, + "1": { + "native": { + "RSS": 0, + "energy": "80.000000000000000", + "max_error": 0, + "NRSE": 0 + }, + "recomputed": { + "RSS": 0, + "energy": "80.000000000000000", + "max_error": 0, + "NRSE": 0 + }, + "metric_pass_1e12": [ + true, + true, + true, + true + ], + "metrics_pass": true, + "oracle_matrix_exact": "{{0, 1}, {-1, 0}}", + "oracle_NRSE_exact": "0", + "coef_maxerr": 0, + "pred_maxerr": 0, + "coef_pass_1e6": true, + "pred_pass_1e6": true, + "native_recovery": true, + "recomputed_recovery": true, + "recovery_pass": true, + "orthogonality": { + "native_ortherr": 0, + "recomputed_ortherr": 0, + "oracle_ortherr": 0, + "tolerance_pass": true + } + }, + "2": { + "native": { + "RSS": "1.4643230553165032e-29", + "energy": "80.000000000000000", + "max_error": "1.3322676295501878e-15", + "NRSE": "1.8304038191456289e-31" + }, + "recomputed": { + "RSS": "1.4643230553165032e-29", + "energy": "80.000000000000000", + "max_error": "1.3322676295501878e-15", + "NRSE": "1.8304038191456290e-31" + }, + "metric_pass_1e12": [ + true, + true, + true, + true + ], + "metrics_pass": true, + "oracle_matrix_exact": "{{2/3, -1/3}, {-1/3, 2/3}, {1/3, 1/3}}", + "oracle_NRSE_exact": "0", + "coef_maxerr": "2.0354088784794537e-16", + "pred_maxerr": "1.3322676295501878e-15", + "coef_pass_1e6": true, + "pred_pass_1e6": true, + "native_recovery": true, + "recomputed_recovery": true, + "recovery_pass": true, + "orthogonality": null + }, + "3": { + "native": { + "RSS": "3.1554436208840472e-29", + "energy": "736.00000000000000", + "max_error": "1.7763568394002505e-15", + "NRSE": "4.2872875283750640e-32" + }, + "recomputed": { + "RSS": "3.1554436208840472e-29", + "energy": "736.00000000000000", + "max_error": "1.7763568394002505e-15", + "NRSE": "4.2872875283750642e-32" + }, + "metric_pass_1e12": [ + true, + true, + true, + true + ], + "metrics_pass": true, + "oracle_matrix_exact": "{{1, 0}, {0, 1}, {0, 1}, {1, 0}}", + "oracle_NRSE_exact": "0", + "coef_maxerr": "1.1102230246251565e-16", + "pred_maxerr": "1.7763568394002505e-15", + "coef_pass_1e6": true, + "pred_pass_1e6": true, + "native_recovery": true, + "recomputed_recovery": true, + "recovery_pass": true, + "orthogonality": null + }, + "4": { + "native": { + "RSS": "656.00000000000000", + "energy": "736.00000000000000", + "max_error": "9.0000000000000000", + "NRSE": "0.89130434782608692" + }, + "recomputed": { + "RSS": "656.00000000000000", + "energy": "736.00000000000000", + "max_error": "9.0000000000000000", + "NRSE": "0.89130434782608696" + }, + "metric_pass_1e12": [ + true, + true, + true, + true + ], + "metrics_pass": true, + "oracle_matrix_exact": "{{1, 0}, {0, 1}}", + "oracle_NRSE_exact": "41/46", + "coef_maxerr": 0, + "pred_maxerr": 0, + "coef_pass_1e6": true, + "pred_pass_1e6": true, + "native_recovery": false, + "recomputed_recovery": false, + "recovery_pass": true, + "orthogonality": null + }, + "5": { + "native": { + "RSS": "320.00000000000006", + "energy": "736.00000000000000", + "max_error": "6.0000000000000009", + "NRSE": "0.43478260869565227" + }, + "recomputed": { + "RSS": "320.00000000000000", + "energy": "736.00000000000000", + "max_error": "6.0000000000000009", + "NRSE": "0.43478260869565217" + }, + "metric_pass_1e12": [ + true, + true, + true, + true + ], + "metrics_pass": true, + "oracle_matrix_exact": "{{-1, 0}, {0, -1}, {0, 1}, {1, 0}}", + "oracle_NRSE_exact": "10/23", + "coef_maxerr": "1.1102230246251565e-16", + "pred_maxerr": "1.7763568394002505e-15", + "coef_pass_1e6": true, + "pred_pass_1e6": true, + "native_recovery": false, + "recomputed_recovery": false, + "recovery_pass": true, + "orthogonality": null + }, + "11": { + "native": { + "RSS": "160.00000000000000", + "energy": "80.000000000000000", + "max_error": "4.0000000000000000", + "NRSE": "2.0000000000000000" + }, + "recomputed": { + "RSS": "160.00000000000000", + "energy": "80.000000000000000", + "max_error": "4.0000000000000000", + "NRSE": "2.0000000000000000" + }, + "metric_pass_1e12": [ + true, + true, + true, + true + ], + "metrics_pass": true, + "oracle_matrix_exact": "{{1, 0}, {0, 1}}", + "oracle_NRSE_exact": "2", + "coef_maxerr": 0, + "pred_maxerr": 0, + "coef_pass_1e6": true, + "pred_pass_1e6": true, + "native_recovery": false, + "recomputed_recovery": false, + "recovery_pass": true, + "orthogonality": null + }, + "12": { + "native": { + "RSS": "80.000000000000000", + "energy": "80.000000000000000", + "max_error": "3.0000000000000000", + "NRSE": "1.0000000000000000" + }, + "recomputed": { + "RSS": "80.000000000000000", + "energy": "80.000000000000000", + "max_error": "3.0000000000000000", + "NRSE": "1.0000000000000000" + }, + "metric_pass_1e12": [ + true, + true, + true, + true + ], + "metrics_pass": true, + "oracle_matrix_exact": "{{0, 0}, {0, 0}}", + "oracle_NRSE_exact": "1", + "coef_maxerr": 0, + "pred_maxerr": 0, + "coef_pass_1e6": true, + "pred_pass_1e6": true, + "native_recovery": false, + "recomputed_recovery": false, + "recovery_pass": true, + "orthogonality": null + }, + "13": { + "native": { + "RSS": "320.00000000000000", + "energy": "80.000000000000000", + "max_error": "6.0000000000000000", + "NRSE": "4.0000000000000000" + }, + "recomputed": { + "RSS": "320.00000000000000", + "energy": "80.000000000000000", + "max_error": "6.0000000000000000", + "NRSE": "4.0000000000000000" + }, + "metric_pass_1e12": [ + true, + true, + true, + true + ], + "metrics_pass": true, + "oracle_matrix_exact": "{{0, -1}, {1, 0}}", + "oracle_NRSE_exact": "4", + "coef_maxerr": 0, + "pred_maxerr": 0, + "coef_pass_1e6": true, + "pred_pass_1e6": true, + "native_recovery": false, + "recomputed_recovery": false, + "recovery_pass": true, + "orthogonality": null + }, + "14": { + "native": { + "RSS": "40.000000000000000", + "energy": "80.000000000000000", + "max_error": "2.0000000000000004", + "NRSE": "0.50000000000000000" + }, + "recomputed": { + "RSS": "40.000000000000000", + "energy": "80.000000000000000", + "max_error": "2.0000000000000004", + "NRSE": "0.50000000000000000" + }, + "metric_pass_1e12": [ + true, + true, + true, + true + ], + "metrics_pass": true, + "oracle_matrix_exact": "{{1/6, 1/6}, {1/6, 1/6}, {1/3, 1/3}}", + "oracle_NRSE_exact": "1/2", + "coef_maxerr": "2.0354088784794537e-16", + "pred_maxerr": "8.8817841970012523e-16", + "coef_pass_1e6": true, + "pred_pass_1e6": true, + "native_recovery": false, + "recomputed_recovery": false, + "recovery_pass": true, + "orthogonality": null + } + }, + "finite_predicate": { + "mask": 9223372036854775807, + "infinity": 9218868437227405312, + "quietNaN": 9221120237041090560, + "mask_matches_2pow63_minus1": true, + "infinity_exponent_fraction": true, + "quietNaN_exponent_fraction": true, + "positive_infinity_rejected": true, + "negative_infinity_rejected": true, + "quietNaN_rejected": true, + "negative_quietNaN_rejected": true, + "positive_zero_accepted": true, + "negative_zero_accepted": true, + "largest_finite_accepted": true, + "negative_largest_finite_accepted": true, + "smallest_subnormal_exact": "2^(-1074)", + "smallest_subnormal_decoder_pass": true, + "one_decodes_exactly": true, + "negative_one_decodes_exactly": true, + "all_observed_float_words_finite": true + }, + "native_total_check_count": 63, + "failed_check_count": 0, + "failed_check_ids": [], + "reported_totals_998": [ + [ + 998, + 0, + 0 + ], + [ + 998, + 1, + 63 + ] + ], + "total_count_consistent": true, + "failure_count_consistent": true, + "metadata_10": [ + [ + 10, + 0, + 1 + ], + [ + 10, + 1, + 1 + ], + [ + 10, + 2, + 1 + ], + [ + 10, + 3, + 1 + ], + [ + 10, + 4, + 1 + ] + ], + "metadata_mismatchcounts_all_one": true, + "observation_line_count": 324, + "case_count": 10, + "coefficient_value_count": 52, + "prediction_value_count": 160, + "metric_comparison_count": 40, + "all_coefficients_pass": true, + "all_predictions_pass": true, + "all_metrics_pass": true, + "all_recovery_expectations_pass": true + } +} diff --git a/native/alignment/evidence/receipt-audit.json b/native/alignment/evidence/receipt-audit.json new file mode 100644 index 0000000..2089ac9 --- /dev/null +++ b/native/alignment/evidence/receipt-audit.json @@ -0,0 +1,18 @@ +{ + "scope": "read-only receipt structure, byte/string equality, hashes and integer check-count bookkeeping; no numerical recalculation", + "checker": "Python 3.12.3", + "checks": { + "returned_value_is_actual_nonNull_tool_output": true, + "returned_values_exactly_match_raw_tool_value": true, + "run_cases_exactly_match_raw_tool_value": true, + "positive_count_63": true, + "positive_no_failed_checks": true, + "mutant_counts_and_ids_consistent": true, + "mutant_failures_5_and_16": true, + "source_hash_matches_exercised_source": true, + "binary_hash_matches_exercised_binary": true, + "native_stdout_matches_oracle_observation_source": true, + "real_models_remain_BLOCKED": true + }, + "status": "PASS" +} diff --git a/native/alignment/evidence/run-41589735-superseded.json b/native/alignment/evidence/run-41589735-superseded.json new file mode 100644 index 0000000..ee7584a --- /dev/null +++ b/native/alignment/evidence/run-41589735-superseded.json @@ -0,0 +1,75 @@ +{ + "schema": "nl2-host-v1", + "source_base": "b6c33e3a82611361b37c651df70d9a645045773a", + "compiler_commit": "1fe5976d398646b17acabbf6d9dfae96b017e439", + "compiler_sha256": "d6290c7663c2b4bafb59eb3fdf812476e977f4c144def71095c6248ef9b96b84", + "source_sha256": "373fbf6da2f928968f1b30066d69d0f78c97e5b7bb419a728e529af4c23b3744", + "binary_sha256": "77c262696a2091d316bc2a71dd69e8e9b6d7b126f0d39c9f4ef81c182d754418", + "commands": [ + { + "argv": [ + "cat", + "project.om", + "check.om" + ], + "purpose": "concatenate handwritten Omega units" + }, + { + "argv": [ + "/home/drakestapleton/workspace/omega-911-harness-fresh/seed/out/omc" + ], + "stdin": "concatenated source", + "exit": 0, + "stderr": "" + }, + { + "argv": [ + "/tmp/nl2-check" + ], + "exit": 0, + "stdout": "0 4 0\n0 100 4607182418800017408\n0 101 0\n0 104 0\n0 105 4607182418800017408\n0 200 13837309855095848960\n0 201 13830554455654793216\n0 204 13837309855095848960\n0 205 4607182418800017408\n0 208 13830554455654793216\n0 209 13837309855095848960\n0 212 13830554455654793216\n0 213 4613937818241073152\n0 216 4607182418800017408\n0 217 13837309855095848960\n0 220 4607182418800017408\n0 221 4613937818241073152\n0 224 4613937818241073152\n0 225 13830554455654793216\n0 228 4613937818241073152\n0 229 4607182418800017408\n0 0 0\n0 1 4635329916471083008\n0 2 0\n0 3 0\n1 4 0\n1 100 0\n1 101 4607182418800017408\n1 104 13830554455654793216\n1 105 0\n1 200 13837309855095848960\n1 201 13830554455654793216\n1 204 13837309855095848960\n1 205 4607182418800017408\n1 208 13830554455654793216\n1 209 13837309855095848960\n1 212 13830554455654793216\n1 213 4613937818241073152\n1 216 4607182418800017408\n1 217 13837309855095848960\n1 220 4607182418800017408\n1 221 4613937818241073152\n1 224 4613937818241073152\n1 225 13830554455654793216\n1 228 4613937818241073152\n1 229 4607182418800017408\n1 0 0\n1 1 4635329916471083008\n1 2 0\n1 3 0\n2 100 4604180019048437076\n2 101 13823048456275842386\n2 104 13823048456275842386\n2 105 4604180019048437078\n2 108 4599676419421066585\n2 109 4599676419421066585\n2 200 13837309855095848962\n2 201 13830554455654793222\n2 204 13837309855095848959\n2 205 4607182418800017399\n2 208 13830554455654793222\n2 209 13837309855095848962\n2 212 13830554455654793207\n2 213 4613937818241073152\n2 216 4607182418800017399\n2 217 13837309855095848960\n2 220 4607182418800017414\n2 221 4613937818241073154\n2 224 4613937818241073151\n2 225 13830554455654793207\n2 228 4613937818241073154\n2 229 4607182418800017414\n2 0 4175558134200270848\n2 1 4635329916471083008\n2 2 4384254237245177856\n2 3 4147167864361792307\n3 100 4607182418800017408\n3 101 0\n3 104 0\n3 105 4607182418800017408\n3 108 4368491638549381120\n3 109 4607182418800017407\n3 112 4607182418800017407\n3 113 4368491638549381120\n3 200 13835058055282163708\n3 201 4620693217682128894\n3 204 13835058055282163708\n3 205 4621819117588971519\n3 208 4620693217682128894\n3 209 13835058055282163708\n3 212 4620693217682128894\n3 213 4616189618054758401\n3 216 4621819117588971519\n3 217 13835058055282163708\n3 220 4621819117588971519\n3 221 4616189618054758401\n3 224 4616189618054758401\n3 225 4620693217682128894\n3 228 4616189618054758401\n3 229 4621819117588971519\n3 0 4180466354106662912\n3 1 4649685140283326464\n3 2 4386506037058863104\n3 3 4137633205476780477\n4 100 4607182418800017408\n4 101 0\n4 104 0\n4 105 4607182418800017408\n4 200 13837309855095848960\n4 201 13830554455654793216\n4 204 13837309855095848960\n4 205 4607182418800017408\n4 208 13830554455654793216\n4 209 13837309855095848960\n4 212 13830554455654793216\n4 213 4613937818241073152\n4 216 4607182418800017408\n4 217 13837309855095848960\n4 220 4607182418800017408\n4 221 4613937818241073152\n4 224 4613937818241073152\n4 225 13830554455654793216\n4 228 4613937818241073152\n4 229 4607182418800017408\n4 0 4648981452841549824\n4 1 4649685140283326464\n4 2 4621256167635550208\n4 3 4606203375402762952\n5 100 13830554455654793216\n5 101 0\n5 104 0\n5 105 13830554455654793216\n5 108 4368491638549381120\n5 109 4607182418800017407\n5 112 4607182418800017407\n5 113 4368491638549381120\n5 200 4616189618054758401\n5 201 4621819117588971519\n5 204 4616189618054758401\n5 205 4620693217682128894\n5 208 4621819117588971519\n5 209 4616189618054758401\n5 212 4621819117588971519\n5 213 13835058055282163708\n5 216 4620693217682128894\n5 217 4616189618054758401\n5 220 4620693217682128894\n5 221 13835058055282163708\n5 224 13835058055282163708\n5 225 4621819117588971519\n5 228 13835058055282163708\n5 229 4620693217682128894\n5 0 4644337115725824001\n5 1 4649685140283326464\n5 2 4618441417868443649\n5 3 4601503967095941567\n10 0 1\n10 1 1\n10 2 1\n10 3 1\n10 4 1\n11 100 4607182418800017408\n11 101 0\n11 104 0\n11 105 4607182418800017408\n11 200 13830554455654793216\n11 201 4613937818241073152\n11 204 4607182418800017408\n11 205 4613937818241073152\n11 208 13837309855095848960\n11 209 4607182418800017408\n11 212 4613937818241073152\n11 213 4607182418800017408\n11 216 13837309855095848960\n11 217 13830554455654793216\n11 220 4613937818241073152\n11 221 13830554455654793216\n11 224 13830554455654793216\n11 225 13837309855095848960\n11 228 4607182418800017408\n11 229 13837309855095848960\n11 0 4639833516098453504\n11 1 4635329916471083008\n11 2 4616189618054758400\n11 3 4611686018427387904\n12 100 0\n12 101 0\n12 104 0\n12 105 0\n12 200 0\n12 201 0\n12 204 0\n12 205 0\n12 208 0\n12 209 0\n12 212 0\n12 213 0\n12 216 0\n12 217 0\n12 220 0\n12 221 0\n12 224 0\n12 225 0\n12 228 0\n12 229 0\n12 0 4635329916471083008\n12 1 4635329916471083008\n12 2 4613937818241073152\n12 3 4607182418800017408\n13 100 0\n13 101 13830554455654793216\n13 104 4607182418800017408\n13 105 0\n13 200 4613937818241073152\n13 201 4607182418800017408\n13 204 4613937818241073152\n13 205 13830554455654793216\n13 208 4607182418800017408\n13 209 4613937818241073152\n13 212 4607182418800017408\n13 213 13837309855095848960\n13 216 13830554455654793216\n13 217 4613937818241073152\n13 220 13830554455654793216\n13 221 13837309855095848960\n13 224 13837309855095848960\n13 225 4607182418800017408\n13 228 13837309855095848960\n13 229 13830554455654793216\n13 0 4644337115725824000\n13 1 4635329916471083008\n13 2 4618441417868443648\n13 3 4616189618054758400\n14 100 4595172819793696087\n14 101 4595172819793696087\n14 104 4595172819793696087\n14 105 4595172819793696087\n14 108 4599676419421066585\n14 109 4599676419421066585\n14 200 13835058055282163714\n14 201 13835058055282163714\n14 204 13830554455654793218\n14 205 13830554455654793218\n14 208 13835058055282163714\n14 209 13835058055282163714\n14 212 4607182418800017410\n14 213 4607182418800017410\n14 216 13830554455654793218\n14 217 13830554455654793218\n14 220 4611686018427387906\n14 221 4611686018427387906\n14 224 4607182418800017410\n14 225 4607182418800017410\n14 228 4611686018427387906\n14 229 4611686018427387906\n14 0 4630826316843712512\n14 1 4635329916471083008\n14 2 4611686018427387905\n14 3 4602678819172646912\n998 0 0\n", + "stderr": "" + } + ], + "scope": "synthetic-host", + "real_model_status": "BLOCKED", + "negative_controls": [ + { + "name": "metadata", + "mutation": "remove metadata mismatch refusal", + "source_sha256": "c4cc6cbffafcc890c354fcf96b85b191e0f721fdb711ef0a257ad06c1f20633a", + "compile_exit": 0, + "compile_stderr": "", + "exit": 1, + "stdout": "0 4 0\n0 100 4607182418800017408\n0 101 0\n0 104 0\n0 105 4607182418800017408\n0 200 13837309855095848960\n0 201 13830554455654793216\n0 204 13837309855095848960\n0 205 4607182418800017408\n0 208 13830554455654793216\n0 209 13837309855095848960\n0 212 13830554455654793216\n0 213 4613937818241073152\n0 216 4607182418800017408\n0 217 13837309855095848960\n0 220 4607182418800017408\n0 221 4613937818241073152\n0 224 4613937818241073152\n0 225 13830554455654793216\n0 228 4613937818241073152\n0 229 4607182418800017408\n0 0 0\n0 1 4635329916471083008\n0 2 0\n0 3 0\n1 4 0\n1 100 0\n1 101 4607182418800017408\n1 104 13830554455654793216\n1 105 0\n1 200 13837309855095848960\n1 201 13830554455654793216\n1 204 13837309855095848960\n1 205 4607182418800017408\n1 208 13830554455654793216\n1 209 13837309855095848960\n1 212 13830554455654793216\n1 213 4613937818241073152\n1 216 4607182418800017408\n1 217 13837309855095848960\n1 220 4607182418800017408\n1 221 4613937818241073152\n1 224 4613937818241073152\n1 225 13830554455654793216\n1 228 4613937818241073152\n1 229 4607182418800017408\n1 0 0\n1 1 4635329916471083008\n1 2 0\n1 3 0\n2 100 4604180019048437076\n2 101 13823048456275842386\n2 104 13823048456275842386\n2 105 4604180019048437078\n2 108 4599676419421066585\n2 109 4599676419421066585\n2 200 13837309855095848962\n2 201 13830554455654793222\n2 204 13837309855095848959\n2 205 4607182418800017399\n2 208 13830554455654793222\n2 209 13837309855095848962\n2 212 13830554455654793207\n2 213 4613937818241073152\n2 216 4607182418800017399\n2 217 13837309855095848960\n2 220 4607182418800017414\n2 221 4613937818241073154\n2 224 4613937818241073151\n2 225 13830554455654793207\n2 228 4613937818241073154\n2 229 4607182418800017414\n2 0 4175558134200270848\n2 1 4635329916471083008\n2 2 4384254237245177856\n2 3 4147167864361792307\n3 100 4607182418800017408\n3 101 0\n3 104 0\n3 105 4607182418800017408\n3 108 4368491638549381120\n3 109 4607182418800017407\n3 112 4607182418800017407\n3 113 4368491638549381120\n3 200 13835058055282163708\n3 201 4620693217682128894\n3 204 13835058055282163708\n3 205 4621819117588971519\n3 208 4620693217682128894\n3 209 13835058055282163708\n3 212 4620693217682128894\n3 213 4616189618054758401\n3 216 4621819117588971519\n3 217 13835058055282163708\n3 220 4621819117588971519\n3 221 4616189618054758401\n3 224 4616189618054758401\n3 225 4620693217682128894\n3 228 4616189618054758401\n3 229 4621819117588971519\n3 0 4180466354106662912\n3 1 4649685140283326464\n3 2 4386506037058863104\n3 3 4137633205476780477\n4 100 4607182418800017408\n4 101 0\n4 104 0\n4 105 4607182418800017408\n4 200 13837309855095848960\n4 201 13830554455654793216\n4 204 13837309855095848960\n4 205 4607182418800017408\n4 208 13830554455654793216\n4 209 13837309855095848960\n4 212 13830554455654793216\n4 213 4613937818241073152\n4 216 4607182418800017408\n4 217 13837309855095848960\n4 220 4607182418800017408\n4 221 4613937818241073152\n4 224 4613937818241073152\n4 225 13830554455654793216\n4 228 4613937818241073152\n4 229 4607182418800017408\n4 0 4648981452841549824\n4 1 4649685140283326464\n4 2 4621256167635550208\n4 3 4606203375402762952\n5 100 13830554455654793216\n5 101 0\n5 104 0\n5 105 13830554455654793216\n5 108 4368491638549381120\n5 109 4607182418800017407\n5 112 4607182418800017407\n5 113 4368491638549381120\n5 200 4616189618054758401\n5 201 4621819117588971519\n5 204 4616189618054758401\n5 205 4620693217682128894\n5 208 4621819117588971519\n5 209 4616189618054758401\n5 212 4621819117588971519\n5 213 13835058055282163708\n5 216 4620693217682128894\n5 217 4616189618054758401\n5 220 4620693217682128894\n5 221 13835058055282163708\n5 224 13835058055282163708\n5 225 4621819117588971519\n5 228 13835058055282163708\n5 229 4620693217682128894\n5 0 4644337115725824001\n5 1 4649685140283326464\n5 2 4618441417868443649\n5 3 4601503967095941567\n999 120 1\n10 0 1\n999 121 1\n10 1 1\n999 122 1\n10 2 1\n999 123 1\n10 3 1\n999 124 1\n10 4 1\n11 100 4607182418800017408\n11 101 0\n11 104 0\n11 105 4607182418800017408\n11 200 13830554455654793216\n11 201 4613937818241073152\n11 204 4607182418800017408\n11 205 4613937818241073152\n11 208 13837309855095848960\n11 209 4607182418800017408\n11 212 4613937818241073152\n11 213 4607182418800017408\n11 216 13837309855095848960\n11 217 13830554455654793216\n11 220 4613937818241073152\n11 221 13830554455654793216\n11 224 13830554455654793216\n11 225 13837309855095848960\n11 228 4607182418800017408\n11 229 13837309855095848960\n11 0 4639833516098453504\n11 1 4635329916471083008\n11 2 4616189618054758400\n11 3 4611686018427387904\n12 100 0\n12 101 0\n12 104 0\n12 105 0\n12 200 0\n12 201 0\n12 204 0\n12 205 0\n12 208 0\n12 209 0\n12 212 0\n12 213 0\n12 216 0\n12 217 0\n12 220 0\n12 221 0\n12 224 0\n12 225 0\n12 228 0\n12 229 0\n12 0 4635329916471083008\n12 1 4635329916471083008\n12 2 4613937818241073152\n12 3 4607182418800017408\n13 100 0\n13 101 13830554455654793216\n13 104 4607182418800017408\n13 105 0\n13 200 4613937818241073152\n13 201 4607182418800017408\n13 204 4613937818241073152\n13 205 13830554455654793216\n13 208 4607182418800017408\n13 209 4613937818241073152\n13 212 4607182418800017408\n13 213 13837309855095848960\n13 216 13830554455654793216\n13 217 4613937818241073152\n13 220 13830554455654793216\n13 221 13837309855095848960\n13 224 13837309855095848960\n13 225 4607182418800017408\n13 228 13837309855095848960\n13 229 13830554455654793216\n13 0 4644337115725824000\n13 1 4635329916471083008\n13 2 4618441417868443648\n13 3 4616189618054758400\n14 100 4595172819793696087\n14 101 4595172819793696087\n14 104 4595172819793696087\n14 105 4595172819793696087\n14 108 4599676419421066585\n14 109 4599676419421066585\n14 200 13835058055282163714\n14 201 13835058055282163714\n14 204 13830554455654793218\n14 205 13830554455654793218\n14 208 13835058055282163714\n14 209 13835058055282163714\n14 212 4607182418800017410\n14 213 4607182418800017410\n14 216 13830554455654793218\n14 217 13830554455654793218\n14 220 4611686018427387906\n14 221 4611686018427387906\n14 224 4607182418800017410\n14 225 4607182418800017410\n14 228 4611686018427387906\n14 229 4611686018427387906\n14 0 4630826316843712512\n14 1 4635329916471083008\n14 2 4611686018427387905\n14 3 4602678819172646912\n998 0 5\n", + "stderr": "", + "binary_sha256": "f3fce1441af331b05843c144ede38594cacbb058a1f5a966714522a721037436", + "mutation_before": "if or eq get HS 2 0 ne mismatch 0", + "mutation_after": "if eq get HS 2 0" + }, + { + "name": "projector", + "mutation": "negate learned installed coefficients", + "source_sha256": "6466c26287940b1716f960d280aa2aefb61a8ed62aa7a90ecf7456c1660e74a9", + "compile_exit": 0, + "compile_stderr": "", + "exit": 1, + "stdout": "0 4 0\n999 40 1\n0 100 13830554455654793216\n0 101 0\n0 104 0\n0 105 13830554455654793216\n0 200 4613937818241073152\n0 201 4607182418800017408\n0 204 4613937818241073152\n0 205 13830554455654793216\n0 208 4607182418800017408\n0 209 4613937818241073152\n0 212 4607182418800017408\n0 213 13837309855095848960\n0 216 13830554455654793216\n0 217 4613937818241073152\n0 220 13830554455654793216\n0 221 13837309855095848960\n0 224 13837309855095848960\n0 225 4607182418800017408\n0 228 13837309855095848960\n0 229 13830554455654793216\n0 0 4644337115725824000\n0 1 4635329916471083008\n0 2 4618441417868443648\n0 3 4616189618054758400\n999 60 1\n999 70 1\n1 4 0\n999 41 1\n1 100 0\n1 101 13830554455654793216\n1 104 4607182418800017408\n1 105 0\n1 200 4613937818241073152\n1 201 4607182418800017408\n1 204 4613937818241073152\n1 205 13830554455654793216\n1 208 4607182418800017408\n1 209 4613937818241073152\n1 212 4607182418800017408\n1 213 13837309855095848960\n1 216 13830554455654793216\n1 217 4613937818241073152\n1 220 13830554455654793216\n1 221 13837309855095848960\n1 224 13837309855095848960\n1 225 4607182418800017408\n1 228 13837309855095848960\n1 229 13830554455654793216\n1 0 4644337115725824000\n1 1 4635329916471083008\n1 2 4618441417868443648\n1 3 4616189618054758400\n999 61 1\n999 71 1\n999 22 1\n999 23 1\n999 42 1\n2 100 13827552055903212884\n2 101 4599676419421066578\n2 104 4599676419421066578\n2 105 13827552055903212886\n2 108 13823048456275842393\n2 109 13823048456275842393\n2 200 4613937818241073154\n2 201 4607182418800017414\n2 204 4613937818241073151\n2 205 13830554455654793207\n2 208 4607182418800017414\n2 209 4613937818241073154\n2 212 4607182418800017399\n2 213 13837309855095848960\n2 216 13830554455654793207\n2 217 4613937818241073152\n2 220 13830554455654793222\n2 221 13837309855095848962\n2 224 13837309855095848959\n2 225 4607182418800017399\n2 228 13837309855095848962\n2 229 13830554455654793222\n2 0 4644337115725824001\n2 1 4635329916471083008\n2 2 4618441417868443649\n2 3 4616189618054758401\n999 62 1\n999 72 1\n999 43 1\n3 100 13830554455654793216\n3 101 0\n3 104 0\n3 105 13830554455654793216\n3 108 13591863675404156928\n3 109 13830554455654793215\n3 112 13830554455654793215\n3 113 13591863675404156928\n3 200 4611686018427387900\n3 201 13844065254536904702\n3 204 4611686018427387900\n3 205 13845191154443747327\n3 208 13844065254536904702\n3 209 4611686018427387900\n3 212 13844065254536904702\n3 213 13839561654909534209\n3 216 13845191154443747327\n3 217 4611686018427387900\n3 220 13845191154443747327\n3 221 13839561654909534209\n3 224 13839561654909534209\n3 225 13844065254536904702\n3 228 13839561654909534209\n3 229 13845191154443747327\n3 0 4658692339538067456\n3 1 4649685140283326464\n3 2 4626322717216342016\n3 3 4616189618054758400\n999 63 1\n999 73 1\n4 100 13830554455654793216\n4 101 0\n4 104 0\n4 105 13830554455654793216\n4 200 4613937818241073152\n4 201 4607182418800017408\n4 204 4613937818241073152\n4 205 13830554455654793216\n4 208 4607182418800017408\n4 209 4613937818241073152\n4 212 4607182418800017408\n4 213 13837309855095848960\n4 216 13830554455654793216\n4 217 4613937818241073152\n4 220 13830554455654793216\n4 221 13837309855095848960\n4 224 13837309855095848960\n4 225 4607182418800017408\n4 228 13837309855095848960\n4 229 13830554455654793216\n4 0 4651796202608656384\n4 1 4649685140283326464\n4 2 4622382067542392832\n4 3 4608650983895899091\n999 84 1\n5 100 4607182418800017408\n5 101 0\n5 104 0\n5 105 4607182418800017408\n5 108 13591863675404156928\n5 109 13830554455654793215\n5 112 13830554455654793215\n5 113 13591863675404156928\n5 200 13839561654909534209\n5 201 13845191154443747327\n5 204 13839561654909534209\n5 205 13844065254536904702\n5 208 13845191154443747327\n5 209 13839561654909534209\n5 212 13845191154443747327\n5 213 4611686018427387900\n5 216 13844065254536904702\n5 217 13839561654909534209\n5 220 13844065254536904702\n5 221 4611686018427387900\n5 224 4611686018427387900\n5 225 13845191154443747327\n5 228 4611686018427387900\n5 229 13844065254536904702\n5 0 4657988652096290816\n5 1 4649685140283326464\n5 2 4625759767262920704\n5 3 4615210574657503944\n999 85 1\n10 0 1\n10 1 1\n10 2 1\n10 3 1\n10 4 1\n11 100 4607182418800017408\n11 101 0\n11 104 0\n11 105 4607182418800017408\n11 200 13830554455654793216\n11 201 4613937818241073152\n11 204 4607182418800017408\n11 205 4613937818241073152\n11 208 13837309855095848960\n11 209 4607182418800017408\n11 212 4613937818241073152\n11 213 4607182418800017408\n11 216 13837309855095848960\n11 217 13830554455654793216\n11 220 4613937818241073152\n11 221 13830554455654793216\n11 224 13830554455654793216\n11 225 13837309855095848960\n11 228 4607182418800017408\n11 229 13837309855095848960\n11 0 4639833516098453504\n11 1 4635329916471083008\n11 2 4616189618054758400\n11 3 4611686018427387904\n12 100 0\n12 101 0\n12 104 0\n12 105 0\n12 200 0\n12 201 0\n12 204 0\n12 205 0\n12 208 0\n12 209 0\n12 212 0\n12 213 0\n12 216 0\n12 217 0\n12 220 0\n12 221 0\n12 224 0\n12 225 0\n12 228 0\n12 229 0\n12 0 4635329916471083008\n12 1 4635329916471083008\n12 2 4613937818241073152\n12 3 4607182418800017408\n13 100 0\n13 101 13830554455654793216\n13 104 4607182418800017408\n13 105 0\n13 200 4613937818241073152\n13 201 4607182418800017408\n13 204 4613937818241073152\n13 205 13830554455654793216\n13 208 4607182418800017408\n13 209 4613937818241073152\n13 212 4607182418800017408\n13 213 13837309855095848960\n13 216 13830554455654793216\n13 217 4613937818241073152\n13 220 13830554455654793216\n13 221 13837309855095848960\n13 224 13837309855095848960\n13 225 4607182418800017408\n13 228 13837309855095848960\n13 229 13830554455654793216\n13 0 4644337115725824000\n13 1 4635329916471083008\n13 2 4618441417868443648\n13 3 4616189618054758400\n14 100 13818544856648471895\n14 101 13818544856648471895\n14 104 13818544856648471895\n14 105 13818544856648471895\n14 108 13823048456275842393\n14 109 13823048456275842393\n14 200 4611686018427387906\n14 201 4611686018427387906\n14 204 4607182418800017410\n14 205 4607182418800017410\n14 208 4611686018427387906\n14 209 4611686018427387906\n14 212 13830554455654793218\n14 213 13830554455654793218\n14 216 4607182418800017410\n14 217 4607182418800017410\n14 220 13835058055282163714\n14 221 13835058055282163714\n14 224 13830554455654793218\n14 225 13830554455654793218\n14 228 13835058055282163714\n14 229 13835058055282163714\n14 0 4641240890982006785\n14 1 4635329916471083008\n14 2 4617315517961601025\n14 3 4612811918334230529\n998 0 16\n", + "stderr": "", + "binary_sha256": "f443e6c5b5f56e45dd21bb5c2deab1ae46933c9afeefb22783d481ca77b85427", + "mutation_before": "put HP i get HW i", + "mutation_after": "put HP i sub 0.0 get HW i" + } + ], + "source_commit": "1a73c2d14fa4f9aeaf2933c02d5a289c6977788a", + "independent_oracle": { + "tool": "WolframLanguageEvaluator", + "raw_calls_and_results": "oracle-review.jsonl", + "scope": "independent decoding and recomputation of captured raw native output, not another native run", + "verdict": "PASS", + "report": [ + "**PASS for the supplied raw output.** Cases 0\u20133 meet maxabs \u2264 \\(10^{-6}\\) and NRSE \u2264 \\(10^{-12}\\). Cases 4\u20135 match their deliberately imperfect fixture oracles. Controls 11\u201314 and metadata lines match expectations. No files edited; no training or tuning.\n\nVerification applies to the attached output, not a fresh native execution. All mathematical decoding and comparisons used mounted Wolfram tools.\n\n### Required first calls\n\n- `Integrate[x^2,{x,0,1}]` \u2192 `1/3`\n- Alpha `sqrt(27)/2` \u2192 `(3 sqrt(3))/2`\n\nBinary64 decoding used `IntegerDigits[n,2,64]`, `FromDigits` for exponent/fraction fields, and exact powers of two. Calculations remained exact until decimal display. **NRSE means RSS / target energy here, without a square root.**\n\n### Cases 0\u20135: decoded reported metrics\n\n| Case | RSS | Target energy | Maxabs | NRSE | Maximum coefficient error |\n|---|---:|---:|---:|---:|---:|\n| 0 | 0 | 80 | 0 | 0 | 0 |\n| 1 | 0 | 80 | 0 | 0 | 0 |\n| 2 | \\(1.4643230553165032\u00b710^{-29}\\) | 80 | \\(1.3322676295501878\u00b710^{-15}\\) | \\(1.8304038191456289\u00b710^{-31}\\) | \\(2.0354088784794537\u00b710^{-16}\\) |\n| 3 | \\(3.1554436208840472\u00b710^{-29}\\) | 736 | \\(1.7763568394002505\u00b710^{-15}\\) | \\(4.2872875283750640\u00b710^{-32}\\) | \\(1.1102230246251565\u00b710^{-16}\\) |\n| 4 | 656 | 736 | 9 | 0.89130434782608692 | 0 |\n| 5 | 320.0000000000000568434 | 736 | 6.0000000000000008882 | 0.43478260869565227287 | \\(1.1102230246251565\u00b710^{-16}\\) |\n\nCoefficient error is maximum absolute entrywise difference from the independently fitted exact oracle:\n\n```text\nW0 = {{1,0},{0,1}}\nW1 = {{0,1},{-1,0}}\nW2 = {{2/3,-1/3},{-1/3,2/3},{1/3,1/3}}\nW3 = {{1,0},{0,1},{0,1},{1,0}}\nW4 = {{1,0},{0,1}}\nW5 = {{-1,0},{0,-1},{0,1},{1,0}}\n```\n\n### All eight heldout predictions\n\nEach comparison includes both output coordinates in every heldout row.\n\n| Case | Exact oracle predictions | Maximum decoded prediction deviation |\n|---|---|---:|\n| 0 | \\(U\\) | 0 |\n| 1 | \\(U\\) | 0 |\n| 2 | \\(U\\) | \\(1.3322676295501878\u00b710^{-15}\\) |\n| 3 | `{{-2,8},{-2,10},{8,-2},{8,4},{10,-2},{10,4},{4,8},{4,10}}` | \\(1.7763568394002505\u00b710^{-15}\\) |\n| 4 | \\(U\\) | 0 |\n| 5 | `{{4,10},{4,8},{10,4},{10,-2},{8,4},{8,-2},{-2,10},{-2,8}}` | \\(1.7763568394002505\u00b710^{-15}\\) |\n\nCase 4\u2019s exact oracle metrics are `{656,736,9,41/46}`. Case 5\u2019s are `{320,736,6,10/23}`. Their large target errors are expected, not verification failures.\n\n### Independent prediction-based recomputation\n\nFor cases 0\u20133:\n\n- Maximum recomputed NRSE: **\\(1.8304038191456290\u00b710^{-31}\\)**, case 2.\n- Maximum recomputed feature error: **\\(1.7763568394002505\u00b710^{-15}\\)**, case 3.\n- Maximum absolute reported/recomputed NRSE discrepancy: \\(4.3790577010150533\u00b710^{-48}\\).\n- Reported/recomputed maxabs discrepancy: **0**.\n\nAcross cases 0\u20135:\n\n- Maximum recomputed NRSE: **\\(41/46\u22480.89130434782608695652\\)**, case 4.\n- Maximum feature error: **9**, case 4.\n- Maximum reported/recomputed NRSE discrepancy: **\\(9.8954660890503040\u00b710^{-17}\\)**, case 5.\n- Maximum RSS discrepancy: \\(5.6843418860807983\u00b710^{-14}\\), case 5.\n- Target-energy and maxabs discrepancies: **0**.\n\nAll four reported metrics agree with prediction-based recomputation within \\(10^{-12}\\) absolute. Case 5\u2019s prediction-recomputed NRSE is not *exactly* \\(10/23\\); its exact excess is\n`5/116623855220997104937696694894592`.\n\n### Controls\n\n| Control | Exact oracle `{RSS, energy, maxabs, NRSE}` | Verification |\n|---|---|---|\n| 11: identity on rotated inputs | `{160,80,4,2}` | Coefficients, all predictions and reported metrics exact |\n| 12: null | `{80,80,3,1}` | Coefficients, all predictions and reported metrics exact |\n| 13: wrong transpose | `{320,80,6,4}` | Coefficients, all predictions and reported metrics exact |\n| 14: rank-one PCR | `{40,80,2,1/2}` | Matches within rounding errors below |\n\nControl 14 was independently derived:\n\n```text\nGram = {{20,0,20},{0,20,20},{20,20,40}}\nEigenvalues = {60,20,0}\nLeading eigenvector \u221d {1,1,2}\nW14 = {{1/6,1/6},{1/6,1/6},{1/3,1/3}}\n\nPredictions =\n{{-2,-2},{-1,-1},{-2,-2},{1,1},\n {-1,-1},{2,2},{1,1},{2,2}}\n```\n\nControl 14 maximum coefficient error is \\(2.0354088784794537\u00b710^{-16}\\); maximum prediction deviation is \\(8.8817841970012523\u00b710^{-16}\\). Decoded maxabs is `2.000000000000000444089\u2026`. Recomputed NRSE exceeds \\(1/2\\) by \\(9.8607613152626476\u00b710^{-32}\\); all reported metric discrepancies remain below \\(10^{-12}\\).\n\n### Metadata and IEEE constants\n\n- Exactly five case-10 lines: fields `{0,1,2,3,4}`, each value `1`.\n- All 260 raw rows have unique `(case,field)` keys.\n- Final row is exactly `998 0 0`.\n\nWolfram verified:\n\n| Source constant | Exact interpretation |\n|---|---|\n| `9223372036854775807` | \\(2^{63}-1\\), hex `7fffffffffffffff`; clears the sign bit |\n| `9218868437227405312` | \\(2047\u00b72^{52}\\), hex `7ff0000000000000`; positive infinity |\n| `9221120237041090560` | hex `7ff8000000000000`; exponent 2047, nonzero fraction with quiet bit set |\n\nThe unsigned predicate `(bits & mask) < infinityBits` accepts both signed zeros, subnormals and finite normal values; rejects both infinities and NaNs. Signed boundary checks passed.\n\n**Call record:** exact calls/results remain in the transcript. The failed rank-one symbolic calculation, failed state-dependent retry, quantifier-solver warnings, and subsequent bracket-syntax failure were explicitly retried. The final self-contained rank-one calculation and corrected finite-boundary checks succeeded.", + "Call-record clarification: the final `eval(js)` call only marked the four verification checklist items done via `tool.todo`. It performed no arithmetic, decoded no data, and supplied no reported values. Its result was `(no output)`.\n\nThe first main Wolfram result explicitly contains the case 4\u20135 coefficient/prediction comparisons and controls 11\u201313 exact comparisons. The successful self-contained retry derives control 14\u2019s Gram matrix, cross matrix, eigensystem, coefficients, predictions and metrics directly from the fixture\u2014not from assumed oracle constants.\n\nThe verification verdict remains unchanged and applies only to the attached raw output." + ] + } +} diff --git a/native/alignment/evidence/run.json b/native/alignment/evidence/run.json index ee7584a..8cf5fe6 100644 --- a/native/alignment/evidence/run.json +++ b/native/alignment/evidence/run.json @@ -1,75 +1,1383 @@ { - "schema": "nl2-host-v1", + "schema": "nl2-host-v2", + "supersedes": "run-41589735-superseded.json", + "correction": "Explicit native per-check records and returned-value Wolfram oracle replace ambiguous print/Null-based summaries. No real-model result or merge qualification is claimed.", "source_base": "b6c33e3a82611361b37c651df70d9a645045773a", "compiler_commit": "1fe5976d398646b17acabbf6d9dfae96b017e439", "compiler_sha256": "d6290c7663c2b4bafb59eb3fdf812476e977f4c144def71095c6248ef9b96b84", - "source_sha256": "373fbf6da2f928968f1b30066d69d0f78c97e5b7bb419a728e529af4c23b3744", - "binary_sha256": "77c262696a2091d316bc2a71dd69e8e9b6d7b126f0d39c9f4ef81c182d754418", - "commands": [ - { - "argv": [ - "cat", - "project.om", - "check.om" - ], - "purpose": "concatenate handwritten Omega units" + "source_sha256": "0756f87d7bab5e39c7330598dce20be6656c57cf18850e7b59c28daab59eb035", + "binary_sha256": "0628efd2cfc2bec99d9d5bd8ebf38eb824b70f0ec31cc2b9b995d587fa023fdb", + "compile_exit": 0, + "compile_stderr": "", + "native_exit": 0, + "native_stdout": "997 10 1\n997 20 1\n0 4 0\n997 30 1\n997 40 1\n997 50 1\n0 100 4607182418800017408\n0 101 0\n0 104 0\n0 105 4607182418800017408\n0 200 13837309855095848960\n0 201 13830554455654793216\n0 204 13837309855095848960\n0 205 4607182418800017408\n0 208 13830554455654793216\n0 209 13837309855095848960\n0 212 13830554455654793216\n0 213 4613937818241073152\n0 216 4607182418800017408\n0 217 13837309855095848960\n0 220 4607182418800017408\n0 221 4613937818241073152\n0 224 4613937818241073152\n0 225 13830554455654793216\n0 228 4613937818241073152\n0 229 4607182418800017408\n0 0 0\n0 1 4635329916471083008\n0 2 0\n0 3 0\n997 60 1\n997 70 1\n997 11 1\n997 21 1\n1 4 0\n997 31 1\n997 41 1\n997 51 1\n1 100 0\n1 101 4607182418800017408\n1 104 13830554455654793216\n1 105 0\n1 200 13837309855095848960\n1 201 13830554455654793216\n1 204 13837309855095848960\n1 205 4607182418800017408\n1 208 13830554455654793216\n1 209 13837309855095848960\n1 212 13830554455654793216\n1 213 4613937818241073152\n1 216 4607182418800017408\n1 217 13837309855095848960\n1 220 4607182418800017408\n1 221 4613937818241073152\n1 224 4613937818241073152\n1 225 13830554455654793216\n1 228 4613937818241073152\n1 229 4607182418800017408\n1 0 0\n1 1 4635329916471083008\n1 2 0\n1 3 0\n997 61 1\n997 71 1\n997 12 1\n997 22 1\n997 23 1\n997 32 1\n997 42 1\n997 52 1\n2 100 4604180019048437076\n2 101 13823048456275842386\n2 104 13823048456275842386\n2 105 4604180019048437078\n2 108 4599676419421066585\n2 109 4599676419421066585\n2 200 13837309855095848962\n2 201 13830554455654793222\n2 204 13837309855095848959\n2 205 4607182418800017399\n2 208 13830554455654793222\n2 209 13837309855095848962\n2 212 13830554455654793207\n2 213 4613937818241073152\n2 216 4607182418800017399\n2 217 13837309855095848960\n2 220 4607182418800017414\n2 221 4613937818241073154\n2 224 4613937818241073151\n2 225 13830554455654793207\n2 228 4613937818241073154\n2 229 4607182418800017414\n2 0 4175558134200270848\n2 1 4635329916471083008\n2 2 4384254237245177856\n2 3 4147167864361792307\n997 62 1\n997 72 1\n997 13 1\n997 33 1\n997 43 1\n997 53 1\n3 100 4607182418800017408\n3 101 0\n3 104 0\n3 105 4607182418800017408\n3 108 4368491638549381120\n3 109 4607182418800017407\n3 112 4607182418800017407\n3 113 4368491638549381120\n3 200 13835058055282163708\n3 201 4620693217682128894\n3 204 13835058055282163708\n3 205 4621819117588971519\n3 208 4620693217682128894\n3 209 13835058055282163708\n3 212 4620693217682128894\n3 213 4616189618054758401\n3 216 4621819117588971519\n3 217 13835058055282163708\n3 220 4621819117588971519\n3 221 4616189618054758401\n3 224 4616189618054758401\n3 225 4620693217682128894\n3 228 4616189618054758401\n3 229 4621819117588971519\n3 0 4180466354106662912\n3 1 4649685140283326464\n3 2 4386506037058863104\n3 3 4137633205476780477\n997 63 1\n997 73 1\n997 14 1\n997 34 1\n997 54 1\n4 100 4607182418800017408\n4 101 0\n4 104 0\n4 105 4607182418800017408\n4 200 13837309855095848960\n4 201 13830554455654793216\n4 204 13837309855095848960\n4 205 4607182418800017408\n4 208 13830554455654793216\n4 209 13837309855095848960\n4 212 13830554455654793216\n4 213 4613937818241073152\n4 216 4607182418800017408\n4 217 13837309855095848960\n4 220 4607182418800017408\n4 221 4613937818241073152\n4 224 4613937818241073152\n4 225 13830554455654793216\n4 228 4613937818241073152\n4 229 4607182418800017408\n4 0 4648981452841549824\n4 1 4649685140283326464\n4 2 4621256167635550208\n4 3 4606203375402762952\n997 84 1\n997 15 1\n997 35 1\n997 55 1\n5 100 13830554455654793216\n5 101 0\n5 104 0\n5 105 13830554455654793216\n5 108 4368491638549381120\n5 109 4607182418800017407\n5 112 4607182418800017407\n5 113 4368491638549381120\n5 200 4616189618054758401\n5 201 4621819117588971519\n5 204 4616189618054758401\n5 205 4620693217682128894\n5 208 4621819117588971519\n5 209 4616189618054758401\n5 212 4621819117588971519\n5 213 13835058055282163708\n5 216 4620693217682128894\n5 217 4616189618054758401\n5 220 4620693217682128894\n5 221 13835058055282163708\n5 224 13835058055282163708\n5 225 4621819117588971519\n5 228 13835058055282163708\n5 229 4620693217682128894\n5 0 4644337115725824001\n5 1 4649685140283326464\n5 2 4618441417868443649\n5 3 4601503967095941567\n997 85 1\n997 100 1\n997 110 1\n997 120 1\n10 0 1\n997 111 1\n997 121 1\n10 1 1\n997 112 1\n997 122 1\n10 2 1\n997 113 1\n997 123 1\n10 3 1\n997 114 1\n997 124 1\n10 4 1\n997 130 1\n997 131 1\n11 100 4607182418800017408\n11 101 0\n11 104 0\n11 105 4607182418800017408\n11 200 13830554455654793216\n11 201 4613937818241073152\n11 204 4607182418800017408\n11 205 4613937818241073152\n11 208 13837309855095848960\n11 209 4607182418800017408\n11 212 4613937818241073152\n11 213 4607182418800017408\n11 216 13837309855095848960\n11 217 13830554455654793216\n11 220 4613937818241073152\n11 221 13830554455654793216\n11 224 13830554455654793216\n11 225 13837309855095848960\n11 228 4607182418800017408\n11 229 13837309855095848960\n11 0 4639833516098453504\n11 1 4635329916471083008\n11 2 4616189618054758400\n11 3 4611686018427387904\n997 132 1\n997 133 1\n12 100 0\n12 101 0\n12 104 0\n12 105 0\n12 200 0\n12 201 0\n12 204 0\n12 205 0\n12 208 0\n12 209 0\n12 212 0\n12 213 0\n12 216 0\n12 217 0\n12 220 0\n12 221 0\n12 224 0\n12 225 0\n12 228 0\n12 229 0\n12 0 4635329916471083008\n12 1 4635329916471083008\n12 2 4613937818241073152\n12 3 4607182418800017408\n997 134 1\n997 135 1\n13 100 0\n13 101 13830554455654793216\n13 104 4607182418800017408\n13 105 0\n13 200 4613937818241073152\n13 201 4607182418800017408\n13 204 4613937818241073152\n13 205 13830554455654793216\n13 208 4607182418800017408\n13 209 4613937818241073152\n13 212 4607182418800017408\n13 213 13837309855095848960\n13 216 13830554455654793216\n13 217 4613937818241073152\n13 220 13830554455654793216\n13 221 13837309855095848960\n13 224 13837309855095848960\n13 225 4607182418800017408\n13 228 13837309855095848960\n13 229 13830554455654793216\n13 0 4644337115725824000\n13 1 4635329916471083008\n13 2 4618441417868443648\n13 3 4616189618054758400\n997 140 1\n997 141 1\n997 142 1\n997 143 1\n997 144 1\n997 145 1\n997 146 1\n997 150 1\n997 151 1\n997 152 1\n14 100 4595172819793696087\n14 101 4595172819793696087\n14 104 4595172819793696087\n14 105 4595172819793696087\n14 108 4599676419421066585\n14 109 4599676419421066585\n14 200 13835058055282163714\n14 201 13835058055282163714\n14 204 13830554455654793218\n14 205 13830554455654793218\n14 208 13835058055282163714\n14 209 13835058055282163714\n14 212 4607182418800017410\n14 213 4607182418800017410\n14 216 13830554455654793218\n14 217 13830554455654793218\n14 220 4611686018427387906\n14 221 4611686018427387906\n14 224 4607182418800017410\n14 225 4607182418800017410\n14 228 4611686018427387906\n14 229 4611686018427387906\n14 0 4630826316843712512\n14 1 4635329916471083008\n14 2 4611686018427387905\n14 3 4602678819172646912\n998 0 0\n998 1 63\n", + "native_stderr": "", + "total_check_count": 63, + "failed_check_count": 0, + "per_check_results": [ + { + "id": 10, + "passed": true }, { - "argv": [ - "/home/drakestapleton/workspace/omega-911-harness-fresh/seed/out/omc" - ], - "stdin": "concatenated source", - "exit": 0, - "stderr": "" + "id": 20, + "passed": true }, { - "argv": [ - "/tmp/nl2-check" - ], - "exit": 0, - "stdout": "0 4 0\n0 100 4607182418800017408\n0 101 0\n0 104 0\n0 105 4607182418800017408\n0 200 13837309855095848960\n0 201 13830554455654793216\n0 204 13837309855095848960\n0 205 4607182418800017408\n0 208 13830554455654793216\n0 209 13837309855095848960\n0 212 13830554455654793216\n0 213 4613937818241073152\n0 216 4607182418800017408\n0 217 13837309855095848960\n0 220 4607182418800017408\n0 221 4613937818241073152\n0 224 4613937818241073152\n0 225 13830554455654793216\n0 228 4613937818241073152\n0 229 4607182418800017408\n0 0 0\n0 1 4635329916471083008\n0 2 0\n0 3 0\n1 4 0\n1 100 0\n1 101 4607182418800017408\n1 104 13830554455654793216\n1 105 0\n1 200 13837309855095848960\n1 201 13830554455654793216\n1 204 13837309855095848960\n1 205 4607182418800017408\n1 208 13830554455654793216\n1 209 13837309855095848960\n1 212 13830554455654793216\n1 213 4613937818241073152\n1 216 4607182418800017408\n1 217 13837309855095848960\n1 220 4607182418800017408\n1 221 4613937818241073152\n1 224 4613937818241073152\n1 225 13830554455654793216\n1 228 4613937818241073152\n1 229 4607182418800017408\n1 0 0\n1 1 4635329916471083008\n1 2 0\n1 3 0\n2 100 4604180019048437076\n2 101 13823048456275842386\n2 104 13823048456275842386\n2 105 4604180019048437078\n2 108 4599676419421066585\n2 109 4599676419421066585\n2 200 13837309855095848962\n2 201 13830554455654793222\n2 204 13837309855095848959\n2 205 4607182418800017399\n2 208 13830554455654793222\n2 209 13837309855095848962\n2 212 13830554455654793207\n2 213 4613937818241073152\n2 216 4607182418800017399\n2 217 13837309855095848960\n2 220 4607182418800017414\n2 221 4613937818241073154\n2 224 4613937818241073151\n2 225 13830554455654793207\n2 228 4613937818241073154\n2 229 4607182418800017414\n2 0 4175558134200270848\n2 1 4635329916471083008\n2 2 4384254237245177856\n2 3 4147167864361792307\n3 100 4607182418800017408\n3 101 0\n3 104 0\n3 105 4607182418800017408\n3 108 4368491638549381120\n3 109 4607182418800017407\n3 112 4607182418800017407\n3 113 4368491638549381120\n3 200 13835058055282163708\n3 201 4620693217682128894\n3 204 13835058055282163708\n3 205 4621819117588971519\n3 208 4620693217682128894\n3 209 13835058055282163708\n3 212 4620693217682128894\n3 213 4616189618054758401\n3 216 4621819117588971519\n3 217 13835058055282163708\n3 220 4621819117588971519\n3 221 4616189618054758401\n3 224 4616189618054758401\n3 225 4620693217682128894\n3 228 4616189618054758401\n3 229 4621819117588971519\n3 0 4180466354106662912\n3 1 4649685140283326464\n3 2 4386506037058863104\n3 3 4137633205476780477\n4 100 4607182418800017408\n4 101 0\n4 104 0\n4 105 4607182418800017408\n4 200 13837309855095848960\n4 201 13830554455654793216\n4 204 13837309855095848960\n4 205 4607182418800017408\n4 208 13830554455654793216\n4 209 13837309855095848960\n4 212 13830554455654793216\n4 213 4613937818241073152\n4 216 4607182418800017408\n4 217 13837309855095848960\n4 220 4607182418800017408\n4 221 4613937818241073152\n4 224 4613937818241073152\n4 225 13830554455654793216\n4 228 4613937818241073152\n4 229 4607182418800017408\n4 0 4648981452841549824\n4 1 4649685140283326464\n4 2 4621256167635550208\n4 3 4606203375402762952\n5 100 13830554455654793216\n5 101 0\n5 104 0\n5 105 13830554455654793216\n5 108 4368491638549381120\n5 109 4607182418800017407\n5 112 4607182418800017407\n5 113 4368491638549381120\n5 200 4616189618054758401\n5 201 4621819117588971519\n5 204 4616189618054758401\n5 205 4620693217682128894\n5 208 4621819117588971519\n5 209 4616189618054758401\n5 212 4621819117588971519\n5 213 13835058055282163708\n5 216 4620693217682128894\n5 217 4616189618054758401\n5 220 4620693217682128894\n5 221 13835058055282163708\n5 224 13835058055282163708\n5 225 4621819117588971519\n5 228 13835058055282163708\n5 229 4620693217682128894\n5 0 4644337115725824001\n5 1 4649685140283326464\n5 2 4618441417868443649\n5 3 4601503967095941567\n10 0 1\n10 1 1\n10 2 1\n10 3 1\n10 4 1\n11 100 4607182418800017408\n11 101 0\n11 104 0\n11 105 4607182418800017408\n11 200 13830554455654793216\n11 201 4613937818241073152\n11 204 4607182418800017408\n11 205 4613937818241073152\n11 208 13837309855095848960\n11 209 4607182418800017408\n11 212 4613937818241073152\n11 213 4607182418800017408\n11 216 13837309855095848960\n11 217 13830554455654793216\n11 220 4613937818241073152\n11 221 13830554455654793216\n11 224 13830554455654793216\n11 225 13837309855095848960\n11 228 4607182418800017408\n11 229 13837309855095848960\n11 0 4639833516098453504\n11 1 4635329916471083008\n11 2 4616189618054758400\n11 3 4611686018427387904\n12 100 0\n12 101 0\n12 104 0\n12 105 0\n12 200 0\n12 201 0\n12 204 0\n12 205 0\n12 208 0\n12 209 0\n12 212 0\n12 213 0\n12 216 0\n12 217 0\n12 220 0\n12 221 0\n12 224 0\n12 225 0\n12 228 0\n12 229 0\n12 0 4635329916471083008\n12 1 4635329916471083008\n12 2 4613937818241073152\n12 3 4607182418800017408\n13 100 0\n13 101 13830554455654793216\n13 104 4607182418800017408\n13 105 0\n13 200 4613937818241073152\n13 201 4607182418800017408\n13 204 4613937818241073152\n13 205 13830554455654793216\n13 208 4607182418800017408\n13 209 4613937818241073152\n13 212 4607182418800017408\n13 213 13837309855095848960\n13 216 13830554455654793216\n13 217 4613937818241073152\n13 220 13830554455654793216\n13 221 13837309855095848960\n13 224 13837309855095848960\n13 225 4607182418800017408\n13 228 13837309855095848960\n13 229 13830554455654793216\n13 0 4644337115725824000\n13 1 4635329916471083008\n13 2 4618441417868443648\n13 3 4616189618054758400\n14 100 4595172819793696087\n14 101 4595172819793696087\n14 104 4595172819793696087\n14 105 4595172819793696087\n14 108 4599676419421066585\n14 109 4599676419421066585\n14 200 13835058055282163714\n14 201 13835058055282163714\n14 204 13830554455654793218\n14 205 13830554455654793218\n14 208 13835058055282163714\n14 209 13835058055282163714\n14 212 4607182418800017410\n14 213 4607182418800017410\n14 216 13830554455654793218\n14 217 13830554455654793218\n14 220 4611686018427387906\n14 221 4611686018427387906\n14 224 4607182418800017410\n14 225 4607182418800017410\n14 228 4611686018427387906\n14 229 4611686018427387906\n14 0 4630826316843712512\n14 1 4635329916471083008\n14 2 4611686018427387905\n14 3 4602678819172646912\n998 0 0\n", - "stderr": "" + "id": 30, + "passed": true + }, + { + "id": 40, + "passed": true + }, + { + "id": 50, + "passed": true + }, + { + "id": 60, + "passed": true + }, + { + "id": 70, + "passed": true + }, + { + "id": 11, + "passed": true + }, + { + "id": 21, + "passed": true + }, + { + "id": 31, + "passed": true + }, + { + "id": 41, + "passed": true + }, + { + "id": 51, + "passed": true + }, + { + "id": 61, + "passed": true + }, + { + "id": 71, + "passed": true + }, + { + "id": 12, + "passed": true + }, + { + "id": 22, + "passed": true + }, + { + "id": 23, + "passed": true + }, + { + "id": 32, + "passed": true + }, + { + "id": 42, + "passed": true + }, + { + "id": 52, + "passed": true + }, + { + "id": 62, + "passed": true + }, + { + "id": 72, + "passed": true + }, + { + "id": 13, + "passed": true + }, + { + "id": 33, + "passed": true + }, + { + "id": 43, + "passed": true + }, + { + "id": 53, + "passed": true + }, + { + "id": 63, + "passed": true + }, + { + "id": 73, + "passed": true + }, + { + "id": 14, + "passed": true + }, + { + "id": 34, + "passed": true + }, + { + "id": 54, + "passed": true + }, + { + "id": 84, + "passed": true + }, + { + "id": 15, + "passed": true + }, + { + "id": 35, + "passed": true + }, + { + "id": 55, + "passed": true + }, + { + "id": 85, + "passed": true + }, + { + "id": 100, + "passed": true + }, + { + "id": 110, + "passed": true + }, + { + "id": 120, + "passed": true + }, + { + "id": 111, + "passed": true + }, + { + "id": 121, + "passed": true + }, + { + "id": 112, + "passed": true + }, + { + "id": 122, + "passed": true + }, + { + "id": 113, + "passed": true + }, + { + "id": 123, + "passed": true + }, + { + "id": 114, + "passed": true + }, + { + "id": 124, + "passed": true + }, + { + "id": 130, + "passed": true + }, + { + "id": 131, + "passed": true + }, + { + "id": 132, + "passed": true + }, + { + "id": 133, + "passed": true + }, + { + "id": 134, + "passed": true + }, + { + "id": 135, + "passed": true + }, + { + "id": 140, + "passed": true + }, + { + "id": 141, + "passed": true + }, + { + "id": 142, + "passed": true + }, + { + "id": 143, + "passed": true + }, + { + "id": 144, + "passed": true + }, + { + "id": 145, + "passed": true + }, + { + "id": 146, + "passed": true + }, + { + "id": 150, + "passed": true + }, + { + "id": 151, + "passed": true + }, + { + "id": 152, + "passed": true } ], - "scope": "synthetic-host", - "real_model_status": "BLOCKED", + "failed_check_ids": [], "negative_controls": [ { "name": "metadata", - "mutation": "remove metadata mismatch refusal", - "source_sha256": "c4cc6cbffafcc890c354fcf96b85b191e0f721fdb711ef0a257ad06c1f20633a", + "source_sha256": "0346b0c240b420ce8cde4a8140e094ac48963ef6437296db639b08ab462dc0b5", "compile_exit": 0, "compile_stderr": "", "exit": 1, - "stdout": "0 4 0\n0 100 4607182418800017408\n0 101 0\n0 104 0\n0 105 4607182418800017408\n0 200 13837309855095848960\n0 201 13830554455654793216\n0 204 13837309855095848960\n0 205 4607182418800017408\n0 208 13830554455654793216\n0 209 13837309855095848960\n0 212 13830554455654793216\n0 213 4613937818241073152\n0 216 4607182418800017408\n0 217 13837309855095848960\n0 220 4607182418800017408\n0 221 4613937818241073152\n0 224 4613937818241073152\n0 225 13830554455654793216\n0 228 4613937818241073152\n0 229 4607182418800017408\n0 0 0\n0 1 4635329916471083008\n0 2 0\n0 3 0\n1 4 0\n1 100 0\n1 101 4607182418800017408\n1 104 13830554455654793216\n1 105 0\n1 200 13837309855095848960\n1 201 13830554455654793216\n1 204 13837309855095848960\n1 205 4607182418800017408\n1 208 13830554455654793216\n1 209 13837309855095848960\n1 212 13830554455654793216\n1 213 4613937818241073152\n1 216 4607182418800017408\n1 217 13837309855095848960\n1 220 4607182418800017408\n1 221 4613937818241073152\n1 224 4613937818241073152\n1 225 13830554455654793216\n1 228 4613937818241073152\n1 229 4607182418800017408\n1 0 0\n1 1 4635329916471083008\n1 2 0\n1 3 0\n2 100 4604180019048437076\n2 101 13823048456275842386\n2 104 13823048456275842386\n2 105 4604180019048437078\n2 108 4599676419421066585\n2 109 4599676419421066585\n2 200 13837309855095848962\n2 201 13830554455654793222\n2 204 13837309855095848959\n2 205 4607182418800017399\n2 208 13830554455654793222\n2 209 13837309855095848962\n2 212 13830554455654793207\n2 213 4613937818241073152\n2 216 4607182418800017399\n2 217 13837309855095848960\n2 220 4607182418800017414\n2 221 4613937818241073154\n2 224 4613937818241073151\n2 225 13830554455654793207\n2 228 4613937818241073154\n2 229 4607182418800017414\n2 0 4175558134200270848\n2 1 4635329916471083008\n2 2 4384254237245177856\n2 3 4147167864361792307\n3 100 4607182418800017408\n3 101 0\n3 104 0\n3 105 4607182418800017408\n3 108 4368491638549381120\n3 109 4607182418800017407\n3 112 4607182418800017407\n3 113 4368491638549381120\n3 200 13835058055282163708\n3 201 4620693217682128894\n3 204 13835058055282163708\n3 205 4621819117588971519\n3 208 4620693217682128894\n3 209 13835058055282163708\n3 212 4620693217682128894\n3 213 4616189618054758401\n3 216 4621819117588971519\n3 217 13835058055282163708\n3 220 4621819117588971519\n3 221 4616189618054758401\n3 224 4616189618054758401\n3 225 4620693217682128894\n3 228 4616189618054758401\n3 229 4621819117588971519\n3 0 4180466354106662912\n3 1 4649685140283326464\n3 2 4386506037058863104\n3 3 4137633205476780477\n4 100 4607182418800017408\n4 101 0\n4 104 0\n4 105 4607182418800017408\n4 200 13837309855095848960\n4 201 13830554455654793216\n4 204 13837309855095848960\n4 205 4607182418800017408\n4 208 13830554455654793216\n4 209 13837309855095848960\n4 212 13830554455654793216\n4 213 4613937818241073152\n4 216 4607182418800017408\n4 217 13837309855095848960\n4 220 4607182418800017408\n4 221 4613937818241073152\n4 224 4613937818241073152\n4 225 13830554455654793216\n4 228 4613937818241073152\n4 229 4607182418800017408\n4 0 4648981452841549824\n4 1 4649685140283326464\n4 2 4621256167635550208\n4 3 4606203375402762952\n5 100 13830554455654793216\n5 101 0\n5 104 0\n5 105 13830554455654793216\n5 108 4368491638549381120\n5 109 4607182418800017407\n5 112 4607182418800017407\n5 113 4368491638549381120\n5 200 4616189618054758401\n5 201 4621819117588971519\n5 204 4616189618054758401\n5 205 4620693217682128894\n5 208 4621819117588971519\n5 209 4616189618054758401\n5 212 4621819117588971519\n5 213 13835058055282163708\n5 216 4620693217682128894\n5 217 4616189618054758401\n5 220 4620693217682128894\n5 221 13835058055282163708\n5 224 13835058055282163708\n5 225 4621819117588971519\n5 228 13835058055282163708\n5 229 4620693217682128894\n5 0 4644337115725824001\n5 1 4649685140283326464\n5 2 4618441417868443649\n5 3 4601503967095941567\n999 120 1\n10 0 1\n999 121 1\n10 1 1\n999 122 1\n10 2 1\n999 123 1\n10 3 1\n999 124 1\n10 4 1\n11 100 4607182418800017408\n11 101 0\n11 104 0\n11 105 4607182418800017408\n11 200 13830554455654793216\n11 201 4613937818241073152\n11 204 4607182418800017408\n11 205 4613937818241073152\n11 208 13837309855095848960\n11 209 4607182418800017408\n11 212 4613937818241073152\n11 213 4607182418800017408\n11 216 13837309855095848960\n11 217 13830554455654793216\n11 220 4613937818241073152\n11 221 13830554455654793216\n11 224 13830554455654793216\n11 225 13837309855095848960\n11 228 4607182418800017408\n11 229 13837309855095848960\n11 0 4639833516098453504\n11 1 4635329916471083008\n11 2 4616189618054758400\n11 3 4611686018427387904\n12 100 0\n12 101 0\n12 104 0\n12 105 0\n12 200 0\n12 201 0\n12 204 0\n12 205 0\n12 208 0\n12 209 0\n12 212 0\n12 213 0\n12 216 0\n12 217 0\n12 220 0\n12 221 0\n12 224 0\n12 225 0\n12 228 0\n12 229 0\n12 0 4635329916471083008\n12 1 4635329916471083008\n12 2 4613937818241073152\n12 3 4607182418800017408\n13 100 0\n13 101 13830554455654793216\n13 104 4607182418800017408\n13 105 0\n13 200 4613937818241073152\n13 201 4607182418800017408\n13 204 4613937818241073152\n13 205 13830554455654793216\n13 208 4607182418800017408\n13 209 4613937818241073152\n13 212 4607182418800017408\n13 213 13837309855095848960\n13 216 13830554455654793216\n13 217 4613937818241073152\n13 220 13830554455654793216\n13 221 13837309855095848960\n13 224 13837309855095848960\n13 225 4607182418800017408\n13 228 13837309855095848960\n13 229 13830554455654793216\n13 0 4644337115725824000\n13 1 4635329916471083008\n13 2 4618441417868443648\n13 3 4616189618054758400\n14 100 4595172819793696087\n14 101 4595172819793696087\n14 104 4595172819793696087\n14 105 4595172819793696087\n14 108 4599676419421066585\n14 109 4599676419421066585\n14 200 13835058055282163714\n14 201 13835058055282163714\n14 204 13830554455654793218\n14 205 13830554455654793218\n14 208 13835058055282163714\n14 209 13835058055282163714\n14 212 4607182418800017410\n14 213 4607182418800017410\n14 216 13830554455654793218\n14 217 13830554455654793218\n14 220 4611686018427387906\n14 221 4611686018427387906\n14 224 4607182418800017410\n14 225 4607182418800017410\n14 228 4611686018427387906\n14 229 4611686018427387906\n14 0 4630826316843712512\n14 1 4635329916471083008\n14 2 4611686018427387905\n14 3 4602678819172646912\n998 0 5\n", + "stdout": "997 10 1\n997 20 1\n0 4 0\n997 30 1\n997 40 1\n997 50 1\n0 100 4607182418800017408\n0 101 0\n0 104 0\n0 105 4607182418800017408\n0 200 13837309855095848960\n0 201 13830554455654793216\n0 204 13837309855095848960\n0 205 4607182418800017408\n0 208 13830554455654793216\n0 209 13837309855095848960\n0 212 13830554455654793216\n0 213 4613937818241073152\n0 216 4607182418800017408\n0 217 13837309855095848960\n0 220 4607182418800017408\n0 221 4613937818241073152\n0 224 4613937818241073152\n0 225 13830554455654793216\n0 228 4613937818241073152\n0 229 4607182418800017408\n0 0 0\n0 1 4635329916471083008\n0 2 0\n0 3 0\n997 60 1\n997 70 1\n997 11 1\n997 21 1\n1 4 0\n997 31 1\n997 41 1\n997 51 1\n1 100 0\n1 101 4607182418800017408\n1 104 13830554455654793216\n1 105 0\n1 200 13837309855095848960\n1 201 13830554455654793216\n1 204 13837309855095848960\n1 205 4607182418800017408\n1 208 13830554455654793216\n1 209 13837309855095848960\n1 212 13830554455654793216\n1 213 4613937818241073152\n1 216 4607182418800017408\n1 217 13837309855095848960\n1 220 4607182418800017408\n1 221 4613937818241073152\n1 224 4613937818241073152\n1 225 13830554455654793216\n1 228 4613937818241073152\n1 229 4607182418800017408\n1 0 0\n1 1 4635329916471083008\n1 2 0\n1 3 0\n997 61 1\n997 71 1\n997 12 1\n997 22 1\n997 23 1\n997 32 1\n997 42 1\n997 52 1\n2 100 4604180019048437076\n2 101 13823048456275842386\n2 104 13823048456275842386\n2 105 4604180019048437078\n2 108 4599676419421066585\n2 109 4599676419421066585\n2 200 13837309855095848962\n2 201 13830554455654793222\n2 204 13837309855095848959\n2 205 4607182418800017399\n2 208 13830554455654793222\n2 209 13837309855095848962\n2 212 13830554455654793207\n2 213 4613937818241073152\n2 216 4607182418800017399\n2 217 13837309855095848960\n2 220 4607182418800017414\n2 221 4613937818241073154\n2 224 4613937818241073151\n2 225 13830554455654793207\n2 228 4613937818241073154\n2 229 4607182418800017414\n2 0 4175558134200270848\n2 1 4635329916471083008\n2 2 4384254237245177856\n2 3 4147167864361792307\n997 62 1\n997 72 1\n997 13 1\n997 33 1\n997 43 1\n997 53 1\n3 100 4607182418800017408\n3 101 0\n3 104 0\n3 105 4607182418800017408\n3 108 4368491638549381120\n3 109 4607182418800017407\n3 112 4607182418800017407\n3 113 4368491638549381120\n3 200 13835058055282163708\n3 201 4620693217682128894\n3 204 13835058055282163708\n3 205 4621819117588971519\n3 208 4620693217682128894\n3 209 13835058055282163708\n3 212 4620693217682128894\n3 213 4616189618054758401\n3 216 4621819117588971519\n3 217 13835058055282163708\n3 220 4621819117588971519\n3 221 4616189618054758401\n3 224 4616189618054758401\n3 225 4620693217682128894\n3 228 4616189618054758401\n3 229 4621819117588971519\n3 0 4180466354106662912\n3 1 4649685140283326464\n3 2 4386506037058863104\n3 3 4137633205476780477\n997 63 1\n997 73 1\n997 14 1\n997 34 1\n997 54 1\n4 100 4607182418800017408\n4 101 0\n4 104 0\n4 105 4607182418800017408\n4 200 13837309855095848960\n4 201 13830554455654793216\n4 204 13837309855095848960\n4 205 4607182418800017408\n4 208 13830554455654793216\n4 209 13837309855095848960\n4 212 13830554455654793216\n4 213 4613937818241073152\n4 216 4607182418800017408\n4 217 13837309855095848960\n4 220 4607182418800017408\n4 221 4613937818241073152\n4 224 4613937818241073152\n4 225 13830554455654793216\n4 228 4613937818241073152\n4 229 4607182418800017408\n4 0 4648981452841549824\n4 1 4649685140283326464\n4 2 4621256167635550208\n4 3 4606203375402762952\n997 84 1\n997 15 1\n997 35 1\n997 55 1\n5 100 13830554455654793216\n5 101 0\n5 104 0\n5 105 13830554455654793216\n5 108 4368491638549381120\n5 109 4607182418800017407\n5 112 4607182418800017407\n5 113 4368491638549381120\n5 200 4616189618054758401\n5 201 4621819117588971519\n5 204 4616189618054758401\n5 205 4620693217682128894\n5 208 4621819117588971519\n5 209 4616189618054758401\n5 212 4621819117588971519\n5 213 13835058055282163708\n5 216 4620693217682128894\n5 217 4616189618054758401\n5 220 4620693217682128894\n5 221 13835058055282163708\n5 224 13835058055282163708\n5 225 4621819117588971519\n5 228 13835058055282163708\n5 229 4620693217682128894\n5 0 4644337115725824001\n5 1 4649685140283326464\n5 2 4618441417868443649\n5 3 4601503967095941567\n997 85 1\n997 100 1\n997 110 1\n997 120 0\n999 120 1\n10 0 1\n997 111 1\n997 121 0\n999 121 1\n10 1 1\n997 112 1\n997 122 0\n999 122 1\n10 2 1\n997 113 1\n997 123 0\n999 123 1\n10 3 1\n997 114 1\n997 124 0\n999 124 1\n10 4 1\n997 130 1\n997 131 1\n11 100 4607182418800017408\n11 101 0\n11 104 0\n11 105 4607182418800017408\n11 200 13830554455654793216\n11 201 4613937818241073152\n11 204 4607182418800017408\n11 205 4613937818241073152\n11 208 13837309855095848960\n11 209 4607182418800017408\n11 212 4613937818241073152\n11 213 4607182418800017408\n11 216 13837309855095848960\n11 217 13830554455654793216\n11 220 4613937818241073152\n11 221 13830554455654793216\n11 224 13830554455654793216\n11 225 13837309855095848960\n11 228 4607182418800017408\n11 229 13837309855095848960\n11 0 4639833516098453504\n11 1 4635329916471083008\n11 2 4616189618054758400\n11 3 4611686018427387904\n997 132 1\n997 133 1\n12 100 0\n12 101 0\n12 104 0\n12 105 0\n12 200 0\n12 201 0\n12 204 0\n12 205 0\n12 208 0\n12 209 0\n12 212 0\n12 213 0\n12 216 0\n12 217 0\n12 220 0\n12 221 0\n12 224 0\n12 225 0\n12 228 0\n12 229 0\n12 0 4635329916471083008\n12 1 4635329916471083008\n12 2 4613937818241073152\n12 3 4607182418800017408\n997 134 1\n997 135 1\n13 100 0\n13 101 13830554455654793216\n13 104 4607182418800017408\n13 105 0\n13 200 4613937818241073152\n13 201 4607182418800017408\n13 204 4613937818241073152\n13 205 13830554455654793216\n13 208 4607182418800017408\n13 209 4613937818241073152\n13 212 4607182418800017408\n13 213 13837309855095848960\n13 216 13830554455654793216\n13 217 4613937818241073152\n13 220 13830554455654793216\n13 221 13837309855095848960\n13 224 13837309855095848960\n13 225 4607182418800017408\n13 228 13837309855095848960\n13 229 13830554455654793216\n13 0 4644337115725824000\n13 1 4635329916471083008\n13 2 4618441417868443648\n13 3 4616189618054758400\n997 140 1\n997 141 1\n997 142 1\n997 143 1\n997 144 1\n997 145 1\n997 146 1\n997 150 1\n997 151 1\n997 152 1\n14 100 4595172819793696087\n14 101 4595172819793696087\n14 104 4595172819793696087\n14 105 4595172819793696087\n14 108 4599676419421066585\n14 109 4599676419421066585\n14 200 13835058055282163714\n14 201 13835058055282163714\n14 204 13830554455654793218\n14 205 13830554455654793218\n14 208 13835058055282163714\n14 209 13835058055282163714\n14 212 4607182418800017410\n14 213 4607182418800017410\n14 216 13830554455654793218\n14 217 13830554455654793218\n14 220 4611686018427387906\n14 221 4611686018427387906\n14 224 4607182418800017410\n14 225 4607182418800017410\n14 228 4611686018427387906\n14 229 4611686018427387906\n14 0 4630826316843712512\n14 1 4635329916471083008\n14 2 4611686018427387905\n14 3 4602678819172646912\n998 0 5\n998 1 63\n", "stderr": "", - "binary_sha256": "f3fce1441af331b05843c144ede38594cacbb058a1f5a966714522a721037436", + "binary_sha256": "c68efc53d3dc7d8ba50b4884dd3420fc0e0214ebd84409fd0fbdcfe9cc9e4369", + "total_check_count": 63, + "failed_check_count": 5, + "per_check_results": [ + { + "id": 10, + "passed": true + }, + { + "id": 20, + "passed": true + }, + { + "id": 30, + "passed": true + }, + { + "id": 40, + "passed": true + }, + { + "id": 50, + "passed": true + }, + { + "id": 60, + "passed": true + }, + { + "id": 70, + "passed": true + }, + { + "id": 11, + "passed": true + }, + { + "id": 21, + "passed": true + }, + { + "id": 31, + "passed": true + }, + { + "id": 41, + "passed": true + }, + { + "id": 51, + "passed": true + }, + { + "id": 61, + "passed": true + }, + { + "id": 71, + "passed": true + }, + { + "id": 12, + "passed": true + }, + { + "id": 22, + "passed": true + }, + { + "id": 23, + "passed": true + }, + { + "id": 32, + "passed": true + }, + { + "id": 42, + "passed": true + }, + { + "id": 52, + "passed": true + }, + { + "id": 62, + "passed": true + }, + { + "id": 72, + "passed": true + }, + { + "id": 13, + "passed": true + }, + { + "id": 33, + "passed": true + }, + { + "id": 43, + "passed": true + }, + { + "id": 53, + "passed": true + }, + { + "id": 63, + "passed": true + }, + { + "id": 73, + "passed": true + }, + { + "id": 14, + "passed": true + }, + { + "id": 34, + "passed": true + }, + { + "id": 54, + "passed": true + }, + { + "id": 84, + "passed": true + }, + { + "id": 15, + "passed": true + }, + { + "id": 35, + "passed": true + }, + { + "id": 55, + "passed": true + }, + { + "id": 85, + "passed": true + }, + { + "id": 100, + "passed": true + }, + { + "id": 110, + "passed": true + }, + { + "id": 120, + "passed": false + }, + { + "id": 111, + "passed": true + }, + { + "id": 121, + "passed": false + }, + { + "id": 112, + "passed": true + }, + { + "id": 122, + "passed": false + }, + { + "id": 113, + "passed": true + }, + { + "id": 123, + "passed": false + }, + { + "id": 114, + "passed": true + }, + { + "id": 124, + "passed": false + }, + { + "id": 130, + "passed": true + }, + { + "id": 131, + "passed": true + }, + { + "id": 132, + "passed": true + }, + { + "id": 133, + "passed": true + }, + { + "id": 134, + "passed": true + }, + { + "id": 135, + "passed": true + }, + { + "id": 140, + "passed": true + }, + { + "id": 141, + "passed": true + }, + { + "id": 142, + "passed": true + }, + { + "id": 143, + "passed": true + }, + { + "id": 144, + "passed": true + }, + { + "id": 145, + "passed": true + }, + { + "id": 146, + "passed": true + }, + { + "id": 150, + "passed": true + }, + { + "id": 151, + "passed": true + }, + { + "id": 152, + "passed": true + } + ], + "failed_check_ids": [ + 120, + 121, + 122, + 123, + 124 + ], "mutation_before": "if or eq get HS 2 0 ne mismatch 0", "mutation_after": "if eq get HS 2 0" }, { "name": "projector", - "mutation": "negate learned installed coefficients", - "source_sha256": "6466c26287940b1716f960d280aa2aefb61a8ed62aa7a90ecf7456c1660e74a9", + "source_sha256": "35a7a49f77c31e9aa0e0f533bdfb8c403753da7432adb479d4ef55770a0fe757", "compile_exit": 0, "compile_stderr": "", "exit": 1, - "stdout": "0 4 0\n999 40 1\n0 100 13830554455654793216\n0 101 0\n0 104 0\n0 105 13830554455654793216\n0 200 4613937818241073152\n0 201 4607182418800017408\n0 204 4613937818241073152\n0 205 13830554455654793216\n0 208 4607182418800017408\n0 209 4613937818241073152\n0 212 4607182418800017408\n0 213 13837309855095848960\n0 216 13830554455654793216\n0 217 4613937818241073152\n0 220 13830554455654793216\n0 221 13837309855095848960\n0 224 13837309855095848960\n0 225 4607182418800017408\n0 228 13837309855095848960\n0 229 13830554455654793216\n0 0 4644337115725824000\n0 1 4635329916471083008\n0 2 4618441417868443648\n0 3 4616189618054758400\n999 60 1\n999 70 1\n1 4 0\n999 41 1\n1 100 0\n1 101 13830554455654793216\n1 104 4607182418800017408\n1 105 0\n1 200 4613937818241073152\n1 201 4607182418800017408\n1 204 4613937818241073152\n1 205 13830554455654793216\n1 208 4607182418800017408\n1 209 4613937818241073152\n1 212 4607182418800017408\n1 213 13837309855095848960\n1 216 13830554455654793216\n1 217 4613937818241073152\n1 220 13830554455654793216\n1 221 13837309855095848960\n1 224 13837309855095848960\n1 225 4607182418800017408\n1 228 13837309855095848960\n1 229 13830554455654793216\n1 0 4644337115725824000\n1 1 4635329916471083008\n1 2 4618441417868443648\n1 3 4616189618054758400\n999 61 1\n999 71 1\n999 22 1\n999 23 1\n999 42 1\n2 100 13827552055903212884\n2 101 4599676419421066578\n2 104 4599676419421066578\n2 105 13827552055903212886\n2 108 13823048456275842393\n2 109 13823048456275842393\n2 200 4613937818241073154\n2 201 4607182418800017414\n2 204 4613937818241073151\n2 205 13830554455654793207\n2 208 4607182418800017414\n2 209 4613937818241073154\n2 212 4607182418800017399\n2 213 13837309855095848960\n2 216 13830554455654793207\n2 217 4613937818241073152\n2 220 13830554455654793222\n2 221 13837309855095848962\n2 224 13837309855095848959\n2 225 4607182418800017399\n2 228 13837309855095848962\n2 229 13830554455654793222\n2 0 4644337115725824001\n2 1 4635329916471083008\n2 2 4618441417868443649\n2 3 4616189618054758401\n999 62 1\n999 72 1\n999 43 1\n3 100 13830554455654793216\n3 101 0\n3 104 0\n3 105 13830554455654793216\n3 108 13591863675404156928\n3 109 13830554455654793215\n3 112 13830554455654793215\n3 113 13591863675404156928\n3 200 4611686018427387900\n3 201 13844065254536904702\n3 204 4611686018427387900\n3 205 13845191154443747327\n3 208 13844065254536904702\n3 209 4611686018427387900\n3 212 13844065254536904702\n3 213 13839561654909534209\n3 216 13845191154443747327\n3 217 4611686018427387900\n3 220 13845191154443747327\n3 221 13839561654909534209\n3 224 13839561654909534209\n3 225 13844065254536904702\n3 228 13839561654909534209\n3 229 13845191154443747327\n3 0 4658692339538067456\n3 1 4649685140283326464\n3 2 4626322717216342016\n3 3 4616189618054758400\n999 63 1\n999 73 1\n4 100 13830554455654793216\n4 101 0\n4 104 0\n4 105 13830554455654793216\n4 200 4613937818241073152\n4 201 4607182418800017408\n4 204 4613937818241073152\n4 205 13830554455654793216\n4 208 4607182418800017408\n4 209 4613937818241073152\n4 212 4607182418800017408\n4 213 13837309855095848960\n4 216 13830554455654793216\n4 217 4613937818241073152\n4 220 13830554455654793216\n4 221 13837309855095848960\n4 224 13837309855095848960\n4 225 4607182418800017408\n4 228 13837309855095848960\n4 229 13830554455654793216\n4 0 4651796202608656384\n4 1 4649685140283326464\n4 2 4622382067542392832\n4 3 4608650983895899091\n999 84 1\n5 100 4607182418800017408\n5 101 0\n5 104 0\n5 105 4607182418800017408\n5 108 13591863675404156928\n5 109 13830554455654793215\n5 112 13830554455654793215\n5 113 13591863675404156928\n5 200 13839561654909534209\n5 201 13845191154443747327\n5 204 13839561654909534209\n5 205 13844065254536904702\n5 208 13845191154443747327\n5 209 13839561654909534209\n5 212 13845191154443747327\n5 213 4611686018427387900\n5 216 13844065254536904702\n5 217 13839561654909534209\n5 220 13844065254536904702\n5 221 4611686018427387900\n5 224 4611686018427387900\n5 225 13845191154443747327\n5 228 4611686018427387900\n5 229 13844065254536904702\n5 0 4657988652096290816\n5 1 4649685140283326464\n5 2 4625759767262920704\n5 3 4615210574657503944\n999 85 1\n10 0 1\n10 1 1\n10 2 1\n10 3 1\n10 4 1\n11 100 4607182418800017408\n11 101 0\n11 104 0\n11 105 4607182418800017408\n11 200 13830554455654793216\n11 201 4613937818241073152\n11 204 4607182418800017408\n11 205 4613937818241073152\n11 208 13837309855095848960\n11 209 4607182418800017408\n11 212 4613937818241073152\n11 213 4607182418800017408\n11 216 13837309855095848960\n11 217 13830554455654793216\n11 220 4613937818241073152\n11 221 13830554455654793216\n11 224 13830554455654793216\n11 225 13837309855095848960\n11 228 4607182418800017408\n11 229 13837309855095848960\n11 0 4639833516098453504\n11 1 4635329916471083008\n11 2 4616189618054758400\n11 3 4611686018427387904\n12 100 0\n12 101 0\n12 104 0\n12 105 0\n12 200 0\n12 201 0\n12 204 0\n12 205 0\n12 208 0\n12 209 0\n12 212 0\n12 213 0\n12 216 0\n12 217 0\n12 220 0\n12 221 0\n12 224 0\n12 225 0\n12 228 0\n12 229 0\n12 0 4635329916471083008\n12 1 4635329916471083008\n12 2 4613937818241073152\n12 3 4607182418800017408\n13 100 0\n13 101 13830554455654793216\n13 104 4607182418800017408\n13 105 0\n13 200 4613937818241073152\n13 201 4607182418800017408\n13 204 4613937818241073152\n13 205 13830554455654793216\n13 208 4607182418800017408\n13 209 4613937818241073152\n13 212 4607182418800017408\n13 213 13837309855095848960\n13 216 13830554455654793216\n13 217 4613937818241073152\n13 220 13830554455654793216\n13 221 13837309855095848960\n13 224 13837309855095848960\n13 225 4607182418800017408\n13 228 13837309855095848960\n13 229 13830554455654793216\n13 0 4644337115725824000\n13 1 4635329916471083008\n13 2 4618441417868443648\n13 3 4616189618054758400\n14 100 13818544856648471895\n14 101 13818544856648471895\n14 104 13818544856648471895\n14 105 13818544856648471895\n14 108 13823048456275842393\n14 109 13823048456275842393\n14 200 4611686018427387906\n14 201 4611686018427387906\n14 204 4607182418800017410\n14 205 4607182418800017410\n14 208 4611686018427387906\n14 209 4611686018427387906\n14 212 13830554455654793218\n14 213 13830554455654793218\n14 216 4607182418800017410\n14 217 4607182418800017410\n14 220 13835058055282163714\n14 221 13835058055282163714\n14 224 13830554455654793218\n14 225 13830554455654793218\n14 228 13835058055282163714\n14 229 13835058055282163714\n14 0 4641240890982006785\n14 1 4635329916471083008\n14 2 4617315517961601025\n14 3 4612811918334230529\n998 0 16\n", + "stdout": "997 10 1\n997 20 1\n0 4 0\n997 30 1\n997 40 0\n999 40 1\n997 50 1\n0 100 13830554455654793216\n0 101 0\n0 104 0\n0 105 13830554455654793216\n0 200 4613937818241073152\n0 201 4607182418800017408\n0 204 4613937818241073152\n0 205 13830554455654793216\n0 208 4607182418800017408\n0 209 4613937818241073152\n0 212 4607182418800017408\n0 213 13837309855095848960\n0 216 13830554455654793216\n0 217 4613937818241073152\n0 220 13830554455654793216\n0 221 13837309855095848960\n0 224 13837309855095848960\n0 225 4607182418800017408\n0 228 13837309855095848960\n0 229 13830554455654793216\n0 0 4644337115725824000\n0 1 4635329916471083008\n0 2 4618441417868443648\n0 3 4616189618054758400\n997 60 0\n999 60 1\n997 70 0\n999 70 1\n997 11 1\n997 21 1\n1 4 0\n997 31 1\n997 41 0\n999 41 1\n997 51 1\n1 100 0\n1 101 13830554455654793216\n1 104 4607182418800017408\n1 105 0\n1 200 4613937818241073152\n1 201 4607182418800017408\n1 204 4613937818241073152\n1 205 13830554455654793216\n1 208 4607182418800017408\n1 209 4613937818241073152\n1 212 4607182418800017408\n1 213 13837309855095848960\n1 216 13830554455654793216\n1 217 4613937818241073152\n1 220 13830554455654793216\n1 221 13837309855095848960\n1 224 13837309855095848960\n1 225 4607182418800017408\n1 228 13837309855095848960\n1 229 13830554455654793216\n1 0 4644337115725824000\n1 1 4635329916471083008\n1 2 4618441417868443648\n1 3 4616189618054758400\n997 61 0\n999 61 1\n997 71 0\n999 71 1\n997 12 1\n997 22 0\n999 22 1\n997 23 0\n999 23 1\n997 32 1\n997 42 0\n999 42 1\n997 52 1\n2 100 13827552055903212884\n2 101 4599676419421066578\n2 104 4599676419421066578\n2 105 13827552055903212886\n2 108 13823048456275842393\n2 109 13823048456275842393\n2 200 4613937818241073154\n2 201 4607182418800017414\n2 204 4613937818241073151\n2 205 13830554455654793207\n2 208 4607182418800017414\n2 209 4613937818241073154\n2 212 4607182418800017399\n2 213 13837309855095848960\n2 216 13830554455654793207\n2 217 4613937818241073152\n2 220 13830554455654793222\n2 221 13837309855095848962\n2 224 13837309855095848959\n2 225 4607182418800017399\n2 228 13837309855095848962\n2 229 13830554455654793222\n2 0 4644337115725824001\n2 1 4635329916471083008\n2 2 4618441417868443649\n2 3 4616189618054758401\n997 62 0\n999 62 1\n997 72 0\n999 72 1\n997 13 1\n997 33 1\n997 43 0\n999 43 1\n997 53 1\n3 100 13830554455654793216\n3 101 0\n3 104 0\n3 105 13830554455654793216\n3 108 13591863675404156928\n3 109 13830554455654793215\n3 112 13830554455654793215\n3 113 13591863675404156928\n3 200 4611686018427387900\n3 201 13844065254536904702\n3 204 4611686018427387900\n3 205 13845191154443747327\n3 208 13844065254536904702\n3 209 4611686018427387900\n3 212 13844065254536904702\n3 213 13839561654909534209\n3 216 13845191154443747327\n3 217 4611686018427387900\n3 220 13845191154443747327\n3 221 13839561654909534209\n3 224 13839561654909534209\n3 225 13844065254536904702\n3 228 13839561654909534209\n3 229 13845191154443747327\n3 0 4658692339538067456\n3 1 4649685140283326464\n3 2 4626322717216342016\n3 3 4616189618054758400\n997 63 0\n999 63 1\n997 73 0\n999 73 1\n997 14 1\n997 34 1\n997 54 1\n4 100 13830554455654793216\n4 101 0\n4 104 0\n4 105 13830554455654793216\n4 200 4613937818241073152\n4 201 4607182418800017408\n4 204 4613937818241073152\n4 205 13830554455654793216\n4 208 4607182418800017408\n4 209 4613937818241073152\n4 212 4607182418800017408\n4 213 13837309855095848960\n4 216 13830554455654793216\n4 217 4613937818241073152\n4 220 13830554455654793216\n4 221 13837309855095848960\n4 224 13837309855095848960\n4 225 4607182418800017408\n4 228 13837309855095848960\n4 229 13830554455654793216\n4 0 4651796202608656384\n4 1 4649685140283326464\n4 2 4622382067542392832\n4 3 4608650983895899091\n997 84 0\n999 84 1\n997 15 1\n997 35 1\n997 55 1\n5 100 4607182418800017408\n5 101 0\n5 104 0\n5 105 4607182418800017408\n5 108 13591863675404156928\n5 109 13830554455654793215\n5 112 13830554455654793215\n5 113 13591863675404156928\n5 200 13839561654909534209\n5 201 13845191154443747327\n5 204 13839561654909534209\n5 205 13844065254536904702\n5 208 13845191154443747327\n5 209 13839561654909534209\n5 212 13845191154443747327\n5 213 4611686018427387900\n5 216 13844065254536904702\n5 217 13839561654909534209\n5 220 13844065254536904702\n5 221 4611686018427387900\n5 224 4611686018427387900\n5 225 13845191154443747327\n5 228 4611686018427387900\n5 229 13844065254536904702\n5 0 4657988652096290816\n5 1 4649685140283326464\n5 2 4625759767262920704\n5 3 4615210574657503944\n997 85 0\n999 85 1\n997 100 1\n997 110 1\n997 120 1\n10 0 1\n997 111 1\n997 121 1\n10 1 1\n997 112 1\n997 122 1\n10 2 1\n997 113 1\n997 123 1\n10 3 1\n997 114 1\n997 124 1\n10 4 1\n997 130 1\n997 131 1\n11 100 4607182418800017408\n11 101 0\n11 104 0\n11 105 4607182418800017408\n11 200 13830554455654793216\n11 201 4613937818241073152\n11 204 4607182418800017408\n11 205 4613937818241073152\n11 208 13837309855095848960\n11 209 4607182418800017408\n11 212 4613937818241073152\n11 213 4607182418800017408\n11 216 13837309855095848960\n11 217 13830554455654793216\n11 220 4613937818241073152\n11 221 13830554455654793216\n11 224 13830554455654793216\n11 225 13837309855095848960\n11 228 4607182418800017408\n11 229 13837309855095848960\n11 0 4639833516098453504\n11 1 4635329916471083008\n11 2 4616189618054758400\n11 3 4611686018427387904\n997 132 1\n997 133 1\n12 100 0\n12 101 0\n12 104 0\n12 105 0\n12 200 0\n12 201 0\n12 204 0\n12 205 0\n12 208 0\n12 209 0\n12 212 0\n12 213 0\n12 216 0\n12 217 0\n12 220 0\n12 221 0\n12 224 0\n12 225 0\n12 228 0\n12 229 0\n12 0 4635329916471083008\n12 1 4635329916471083008\n12 2 4613937818241073152\n12 3 4607182418800017408\n997 134 1\n997 135 1\n13 100 0\n13 101 13830554455654793216\n13 104 4607182418800017408\n13 105 0\n13 200 4613937818241073152\n13 201 4607182418800017408\n13 204 4613937818241073152\n13 205 13830554455654793216\n13 208 4607182418800017408\n13 209 4613937818241073152\n13 212 4607182418800017408\n13 213 13837309855095848960\n13 216 13830554455654793216\n13 217 4613937818241073152\n13 220 13830554455654793216\n13 221 13837309855095848960\n13 224 13837309855095848960\n13 225 4607182418800017408\n13 228 13837309855095848960\n13 229 13830554455654793216\n13 0 4644337115725824000\n13 1 4635329916471083008\n13 2 4618441417868443648\n13 3 4616189618054758400\n997 140 1\n997 141 1\n997 142 1\n997 143 1\n997 144 1\n997 145 1\n997 146 1\n997 150 1\n997 151 1\n997 152 1\n14 100 13818544856648471895\n14 101 13818544856648471895\n14 104 13818544856648471895\n14 105 13818544856648471895\n14 108 13823048456275842393\n14 109 13823048456275842393\n14 200 4611686018427387906\n14 201 4611686018427387906\n14 204 4607182418800017410\n14 205 4607182418800017410\n14 208 4611686018427387906\n14 209 4611686018427387906\n14 212 13830554455654793218\n14 213 13830554455654793218\n14 216 4607182418800017410\n14 217 4607182418800017410\n14 220 13835058055282163714\n14 221 13835058055282163714\n14 224 13830554455654793218\n14 225 13830554455654793218\n14 228 13835058055282163714\n14 229 13835058055282163714\n14 0 4641240890982006785\n14 1 4635329916471083008\n14 2 4617315517961601025\n14 3 4612811918334230529\n998 0 16\n998 1 63\n", "stderr": "", - "binary_sha256": "f443e6c5b5f56e45dd21bb5c2deab1ae46933c9afeefb22783d481ca77b85427", + "binary_sha256": "39b6aef0a5c85f0b016c3b94f0160187c0ec94c934bf6e9081996fe922c31c0c", + "total_check_count": 63, + "failed_check_count": 16, + "per_check_results": [ + { + "id": 10, + "passed": true + }, + { + "id": 20, + "passed": true + }, + { + "id": 30, + "passed": true + }, + { + "id": 40, + "passed": false + }, + { + "id": 50, + "passed": true + }, + { + "id": 60, + "passed": false + }, + { + "id": 70, + "passed": false + }, + { + "id": 11, + "passed": true + }, + { + "id": 21, + "passed": true + }, + { + "id": 31, + "passed": true + }, + { + "id": 41, + "passed": false + }, + { + "id": 51, + "passed": true + }, + { + "id": 61, + "passed": false + }, + { + "id": 71, + "passed": false + }, + { + "id": 12, + "passed": true + }, + { + "id": 22, + "passed": false + }, + { + "id": 23, + "passed": false + }, + { + "id": 32, + "passed": true + }, + { + "id": 42, + "passed": false + }, + { + "id": 52, + "passed": true + }, + { + "id": 62, + "passed": false + }, + { + "id": 72, + "passed": false + }, + { + "id": 13, + "passed": true + }, + { + "id": 33, + "passed": true + }, + { + "id": 43, + "passed": false + }, + { + "id": 53, + "passed": true + }, + { + "id": 63, + "passed": false + }, + { + "id": 73, + "passed": false + }, + { + "id": 14, + "passed": true + }, + { + "id": 34, + "passed": true + }, + { + "id": 54, + "passed": true + }, + { + "id": 84, + "passed": false + }, + { + "id": 15, + "passed": true + }, + { + "id": 35, + "passed": true + }, + { + "id": 55, + "passed": true + }, + { + "id": 85, + "passed": false + }, + { + "id": 100, + "passed": true + }, + { + "id": 110, + "passed": true + }, + { + "id": 120, + "passed": true + }, + { + "id": 111, + "passed": true + }, + { + "id": 121, + "passed": true + }, + { + "id": 112, + "passed": true + }, + { + "id": 122, + "passed": true + }, + { + "id": 113, + "passed": true + }, + { + "id": 123, + "passed": true + }, + { + "id": 114, + "passed": true + }, + { + "id": 124, + "passed": true + }, + { + "id": 130, + "passed": true + }, + { + "id": 131, + "passed": true + }, + { + "id": 132, + "passed": true + }, + { + "id": 133, + "passed": true + }, + { + "id": 134, + "passed": true + }, + { + "id": 135, + "passed": true + }, + { + "id": 140, + "passed": true + }, + { + "id": 141, + "passed": true + }, + { + "id": 142, + "passed": true + }, + { + "id": 143, + "passed": true + }, + { + "id": 144, + "passed": true + }, + { + "id": 145, + "passed": true + }, + { + "id": 146, + "passed": true + }, + { + "id": 150, + "passed": true + }, + { + "id": 151, + "passed": true + }, + { + "id": 152, + "passed": true + } + ], + "failed_check_ids": [ + 40, + 60, + 70, + 41, + 61, + 71, + 22, + 23, + 42, + 62, + 72, + 43, + 63, + 73, + 84, + 85 + ], "mutation_before": "put HP i get HW i", "mutation_after": "put HP i sub 0.0 get HW i" } ], - "source_commit": "1a73c2d14fa4f9aeaf2933c02d5a289c6977788a", - "independent_oracle": { + "scope": "synthetic-host", + "real_model_status": "BLOCKED", + "merge_qualification": "NOT_RUN: draft PR has zero GitHub checks; no merge requested", + "source_parent": "41589735fe3e28b9b508cc1dd978ecf614834889", + "numerical_evidence": { "tool": "WolframLanguageEvaluator", - "raw_calls_and_results": "oracle-review.jsonl", - "scope": "independent decoding and recomputation of captured raw native output, not another native run", - "verdict": "PASS", - "report": [ - "**PASS for the supplied raw output.** Cases 0\u20133 meet maxabs \u2264 \\(10^{-6}\\) and NRSE \u2264 \\(10^{-12}\\). Cases 4\u20135 match their deliberately imperfect fixture oracles. Controls 11\u201314 and metadata lines match expectations. No files edited; no training or tuning.\n\nVerification applies to the attached output, not a fresh native execution. All mathematical decoding and comparisons used mounted Wolfram tools.\n\n### Required first calls\n\n- `Integrate[x^2,{x,0,1}]` \u2192 `1/3`\n- Alpha `sqrt(27)/2` \u2192 `(3 sqrt(3))/2`\n\nBinary64 decoding used `IntegerDigits[n,2,64]`, `FromDigits` for exponent/fraction fields, and exact powers of two. Calculations remained exact until decimal display. **NRSE means RSS / target energy here, without a square root.**\n\n### Cases 0\u20135: decoded reported metrics\n\n| Case | RSS | Target energy | Maxabs | NRSE | Maximum coefficient error |\n|---|---:|---:|---:|---:|---:|\n| 0 | 0 | 80 | 0 | 0 | 0 |\n| 1 | 0 | 80 | 0 | 0 | 0 |\n| 2 | \\(1.4643230553165032\u00b710^{-29}\\) | 80 | \\(1.3322676295501878\u00b710^{-15}\\) | \\(1.8304038191456289\u00b710^{-31}\\) | \\(2.0354088784794537\u00b710^{-16}\\) |\n| 3 | \\(3.1554436208840472\u00b710^{-29}\\) | 736 | \\(1.7763568394002505\u00b710^{-15}\\) | \\(4.2872875283750640\u00b710^{-32}\\) | \\(1.1102230246251565\u00b710^{-16}\\) |\n| 4 | 656 | 736 | 9 | 0.89130434782608692 | 0 |\n| 5 | 320.0000000000000568434 | 736 | 6.0000000000000008882 | 0.43478260869565227287 | \\(1.1102230246251565\u00b710^{-16}\\) |\n\nCoefficient error is maximum absolute entrywise difference from the independently fitted exact oracle:\n\n```text\nW0 = {{1,0},{0,1}}\nW1 = {{0,1},{-1,0}}\nW2 = {{2/3,-1/3},{-1/3,2/3},{1/3,1/3}}\nW3 = {{1,0},{0,1},{0,1},{1,0}}\nW4 = {{1,0},{0,1}}\nW5 = {{-1,0},{0,-1},{0,1},{1,0}}\n```\n\n### All eight heldout predictions\n\nEach comparison includes both output coordinates in every heldout row.\n\n| Case | Exact oracle predictions | Maximum decoded prediction deviation |\n|---|---|---:|\n| 0 | \\(U\\) | 0 |\n| 1 | \\(U\\) | 0 |\n| 2 | \\(U\\) | \\(1.3322676295501878\u00b710^{-15}\\) |\n| 3 | `{{-2,8},{-2,10},{8,-2},{8,4},{10,-2},{10,4},{4,8},{4,10}}` | \\(1.7763568394002505\u00b710^{-15}\\) |\n| 4 | \\(U\\) | 0 |\n| 5 | `{{4,10},{4,8},{10,4},{10,-2},{8,4},{8,-2},{-2,10},{-2,8}}` | \\(1.7763568394002505\u00b710^{-15}\\) |\n\nCase 4\u2019s exact oracle metrics are `{656,736,9,41/46}`. Case 5\u2019s are `{320,736,6,10/23}`. Their large target errors are expected, not verification failures.\n\n### Independent prediction-based recomputation\n\nFor cases 0\u20133:\n\n- Maximum recomputed NRSE: **\\(1.8304038191456290\u00b710^{-31}\\)**, case 2.\n- Maximum recomputed feature error: **\\(1.7763568394002505\u00b710^{-15}\\)**, case 3.\n- Maximum absolute reported/recomputed NRSE discrepancy: \\(4.3790577010150533\u00b710^{-48}\\).\n- Reported/recomputed maxabs discrepancy: **0**.\n\nAcross cases 0\u20135:\n\n- Maximum recomputed NRSE: **\\(41/46\u22480.89130434782608695652\\)**, case 4.\n- Maximum feature error: **9**, case 4.\n- Maximum reported/recomputed NRSE discrepancy: **\\(9.8954660890503040\u00b710^{-17}\\)**, case 5.\n- Maximum RSS discrepancy: \\(5.6843418860807983\u00b710^{-14}\\), case 5.\n- Target-energy and maxabs discrepancies: **0**.\n\nAll four reported metrics agree with prediction-based recomputation within \\(10^{-12}\\) absolute. Case 5\u2019s prediction-recomputed NRSE is not *exactly* \\(10/23\\); its exact excess is\n`5/116623855220997104937696694894592`.\n\n### Controls\n\n| Control | Exact oracle `{RSS, energy, maxabs, NRSE}` | Verification |\n|---|---|---|\n| 11: identity on rotated inputs | `{160,80,4,2}` | Coefficients, all predictions and reported metrics exact |\n| 12: null | `{80,80,3,1}` | Coefficients, all predictions and reported metrics exact |\n| 13: wrong transpose | `{320,80,6,4}` | Coefficients, all predictions and reported metrics exact |\n| 14: rank-one PCR | `{40,80,2,1/2}` | Matches within rounding errors below |\n\nControl 14 was independently derived:\n\n```text\nGram = {{20,0,20},{0,20,20},{20,20,40}}\nEigenvalues = {60,20,0}\nLeading eigenvector \u221d {1,1,2}\nW14 = {{1/6,1/6},{1/6,1/6},{1/3,1/3}}\n\nPredictions =\n{{-2,-2},{-1,-1},{-2,-2},{1,1},\n {-1,-1},{2,2},{1,1},{2,2}}\n```\n\nControl 14 maximum coefficient error is \\(2.0354088784794537\u00b710^{-16}\\); maximum prediction deviation is \\(8.8817841970012523\u00b710^{-16}\\). Decoded maxabs is `2.000000000000000444089\u2026`. Recomputed NRSE exceeds \\(1/2\\) by \\(9.8607613152626476\u00b710^{-32}\\); all reported metric discrepancies remain below \\(10^{-12}\\).\n\n### Metadata and IEEE constants\n\n- Exactly five case-10 lines: fields `{0,1,2,3,4}`, each value `1`.\n- All 260 raw rows have unique `(case,field)` keys.\n- Final row is exactly `998 0 0`.\n\nWolfram verified:\n\n| Source constant | Exact interpretation |\n|---|---|\n| `9223372036854775807` | \\(2^{63}-1\\), hex `7fffffffffffffff`; clears the sign bit |\n| `9218868437227405312` | \\(2047\u00b72^{52}\\), hex `7ff0000000000000`; positive infinity |\n| `9221120237041090560` | hex `7ff8000000000000`; exponent 2047, nonzero fraction with quiet bit set |\n\nThe unsigned predicate `(bits & mask) < infinityBits` accepts both signed zeros, subnormals and finite normal values; rejects both infinities and NaNs. Signed boundary checks passed.\n\n**Call record:** exact calls/results remain in the transcript. The failed rank-one symbolic calculation, failed state-dependent retry, quantifier-solver warnings, and subsequent bracket-syntax failure were explicitly retried. The final self-contained rank-one calculation and corrected finite-boundary checks succeeded.", - "Call-record clarification: the final `eval(js)` call only marked the four verification checklist items done via `tool.todo`. It performed no arithmetic, decoded no data, and supplied no reported values. Its result was `(no output)`.\n\nThe first main Wolfram result explicitly contains the case 4\u20135 coefficient/prediction comparisons and controls 11\u201313 exact comparisons. The successful self-contained retry derives control 14\u2019s Gram matrix, cross matrix, eigensystem, coefficients, predictions and metrics directly from the fixture\u2014not from assumed oracle constants.\n\nThe verification verdict remains unchanged and applies only to the attached raw output." - ] - } + "raw_call_result": "oracle-return-values.jsonl", + "returned_value": "oracle-values.json", + "serialization": "decimal strings are exact JSON numeric tokens from returned Wolfram value, not model prose or Python float reformatting", + "cases": { + "0": { + "native": { + "RSS": 0, + "energy": "80.000000000000000", + "max_error": 0, + "NRSE": 0 + }, + "recomputed": { + "RSS": 0, + "energy": "80.000000000000000", + "max_error": 0, + "NRSE": 0 + }, + "metric_pass_1e12": [ + true, + true, + true, + true + ], + "metrics_pass": true, + "oracle_matrix_exact": "{{1, 0}, {0, 1}}", + "oracle_NRSE_exact": "0", + "coef_maxerr": 0, + "pred_maxerr": 0, + "coef_pass_1e6": true, + "pred_pass_1e6": true, + "native_recovery": true, + "recomputed_recovery": true, + "recovery_pass": true, + "orthogonality": { + "native_ortherr": 0, + "recomputed_ortherr": 0, + "oracle_ortherr": 0, + "tolerance_pass": true + } + }, + "1": { + "native": { + "RSS": 0, + "energy": "80.000000000000000", + "max_error": 0, + "NRSE": 0 + }, + "recomputed": { + "RSS": 0, + "energy": "80.000000000000000", + "max_error": 0, + "NRSE": 0 + }, + "metric_pass_1e12": [ + true, + true, + true, + true + ], + "metrics_pass": true, + "oracle_matrix_exact": "{{0, 1}, {-1, 0}}", + "oracle_NRSE_exact": "0", + "coef_maxerr": 0, + "pred_maxerr": 0, + "coef_pass_1e6": true, + "pred_pass_1e6": true, + "native_recovery": true, + "recomputed_recovery": true, + "recovery_pass": true, + "orthogonality": { + "native_ortherr": 0, + "recomputed_ortherr": 0, + "oracle_ortherr": 0, + "tolerance_pass": true + } + }, + "2": { + "native": { + "RSS": "1.4643230553165032e-29", + "energy": "80.000000000000000", + "max_error": "1.3322676295501878e-15", + "NRSE": "1.8304038191456289e-31" + }, + "recomputed": { + "RSS": "1.4643230553165032e-29", + "energy": "80.000000000000000", + "max_error": "1.3322676295501878e-15", + "NRSE": "1.8304038191456290e-31" + }, + "metric_pass_1e12": [ + true, + true, + true, + true + ], + "metrics_pass": true, + "oracle_matrix_exact": "{{2/3, -1/3}, {-1/3, 2/3}, {1/3, 1/3}}", + "oracle_NRSE_exact": "0", + "coef_maxerr": "2.0354088784794537e-16", + "pred_maxerr": "1.3322676295501878e-15", + "coef_pass_1e6": true, + "pred_pass_1e6": true, + "native_recovery": true, + "recomputed_recovery": true, + "recovery_pass": true, + "orthogonality": null + }, + "3": { + "native": { + "RSS": "3.1554436208840472e-29", + "energy": "736.00000000000000", + "max_error": "1.7763568394002505e-15", + "NRSE": "4.2872875283750640e-32" + }, + "recomputed": { + "RSS": "3.1554436208840472e-29", + "energy": "736.00000000000000", + "max_error": "1.7763568394002505e-15", + "NRSE": "4.2872875283750642e-32" + }, + "metric_pass_1e12": [ + true, + true, + true, + true + ], + "metrics_pass": true, + "oracle_matrix_exact": "{{1, 0}, {0, 1}, {0, 1}, {1, 0}}", + "oracle_NRSE_exact": "0", + "coef_maxerr": "1.1102230246251565e-16", + "pred_maxerr": "1.7763568394002505e-15", + "coef_pass_1e6": true, + "pred_pass_1e6": true, + "native_recovery": true, + "recomputed_recovery": true, + "recovery_pass": true, + "orthogonality": null + }, + "4": { + "native": { + "RSS": "656.00000000000000", + "energy": "736.00000000000000", + "max_error": "9.0000000000000000", + "NRSE": "0.89130434782608692" + }, + "recomputed": { + "RSS": "656.00000000000000", + "energy": "736.00000000000000", + "max_error": "9.0000000000000000", + "NRSE": "0.89130434782608696" + }, + "metric_pass_1e12": [ + true, + true, + true, + true + ], + "metrics_pass": true, + "oracle_matrix_exact": "{{1, 0}, {0, 1}}", + "oracle_NRSE_exact": "41/46", + "coef_maxerr": 0, + "pred_maxerr": 0, + "coef_pass_1e6": true, + "pred_pass_1e6": true, + "native_recovery": false, + "recomputed_recovery": false, + "recovery_pass": true, + "orthogonality": null + }, + "5": { + "native": { + "RSS": "320.00000000000006", + "energy": "736.00000000000000", + "max_error": "6.0000000000000009", + "NRSE": "0.43478260869565227" + }, + "recomputed": { + "RSS": "320.00000000000000", + "energy": "736.00000000000000", + "max_error": "6.0000000000000009", + "NRSE": "0.43478260869565217" + }, + "metric_pass_1e12": [ + true, + true, + true, + true + ], + "metrics_pass": true, + "oracle_matrix_exact": "{{-1, 0}, {0, -1}, {0, 1}, {1, 0}}", + "oracle_NRSE_exact": "10/23", + "coef_maxerr": "1.1102230246251565e-16", + "pred_maxerr": "1.7763568394002505e-15", + "coef_pass_1e6": true, + "pred_pass_1e6": true, + "native_recovery": false, + "recomputed_recovery": false, + "recovery_pass": true, + "orthogonality": null + }, + "11": { + "native": { + "RSS": "160.00000000000000", + "energy": "80.000000000000000", + "max_error": "4.0000000000000000", + "NRSE": "2.0000000000000000" + }, + "recomputed": { + "RSS": "160.00000000000000", + "energy": "80.000000000000000", + "max_error": "4.0000000000000000", + "NRSE": "2.0000000000000000" + }, + "metric_pass_1e12": [ + true, + true, + true, + true + ], + "metrics_pass": true, + "oracle_matrix_exact": "{{1, 0}, {0, 1}}", + "oracle_NRSE_exact": "2", + "coef_maxerr": 0, + "pred_maxerr": 0, + "coef_pass_1e6": true, + "pred_pass_1e6": true, + "native_recovery": false, + "recomputed_recovery": false, + "recovery_pass": true, + "orthogonality": null + }, + "12": { + "native": { + "RSS": "80.000000000000000", + "energy": "80.000000000000000", + "max_error": "3.0000000000000000", + "NRSE": "1.0000000000000000" + }, + "recomputed": { + "RSS": "80.000000000000000", + "energy": "80.000000000000000", + "max_error": "3.0000000000000000", + "NRSE": "1.0000000000000000" + }, + "metric_pass_1e12": [ + true, + true, + true, + true + ], + "metrics_pass": true, + "oracle_matrix_exact": "{{0, 0}, {0, 0}}", + "oracle_NRSE_exact": "1", + "coef_maxerr": 0, + "pred_maxerr": 0, + "coef_pass_1e6": true, + "pred_pass_1e6": true, + "native_recovery": false, + "recomputed_recovery": false, + "recovery_pass": true, + "orthogonality": null + }, + "13": { + "native": { + "RSS": "320.00000000000000", + "energy": "80.000000000000000", + "max_error": "6.0000000000000000", + "NRSE": "4.0000000000000000" + }, + "recomputed": { + "RSS": "320.00000000000000", + "energy": "80.000000000000000", + "max_error": "6.0000000000000000", + "NRSE": "4.0000000000000000" + }, + "metric_pass_1e12": [ + true, + true, + true, + true + ], + "metrics_pass": true, + "oracle_matrix_exact": "{{0, -1}, {1, 0}}", + "oracle_NRSE_exact": "4", + "coef_maxerr": 0, + "pred_maxerr": 0, + "coef_pass_1e6": true, + "pred_pass_1e6": true, + "native_recovery": false, + "recomputed_recovery": false, + "recovery_pass": true, + "orthogonality": null + }, + "14": { + "native": { + "RSS": "40.000000000000000", + "energy": "80.000000000000000", + "max_error": "2.0000000000000004", + "NRSE": "0.50000000000000000" + }, + "recomputed": { + "RSS": "40.000000000000000", + "energy": "80.000000000000000", + "max_error": "2.0000000000000004", + "NRSE": "0.50000000000000000" + }, + "metric_pass_1e12": [ + true, + true, + true, + true + ], + "metrics_pass": true, + "oracle_matrix_exact": "{{1/6, 1/6}, {1/6, 1/6}, {1/3, 1/3}}", + "oracle_NRSE_exact": "1/2", + "coef_maxerr": "2.0354088784794537e-16", + "pred_maxerr": "8.8817841970012523e-16", + "coef_pass_1e6": true, + "pred_pass_1e6": true, + "native_recovery": false, + "recomputed_recovery": false, + "recovery_pass": true, + "orthogonality": null + } + }, + "all_coefficients_pass": true, + "all_predictions_pass": true, + "all_metrics_pass": true, + "all_recovery_expectations_pass": true + }, + "native_metric_bits": [ + { + "case": 0, + "field": 4, + "bits": "0" + }, + { + "case": 0, + "field": 0, + "bits": "0" + }, + { + "case": 0, + "field": 1, + "bits": "4635329916471083008" + }, + { + "case": 0, + "field": 2, + "bits": "0" + }, + { + "case": 0, + "field": 3, + "bits": "0" + }, + { + "case": 1, + "field": 4, + "bits": "0" + }, + { + "case": 1, + "field": 0, + "bits": "0" + }, + { + "case": 1, + "field": 1, + "bits": "4635329916471083008" + }, + { + "case": 1, + "field": 2, + "bits": "0" + }, + { + "case": 1, + "field": 3, + "bits": "0" + }, + { + "case": 2, + "field": 0, + "bits": "4175558134200270848" + }, + { + "case": 2, + "field": 1, + "bits": "4635329916471083008" + }, + { + "case": 2, + "field": 2, + "bits": "4384254237245177856" + }, + { + "case": 2, + "field": 3, + "bits": "4147167864361792307" + }, + { + "case": 3, + "field": 0, + "bits": "4180466354106662912" + }, + { + "case": 3, + "field": 1, + "bits": "4649685140283326464" + }, + { + "case": 3, + "field": 2, + "bits": "4386506037058863104" + }, + { + "case": 3, + "field": 3, + "bits": "4137633205476780477" + }, + { + "case": 4, + "field": 0, + "bits": "4648981452841549824" + }, + { + "case": 4, + "field": 1, + "bits": "4649685140283326464" + }, + { + "case": 4, + "field": 2, + "bits": "4621256167635550208" + }, + { + "case": 4, + "field": 3, + "bits": "4606203375402762952" + }, + { + "case": 5, + "field": 0, + "bits": "4644337115725824001" + }, + { + "case": 5, + "field": 1, + "bits": "4649685140283326464" + }, + { + "case": 5, + "field": 2, + "bits": "4618441417868443649" + }, + { + "case": 5, + "field": 3, + "bits": "4601503967095941567" + }, + { + "case": 11, + "field": 0, + "bits": "4639833516098453504" + }, + { + "case": 11, + "field": 1, + "bits": "4635329916471083008" + }, + { + "case": 11, + "field": 2, + "bits": "4616189618054758400" + }, + { + "case": 11, + "field": 3, + "bits": "4611686018427387904" + }, + { + "case": 12, + "field": 0, + "bits": "4635329916471083008" + }, + { + "case": 12, + "field": 1, + "bits": "4635329916471083008" + }, + { + "case": 12, + "field": 2, + "bits": "4613937818241073152" + }, + { + "case": 12, + "field": 3, + "bits": "4607182418800017408" + }, + { + "case": 13, + "field": 0, + "bits": "4644337115725824000" + }, + { + "case": 13, + "field": 1, + "bits": "4635329916471083008" + }, + { + "case": 13, + "field": 2, + "bits": "4618441417868443648" + }, + { + "case": 13, + "field": 3, + "bits": "4616189618054758400" + }, + { + "case": 14, + "field": 0, + "bits": "4630826316843712512" + }, + { + "case": 14, + "field": 1, + "bits": "4635329916471083008" + }, + { + "case": 14, + "field": 2, + "bits": "4611686018427387905" + }, + { + "case": 14, + "field": 3, + "bits": "4602678819172646912" + } + ] }