Better testing based on paper: *Type Safety with JSON Subschema*

Aperta
#99 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
json, python
Ambito
testing

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
281
Fork
35
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di python-jsonschema/hypothesis-jsonschema

Tutte le issue di python-jsonschema/hypothesis-jsonschema

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.