Repository navigation
merge queue: checking #2178 + #2177 + #2183 together on master (298a83e) - #2197
Closed
mergify[bot] wants to merge 6 commits into
Closed
mergify[bot] wants to merge 6 commits into
mergify[bot] wants to merge 6 commits into
Conversation
Calls such as q.size, q.pop_front and map.delete now bind through the same argument and void-result checks as their parenthesized forms. Handle void-cast statements that discard pop results, including string and class handles. Preserve the declared element type when querying an integral pop result, including packed rank and authored bounds. Type queries validate without executing the pop. Reject unsupported queries on nonintegral pop results instead of treating string/class handles as packed integer values. The upstream queue and associative examples are narrow: all 28 initially selected official case/mode checks passed while a packed-result query still failed on every Celox backend. Add that counterexample alongside ordinary, four-state/default, side-effect, discarded-return and required-argument checks. The fixed packed-result case also passes Verilator. The official runner checked 36 pinned upstream cases containing bare method names in both state modes (72 verdicts). Sixteen simulation cases improve from fail to pass in both modes, including associative allocation and nonexistent reads beyond the initial selection. Update exactly those 32 expectations; preserve the other 3,268 rows. No previously passing candidate regresses. This was a focused run, not a full-corpus conformance measurement. Validation: - Common SV suite: 5,679 passed, 20 existing ignored. Latest container suite: 108 passed, including four new shared cases across five configurations. - Analyzer/frontend units: 833 and 7 passed, with 3 existing analyzer ignores. - Debug NAPI build and JS integration: 435 passed across 16 files. - Affected-crate all-targets Clippy with -D warnings, formatting, diff checks and the five sv-tests aggregate tests passed. Independent checks retain their original assertions and exclusions: - Verilator 5.052: 3 passes, 1 four-state adapter unsupported. - Icarus 13.0: 1 pass, 2 compile errors for unsupported associative arrays and 1 mismatch in the packed-result dimension/bound queries. - xezim 0.11.3: all four compile but mismatch. Standalone probes reproduce queue mutation inside $bits/$size, zero instead of X from an empty logic queue pop, and receiver capture before a nested pop argument. Queue slicing, queue concatenation operands, element-reference persistence, warning diagnostics and nonintegral pop result queries remain outside this change's support contract. Change-Id: Ie020842652d298a923ebb251ce8d4775b3249082
Add PreparedQuery::enumerate_cell to enumerate at most a caller-bounded projected cell under temporary predicates. Use one scoped CDCL database, retaining local learning while blocking already-seen projected assignments. Hidden witness multiplicity does not duplicate a projected model. Blocking clauses and their learned consequences never escape into the prepared query or a later cell. Return Complete, TooLarge, or Unknown distinctly. One extra search distinguishes an exact-size cell from overflow; only Complete exposes models. Work and time budgets cover the entire cell operation, including model replay. Replay source formulas, contexts and predicate assumptions before accepting models or declaring overflow. Add HashCells to prepare seed-selected affine XOR rows once and query different prefixes/targets without recompilation. Preserve constant and dependent rows, validate projection variables, and bound construction as well as search. These are partitioning/counting primitives, not a uniform sampler: adaptive sizing and a justified cell-acceptance/model-selection policy remain follow-up work. The exhaustive reservoir sampler remains test-only; an empty predicate prefix can still inspect a small whole domain within the explicit cell bound. Validation: 98 Aplite unit tests and four README doctests. Checked every three-Boolean truth table across XOR cells; verified disjoint/complete partitions across seeds, projected multiplicity, alias/constant bits, exact thresholds, overflow, invalid inputs, budget recovery and no state leakage. A 32-bit domain narrowed by XOR predicates completes a 16-model cell; the unpartitioned query stops at overflow. Lydite IR/solver/kernel tests (38/29/5), affected all-target clippy, formatting, package/version checks and standalone package verification passed. No full RV32I campaign, release build, or production uniformity guarantee is claimed. Change-Id: I562d30b5a8a1d9c75859358602aa1b3cc9c76455
Dense affine XOR queries exhausted the work budget even for an unconstrained 32-bit projection. Reduce each row against earlier rows before encoding, and transform cell targets by the same operations. Every original prefix and cell remains unchanged, including zero and dependent rows. Validation: exhaustive original-versus-reduced cell comparison across 32 seeds, all three-bit prefixes and targets; prepared-query tests; Aplite tests and doctests; Aplite and Lydite consumer clippy and tests. The downstream 32-bit sampling regression now completes within the default budget. Change-Id: I9afa00067cbc3831d331ed9a987982c4f23fb1f1
This was referenced Oct 26, 2026
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 sugary-romesco-bt336e of the
changesqueue, to test #2178, #2177 and #2183 before they merge intomaster. Pushing to this branch or closing this pull request removes them from the queue.What this draft tests
Mergify checks that #2178, #2177 and #2183 still pass CI on top of
master. CI runs on this draft's code, built in this order:masterat298a83e🎉 Where it stands: checks passed
CI passed on this draft.
Follow the
changesqueue in the dashboardWhat happens next
masterand closes this draft.Metadata for CI tooling, read by
mergify ci1 scope
coreRequired conditions of queue rule
changesfor mergecheck-success = Conventional Commit titlecheck-success = Queue validationdepends-on = celox-sim/celox#2177[⛓️ feat(aplite): query bounded projected XOR cells #2177]master]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatmaster]:check-success = @github-actions/NAPI Build (Linux ARM64 GNU)check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)master]:check-success = @github-actions/NAPI Build (Windows)check-neutral = @github-actions/NAPI Build (Windows)check-skipped = @github-actions/NAPI Build (Windows)master]:check-success = @github-actions/Rust Test & NAPI Buildcheck-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildmaster]:check-success = @github-actions/JS Test (Ubuntu)check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)master]:check-success = @github-actions/JS Test (Windows)check-neutral = @github-actions/JS Test (Windows)check-skipped = @github-actions/JS Test (Windows)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @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$)-head ~= ^renovate/-label = release:holddepends-on = celox-sim/celox#2177[⛓️ feat(aplite): query bounded projected XOR cells #2177]base ~= ^(master|develop)$base ~= ^stack/body ~= (?m)^Depends-On: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-success = @github-actions/Rust Test & NAPI Buildcheck-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @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 8a659f7f391848be9e17a7791b09f9a0["sugary-romesco-bt336e<br/>#2178 + #2177 + #2183<br/>scopes: core"] e28cc7266b4e453fa8dd241ec8ce9d6b["manual-campagne-nxuzgf<br/>#2184<br/>scopes: core"] 8a659f7f391848be9e17a7791b09f9a0 --> e28cc7266b4e453fa8dd241ec8ce9d6b style 8a659f7f391848be9e17a7791b09f9a0 fill:#6366f1,color:#fff