Commit 12c42c4
Address review: pin the Conway generator convention and test the projection (LMFDB#6975)
The download description for the Curves column said only that "a" denotes
a generator of the base field over its prime field, which does not pin
down the stored equations: a finite field has many generators, and a
different choice changes the coefficients. Give the same convention the
isogeny class homepage does, namely that a is the image of x in
GF(p)[x]/(C(x)) for C the degree r Conway polynomial used by the LMFDB,
and stop conflating the two missing-data states: null means the curves
have not been computed, while an empty list means the computation was
carried out and there are no such curves (spot checks confirm this
reading: whole (g, q) blocks are either uncomputed or fully computed, and
in the computed blocks the empty lists fall exactly on the classes
recorded as containing no Jacobian).
Also cover the conditional projection with tests. test_curves_projection
pins both directions - curves is absent from db_cols, curves_requested is
false by default and true with showcol=curves, the search sets
__projection__ only when the column is shown, AbvarFq_download.get_projection
adds curves only then, and the generic Downloader.get_projection still
just restricts db_cols to the table's columns. test_curves_not_computed
replaces the weak "label appears on the page" check with assertions on
the rendered Curves cells and on the downloaded values, and
test_curves_search_column now checks the raw equations plus the Conway
polynomial wording in every non-CSV language, gp included since that is
what the issue asked for.
Verified with sage -python: 22 abvar/fq tests pass (20 before, two new),
number-field and local-field download tests pass, pyflakes and ruff clean,
and sage/gp downloads inspected by hand for a computed row, a NULL row
(None/null) and an empty list row ([]).
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 01e625d commit 12c42c4
2 files changed
Lines changed: 89 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
707 | 707 | | |
708 | 708 | | |
709 | 709 | | |
710 | | - | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
711 | 716 | | |
712 | 717 | | |
713 | 718 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
176 | 247 | | |
177 | 248 | | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
178 | 257 | | |
179 | 258 | | |
180 | 259 | | |
| |||
0 commit comments