feat(core): `condition.transform` — `json_decode`, `path`, `length`
维护者通常 3 天内回复
还没有人认领这个 Issue。
评估
调研方向
该 issue 未指定实现文件、测试或入口点。首先解决所述的 R1 skip-ordering 和 variable-recursion 依赖,然后定义三个 transform 步骤和 hardening 要求;当这些步骤、错误处理、元数据行为以及 null 属性处理都已实现且没有 escaping 失败时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Three steps, not eight — measured demand concentrates there: JSON-in-string (IAM policy documents
behind jsonencode), path into the decoded value, and length/count. Date arithmetic is the next
largest measured need (e.g. certificate-expiry checks) — a value_type-style coercion layer (age, size, cidr, cidr_size, version,
resource_count) — a shape field-proven at scale in mature policy tooling — is the design
source. Mandatory hardening: wrap each step in
try/except Exception (an OverflowError from date parsing or a RecursionError from
json.loads currently escapes and kills the run), emit meta once per source input (measured
6.7 KB → 159 KB on one 50-container task definition), and treat a null attribute behind a transform
as ProviderError(severity 2). Also the honest answer to the #207 CIDR-evaluator ask. Depends on
the R1 skip-ordering and variable-recursion fixes.
- 主要语言
- Python
- 星标
- 176
- 派生
- 56
- 平均合并
- 3 天 1 小时
- 30 天内合并 PR
- 13
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
StackGuardian/tirith 的其他 Issue
-
chore: remove stale TODOs and commented-out code可能已有人在做 @krishna2707 于 6 天前认领。 未关闭chore good first issue hacktoberfest
难度 1/5 1 小时以内 新手友好度 82/100
StackGuardian/tirith#408 · 3 条评论 · 已指派 1 人 ·
维护者通常 3 天内回复
-
test(evaluators): edge cases for `Equals` and `NotEquals`可能已有人在做 @Ankit-cs 于 12 天前认领。 未关闭good first issue hacktoberfest tests
难度 2/5 1-3 小时 新手友好度 85/100
StackGuardian/tirith#406 ·
维护者通常 3 天内回复
-
fix(kubernetes): missing `kubernetes_kind` or `attribute_path` errors are dropped可能已有人在做 @Ankit-cs 于 11 天前认领。 未关闭bug good first issue hacktoberfest
难度 2/5 1-3 小时 新手友好度 78/100
StackGuardian/tirith#404 · 1 条评论 · 已指派 1 人 ·
维护者通常 3 天内回复
-
research
难度 1/5 1-3 小时 新手友好度 78/100
StackGuardian/tirith#356 ·
维护者通常 3 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 76/100
StackGuardian/tirith#302 ·
维护者通常 3 天内回复
查看 StackGuardian/tirith 的全部 Issue
相似的 Issue
-
lesson-submission pending-review
难度 2/5 1-3 小时 新手友好度 72/100
Ikalus1988/MisakaNet#3956 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
aws-samples/sample-per-model-bedrock#574 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 70/100
521xueweihan/HelloGitHub#4133 ·
-
plot_components fails for logistic models with minmax scaling and no floor可能已有人在做 @RaphaelFakhri 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 4 天内回复
-
Update migen未关闭
难度 2/5 1-3 小时 新手友好度 70/100
YosysHQ/oss-cad-suite-build#220 ·