feat(core): `condition.transform` — `json_decode`, `path`, `length`
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
この issue では、実装ファイル、テスト、エントリーポイントが指定されていません。まず、記載されている R1 skip-ordering と variable-recursion の依存関係を解決し、その後、3 つの transform 手順と堅牢化要件を定義します。これらの手順、エラー処理、メタデータの動作、null 属性の処理が、エスケープ失敗なしに実装されていれば完了です。
索引モデルが 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
- スター
- 167
- フォーク
- 47
- 平均マージ
- 1日 21時間
- マージ済み PR(30日)
- 7
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
StackGuardian/tirith のほかの issue
-
test(evaluators): edge cases for the numeric comparison evaluators対応中かも @sricharanreddycheruku が今日担当しました。 オープンgood first issue hacktoberfest tests
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
StackGuardian/tirith#381 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
research
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
StackGuardian/tirith#356 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
StackGuardian/tirith#302 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
StackGuardian/tirith#299 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
StackGuardian/tirith#295 ·
メンテナーはふだん 1 日以内に返信
StackGuardian/tirith の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
pyjanitor-devs/pyjanitor#1758 ·
メンテナーはふだん 1 日以内に返信
-
bug ready for review
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
odysseus-dev/odysseus#6641 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
happypawspillaro/happypaws#78 ·
メンテナーはふだん 4 日以内に返信
-
pydanty:is-working
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
pydantic/pydantic-ai#10020 ·
メンテナーはふだん 1 日以内に返信
-
stdlib type-bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
python/cpython#159044 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信