Files
marqdo-std-data/tests
cflmy 3c14251c28
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
feat: add explicit strict JSON entry point
Implement marqdo-std-data#13 without changing the default `json.解析`
behavior:

- `json.严格解析(文本)` rejects duplicate keys in one object level after
  decoding (`"\u0061"` equals `"a"`) with `json.duplicate_key`, and numbers that
  cannot be represented as finite binary64 values with
  `json.non_finite_number` (1e400 / -1e400 / 1.8e308 reject; 1e308 / 1.79e308
  stay finite).
- The strict validator reuses the existing tokenizer/parser helpers and the
  128-level depth limit; no second JSON grammar or parser is introduced.
- Candidate-input self-test: `tests/json-strict.mq.md` +
  `tests/cases-strict/json-strict.json` + `scripts/test-strict.sh`, kept
  separate from the default suite because the frozen ecosystem Bundle predates
  the new function. `run_cases.py` accepts `MARQDO_STDLIB_CASES_DIR`.
- README documents the new entry, error codes and candidate-Bundle test lane;
  docs/evidence records the real CLI runs and digests.

No cross-repo dependency, no CLI change, no release.
2026-11-30 12:18:07 +08:00
..

验收测试

tests/*.mq.md 是迁移期保留的真实测试源;tests/cases/*.json 固定输入(stdin、CLI 参数、环境、所需 Bundle 模块)与期望结果(observation 终值、stdout、必要的资源事件)。

运行入口是 scripts/test.sh,要求显式传入 MARQDO_BIN 与 MARQDO_STDLIB_DIR。缺少制品、Bundle 缺少模块或 digest 校验失败时必须失败,不得回退到其它目录。

期望值取自迁移前基线 Bundle 的真实执行结果;修改期望值等于声明公开行为变化,必须单独评审。