One user-space repair task per eligible HWE debug-diag / compile-deploy base ID: 320 admitted (C 218, C++ 97, build scripts 5), 1 skipped by the content filter. Each ships a public spec with a check-to-basis table, at least two defects with single-fix fixtures, a symptom-masking fixture and an alternative correct implementation. Claude re-checked all 320: structure, the HWE quality items and trace6 Docker calibration receipts against current digests (320/320 USABLE). Difficulty is unmeasured. Known follow-up: 212 tasks use 120 ad-hoc family names; the next batch maps them to the canonical list. The batch's 1,256-line progress log stays in its factory report and the 36-local branch batch15-hwe. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2.9 KiB
Raw observation driver
The driver tools/observe.c only invokes public APIs and prints observations. It has no expected values or assertions. All integers in input are decimal; one command per line. Initial session and catalog are zero initialized. Each generic command prints S status active generation calls transferred selected_id catalog_count catalog_revision.
A/R/U id n h w c type layout: add, replace or import one model.X id: remove.O id input_layout configured_layout: select/open/reconfigure.C: close;Z: reset stats.F idandL index: find/get; printM status id n h w c type layout, with a zero-initialized destination.V: copy/validate; printV copy_status validate_status copied_count copied_revision.H: info; printH status id input_layout configured_layout generation calls transferred, with zero-initialized destination outputs.B seed input_capacity output_capacity mode: run current session.D n h w c type input_layout output_layout seed input_capacity output_capacity mode: init and convert a standalone plan. Both allocate separate 8192-byte input and 4096-byte output arrays; only the first 4096 input bytes participate in the bounded tensor protocol. Input byte k is(seed+37*k+11*(k/3)) modulo 256, integer division. Output starts at hex a5. Mode0 uses separate output; mode1 points destination to input+1 to expose overlap. Mode3 replaces the generated input with a repeating 32-byte sequence, rotated by seed modulo32:00000000 00000080 0000807f 000080ff 0100c07f 0100807f 0000803f ffffffff(hex bytes, little endian float examples). Mode2 changes the local standalone plan's first input stride before conversion; for B the local printed plan changes but the session run remains unchanged. These commands printB/D status init_status elements bytes, then the seven state fields after generic status, then lowercase output and input hex. Hex covers effective bytes if 1..4096, otherwise 32 bytes. A failed D init reports zero plan fields and does not convert. Only effective ranges are compared; unused tails have no defined output requirement.I n h w c layout index: coordinate then offset; outputI status inverse_status n h w c offset. Coordinate/offset sentinels start at 99 and remain on error.J n h w c type input_layout output_layout: plan, inverse, chain; outputJ init_status inverse_status chain_status inverse_input inverse_output chain_input chain_output chain_bytes. Plans start zeroed.
The observer accepts command streams containing valid decimal tokens; unknown commands or missing operands terminate nonzero. Submission may change only the listed library files. The public driver/header/documents provide the formal interface; private verification rebuilds a fresh copy of this same driver and compares raw observations against an independent model. Additional stderr diagnostics are allowed, including arbitrary bytes.