Most example configs do not load as written: 361 hard-code bng_command to the original author's machine and 280 MSA configs have a comma in output_dir
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 半日
- 初心者へのやさしさ
- 62/100
調査の方向性
Start with the bng_command lines in examples/COVID19forecasting_aMCMC/WindyCity/m3.conf and the comma-containing output_dir lines in examples/Mallela2022MSAs/. Run the config loader on one file from its own folder to reproduce the BNG2.pl and output_dir errors. Remove the bng_command lines, fix the output_dir and model = values, then find the four remaining failing configs (three Degranulation configs and one nested Louisville model path). Done when a new test that loads every examples/**/.conf from its own folder passes, with BNG2.pl required.
索引モデルが issue の本文から書いたものです。
説明
Most of the example configs under examples/ cannot be loaded as written, on any machine but the one each was written on. Measured on main (68fb0d1d), with find examples -name '*.conf' giving 553 configs:
-
361 set
bng_commandto a path on the original author's machine.- 335 use
bng_command = /usr/local/anaconda3/bin/BNG2.pl. - 26 use
bng_command = /projects/posner_lab/BioNetGen-2.3.1/BNG2.pl.
An explicit
bng_commandoverridesBNGPATH, so each of these stops at load with "The BioNetGen simulator (BNG2.pl) was not found at the specified location". That's right for a user's own config, since a wrong explicit path should not be silently replaced, but it makes the examples unusable as shipped. Example:examples/COVID19forecasting_aMCMC/WindyCity/m3.conf. - 335 use
-
280 (
examples/Mallela2022MSAs/*) have a comma inoutput_dir. For example,output_dir = Akron, OH_outputis refused by the parser: "output_dir should be specified in the format 'output_dir=s'". These also carry thebng_commandabove. -
4 fail for other reasons: three Degranulation configs list their data files separated by spaces on the
model =line, and one has a nested Louisville model path.
With bng_command and output_dir neutralized and each config loaded from its own folder, 549 of 553 load (the independent review of #1001 ran this sweep). So items 1 and 2 account for nearly every failure.
Expected
- Remove the
bng_commandlines.BNGPATH, or bngsim underbngl_backend = auto, covers them. - Give the MSA examples
output_dirvalues without commas, and check theirmodel =lines too, since commas there also separate data files. - Fix the four remaining configs.
- Add a test that loads every
examples/**/*.conffrom its own folder (BNG2.pl may be required), so the examples cannot drift again. The #994 and #1001 reviews each wrote such a sweep in their probes, so it could be lifted from there.
- 主要言語
- Python
- スター
- 25
- フォーク
- 25
- 平均マージ
- 4時間 5分
- マージ済み PR(30日)
- 10
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
lanl/PyBNF のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
bug minor
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
bug tech debt
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
bug minor
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
bug silent-incorrectness
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
software-mansion-labs/Diplomat#20 ·
メンテナーはふだん 1 日以内に返信
-
[Windows] Hidden title bar: a maximized window restored from minimized on a secondary monitor gets the primary monitor's work area as its client area対応中かも @lijy91 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
libnativeapi/nativeapi#53 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
View Counts discarded due to field name mismatch対応中かも @rsiva0400 が今日担当しました。 オープンsite-bug triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
Model version publishes the new UK firm entity as a person対応中かも @vahid-ahmadi が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
PolicyEngine/policyengine.py#764 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
spcl/HPCAgent-Bench#264 ·
メンテナーはふだん 1 日以内に返信