# Self-host parity budget.
#
# One line per run-tests.sh suite:
#
#   <suite> <max_extra_failures>
#
# `max_extra_failures` is how many MORE tests the self-hosted compiler
# (compiler/*.salam) is currently allowed to fail than the reference C
# compiler does, when both are run over the same suite on the same machine
# in the same CI job. It is a delta, never an absolute count - suites have
# environment-dependent failures (no sqlite3, no network, tcc codegen
# limits) that hit BOTH compilers, and comparing against a same-run
# reference cancels those out instead of baking a machine-specific number
# into CI.
#
# This is a ratchet: selfhost-parity.sh fails when the delta EXCEEDS the
# budget, and warns when the delta comes in under it. When you see the
# "budget can be lowered" warning, lower the number here in the same PR
# that fixed the gap. The goal is every line at 0, at which point the
# self-hosted compiler is at full parity and can take over as primary.
#
# Measured 2026-08-04 against the 0.2.7 release binary (see the PR that
# added this file); the numbers below are the observed deltas, so CI starts
# green and any regression from here is a real one.

exec 0
layout 0
llvm 0
errors 0
general 7
