Repository navigation
merge queue: checking #2181 on master (ad322c5), stacked on #2170, #2175 and #2171 - #2185
Closed
mergify[bot] wants to merge 8 commits into
Closed
mergify[bot] wants to merge 8 commits into
mergify[bot] wants to merge 8 commits into
Conversation
Add a test-only bounded oracle for projected scalar solution sets. Enumerate distinct projected assignments, verify exact cardinalities on small domains and select a reservoir sample to check projection weighting. Hidden witness multiplicity must not change projected probabilities; incomplete enumeration must not expose a partial sample. Whole-space enumeration is intentionally excluded from the public API and production build. It is a correctness reference for future scalable constrained-randomization algorithms, not the runtime randomize path. Keep the public solver surface at solve, solve_with_hint and solve_seeded; do not claim uniform production sampling or SystemVerilog constraint support. Validation: 84 Aplite unit tests and two README doctests passed, including all two-Boolean truth-table counts, hidden-witness multiplicity, deterministic seed/distribution checks, exact model limits, global work exhaustion, zero timeout, empty projections and invalid input. All-target clippy, formatting and diff checks passed. No production solver algorithms were changed and no full RV32I campaign or release build was run. Change-Id: Ia225f690beff201815b45c973d09d019d82d4b57
Repeated literal arithmetic in aggregate port defaults rediscovered declaration scopes and copied growing scope snapshots. Runtime select lowering also repeatedly attempted constant evaluation of large inlined expressions. Skip declaration discovery for expression trees composed entirely of literals, reject required unbound runtime operands before constant substitution, reuse binary operands already evaluated for type context, and return width one for identical runtime bit-select bounds. Keep names in unselected query arms on the discovery path and preserve short-circuit evaluation. Local compile measurements against master ee675d8, using frozen CLI binaries and identical options: - 128 aggregate-default ports: 20.62 s to 0.69 s. - 256 aggregate-default ports: 90 s timeout to 0.50 s. - Original Taxi 32-channel Ethernet configuration: 123.971 s to 99.821 s, about 20% faster. - VCU108 still exceeds the 300 s compile limit with both binaries. This remains unresolved. Taxi sources were unchanged at cc70b270b910d369ab1ad7b3855e76399fd461f1. Taxi measurements cover compilation only, with O1 and two-state operation; cocotb runtime tests were not rerun. These are local measurements rather than timing assertions in CI. Validation: - Analyzer/frontend unit tests: 846 passed; 2 doctests passed. - Full SystemVerilog backend suite: 5,664 passed; 20 existing skips. - Clippy for celox-sv-analyzer, celox-frontend-sv and celox tests with systemverilog, cranelift and wasm-runtime: passed with -D warnings. - cargo fmt --all -- --check and git diff --check: passed. Regression tests assert discovery/evaluation counts and width semantics without wall-clock thresholds. Shared executable cases and external adapters are unchanged. Change-Id: Ia023a992051109e82c9ae3ae147c313b49f70e54
Repeated constraint queries currently validate and bit-blast the same expressions on every solve. Add PreparedQuery to compile a fixed scalar formula, context and Boolean predicate definitions once, then assert chosen predicate polarities per call. Encode assumptions as decision levels rather than permanent unit clauses, reapply them after backjumps, and retain learned clauses after successful searches. Discard mutable search state after UNSAT or interruption while keeping the original encoding reusable. Share source compilation, phase initialization and model replay with the existing solver. Replay every SAT witness against the original formula, requested context and asserted predicates. Preparation and solve budgets are explicit and separate; invalid predicate indexes or resource exhaustion return Unknown, never UNSAT. The API is a reusable solving primitive, not a uniform sampler or an implementation of SystemVerilog randomize. Validation: 84 existing Aplite tests plus six prepared-query regressions and three README doctests. Exhaustively checked 4,096 changing assumption queries against all three-Boolean truth tables; tested retained learned clauses, opposite/duplicate/constant assumptions, sort conflicts, invalid input, and recovery after interrupted searches. Lydite IR (38), solver (29), kernel (5), and pipeline/search consumers (7) passed, including finite-only proofs and deliberate fault detection. Affected all-target clippy, formatting, package include/version checks, diff checks and standalone cargo package verification passed. No full RV32I campaign or release build was run. Change-Id: I80ec43950e64c7fc7a7dfc0c0975848fe51adea2
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This is a merge queue draft opened by Mergify. Nobody needs to act on it.
Mergify opened it for batch glowing-saladenicoise-8ck797 of the
dependenciesqueue, to test #2181 before it merges intomaster.What this draft tests
Mergify checks that #2181 still passes CI once combined with everything queued ahead of it. CI runs on this draft's code, built in this order:
masteratad322c548a29d6The check is speculative: it assumes the pull requests ahead will merge, so it starts without waiting for them.
✨ Where it stands: closed
The number of speculative checks has been reduced.
Follow the
dependenciesqueue in the dashboardWhat happens next
Tip
A red check is not necessarily caused by this batch. These checks run on a tip that also carries the commits of the 3 pull requests ahead, so a failure here can come from them as much as from #2181. See only this batch's changes.
Queued ahead of this batch
These pull requests entered the queue before this batch and are not part of it.
corecoreMetadata for CI tooling, read by
mergify ci1 scope
coreRequired conditions of queue rule
dependenciesfor mergecheck-success = Conventional Commit titlecheck-success = Queue validationmaster]:check-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatcheck-success = @github-actions/Lint & Formatmaster]:check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)check-success = @github-actions/NAPI Build (Linux ARM64 GNU)master]:check-neutral = @github-actions/NAPI Build (Windows)check-skipped = @github-actions/NAPI Build (Windows)check-success = @github-actions/NAPI Build (Windows)master]:check-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildcheck-success = @github-actions/Rust Test & NAPI Buildmaster]:check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)check-success = @github-actions/JS Test (Ubuntu)master]:check-neutral = @github-actions/JS Test (Windows)check-skipped = @github-actions/JS Test (Windows)check-success = @github-actions/JS Test (Windows)master]:check-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titlecheck-success = @github-actions/Conventional Commit titleRequired conditions to stay in the queue
-conflict-draft-head ~= ^(integration/|renovate/veryl-crates$|upgrade/veryl-|release-please--branches--master--components--celox$|master$)-label = release:holdbase ~= ^(master|develop)$head ~= ^renovate/head != release-please--branches--master--components--celoxlabel = merge-readymaster]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatmaster]:check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-success = @github-actions/NAPI Build (Linux ARM64 GNU)master]:check-skipped = @github-actions/NAPI Build (Windows)check-neutral = @github-actions/NAPI Build (Windows)check-success = @github-actions/NAPI Build (Windows)master]:check-skipped = @github-actions/Rust Test & NAPI Buildcheck-neutral = @github-actions/Rust Test & NAPI Buildcheck-success = @github-actions/Rust Test & NAPI Buildmaster]:check-skipped = @github-actions/JS Test (Ubuntu)check-neutral = @github-actions/JS Test (Ubuntu)check-success = @github-actions/JS Test (Ubuntu)master]:check-skipped = @github-actions/JS Test (Windows)check-neutral = @github-actions/JS Test (Windows)check-success = @github-actions/JS Test (Windows)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titleQueue graph
The diagram is not laid out in queue order, so a node's position says nothing about when it merges.
graph LR 8de958f863e644c2bef6270269c27279["amusing-livaro-rl5oxm<br/>#2168 + #2170<br/>scopes: core"] f4589e12df3548ffafba74307cac5dbd["monetary-navet-d6u5p4<br/>#2175 + #2171<br/>scopes: core"] 6a734632d0a2495b955ee48a4e5e0091["glowing-saladenicoise-8ck797<br/>#2181<br/>scopes: core"] 8de958f863e644c2bef6270269c27279 --> f4589e12df3548ffafba74307cac5dbd f4589e12df3548ffafba74307cac5dbd --> 6a734632d0a2495b955ee48a4e5e0091 style 6a734632d0a2495b955ee48a4e5e0091 fill:#6366f1,color:#fff