[enhancement] Unify DSLX predicate annotation syntax across Quickcheck and Fuzz testing
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 32/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- cpp
- 領域
- compilers, testing-qa
調査の方向性
まず、DSLX の述語アノテーションの処理と、Quickcheck および fuzz のテストランナーを見つけます。qc と fuzz のアノテーションがどのように解析され、選択されるかを比較し、次に、ランナーのオプションによって 1 つの述語アノテーションで両方のモードをサポートできる方法を判断します。同じ述語を重複したアノテーションなしでどちらのランナーでも実行でき、関連する既存の動作が維持されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
created by a gemini-powered agent
What's hard to do? (limit 100 words)
Currently, predicate functions in XLS DSLX must be annotated separately as either quickcheck or fuzz tests (they cannot be annotated as both simultaneously). Quickcheck (qc) runs via the DSLX interpreter and is faster for checking small domains, while fuzzing requires ahead-of-time (AOT) compilation and uses coverage guidance for broader domain exploration. Because annotations are separate, developers cannot easily switch between quickcheck and fuzz testing on the same predicate function.
Current best alternative workaround (limit 100 words)
Developers must maintain separate annotations or duplicate predicate wrappers to run both quickcheck and fuzz testing on the same domain properties, or choose one execution mode upfront and forgo the benefits of the other.
Your view of the "best case XLS enhancement" (limit 100 words)
Unify the annotation syntax for predicate functions so that a single annotation syntax is used for domain predicates, and allow selecting the execution mode/runner (qc vs fuzz) via test runner options.
Benefits:
- Simplifies DSLX predicate testing and avoids duplicate annotations.
- Allows running either quickcheck or fuzzing on the same predicates.
- Potentially allows collecting fuzz predicates for Z3 formal proofs (
prove_quickcheck_main).
- 主要言語
- C++
- スター
- 1.9k
- フォーク
- 292
- 平均マージ
- 2日 17時間
- マージ済み PR(30日)
- 100
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
google/xls のほかの issue
-
`xls_cc_embed_data`: shared-library link fails on macOS — ELF-only `-soname` passed to the Mach-O linker対応中かも @marketchedai が 23 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
Component: Python API
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Vector35/binaryninja-api#8649 ·
メンテナーはふだん 3 日以内に返信
-
ai_p2 comp-parquet-reader-v3
難易度 2/5 半日 初心者へのやさしさ 66/100
ClickHouse/ClickHouse#124986 ·
メンテナーはふだん 1 日以内に返信
-
bug product: very_good_flutter_plugin
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
VeryGoodOpenSource/very_good_templates#654 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
AcademySoftwareFoundation/OpenImageIO#5550 ·
メンテナーはふだん 2 日以内に返信