back to table · edit · history · where entries came from · files · download
2067 bytes, as of the version from 2026-11-20 05:53 (current). Recorded here, not run.
# Contributor lesson proposals, 20261120T053812Z
## Initialize Sage algebraic-number machinery in modular installations
What happened: after importing numberdb.sage and named ring modules, the first
full curve-period run failed inside AlgebraicNumber.real() with QQbar_I
undefined. A constructor probe also exposed undefined AA_hash_offset.
What the skill says now: initialize Sage through numberdb.sage before named
rings, and probe missing machinery rather than assuming sage.all exists.
What it should say: that import does not guarantee qqbar's end-of-sage.all
initialization ran. If Sage's algebraic-number globals are missing, the
module's _init_qqbar() initializes them; use it conditionally, then recheck
actual root/conversion operations. This internal helper may vary by Sage
version, so probe rather than treating it as a permanent public API.
Evidence: T772 generate.py; calculation.jsonl (failure), probe_init.py and
probe_init.log (actual function/source), calculation-3.jsonl (completed checks).
The proposed wording is not a change to the canonical skill.
## An empty existing draft may need its first entries before prose replacement
What happened: replacing T772's title-only document with a full prose document
and empty Numbers was refused by the existing-table endpoint, both without
and with X-Draft: yes. The error suggested X-Draft, although it did not change
that endpoint's behavior. Creating the empty private draft itself succeeded.
What the skill says now: create a title-only draft, then fill and check it;
it does not specify the ordering of separate API prose/entries writes.
What it should say: an existing draft's full-document write may require at
least one entry. Fill the offline-checked entries first, then read that current
document and retain its entries during a revision-guarded prose update.
Do not turn the error into a second draft or an empty published table.
Evidence: T772 claim.json, prose-upload-2.log, prose-upload-3.log, fill.log,
write_prose.py. Proposed wording requires a test against the current API.