Code snippets from snippet-generate action - #21
Open
github-actions[bot] wants to merge 497 commits into
Open
Conversation
Second pass at adding lattice genus invariants
partial fix for Issue LMFDB#6190
First pass at removing extras
Intrinsic
Co-authored-by: edgarcosta <322822+edgarcosta@users.noreply.github.com>
Co-authored-by: edgarcosta <322822+edgarcosta@users.noreply.github.com>
Co-authored-by: edgarcosta <322822+edgarcosta@users.noreply.github.com>
Add code snippets for p-adic fields
Fixes by autopep8 action
Fix Sage downloads for p-adic fields
Uses the shared graph infrastructure merged from isogenygraphs to render genus adjacency graphs interactively. Nodes are clickable when lattice labels are available, linking to the corresponding lattice page.
Show minimum, kissing number, and automorphism group on hover.
Fix "Basis" for Magma
Change "Minimal vector length" to "Minimum"
Minor change to names of lattice invariants
Update some knowl links on lattice page
Fixed minor bug with genus search page
I have added more snippets of code; the commented ones are that are not yet available in the latest OSCAR release.
More small updates to invariant/knowl names
More snippets for OSCAR code
Replace the buggy Gram matrix search with a format-aware input that supports full matrix, upper/lower triangular, diagonal, and auto-detection via a dropdown selector. - Add conversion functions (flat_to_matrix, upper/lower_triangular_to_matrix, diagonal_to_matrix, auto_detect_gram_format) to web_lattice.py - Replace TextBox with TextBoxWithSelect + SelectBox in the search UI - Fix common_parse to dispatch to the correct converter and store flat n² list in query (direct DB match) + 2D matrix in info (for postprocessors) - Fix genus_search_equivalence: use flat_to_matrix for DB rep values, correct column name (rank not dim), read from info['gram_matrix'] - Fix lattice_search_isometric: handle string projection (value not dict), handle [[flat_list]] wrapper, correct column names, drop invalid 'aut' from projection - Uncomment and rewrite gram matrix tests with data that exists in DB
- Move flat gram → query out of common_parse (shared) into lattice_search (query['gram']) and genus_search (query['rep']) since the two tables have different column names - Fix genus postprocessor to pop 'rep' instead of 'gram' - Add tests: 1×1 edge case, auto-detect full matrix, off-diagonal upper triangular, non-symmetric error, invalid length errors, non-integer error, auto-detect invalid length, genus gram search
Replace the old broad isometry test with a genus-targeted approach: - Compute the genus of the input Gram matrix - Search lat_genera by rank, det, level, nplus, and is_even - If one candidate in the genus matches user constraints, return it directly - Otherwise try isometry against candidates with a 20s time budget - If no match found, show all lattices in the genus with a flash message linking to the genus page Add tests for isometry search including a rank-6 lattice with class_number=200 (genus 6.6.311.61).
github-actions
Bot
force-pushed
the
create-pull-request/patch
branch
from
February 24, 2026 23:13
0d96de9 to
49c1fbe
Compare
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.
This is an auto-generated PR with code snippets from yaml files