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

fix: kg_emb broken import in PyHealth 2.0

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

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

@AxelNoun がすでに取り組んでいます。

2026年8月25日 から。

  • #953 @capccode による — マージされずにクローズ
  • #1140 @MadhukarJukanti による — マージされずにクローズ
  • #1192 @userjuma による — マージされずにクローズ
  • #1202 @AxelNoun による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
python
領域
backend

調査の方向性

Start by locating the eight files under kg_emb.models and kg_emb/datasets mentioned in the issue, then check where they import SampleBaseDataset and how PyHealth 2.0 defines SampleDataset. Verify the failure by importing pyhealth.medcode.pretrained_embeddings; done means the import succeeds without breaking the affected modules. Several linked pull requests are open, so check their status before starting.

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

説明

kg_emb/ references SampleBaseDataset which appears to have been renamed to SampleDataset in PyHealth 2.0. Anyone who imports pyhealth.medcode.pretrained_embeddings gets an ImportError and package would crash immediately. Found this while implementing KEEP embeddings in personal fork. Currently adding a try/e bandaid in my fork but is out of scope for the KEEP work. Likely impacts all 6 files in kg_emb.models and the 2 in kg_emb/datasets. I can rename SampleBaseDataset --> SampleDataset across the 8 files if no one gets to it.

主要言語
Python
スター
1.7k
フォーク
803
平均マージ
5日 7時間
マージ済み PR(30日)
58

環境構築

はじめの一歩

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

sunlabuiuc/PyHealth のほかの issue

sunlabuiuc/PyHealth の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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