Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactored class_optimize.py #88

Merged
merged 3 commits into from
Oct 5, 2024
Merged

Commits on Oct 4, 2024

  1. Refactored class_optimize.py

    - Optimized Imports: Removed unused imports and organized them.
    - Refactored Code: Introduced split_individual function for clarity.
    - Improved Efficiency: Enhanced penalty calculation and streamlined loops.
    - Updated Evaluation Logic: Better handling of penalties in evaluate.
    - Type Hints added
    - fixed seed option added for automated tests
    - verbose comment added, default False
    
    Notes:
    - isfloat is only used in flask_server.py
    - start_hour is not used in this class
    NormannK authored Oct 4, 2024
    Configuration menu
    Copy the full SHA
    ee04c45 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2024

  1. datetime bug

    drbacke committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    2d62707 View commit details
    Browse the repository at this point in the history
  2. Pre Commit Fix

    drbacke committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    2cb3160 View commit details
    Browse the repository at this point in the history