Reproducibility `sc.settings` options

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
18/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
bioinformatics, python

調査の方向性

The payload names no files or tests; the design lives in the sc.settings API and the proposed sc.settings.rng option. Start by reading the comment thread (the linked comment from @jpintar and the Zulip discussion on deterministic defaults) to see what has been agreed. Done means maintainers have settled the default behaviour and the RNG-versus-seed type, and that is a design decision, not a code change to make alone.

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

説明

What kind of feature would you like to request?

sc.settings.reproducible = True | False should control a global "is everything that follows reproducible or not?" False will give faster algorithms than True. https://github.com/scverse/scanpy/issues/4563#issuecomment-7226322452 from @jpintar as discussed is better (I wrote this hastily). sc.settings.rng = SeedLike | RNGLike | None is definitely a better design!

Please describe your wishes

https://scverse.zulipchat.com/#narrow/channel/328272-scanpy/topic/Deterministic.20by.20default.3F/with/643650445 has surfaced that many people do want fully reproducible notebooks in a simpler way than passing in a RNG (state) repeatedly.

To this end, a settings seems the sensible option - its default is still up for debate but a way to globally change whether the analysis is seeded or not is likely desirable.

主要言語
Python
スター
2.6k
フォーク
809
平均マージ
1日 1時間
マージ済み PR(30日)
79

環境構築

はじめの一歩

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

scverse/scanpy のほかの issue

scverse/scanpy の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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