# Compatibility test files - downloaded on demand
# Use ./scripts/fetch-compat-test-files.sh to populate

# Ignore all downloaded content
*

# But track this .gitignore
!.gitignore

# Track in-tree plugin differential fixtures (Phase 2 of plugin-testing
# plan, see #992). These exercise specific plugin code paths and ship
# with the repo, unlike the downloaded corpus. The dir name `plugins`
# matches the per-category key used in `.github/workflows/compat.yml`'s
# `get_category` so these fixtures count toward the "plugins" metric.
#
# Pattern needs both the dir AND `**/` to allow Git to recurse into
# nested per-plugin subdirectories (e.g. `plugins/implicit_prices/`).
# Without `!plugins/**/`, the top-level `*` ignores the intermediate
# dirs and `git add` would silently skip new fixtures unless invoked
# with `-f`.
!plugins/
!plugins/**/
!plugins/**/*.beancount

# In-tree cost-spec differential fixtures (#1700): compound `{a # b}`
# costs, which the downloaded corpus does not cover (it exercises `@@`
# total prices but not `#` total costs). Same recursion note as above.
!costs/
!costs/**/
!costs/**/*.beancount
!costs/*.beancount

# In-tree interpolation differential fixtures (#1705): empty-{} cost
# solving edge matrix, cross-checked against bean-check 3.2.3. Same
# recursion note as above.
!interpolation/
!interpolation/**/
!interpolation/**/*.beancount
!interpolation/*.beancount
