Untrack src/__pycache__/fetch_sejm_api.cpython-311.pyc

#172
by ppuzio - opened
Fabryka AI org
•
edited 3 days ago

src/__pycache__/fetch_sejm_api.cpython-311.pyc was committed by accident with the sejm_api source in 8d04201 (#16). This PR removes it from the index (git rm --cached).

  • It is the only tracked .pyc or __pycache__ path (git ls-files | grep -E '__pycache__|\.pyc$').
  • .gitignore already lists __pycache__/ and *.pyc. Ignore rules do not apply to files that are already tracked, which is why this one stayed. .gitignore is unchanged.
  • Nothing pins the file by path or hash. Its path appears only in the 166-file listing of the target_audit evidence in artifacts/open_agh_chemistry_pl_ontology_manifest.json. That is a content-addressed snapshot of revision a916ede, which already lists 25 files that are no longer on main, so it is left unchanged.
  • It is CPython 3.11 bytecode that Python regenerates from src/fetch_sejm_api.py on import, so nothing depends on the tracked copy.

Tests: python3 -m pytest -q -p no:cacheprovider on this branch and on main (11ab4b4), both in worktrees with GIT_LFS_SKIP_SMUDGE=1, gave the same result: 1275 passed, 102 failed, 33 errors, 23 skipped. The FAILED/ERROR sets are identical. The failures are mostly LFS pointers read as parquet or JSONL.

Side note, not changed here: AGENTS.md ("Do not commit") still says only logs/ is in .gitignore. It now also covers __pycache__/, *.pyc and several data and artifact paths.

🤖 Generated with Claude Code

ppuzio changed pull request status to open
ppuzio changed pull request status to merged
ppuzio deleted the refs/pr/172 ref

Sign up or log in to comment