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

Dev #47

Open
wants to merge 170 commits into
base: main
Choose a base branch
from
Open

Dev #47

wants to merge 170 commits into from

Conversation

mivanit
Copy link
Member

@mivanit mivanit commented Feb 11, 2025

a continuation of #46

Enhance maze generation functionality by introducing the ability to handle cases where maze generation fails. Previously, an unsolvable maze would cause an error and halt the process. With this update, such problematic mazes are gracefully handled by excluding them from the dataset instead of raising an error.

TODO:

  • fix edits from Improve Maze Generation by Skipping Unsolvable Mazes #46
  • new makefile, switch to uv from poetry
  • progressive type hinting
    • tool to tell us how many errors per file
  • estimating dataset success fraction
    • sweeping over configs
    • plots for success rate over various configs
    • pysr for fitting a function to the above
    • restructure SweepResult to not depend on consistent hashes?
    • page for plots in docs, reorganize the docs/benchmarks folder
    • make recipe for config sweep and fit, test it in CI
  • include the fname in MazeDatasetConfig.serialize()
    • use a more stable hashing system
    • put fname in the hash
  • checks passing

bknutson0 and others added 28 commits December 21, 2024 23:15
temporary merge into dev

Improve Maze Generation by Skipping Unsolvable Mazes
- it stays in the `endpoint_kwargs`, but is actually passed to `generate_random_path`
  which now returns `None` if `except_on_no_valid_endpoint` is `False` and it fails to find endpoinhts

- removed `except_when_invalid`, but we reuse the logic which existed for it
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

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.

2 participants