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>
30 lines
717 B
C
30 lines
717 B
C
#define _POSIX_C_SOURCE 200809L
|
|
#include "mode_formula.h"
|
|
#include <inttypes.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
int main(void)
|
|
{
|
|
mf_bank bank;
|
|
char *line=NULL;
|
|
size_t capacity=0;
|
|
ssize_t length;
|
|
mf_reset(&bank);
|
|
while ((length=getline(&line,&capacity,stdin))>=0) {
|
|
mf_row row;
|
|
size_t i;
|
|
size_t used=(size_t)length;
|
|
if (used>0 && line[used-1]=='\n') used--;
|
|
if (!mf_dispatch(&bank,line,used,&row)) continue;
|
|
for (i=0;i<row.length;i++) {
|
|
if (i) putchar(' ');
|
|
printf("%" PRId64,row.values[i]);
|
|
}
|
|
putchar('\n');
|
|
}
|
|
free(line);
|
|
if (ferror(stdin) || ferror(stdout)) return 2;
|
|
return 0;
|
|
}
|