Unstable canonicalisation
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 36/100
Piste de recherche
Start with tests/test_canonicalise.py, where the failing property test checks whether canonicalisation reaches an equivalent fixpoint. Use the falsifying schema in the report to investigate why repeated canonicalisation changes the result, then run that test to verify the fixpoint holds. The issue is nearly five and a half years old with no recent comment, so it may need maintainer confirmation before work begins.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
____________ test_canonicalises_to_equivalent_fixpoint[any-schema] _____________
[gw0] linux -- Python 3.7.10 /home/runner/work/hypothesis-jsonschema/hypothesis-jsonschema/.tox/test/bin/python
tests/test_canonicalise.py:27: in test_canonicalises_to_equivalent_fixpoint
@given(data=st.data())
tests/test_canonicalise.py:33: in test_canonicalises_to_equivalent_fixpoint
assert cc == canonicalish(cc)
E AssertionError: assert {'not': {'min...g', 'object']} == {'type': ['nu...g', 'object']}
E Omitting 1 identical items, use -vv to show
E Left contains 1 more item:
E {'not': {'minItems': 1, 'type': 'array'}}
E Use -v to get the full diff
---------------------------------- Hypothesis ----------------------------------
Falsifying example: test_canonicalises_to_equivalent_fixpoint(
data=data(...), schema_strategy=_json_schemata(),
)
Draw 1 (schema): {'not': {'anyOf': [{'type': 'array', 'items': {}, 'contains': {}}, {'type': 'array', 'items': True}]}}
- Langage dominant
- Python
- Étoiles
- 281
- Forks
- 35
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de python-jsonschema/hypothesis-jsonschema
-
Missing test files in Pypi releasePeut-être pris @blouirts123 l’a pris il y a 49 jours. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 35/100
-
Shouldn't PKG-INFO Homepage point to https://github.com/python-jsonschema/hypothesis-jsonschema ?Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 58/100
python-jsonschema/hypothesis-jsonschema#114 · 1 commentaire ·
-
Push release tags to github?Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 55/100
python-jsonschema/hypothesis-jsonschema#113 · 1 réaction ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 30/100
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 15/100
python-jsonschema/hypothesis-jsonschema#104 · 3 réactions ·
Toutes les issues de python-jsonschema/hypothesis-jsonschema
Issues similaires
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 92/100
Techiebutler/freeframe#687 ·
Les mainteneurs répondent en général sous 1 jour
-
bug verbose GC
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
IBM/javacore-analyser#677 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 79/100
Les mainteneurs répondent en général sous 2 jours
-
area/config comp/plugins P1 platform/qqbot tool/file type/bug
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
NousResearch/hermes-agent#163932 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
plugins/dsh: todayStr() computes UTC but is documented as local — journal entries written 00:00–08:00 local land in the previous day's filePeut-être pris @Beehtrix l’a pris aujourd’hui. Ouvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
zilliztech/memsearch#907 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour