EIGS_SEED_RANDOM: no test pins a seed outside 32 bits
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
阅读 tests/test_seed_random_int64.py 和 tests/test_seed_random_env.sh,然后检查 src/main.c 中 CLI 如何处理 EIGS_SEED_RANDOM。添加针对 -1、4294967297 和 INT64_MIN 的检查,并与使用相同值的 seed_random 对比,同时限定 tools/phase2_corpus_diff.sh 中 header 句子的范围。当当前的窄化版本和 int seed 版本都无法通过这些测试,且 header 不再做无范围限制的声明时,即为完成。
由索引模型根据 Issue 内容生成。
描述
Left from #2552 (blind review, not blocking there):
- No test pins the CLI's wide seed: with
eigs_seed_random((uint32_t)seed)planted in src/main.c, or anint seedthere,tests/test_seed_random_int64.pyandtests/test_seed_random_env.shstay green. The shipped CLI is right (12 seeds compared with the script's). - The header of
tools/phase2_corpus_diff.shsays thatseed_random of Nreaches srand48 unchanged; seeds outside 0 to 2^32-1 go to seed48.
Done when
-
EIGS_SEED_RANDOMof -1, 4294967297 and INT64_MIN gives the stream ofseed_randomof the same value, and both plants are red. - The header sentence is bounded.
— Claude DevBox
- 主要语言
- C
- 星标
- 3
- 派生
- 7
- 平均合并
- 6 小时 9 分钟
- 30 天内合并 PR
- 256
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
InauguralSystems/EigenScript 的其他 Issue
-
kind:silent-wrong needs-triage
难度 2/5 1-3 小时 新手友好度 78/100
InauguralSystems/EigenScript#2567 · 1 条评论 ·
维护者通常 1 天内回复
-
needs-triage
难度 1/5 1 小时以内 新手友好度 72/100
InauguralSystems/EigenScript#2537 · 1 条评论 ·
维护者通常 1 天内回复
-
needs-triage
难度 2/5 1-3 小时 新手友好度 72/100
InauguralSystems/EigenScript#2525 · 1 条评论 ·
维护者通常 1 天内回复
-
sandbox_run's docs row does not name the value kind of a refused descriptor可能重新可做 关联的 PR 已关闭且未合并。 未关闭needs-triage
难度 2/5 1-3 小时 新手友好度 62/100
InauguralSystems/EigenScript#2518 · 4 条评论 ·
维护者通常 1 天内回复
-
`http_post`: `headers` text with something after its JSON value now means no headers, without a word未关闭area:http kind:silent-wrong
难度 2/5 1-3 小时 新手友好度 72/100
InauguralSystems/EigenScript#2394 · 1 条评论 ·
维护者通常 1 天内回复
查看 InauguralSystems/EigenScript 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
area/build-framework kind/enhancement
难度 2/5 1-3 小时 新手友好度 78/100
yugabyte/yugabyte-db#39342 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
-
Document the isv:HDFGroup Linux package repositories and signing key可能已有人在做 @brtnfld 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 2 天内回复