Better testing based on paper: *Type Safety with JSON Subschema*
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by reading the paper Type Safety with JSON Subschema and its figure 11, then compare the supported keyword contexts with hypothesis-jsonschema’s canonicalization tests. The issue suggests testing schemas both tools can handle and exploring the paper’s schema corpora; done means adding comparative coverage alongside the existing random-sample approach. No files or test entry points are named, so first locate the current canonicalization tests.
Written by the indexing model from the issue text.
Description
Type Safety with JSON Subschema is a neat paper which explores similar canonicalization logic to hypothesis-jsonschema, and the implemenation is also in Python!
Unfortunately there are keywords that they don't support in some contexts (see fig. 11), but we should use their tool to test our own canonicalization logic for every schema that both can handle. This is probably more effective than the random-sample-based approach we're currently testing with, though as usual "do both" is likely to be better still. They also have a few corpora of schemas we could probably grab to test against.
- Dominant language
- Python
- Stars
- 281
- Forks
- 35
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from python-jsonschema/hypothesis-jsonschema
-
Missing test files in Pypi releasePossibly taken @blouirts123 claimed this 49 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Shouldn't PKG-INFO Homepage point to https://github.com/python-jsonschema/hypothesis-jsonschema ?Open
Difficulty 1/5 Under an hour Newbie friendliness 58/100
python-jsonschema/hypothesis-jsonschema#114 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
python-jsonschema/hypothesis-jsonschema#113 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
python-jsonschema/hypothesis-jsonschema#104 · 3 reactions ·
All issues in python-jsonschema/hypothesis-jsonschema
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Techiebutler/freeframe#687 ·
Maintainers usually reply within 1 day
-
Parse truncated verbose GC logs up to the first XML errorPossibly taken A pull request linked to this issue is open or already merged. Openbug verbose GC
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
IBM/javacore-analyser#677 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 2 days
-
area/config comp/plugins P1 platform/qqbot tool/file type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
NousResearch/hermes-agent#163932 · 1 comment ·
Maintainers usually reply within 1 day
-
plugins/dsh: todayStr() computes UTC but is documented as local — journal entries written 00:00–08:00 local land in the previous day's filePossibly taken @Beehtrix claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
zilliztech/memsearch#907 · 1 comment ·
Maintainers usually reply within 1 day