Skip to content

Conversation

@conundrumer
Copy link

Primarily resolves #14 and also some cleanup

conundrumer and others added 5 commits December 25, 2025 22:46
Resolves michaelhodel#14 by eliminating redundant function calls across all verifier functions.

Changes:
- Removed 229+ redundant expression computations
- Consolidated duplicate variable assignments by reusing first computation
- Applied iterative optimization to handle cascading redundancies
- Reduced file size from 10,900 to 10,649 lines (251 lines removed)

The tuple declarations at lines 432, 1318, 1796, and 3197 were already
using astuple() and did not require changes.

All 400 verifier functions remain functional and pass import validation.

Co-authored-by: Claude <noreply@anthropic.com>
Moved plot_task function from utils.py to a dedicated plot.py file to
improve code organization and separate plotting functionality from
utility functions. Updated imports in main.py accordingly.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Renumbered all xN variables across 110 functions to have consecutive
indices starting from x0, eliminating 214 gaps in the variable sequences.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
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.

Missing astuple in four verifiers, and some verifiers use the same call multiple times.

1 participant