Skip to content

Remove unused exe.py PyInstaller entry point#855

Merged
PavelMakarchuk merged 1 commit intomainfrom
remove-exe-py
Apr 23, 2026
Merged

Remove unused exe.py PyInstaller entry point#855
PavelMakarchuk merged 1 commit intomainfrom
remove-exe-py

Conversation

@PavelMakarchuk
Copy link
Copy Markdown
Collaborator

Summary

Deletes `policyengine_taxsim/exe.py` and `policyengine_taxsim/policyengine_taxsim.spec`. These were the entry point and spec for a PyInstaller standalone-binary build that:

  • No CI workflow / Makefile / docs actually builds
  • Has no references in code outside the `.spec` file itself
  • Uses the single-record `export_household` Simulation path (per-row), which is strictly inferior to `cli.py`'s Microsim batch path

What stays

`export_household` and `generate_household` are unchanged — they're re-exported from `policyengine_taxsim/init.py` and exercised by `tests/test_state_output_adapters.py`.

Note on idtl=5 text output

`exe.py` was the only path that emitted verbose text output (Dan's server-style `Input Data... State Tax Calculation...` format) for `idtl=5`. The main `cli.py policyengine` command always writes CSV regardless of idtl. If text output is needed going forward, port `generate_text_description_output` into the Microsim path.

Test plan

  • All 121 existing tests pass (`pytest tests/`)
  • Lint clean
  • No references to `exe.py` remain in code

🤖 Generated with Claude Code

exe.py was the entry point for a PyInstaller standalone binary build
(via policyengine_taxsim.spec) that processes records one-at-a-time via
the single-record Simulation path. It was never actively built (no CI
workflow, no Makefile, no docs), and its per-record approach is strictly
inferior to the Microsim batch path in cli.py.

- Delete policyengine_taxsim/exe.py
- Delete policyengine_taxsim/policyengine_taxsim.spec

The export_household and generate_household helpers stay — they are
re-exported from policyengine_taxsim/__init__.py and exercised directly
by tests/test_state_output_adapters.py.

Note: this removes the one code path that emitted verbose text output
for idtl=5. If that's needed, port generate_text_description_output
into the Microsim path in cli.py.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
policyengine-taxsim Ready Ready Preview, Comment Apr 23, 2026 11:03pm

Request Review

@PavelMakarchuk PavelMakarchuk merged commit 12a83ba into main Apr 23, 2026
12 checks passed
@PavelMakarchuk PavelMakarchuk deleted the remove-exe-py branch April 23, 2026 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant