generate.py

back to table · edit · history · where entries came from · files · download

832 bytes, as of the version from 2026-11-02 11:02 (current). Recorded here, not run.

"""Recompute and verify this Hessian table; writing requires --publish.

Run with SageMath:

    sage -pip install numberdb mpmath
    sage -python generate.py
    sage -python generate.py --publish

Download hessian_generator.py, hessian_periods.py, hessian-catalogue.json
and entry-metadata.json beside this file. The default command recomputes
every entry and compares it with the website without writing. Publishing
requires NUMBERDB_API_KEY and submits changes for human review.
For an offline JSON export, run:

    sage -python generate.py --snapshot table.json

See argument-selection.md for the methods, precision checks and coverage.
"""

from hessian_generator import HessianTable, run


class Table(HessianTable):
    table = 'T651'
    kind = 'quadratic'


if __name__ == '__main__':
    raise SystemExit(run(Table()))