Blosc / Blosc/python-blosc2

ALWAYS_SPLIT seems necessary for ZFP

オープン
#338 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
211
フォーク
58
平均マージ
1日 17時間
マージ済み PR(30日)
6

説明

At least these tests:

```
FAILED tests/ndarray/test_lossy.py::test_lossy[shape1-float64-cparams1-None-False] - RuntimeError: Error while creating the NDArray
FAILED tests/ndarray/test_lossy.py::test_lossy[shape3-float32-cparams3-lossy.b2nd-False] - RuntimeError: Error while creating the NDArray
```

fail if "splitmode" is set to`AUTO_SPLIT`, which is the new default after [this discussion](https://github.com/Blosc/python-blosc2/discussions/337).

Perhaps this is due to the design of the test, but while we can investigate more, they are set explicitly in the test to `ALWAYS_SPLIT`.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず tests/ndarray/test_lossy.py の失敗している2つのケースを実行し、そこで splitmode がどのように設定されているかを確認します。AUTO_SPLIT と明示的な ALWAYS_SPLIT の設定を比較し、そのうえで失敗の原因がテスト設計にあるのか実装にあるのかを判断します。原因が特定され、影響を受けるテストが意図された分割モードで正しく動作すれば完了です。

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

評価

技術スタック
python
領域
data
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

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

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