Unstable canonicalisation
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
____________ 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}]}}
- 主要言語
- Python
- スター
- 281
- フォーク
- 35
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
python-jsonschema/hypothesis-jsonschema のほかの issue
-
Missing test files in Pypi release対応中かも @blouirts123 が 49 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
-
Shouldn't PKG-INFO Homepage point to https://github.com/python-jsonschema/hypothesis-jsonschema ?オープン
難易度 1/5 1時間未満 初心者へのやさしさ 58/100
python-jsonschema/hypothesis-jsonschema#114 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 55/100
python-jsonschema/hypothesis-jsonschema#113 · リアクション 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
python-jsonschema/hypothesis-jsonschema#104 · リアクション 3 件 ·
python-jsonschema/hypothesis-jsonschema の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
Techiebutler/freeframe#687 ·
メンテナーはふだん 1 日以内に返信
-
bug verbose GC
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
IBM/javacore-analyser#677 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 2 日以内に返信
-
area/config comp/plugins P1 platform/qqbot tool/file type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
NousResearch/hermes-agent#163932 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
plugins/dsh: todayStr() computes UTC but is documented as local — journal entries written 00:00–08:00 local land in the previous day's file対応中かも @Beehtrix が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
zilliztech/memsearch#907 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信