Check that the grid's hash agree with the stored hash (if present)
还没有人认领这个 Issue。
评估
调研方向
从 src/pineko/evolve.py 第 79 行附近开始,也就是 grid 哈希被存储的位置,并追踪 grid 路径和 theory 文件夹如何到达那里,以便能够定位同级的 .txt 哈希文件。在添加比较之前,阅读周围的函数和 tests/ 下的现有测试。完成意味着存储的哈希不匹配或缺失时会抛出清晰的错误,而不是下游令人困惑的崩溃,而匹配的哈希则像之前一样继续。
由索引模型根据 Issue 内容生成。
描述
most of the time (not always, true) in the same folder where the grid is, there will be a .txt file with the grid hash that was used to upload the grid to the server.
Check that they match before storing the grid hash
https://github.com/NNPDF/pineko/blob/bf7ae6ccd147c89432fdb2a292520b6e07e19bb8/src/pineko/evolve.py#L79
otherwise crash badly.
I just tried to check which grids were used for the ATLASPHT15-ATLASPHT15_Et_1bin... and it says grid_hash: ced13299a56fb1da97065eeaf8507696 but that doesn't exist in theories_slim so no idea what grid was used as input, which is weird, if I run the pineko code manually I get the same hashes that are stored online so either it was a different grid or something went awry.
- 主要语言
- Python
- 星标
- 2
- 派生
- 0
- 平均合并
- 10 天 34 分钟
- 30 天内合并 PR
- 3
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NNPDF/pineko 的其他 Issue
-
Overwrite if encounters stale symlinks to ekos可能已有人在做 @ashishsoni-ai 于 5 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 84/100
-
benchmarks/unit tests
难度 1/5 1 小时以内 新手友好度 78/100
-
难度 4/5 3-5 天 新手友好度 20/100
-
Check whether IC from theory card is used可能重新可做 @kamillaurent 于 58 天前认领,目前没有进行中的 PR。 未关闭
-
bug
难度 3/5 1-2 天 新手友好度 46/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
GoogleCloudPlatform/professional-services-data-validator#1899 ·
维护者通常 4 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
mohanraj00/entelos#200 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 68/100
-
sweep
难度 2/5 1-3 小时 新手友好度 85/100
bketelsen/truenas-mcp#77 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 86/100
sandbox-quantum/switch#2163 ·
维护者通常 1 天内回复