Add graph validation/compilation
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先跟踪 build() 和 run() 入口点,尤其是提议的 validate、validate_types、validate_paths、halt_after 和 halt_before 选项。该 issue 仍然是一个宽泛的设计请求;完成它需要就状态要求、类型、可达路径和停止条件的验证行为达成一致。
由索引模型根据 Issue 内容生成。
描述
We should be able to validate the DAG. Specific things we can check for:
- For all nodes that read state item X, given an initial state, does there exist a path that does not provide the required state?
- For all produced keys, do types match up? (when we have typing)?
- Is there a path that will not end up in a valid state (E.G. nowhere to go)?
Then on execution, we should be able to say:
- If there is a
halt_after, is there a path that will reach it? - If there is a
halt_before, is there a path that will reach it?
Idea for (1):
app = ....build(validate=True) # on build, we can validate
app = ....build(validate_types=True, validate_paths=True) # if you want to do different things
Idea for (2)
app = ....build()
app.run(halt_after=..., validate=True)
Note this is not friendly towards state with default values as we don't expose that in the framework... But I think types + defaults should be easy enough to expose.
- 主要语言
- Python
- 星标
- 2.6k
- 派生
- 203
- 平均合并
- 3 天 10 小时
- 30 天内合并 PR
- 6
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apache/burr 的其他 Issue
-
status/needs-triage
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 2 天内回复
-
Streaming Event type, type hint, should support union type可能已有人在做 @mvanhorn 于 184 天前认领。 未关闭area/streaming area/typing good first issue help wanted kind/bug priority/high
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 2 天内回复
-
Add more instructions for applying ORM migrations for S3 deployment可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭area/storage area/ui help wanted kind/documentation priority/low
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 2 天内回复
-
Add documentation on how to run the Burr UI server可能重新可做 @iamSerafinnn 于 123 天前认领,目前没有进行中的 PR。 未关闭area/ui good first issue kind/documentation priority/low
难度 2/5 半天 新手友好度 68/100
维护者通常 2 天内回复
-
status/needs-triage
难度 4/5 3-5 天 新手友好度 35/100
维护者通常 2 天内回复
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 85/100
MystenLabs/MemWal#1163 · 2 条评论 ·
维护者通常 1 天内回复
-
infertopics leaves new nodes without a topic when untopiced neighbours outnumber topiced ones可能已有人在做 @moneebullah25 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
ClanGenOfficial/clangen#6254 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
FinanceFlash/unvibecode#218 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复