Confusing fail reasons

オープン
#22 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
jupyter-notebook, python
領域
testing

調査の方向性

Start with tests/test_issues/test_issue_20.py, which the issue identifies as the source of the confusing failure reasons. Trace how that test produces and reports the listed messages, then check whether the reasons can be made clearer without changing the underlying failure behavior. Done means the test reports clearer failure reasons; the issue gives no expected wording.

索引モデルが issue の本文から書いたものです。

説明

The fail reasons for test_issue_20.py are confusing:

2 triples cannot be partitioned into {0,1} passing groups
  1 triples exceeds max {0,0}
2 triples cannot be partitioned into {0,*} passing groups
  2 triples exceeds max {1,1}
  2 triples exceeds max {1,1}
  Predicate mismatch: http://hl7.org/fhir/hasLocation ≠ http://hl7.org/fhir/hasMethod
  Node: http://example.org/ex/invasive not in value set:
	 {"values": ["http://example.org/ex/non-invasive"], "type": "...
  Predicate mismatch: http://hl7.org/fhir/hasMethod ≠ http://hl7.org/fhir/hasLocation
  Node: http://example.org/ex/invasive not in value set:
	 {"values": ["http://example.org/ex/non-invasive"], "type": "...
  Predicate mismatch: http://hl7.org/fhir/hasMethod ≠ http://hl7.org/fhir/hasLocation
  2 triples exceeds max {1,1}
  2 triples exceeds max {1,1}
  No matching triples found for predicate http://hl7.org/fhir/hasMethod
  No matching triples found for predicate http://hl7.org/fhir/hasLocation
主要言語
Jupyter Notebook
スター
29
フォーク
16
平均マージ
20時間 57分
マージ済み PR(30日)
9

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

linkml/PyShEx のほかの issue

linkml/PyShEx の issue をすべて見る

似ている issue

Testing & QA の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。