Repository navigation
Add built-in ChunkTrust AHS and gated RTC+AHS inference - #25
Merged
Merged
Conversation
Use the accepted model prediction and RTC source offset for AHS history values while retaining the successful-submission admission rule. Exclude interpolation targets and unexecuted suffixes without changing experiment recording. Validate history, scores and selector state across control sampling phases, RTC suffix handoffs, preview isolation and bounded multi-chunk history.
Contributor
Author
|
Confirmed the history fix in eff2cab. This fix looks good to me. Thanks! |
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.
ManiMux cannot currently consume ChunkTrust's denoising evidence to choose an execution horizon. This adds built-in
chunktrust_ahsandchunktrust_ahs_rtcalgorithms through the existing inference registry, presets and scheduling interfaces.Both algorithms embed the unchanged PI-family numerical core from ChunkTrust a9fd574, with attribution, all 19 selector parameters, transactional posterior/RNG updates, and reproducible state snapshots. Only accepted plans advance the selector. History records the first successfully submitted target in each policy interval. RTC conditions on the full prediction, preserves the selected execution budget and crops actions/trace by actual consumption at handoff.
The runtime changes include opt-in command feedback, isolated preview/warmup calibration, strict live capability validation, trace preservation in both XPolicyLab client paths, and example recipes plus experiment-matrix support. Existing model submodule pins and default experiment methods are unchanged. No external ChunkTrust package is required.
Backend support and why this is a draft
chunktrust_ahscan use the optional fixed XPolicyLab trace fork 53ac927, launched as an external model service. The default submodule has no required trace output.chunktrust_ahs_rtchas a complete runtime path but no verified RTC+trace backend is currently available. It requires combined raw-v output and explicit zero guidance on padded model dimensions, and refuses unsupported backends before hardware connection. Tests use clearly marked synthetic capabilities.EdgeRuntime.runwith devices remains unverified. Keep this draft until real-backend and station qualification are available.Validation
All five public probes pass in the development environment and in a separate source snapshot with a fresh Python 3.11 environment installed using
uv sync --locked --extra xpolicylab --group dev:New non-vendored Python files pass Ruff. Seven new runtime/feedback modules pass strict Mypy. Modified existing files introduce no Ruff diagnostics relative to the base revision. Frozen-core identity, packaged licenses and whitespace checks pass.
Commands, parameter consumers, support limits and external-service setup are documented in
skills/manimux-inference/references/chunktrust.mdand the user guide. Fixture data accounts for most added lines. All numerical, lifecycle and wire evidence is CPU-only.