Flagship drydock UAT kit. ~620 conformance test conditions from the upstream jq test suite (46 excluded, reasons in exclusions.txt). Provenance: byte-for-byte upstream files from github.com/jqlang/jq at tag jq-1.8.2, SHA-256 verified in PROVENANCE.md.
Build a standalone interpreter for the jq language as described in sources/jq-manual.txt. The
product is an executable file named jq at the application root. It reads JSON from standard
input, evaluates a jq filter as an ordered generator, and writes each value the filter produces to
standard output as one compact JSON value per line.
Correctness is measured by the upstream jq conformance corpus sources/jq.test, taken verbatim
from jq 1.8.2, minus the cases named in sources/exclusions.txt. The goal is every case passing,
none failed and none errored.
Provide immutable path-based mutation through setpath, delpaths, del, and assignment expressions. Filters receive the original input value; mutation emits replacement values without changing other references to that input.
Provide the collection filters described by the manual and the definitions in sources/builtin.jq.
Expose jq’s type and conversion filters to programs, using the manual and corpus as the behavioral authority.
Implement the date and time filters exercised by the corpus, following the jq manual and builtin reference.
Provide jq’s text, JSON, HTML, URI, CSV, TSV, shell, and Base64 formats as described in sources/jq-manual.txt. Formatting is triggered by a format filter or a formatted string in a jq program.
Provide reductions, intermediate accumulator streams, lexical control transfer, and bounded consumption of generators.
Provide the input and diagnostic facilities described by the jq manual, sharing the interpreter’s input stream and preserving its output stream.
Provide the math functions and numeric edge cases exercised by the jq 1.8.2 corpus, following the manual’s non-decnum behavior.
Provide the string and regular expression operations specified by the manual and exercised by the conformance corpus.
Provide recursive traversal and stream conversion filters using the generator and path contracts.
Python
Before first run:
git remote -v; add origin if the startup guard requires it.git status --short and commit or intentionally stash local changes before deployment-oriented runs.Install dependencies:
uv sync
python -m pytest
python -m pytest before making release or deployment changes.