Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

library reorganization

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
15/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
tooling

調査の方向性

まず、calibration.py、basic.py、metacal.py、ellipticity.py、stats.py、io.py、util.py、survey.py、galaxy.py、catalog.py、および宇宙論と銀河団のコード全体にわたる import と使用箇所をマッピングします。オープンな構造上の問題をメンテナーと解決し、その後、合意したモジュールレイアウトを定義して、再編成後も既存の機能が利用可能であることを確認します。

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

説明

clean-up

I went through the library. I will put a first pass at some changes I think we should make to the global structure in this issue.

  1. calibration.py should perform local and global metacal calibration
  2. let's move the metacal class out of basic.py into a separate metacal.py and get rid of basic.py completely
  3. add an ellipticity.py that switches between e1, e2, and e_t, e_x, as well as between different ellipticity conventions, this will help with handling different input catalogs
  4. stats.py will handle all of the stats functions in basic.py
  5. should the metacal class interact directly with catalogs? i feel like some of this should go into io.py
  6. util.py should be split into binning functions and vos functions
  7. survey.py has to do with the footprint, should we combine this with galaxy.py? at any rate, galaxy.py must be renamed. also, the conversion between fwhm and sigma belongs in stats
  8. it makes sense to group all cosmology things in one place, but i think there needs to be a further separation of the theory and data functionality.
  9. galaxy cluster functions needs to be together
  10. catalog.py again is a mix of stats and io, though it does perform a number of initial sanity checks. maybe we should rename it to cat_quick_check or something along those lines?

comments welcome- I'm sure I didn't consider every use case, so there are probably adaptations of the above that will make more sense.

主要言語
Python
スター
2
フォーク
5
平均マージ
14時間 50分
マージ済み PR(30日)
27

環境構築

はじめの一歩

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

CosmoStat/sp_validation のほかの issue

CosmoStat/sp_validation の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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