paper-quality-gate
Paper quality gate
Internal deterministic gate used after bounded LaTeX sanitization and
immediately before compilation. Input is a JSON object containing
paper_contract, length_gate, citation_gate, and manuscript_package.
The preceding sanitizer may normalize safe punctuation and replace detected
forecast magnitudes with explicit placeholders, but this gate remains an
independent fail-closed audit of the resulting artifact.
The command exits non-zero when an upstream LLM gate blocks, when a required
verdict marker is absent, when the manuscript artifact cannot be read, or when
an evidence-free manuscript presents empirical findings as completed results.
It also rejects concrete English or Chinese predicted outcome numbers (for
example, an anticipated 12% improvement) when evidence is absent. Experimental
setup parameters remain allowed; a predefined metric target such as 50%
accuracy is also allowed when the unknown time-to-target remains nonnumeric.
Explicitly conditional claims and planned significance thresholds are not
treated as observed findings. Unknown outcomes must use TBD / 待实验确定
instead of invented point estimates.