gsak_to_opensak.py silently skips missing source zips without logging which codes
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 80/100
調査の方向性
tools/boundaries/gsak_to_opensak.py から始めてください。_convert_countries、_convert_states、_convert_counties はそれぞれ、ソースの zip パスが None のとき missing カウンターを増やします。各パスでスキップされたコードをリストに集め、既存の "X zip(s) missing" の要約の横に出力するか(またはマニフェストに書き出すか)してください。states/ch.zip が欠けている状態で実行したとき、出力に ch が表示されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Current State
tools/boundaries/gsak_to_opensak.py silently skips country/state/county packs when the corresponding source zip file isn't found on disk. The skip is only reflected in an aggregate count printed at the end (e.g. "2 zip(s) missing") — the specific country/pack codes that were skipped are never listed anywhere.
This came up in #788: Switzerland's state-level polygons were missing from the converted output, and the most likely cause was that states/ch.zip simply wasn't present in the gsak-dir at conversion time. But there was no way to know that from the tool's output — the gap only became visible months later when a user noticed blank state/county fields on Swiss caches.
Affected in _convert_countries, _convert_states, and _convert_counties — all three currently increment a missing counter on a None zip path without recording which code/pack triggered it.
Proposed Improvement
Collect skipped codes into a list per pass and print them (or write them to the manifest) alongside the existing "X missing" summary line.
Expected Benefits
When a source zip is missing, the tool should list the specific country/state/pack code(s) that were skipped (not just a total count), so gaps in source data are visible immediately after a conversion run rather than discovered later via a bug report.
- 主要言語
- Python
- スター
- 37
- フォーク
- 17
- 平均マージ
- 21時間 5分
- マージ済み PR(30日)
- 131
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
OpenSAK-Org/OpenSAK のほかの issue
-
area: documentation documentation good first issue OS: windows
難易度 2/5 半日 初心者へのやさしさ 78/100
OpenSAK-Org/OpenSAK#1289 ·
メンテナーはふだん 1 日以内に返信
-
area: geo-data improvement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
OpenSAK-Org/OpenSAK#1285 ·
メンテナーはふだん 1 日以内に返信
-
area: UI improvement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
OpenSAK-Org/OpenSAK#729 ·
メンテナーはふだん 1 日以内に返信
-
area: import improvement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
OpenSAK-Org/OpenSAK#648 ·
メンテナーはふだん 1 日以内に返信
-
area: documentation improvement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
OpenSAK-Org/OpenSAK#570 ·
メンテナーはふだん 1 日以内に返信
OpenSAK-Org/OpenSAK の issue をすべて見る
似ている issue
-
physical
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
antonyrag/ragleap-core#1339 ·
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
AllenCell/SubCellSeg#5 ·
-
[🐛 Bug]: oidc_authverifier.py strips trailing slash causing "Invalid token: Invalid issuer" errorオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
keephq/keep#6934 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug game: 01008BA02525A000 ios
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 1/5 1時間未満 初心者へのやさしさ 87/100
gke-labs/kube-agents#5501 ·
メンテナーはふだん 1 日以内に返信