Skip to content

Latest commit

 

History

History
124 lines (105 loc) · 8.24 KB

README.md

File metadata and controls

124 lines (105 loc) · 8.24 KB

Current combined-source qualification

The unreleased consolidation requires 975 native / 959 Linux / 871 WASI functions, 390 native/Linux and 353 WASI parameter invocations, plus 60 native / 59 portable sharing functions. These are gate cardinalities, not preclaimed passes. Use TestDiscovery.json, actual source-bound receipts and the consolidation contract. All 49 cap probes, independent fixture policies and 126 restoration identities remain required. Ordinary invalid schema instances, operational failures and suite policy exclusions remain distinct.

The chronological notes below retain their original source scope and counts; they do not describe this combined tree or inherit a pass onto it.

Historical qualification checkpoints

The 1.5.1 repair candidate restores all 126 functions from the separate 1.2.1 maintenance line without removing the later HTML, bridge, provider or CLI suites. The experimental composition increment adds 12 functions. Expected full discovery is 558 native / 542 Linux functions, with 325 parameter invocations. The restored QA subset is 145 functions; shared-state safety is 42 native / 41 Linux. TestDiscovery.json supplies exact module cardinalities, while the event reader checks identities and each parameter count. All 49 public cap outcomes and independent policies below remain required. Read the repair/return record for actual commands and current qualification status. Historical stages below are preserved, not relabelled.

Run python3 Scripts/ci.py --lane native on macOS/SDK 27+ with Swift 6.4+. Each receipt identifies the source content, command exits and environment. CI artifacts contain raw logs, consumer outcomes and per-case corpus results. Safety and DocC lanes run separately. Unsupported hosts fail preflight.

The Linux development increment adds four private integrity tests and one schema integrity test: exactly 180 root functions (JSON 101, JSONSchema 42, regex 12, streaming 14, Patch 11) with the 173 parameterized invocations retained. Targeted shared-state safety adds the sixth function for concurrent hashing. Historical counts below remain the receipts for their original stages. The Linux contract defines the separate runtime lanes.

The 1.0 baseline has 122 Swift Testing functions across five bundles and 173 parameterized invocations. The first 1.1 qualification milestone adds seven authored prototype cases in JSONTests (54 to 61), for 129 functions, with the existing 173 parameterized invocations retained and seven additional nonparameterized cases. The first production lookup increment adds two further cases (JSONTests 63, total 131 functions). No baseline case or corpus outcome is removed. One public cap test exercises all 49 metrics; the independent runner adds nine budget/report vectors. There are three separate JSON/JSONSchema consumer tests. All discoveries must be nonzero.

The Turn002 integrated 1.1 candidate checked exactly 156 root functions: JSON 86, JSONStreaming 11, JSONSchema 38, JSONRegexRuntime 12 and JSONPatch 9. All 173 parameterized invocations remain. The earlier counts above describe their historical stages, not this source. Three additional public/mobile Swift Testing functions exercise eight pinned payload fixtures and three independently exited SwiftData disk phases. The seven-function R0 subset, all 49 cap probes, rooted 20-case consumer and independent policies retain their exact checks.

The additional QA wave adds 19 behavior functions, for exactly 175: JSON 97, JSONStreaming 14, JSONSchema 41, JSONRegexRuntime 12 and JSONPatch 11. All 48 earlier Swift test files and 173 parameterized invocations are retained. The focused python3 Scripts/ci.py --lane qa checks exact counts 11/3/3/2 in debug, release and Address Sanitizer. It supplements the full native/safety lanes and does not replace independent qualification or any of the 49 cap probes. Thread Sanitizer checks five shared-state cases, including concurrent payload opening and separate read scopes over one immutable root. See QA.

The subsequent schema-builder accounting fix adds nine public behavior functions, for exactly 184: JSON 97, JSONStreaming 14, JSONSchema 50, JSONRegexRuntime 12 and JSONPatch 11. The 173 parameterized invocations and earlier qualification history remain unchanged. The new cases cover cumulative core/schema work and admission, N/N+1 live retention, terminal caught resource failures/cancellation, caller errors, exact keys/numbers/order, separate compilation and callback replacement of the invocation ledger. The four-product external consumer also checks the 150-unit composed-budget regression.

Integrating Linux support with that fix retains all nine builder cases and all five integrity cases: exactly 189 root functions (JSON 101, JSONSchema 51, JSONRegexRuntime 12, JSONStreaming 14, JSONPatch 11), 173 parameterized invocations and six shared-state safety functions. Both Linux architectures and the three Apple lanes qualify this combined source; historical counts above remain tied to their original snapshots.

The first 1.3 formatted HTML increment adds three shared-formatting functions and 13 JSONHTML functions: exactly 205 across six bundles (JSON 104, JSONSchema 51, JSONRegexRuntime 12, JSONStreaming 14, JSONPatch 11, JSONHTML 13). All 173 parameterized invocations, 49 core cap probes and prior corpus policies remain. Thread Sanitizer checks seven shared-state functions. New HTML capacities have separate inclusive boundary/overflow tests; they do not change the original 49. See the increment record for scope and remaining browser/platform/export qualification.

Independent input Observed policy
JSONTestSuite, pinned in FixtureRegistry.json 318 discovered: 101 accepted, 186 rejected, 31 strict/finite-policy rejections
JSON Schema Test Suite, pinned in FixtureRegistry.json 2337 discovered: 2300 evaluated, 37 optional cross-draft/legacy cases explicitly not evaluated
Regex oracle corpus 31824 cases, 442 patterns
Unicode normalization corpus 18853 cases, 94265 comparisons, fixed Unicode 13
Authored public vectors 82 cases and nine public budget/report checks
Malformed replay 4396 deterministic cases
Rooted JSON/JSONSchema consumer 20 cases, eight positive and twelve negative; operational failures recorded separately

Policy exclusions are never evaluated successes. A resource error, compilation error, evaluation error or cancellation is distinct from an invalid schema verdict. Fixtures, their licenses and manifests are retained under Tests/Fixtures. The explicit schema policy table stays at Evidence/SchemaMilestone/schema-policy-exceptions.json because both the tests and independent runner read it. Runtime resolution is offline.

LimitsMatrix.json maps all 49 finite metrics to accounting sites and native boundary tests. Public probes produce 47 resource rejections, one invalid zero cancellation quantum, and successful zero owned reusable scratch. The three profiles are initial policy, not hard RSS or throughput guarantees.

Exact values, scalar identity, native coding, Pointer, both Patch standards, stream completion/backpressure, reports, cancellation and concurrent plan reuse are tested. Native safety includes Address Sanitizer, Thread Sanitizer and strict memory safety compilation. CI describes executed lanes; performance retains the reviewed streaming disposition.

The 1.1 platform policy accepts iPad SDK/simulator behavior and three-process disk persistence for this release. Physical iPad qualification is deferred and nonblocking. Physical iPhone evidence remains required; no test, corpus policy or resource assertion is removed.

The WASI increment adds three boundary/accounting functions: 192 root functions (JSON 104, schema 51, regex 12, streaming 14, Patch 11), retaining all 173 parameter invocations and all 49 public metric outcomes. Native 64-bit overflow/rendezvous cases remain; wasm32 uses UInt64 ledgers and cooperative checkpoint cancellation. Run the WASI lane for its explicit per-host scope.