docs: add new gp kernels to predictor rest api spec - #189
Merged
Conversation
Regenerate the predictor OpenAPI bundle (source/_static/js/predictorSpec.js) from openprotein-api: rename matern21 -> matern12, add matern52, periodic, rational_quadratic, and the period/alpha kernel hyperparameters.
markgeejw
approved these changes
Jul 2, 2026
markgeejw
pushed a commit
that referenced
this pull request
Jul 20, 2026
Regenerate the predictor OpenAPI bundle (source/_static/js/predictorSpec.js) from openprotein-api: rename matern21 -> matern12, add matern52, periodic, rational_quadratic, and the period/alpha kernel hyperparameters. Co-authored-by: Christian Bepler <cbepler@ne47.bio>
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.
Summary
Update the predictor REST API docs to reflect the new GP kernels. The docs site
renders the predictor API via Swagger UI from the checked-in OpenAPI bundle
source/_static/js/predictorSpec.js; this regenerates theKernelschema inthat bundle to match the openprotein-api source.
Changes
Kernel.typeenum: renamematern21->matern12; addmatern52,periodic,rational_quadratic.period(periodic) andalpha(rational_quadratic) kernelhyperparameters.
Surgical edit to the
Kernelblock only (matching the file's existing style),rather than a full re-bundle, to keep the diff reviewable. Verified by serving
the site locally (
sphinx-autobuild) and confirming the predictor page rendersthe updated schema.
Merge order
Mirrors the OpenAPI source change in OpenProteinAI/openprotein-api#15
(
feat: add matern52/periodic/rational_quadratic to the Kernel schema). Mergeafter that PR, since this reflects spec content that lands there.