Simplify getting started by cthoyt · Pull Request #16 · ChEB-AI/python-chebifier · GitHub
Skip to content

Simplify getting started#16

Merged
sfluegel05 merged 6 commits into
ChEB-AI:devfrom
cthoyt:simplify-getting-started
Sep 16, 2025
Merged

Simplify getting started#16
sfluegel05 merged 6 commits into
ChEB-AI:devfrom
cthoyt:simplify-getting-started

Conversation

@cthoyt

@cthoyt cthoyt commented Aug 19, 2025

Copy link
Copy Markdown
Contributor

Hello! I was just trying to run chebifier myself and thought there were a few ways it could be improved for quality of life.

This PR does the following:

  1. Updates the constructor of BaseEnsemble
    • Make it possible to not have to pass a configuration. In this case, load the default configuration. Users highly appreciate there being a good default.
    • Make it possible to pass a file path, reducing verbosity of the example
  2. Expose the BaseEnsemble from the top-level so it's easier to import
  3. Simplify the example in the README by using the built-in configuration

cthoyt and others added 4 commits August 19, 2025 11:19
This PR updates the BaseEnsemble constructor to allow the following:

1. Passing a string or path to the configuration
2. Not passing a configuration at all, which will automatically load the default configuration. This is now the default, since most users won't want to have to configure it (it should have reasonable defaults)
@sfluegel05

Copy link
Copy Markdown
Contributor

@cthoyt

cthoyt commented Sep 16, 2025

Copy link
Copy Markdown
Contributor Author

@sfluegel05 thanks for taking a look! i'll try and resolve this ASAP and ping you here after

@cthoyt

cthoyt commented Sep 16, 2025

Copy link
Copy Markdown
Contributor Author

@sfluegel05 just resolved the circular imports

@sfluegel05

Copy link
Copy Markdown
Contributor

@sfluegel05 sfluegel05 merged commit 7aaf46f into ChEB-AI:dev Sep 16, 2025
1 check passed
@cthoyt cthoyt deleted the simplify-getting-started branch September 16, 2025 15:40
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