-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
encoding/jsonschema: implement regex format
As the TODO says, this is a bit stricter than the specification, but it will probably be OK for now. For #3479. Signed-off-by: Roger Peppe <rogpeppe@gmail.com> Change-Id: Icbc9bf6a98058d5f6ca9c0fe87f5e29e4685255b Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1202108 Reviewed-by: Daniel Martí <mvdan@mvdan.cc> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org> Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
- Loading branch information
Showing
6 changed files
with
23 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
# Generated by teststats. DO NOT EDIT | ||
v2: | ||
schema extract (pass / total): 993 / 1363 = 72.9% | ||
tests (pass / total): 3513 / 4803 = 73.1% | ||
tests on extracted schemas (pass / total): 3513 / 3801 = 92.4% | ||
tests (pass / total): 3512 / 4803 = 73.1% | ||
tests on extracted schemas (pass / total): 3512 / 3801 = 92.4% | ||
|
||
v3: | ||
schema extract (pass / total): 981 / 1363 = 72.0% | ||
tests (pass / total): 3474 / 4803 = 72.3% | ||
tests on extracted schemas (pass / total): 3474 / 3757 = 92.5% | ||
tests (pass / total): 3473 / 4803 = 72.3% | ||
tests on extracted schemas (pass / total): 3473 / 3757 = 92.4% | ||
|
||
Optional tests | ||
|
||
v2: | ||
schema extract (pass / total): 230 / 274 = 83.9% | ||
tests (pass / total): 1505 / 2372 = 63.4% | ||
tests on extracted schemas (pass / total): 1505 / 2258 = 66.7% | ||
tests (pass / total): 1508 / 2372 = 63.6% | ||
tests on extracted schemas (pass / total): 1508 / 2258 = 66.8% | ||
|
||
v3: | ||
schema extract (pass / total): 230 / 274 = 83.9% | ||
tests (pass / total): 1495 / 2372 = 63.0% | ||
tests on extracted schemas (pass / total): 1495 / 2258 = 66.2% | ||
tests (pass / total): 1498 / 2372 = 63.2% | ||
tests on extracted schemas (pass / total): 1498 / 2258 = 66.3% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters