You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a high-level roadmap of Honegumi's development, see https://github.com/sgbaird/honegumi/discussions/2. Honegumi uses Python, Javascript, Jinja2, pytest, and GitHub actions to automate the generation, testing, and deployment of templates with a focus on Bayesian optimization packages. As of 2024-06-18, only [Meta's Ax Platform](https://ax.dev)is supported. The plumbing and logic that creates this is thorough and scalable.
106
+
For a high-level roadmap of Honegumi's development, see https://github.com/sgbaird/honegumi/discussions/2. Honegumi uses Python, Javascript, Jinja2, pytest, and GitHub actions to automate the generation, testing, and deployment of templates with a focus on Bayesian optimization packages. As of 2023-08-21, only a single package ([Meta's Ax Platform](https://ax.dev)for a small set of features. However, the plumbing and logic that creates this is thorough and scalable. I focused first on getting all the pieces together before scaling up to many features (and thus slowing down the development cycle).
107
107
108
-
Here are some ways you can help with the https://github.com/sgbaird/honegumi/blob/main/
108
+
Here are some ways you can help with the project:
109
109
1. Use the tool and let us know what you think 😉
110
110
2.[Provide feedback](https://github.com/sgbaird/honegumi/discussions/2) on the overall organization, logic, and workflow of the project
111
111
3. Extend the Ax features to additional options (i.e., additional rows and options within rows) via direct edits to [ax/main.py.jinja](https://github.com/sgbaird/honegumi/blob/main/src/honegumi/ax/main.py.jinja)
112
-
4.Extend the [`honegumi.html.jinja`](https://github.com/sgbaird/honegumi/blob/main/src/honegumi/core/honegumi.html.jinja) and [`main.py.jinja`](https://github.com/sgbaird/honegumi/blob/main/src/honegumi/ax/main.py.jinja) templates (make sure to run [`generate_scripts.py`](https://github.com/sgbaird/honegumi/blob/main/scripts/generate_scripts.py) after changes). See below for more information.
113
-
1. Extend Honegumi to additional platforms such as BoFire, Atlas, or BayBE
114
-
2. Spread the word about the tool
112
+
4. Improve the `honegumi.html` and `honegumi.ipynb` templates (may also need to update `generate_scripts.py`). See below for more information.
113
+
5. Extend Honegumi to additional platforms such as BoFireor Atlas
114
+
6. Spread the word about the tool
115
115
116
-
For those unfamiliar with Jinja2, see the Google Colab tutorial: [_A Gentle Introduction to Jinja2_](https://colab.research.google.com/github/sgbaird/honegumi/blob/main/notebooks/1.0-sgb-gentle-introduction-jinja.ipynb). The main template file for Meta's Adaptive Experimentation (Ax) Platform is [`ax/main.py.jinja`](https://github.com/sgbaird/honegumi/blob/main/src/honegumi/ax/main.py.jinja). The main file that interacts with this template is at [`scripts/generate_scripts.py`](https://github.com/sgbaird/honegumi/blob/main/scripts/generate_scripts.py). The generated scripts are [available on GitHub](https://github.com/sgbaird/honegumi/blob/main/docs/generated_scripts/ax). Each script is tested [via `pytest`](https://github.com/sgbaird/honegumi/blob/main/tests/) and [GitHub Actions](https://github.com/sgbaird/honegumi/actions/workflows/ci.yml) to ensure it can run error-free. Finally, the results are passed to [core/honegumi.html.jinja](https://github.com/sgbaird/honegumi/blob/main/src/honegumi/core/honegumi.html.jinja) and [core/honegumi.ipynb.jinja](https://github.com/sgbaird/honegumi/blob/main/src/honegumi/core/honegumi.ipynb.jinja) to create the scripts and notebooks, respectively.
116
+
For those unfamiliar with Jinja2, see the Google Colab tutorial: [_A Gentle Introduction to Jinja2_](https://colab.research.google.com/github/sgbaird/honegumi/blob/main/notebooks/1.0-sgb-gentle-introduction-jinja.ipynb). The main template file for Meta's Adaptive Experimentation (Ax) Platform is [`ax/main.py.jinja`](https://github.com/sgbaird/honegumi/blob/main/src/honegumi/ax/main.py.jinja). The main file that interacts with this template is at [`scripts/generate_scripts.py`](https://github.com/sgbaird/honegumi/blob/main/scripts/generate_scripts.py). The generated scripts are [available on GitHub](https://github.com/sgbaird/honegumi/tree/main/docs/generated_scripts/ax). Each script is tested [via `pytest`](https://github.com/sgbaird/honegumi/tree/main/tests) and [GitHub Actions](https://github.com/sgbaird/honegumi/actions/workflows/ci.yml) to ensure it can run error-free. Finally, the results are passed to [core/honegumi.html.jinja](https://github.com/sgbaird/honegumi/blob/main/src/honegumi/core/honegumi.html.jinja) and [core/honegumi.ipynb.jinja](https://github.com/sgbaird/honegumi/blob/main/src/honegumi/core/honegumi.ipynb.jinja) to create the scripts and notebooks, respectively.
D -->|Tested via| G[GitHub Actions running pytest]
130
-
G -->|If Tests Pass| H[Documentation]
131
-
F -->|Included in| H
132
-
133
-
click A href "https://github.com/sgbaird/honegumi/blob/main/src/honegumi/ax/main.py.jinja" "main.py.jinja Template"
134
-
click B href "https://github.com/sgbaird/honegumi/blob/main/scripts/generate_scripts.py" "generate_scripts.py"
135
-
click C href "https://github.com/sgbaird/honegumi/blob/main/docs/generated_scripts/ax" ".py Files"
136
-
click D href "https://github.com/sgbaird/honegumi/blob/main/tests/" "_test.py Files"
137
-
click E href "https://github.com/sgbaird/honegumi/blob/main/src/honegumi/core/honegumi.ipynb.jinja" ".ipynb Files"
138
-
click F href "https://github.com/sgbaird/honegumi/blob/main/src/honegumi/core/honegumi.html.jinja" "honegumi.html"
139
-
click G href "https://github.com/sgbaird/honegumi/actions/workflows/ci.yml" "GitHub Actions"
140
-
click H href "https://github.com/sgbaird/honegumi/blob/main/docs/generated_scripts/ax" "Documentation"
141
-
```
142
-
143
-
````{tip}
144
-
If you are committing some of the generated scripts or notebooks on Windows, you will [likely need to run the following command](https://stackoverflow.com/questions/22575662/filename-too-long-in-git-for-windows) in a terminal (e.g., git bash) as an administrator to avoid an `lstat(...) Filename too long` error:
118
+
NOTE: If you are committing some of the generated scripts or notebooks on Windows, you will [likely need to run this command](https://stackoverflow.com/questions/22575662/filename-too-long-in-git-for-windows) in a terminal (e.g., git bash) as an administrator to avoid an `lstat(...) Filename too long` error:
145
119
146
120
```bash
147
121
git config --system core.longpaths true
@@ -161,7 +135,6 @@ To only commit non-generated files, you can add all files and reset the generate
0 commit comments