perf: measure run/call through the current Observation snapshot

The nine G4 workloads still requested the retired `run/call --json` option,
so every non-check workload exited 2 and was recorded as CORRECTNESS_FAIL; the
RC performance gate could not run at all.

- Request `--output json` for run/call workloads and re-record the committed
  expected digests.
- Pin correctness to the current snapshot: terminal status/result, committed
  stdout/stderr byte digests, and ordered event-kind counts with a sequence
  digest. Run ids, wall-clock stamps and host paths are excluded, so a correct
  program keeps one stable digest.
- Add tooling tests for the workload catalogue and digest stability.
This commit is contained in:
cflmy committed 2026-11-24 20:48:26 +08:00
1 parent 44a118003f
commit 682eae82b6
12 files changed
+1145 -743

No files matched your search

+16 -8
View File
@@ -21,7 +21,8 @@
"数学.阶乘",
"--arg",
"n=5",
"--json"
"--output",
"json"
]
},
{
@@ -31,7 +32,8 @@
"argv": [
"run",
"tests/conformance/semantics/55-first-fit-free-list-allocator.mq.md",
"--json"
"--output",
"json"
]
},
{
@@ -41,7 +43,8 @@
"argv": [
"run",
"tests/conformance/semantics/62-json-array-parser.mq.md",
"--json"
"--output",
"json"
]
},
{
@@ -51,7 +54,8 @@
"argv": [
"run",
"tests/conformance/semantics/65-table-sort-stdlib.mq.md",
"--json"
"--output",
"json"
]
},
{
@@ -61,7 +65,8 @@
"argv": [
"run",
"tests/conformance/semantics/63-memory-bytecode-vm.mq.md",
"--json"
"--output",
"json"
]
},
{
@@ -71,7 +76,8 @@
"argv": [
"run",
"tests/conformance/semantics/70-matrix-multiply.mq.md",
"--json"
"--output",
"json"
]
},
{
@@ -81,7 +87,8 @@
"argv": [
"run",
"tests/conformance/semantics/71-http-parser.mq.md",
"--json"
"--output",
"json"
]
},
{
@@ -91,7 +98,8 @@
"argv": [
"run",
"stdlib/demo.mq.md",
"--json"
"--output",
"json"
]
}
]