← Files Scientific Visuals & TablesARCHIVED FILE

skills/scientific-visual-table-style/scripts/astra_visual_qa.py

331 Bytes · Oct 3, 2026 · 06:34 UTC

↓ Download file

#!/usr/bin/env python3
"""Astra hard-gate entry point."""
MIN_BODY_PT=7.5
MAX_GROUPED_BAR_SERIES=4
def reject(*, body_pt, grouped_series=0):
    errors=[]
    if body_pt < MIN_BODY_PT: errors.append("text below 7.5 pt")
    if grouped_series > MAX_GROUPED_BAR_SERIES: errors.append("too many grouped-bar series")
    return errors

SHA-256: 308a9e58d01e753b7711b576f0a59225651857a93c01acf15a0a3a32fed96efe