Skip to content

test(aplite): keep exhaustive sampling as a small-domain oracle - #2170

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/feat/aplite/sample-small-projected-solution-sets-uniformly--a225f690
Oct 26, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/feat/aplite/sample-small-projected-solution-sets-uniformly--a225f690

Conversation

@tignear

@tignear tignear commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

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.

Depends-On: #2168

@tignear

tignear commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor Author

This pull request is part of a Mergify stack:

# Pull Request Link
1 feat(aplite): add reproducible seeded scalar model search #2168
2 test(aplite): keep exhaustive sampling as a small-domain oracle #2170 👈
3 feat(aplite): reuse compiled queries with temporary assumptions #2175
4 feat(aplite): query bounded projected XOR cells #2177
5 perf(aplite): reduce affine XOR rows before bit blasting #2183
6 feat(aplite): generate approximate projected sample batches #2184

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-26T16:50:33.239487Z 61d1fca New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@mergify

mergify Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Queued — the merge queue status continues in this comment ↓.

@tignear tignear added merge-ready Request merging through Mergify after required checks and removed merge-ready Request merging through Mergify after required checks labels Oct 26, 2026
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
@tignear tignear changed the title feat(aplite): sample small projected solution sets uniformly test(aplite): keep exhaustive sampling as a small-domain oracle Oct 26, 2026
@tignear
tignear force-pushed the stack/tignear/feat/aplite/sample-small-projected-solution-sets-uniformly--a225f690 branch from a5477b2 to 61d1fca Compare October 26, 2026 16:49
@tignear

tignear commented Oct 26, 2026

Copy link
Copy Markdown
Contributor Author

Revision history

# Type Changes Reason Date
1 initial a5477b2 2026-10-26 16:49 UTC
2 content a5477b2 → 61d1fca Keep exhaustive sampling test-only after review of scalability; remove the production API and its README example. Defer the sparse-domain rejection experiment. 2026-10-26 16:49 UTC

@tignear tignear added the merge-ready Request merging through Mergify after required checks label Oct 26, 2026
@mergify mergify Bot added the queued Mergify queue entry label Oct 26, 2026
@mergify

mergify Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

This pull request spent 44 minutes 36 seconds in the queue, including 38 minutes 46 seconds running CI.

Required conditions to merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • depends-on = celox-sim/celox#2168 [⛓️ feat(aplite): add reproducible seeded scalar model search #2168]
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Lint & Format
    • check-neutral = @github-actions/Lint & Format
    • check-skipped = @github-actions/Lint & Format
  • any of [🛡 GitHub repository ruleset rule master]:
    • 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)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/NAPI Build (Windows)
    • check-neutral = @github-actions/NAPI Build (Windows)
    • check-skipped = @github-actions/NAPI Build (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Rust Test & NAPI Build
    • check-neutral = @github-actions/Rust Test & NAPI Build
    • check-skipped = @github-actions/Rust Test & NAPI Build
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Ubuntu)
    • check-neutral = @github-actions/JS Test (Ubuntu)
    • check-skipped = @github-actions/JS Test (Ubuntu)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Windows)
    • check-neutral = @github-actions/JS Test (Windows)
    • check-skipped = @github-actions/JS Test (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Conventional Commit title
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title

Base automatically changed from stack/tignear/feat/aplite/add-reproducible-seeded-scalar-model-search--cc9fb9fe to master October 26, 2026 17:36
@mergify
mergify Bot merged commit cf27e8d into master Oct 26, 2026
25 checks passed
@mergify
mergify Bot deleted the stack/tignear/feat/aplite/sample-small-projected-solution-sets-uniformly--a225f690 branch October 26, 2026 17:39
@mergify mergify Bot removed the queued Mergify queue entry label Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-ready Request merging through Mergify after required checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant