Repository navigation
feat: integrate Krylov inference and interactive CKKS Pages lab - #2
Merged
Merged
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
What does this PR do?
Add a runnable Krylov inference application and interactive GitHub Pages lab to PrivnetAI. The client compiles graph-dependent Chebyshev feature blocks; a polynomial evaluator can then process encrypted columns without receiving the graph.
This is a separate shallow spectral architecture alongside the existing GCN. The new synthetic graph/model uses all nodes during fitting, so accuracy is illustrative training accuracy. Both local demo roles share one process/browser; an independently assessed security level, post-quantum protocol, malicious-server integrity and encrypted training are not claimed.
Validation
TestEncryptionShim.test_linear_operations, already diagnosed in the research archive as unscaled weight rounding./PrivnetAI/asset path, graph controls, local/malformed upload, safe rendering and export, real CKKS/current-model synchronization, and mobile layout.npm ciand production build passed. Default real-CKKS demo runs matched every plaintext prediction with maximum logit error approximately 7.2e-6; these are small demonstration measurements, not upstream benchmark reproductions.Initial live demo: https://aliaslany.github.io/PrivnetAI/
The live site's plaintext controls, actual CKKS computation and JSON export were verified. It deployed successfully from the generated
gh-pagesbranch. The Krylov Python and browser CI jobs also passed on GitHub.Ongoing updates use the Pages workflow after this PR merges into
main. Before using it, select GitHub Actions in Pages settings and permit main in thegithub-pagesenvironment's deployment branch policies. GitHub returned HTTP 403 when this integration attempted those settings changes. This does not block using the already published demo; exact steps are recorded indocs/krylov.md.Checklist: