Undetected by tests: `hGetBufExactly` and `hGetBufExactlyAt` read too many bytes in the presence of partial reads
まだ誰も着手していません。
評価
調査の方向性
まず cabal run fs-sim-test -- -p "propGetterGetsAll" を実行し、propGetterGetsAll テストファミリーを調べて、hGetBufExactly と hGetBufExactlyAt がカバーされているか確認します。部分読み取りのケースを追跡し、既存のテストで issue に記載された動作が明らかにならなかった理由を特定します。不足している失敗を理解し、テストでカバーできれば完了です。
索引モデルが issue の本文から書いたものです。
説明
#98 fixes a bug in hGetBufExactly and hGetBufExactlyAt related to partial reads, but this test failure was not caught by our family of propGetterGetsAll tests. We should find out why these tests didn't fail.
cabal run fs-sim-test -- -p "propGetterGetsAll"
The bug was that, in the presence of partial reads, these hGetBuf* functions would try to read more bytes than requested, instead of accounting for the number of bytes we had already read.
- 主要言語
- Haskell
- スター
- 2
- フォーク
- 6
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
IntersectMBO/fs-sim のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
IntersectMBO/fs-sim#137 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 45/100
IntersectMBO/fs-sim#136 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
IntersectMBO/fs-sim#135 ·
-
No 0.4.1.0 tagオープン
難易度 1/5 1時間未満 初心者へのやさしさ 55/100
IntersectMBO/fs-sim#125 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
IntersectMBO/fs-sim#122 ·
IntersectMBO/fs-sim の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
-
15-minutes 5-minutes algorithm any-language beginner-friendly c cpp csharp easy go good first issue hacktoberfest help wanted java javascript kotlin python rust swift typescript
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
Huerte/algo-solutions-python#260 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
IntersectMBO/cardano-ledger#6276 ·
メンテナーはふだん 1 日以内に返信