Eido fails to recognize integer type in PEP
まだ誰も着手していません。
評価
調査の方向性
リンクされたPEPとスキーマのスニペットを使って、報告された検証を再現することから始め、その後、スキーマ検証前にテーブルの file_size 値がどのように変換されるかを追跡してください。issue ではリポジトリのファイルもテストも指定されていません。完了の条件は、整数の file_size 値が宣言されたスキーマ型 integer に対して検証に通ることです。
索引モデルが issue の本文から書いたものです。
説明
I have this PEP: nleroy917/38e44dd0-c3df-418e-9256-d0824748901, and I have assigned it to this schema.
Snippet of PEP:
| file_document_id | file_type | file_name | file_format | read_index | file_size |
|---|---|---|---|---|---|
| 096d3d77-a00e-42d8-a9a5-97c301c42872 | sequence_file | SRR12695067_R2.fastq.gz | fastq.gz | read2 | 7540543107 |
| 59ff90f6-4ded-4ad3-ba77-8ff6a06a85dd | sequence_file | SRR12695068_R2.fastq.gz | fastq.gz | read2 | 8367854671 |
| be978666-f337-40d1-9287-299aad4f6014 | sequence_file | SRR12695067_R1.fastq.gz | fastq.gz | read1 | 7537744821 |
| de5d4175-d85c-4dc1-945c-19718fd3a0ae | sequence_file | SRR12695068_R1.fastq.gz | fastq.gz | read1 | 8349553318 |
Snippet of schema:
properties:
samples:
items:
properties:
file_size:
type: integer
I get the following eido result:
{
"valid": false,
"error_type": "Samples",
"errors": [
"'7540543107' is not of type 'integer' (06de2327-26ba-44d4-8c03-b2c606e83ae1)",
"'8367854671' is not of type 'integer' (299cb4fe-1697-4376-8670-b01afa252a33)",
"'7537744821' is not of type 'integer' (13bad80f-a7a4-45e5-978a-f483d51169b8)",
"'8349553318' is not of type 'integer' (a56225f5-d2ad-4bea-9d3e-c6bf2dcbace5)"
]
}
It seems like it just sends it as a string, but it **is** a valid integer.
- 主要言語
- Python
- スター
- 5
- フォーク
- 6
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pepkit/eido のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
likely-solved
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
-
likely-solved
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
-
Handling errors再び着手できるかも @nsheff が 1272 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンquestion
似ている issue
-
docs(contributing): the two things that silently block a PR対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンavailable documentation good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 95/100
Nixitov/Riptide-Native#944 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
JTHCode/secretguard#24 ·
メンテナーはふだん 1 日以内に返信
-
area: middleware documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
omarelshamy25x/shamy-hijri#63 ·
メンテナーはふだん 1 日以内に返信