Skip to content

Redirect ambiguous Cummins-Pauli label jumps to the full list of matching curves - #7147

Open
roed-math wants to merge 2 commits into
LMFDB:mainfrom
roed-math:ai/t12-cp-label-list
Open

Redirect ambiguous Cummins-Pauli label jumps to the full list of matching curves#7147
roed-math wants to merge 2 commits into
LMFDB:mainfrom
roed-math:ai/t12-cp-label-list

Conversation

@roed-math

Copy link
Copy Markdown
Contributor

Closes #7043.

Searching the modular curve jump box for a Cummins-Pauli label such as 12C3 used to resolve via lucky, silently landing on one arbitrary curve even though many curves can share a CP label (2004 of them for 12C3 on beta).

Now, if the CP label matches a unique curve we go straight to it as before, while multiple matches redirect to the search results listing all curves with that CPlabel. Labels with no match still flash the existing error, and fiber-product jumps are unchanged.

Verified with the Flask test client and by extending test_jump with a unique CP label (100A7) and an ambiguous one (113A17, whose two matches both appear in the results).


Ported from roed-math#10, where the full write-up and comment history live.

🤖 Generated with Claude Code

roed314 and others added 2 commits July 19, 2026 01:09
…#7043)

Many modular curves can share a Cummins-Pauli label (e.g. 12C3 matches
2004 curves on beta), but the jump box silently picked one via lucky().
Now a CP label with a unique match still goes straight to the curve,
while multiple matches redirect to the search results listing all
curves with that CPlabel (the CPlabel search parameter already existed).
Verified with the Flask test client (113A17 lists both matches, 100A7
goes to 100.120.7.a.1, 999Z9 still flashes an error, fiber-product
jumps unchanged) and by extending test_jump, which passes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Modular Curve search on Cummins-Pauli labels should return a list

2 participants