Skip to content

Commit ff1fa9e

Browse files
committed
Merge branch 'main' into dev
2 parents 81e87ae + a761ca4 commit ff1fa9e

File tree

794 files changed

+3745
-102346
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

794 files changed

+3745
-102346
lines changed

.github/workflows/ci.yml

+4
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ jobs:
5252

5353
test:
5454
needs: prepare
55+
if: >
56+
github.event_name == 'pull_request' ||
57+
(github.event_name == 'push' &&
58+
contains(github.event.head_commit.modified, '.py'))
5559
strategy:
5660
fail-fast: false
5761
matrix:

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ exclude: '^docs/conf.py'
22

33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.5.0
5+
rev: v4.6.0
66
hooks:
77
- id: trailing-whitespace
88
- id: check-added-large-files
@@ -43,14 +43,14 @@ repos:
4343
- id: isort
4444

4545
- repo: https://github.com/psf/black
46-
rev: 24.2.0
46+
rev: 24.4.0
4747
hooks:
4848
- id: black
4949
exclude: ^tests/generated_scripts/
5050
language_version: python3
5151

5252
- repo: https://github.com/psf/black
53-
rev: 24.2.0
53+
rev: 24.4.0
5454
hooks:
5555
- id: black
5656
exclude: ^(?!tests/generated_scripts/).* # any string that does not start with tests/generated_scripts/

AUTHORS.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# Contributors
22

3-
* sgbaird [sterling.baird@utah.edu](mailto:sterling.baird@utah.edu)
3+
* Sterling Baird ([@sgbaird](https://github.com/sgbaird)) [sterling.baird@utoronto.ca](mailto:sterling.baird@utoronto.ca)
4+
* Andrew Falkowski ([@AndrewFalkowski](https://github.com/AndrewFalkowski))

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,17 @@
1717

1818
![honegumi-logo](reports/figures/honegumi-logo.png)
1919

20-
> Honegumi (骨組み, pronounced "ho neh goo mee"), which means "skeletal framework" in Japanese, is a package for
20+
> Honegumi ("ho-nay-goo-mee"), which means "skeletal framework" in Japanese, is a package for
2121
> interactively creating API tutorials with a focus on optimization packages such as Meta's Ax
22-
> Platform. We are [looking for contributors](https://github.com/sgbaird/honegumi/blob/main/CONTRIBUTING.md)!
22+
> Platform
2323
2424
<!-- > Unlock the power of advanced optimization in materials science with Honegumi (骨組み,
2525
> pronounced "ho-neh-goo-mee"), our interactive "skeleton code" generator. -->
2626

2727
<!-- TODO: refactor this paragraph to emphasize general API tutorial creation, and then focus in on materials science as one example that I'll be focusing on here -->
2828

29+
# Honegumi
30+
2931
Real-world materials science optimization tasks are complex! To cite a few examples:
3032

3133
| Topic | Description |

docs/conf.py

+13-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@
4545
try:
4646
import sphinx
4747

48-
cmd_line = f"sphinx-apidoc --implicit-namespaces -f -o {output_dir} {module_dir}"
48+
# https://stackoverflow.com/questions/71343831/sphinx-ignores-py-file-starting-with-a-in-filename
49+
cmd_line = (
50+
f"sphinx-apidoc --implicit-namespaces --private -f -o {output_dir} {module_dir}"
51+
)
4952

5053
args = cmd_line.split(" ")
5154
if tuple(sphinx.__version__.split(".")) >= ("1", "7"):
@@ -75,6 +78,8 @@
7578
"sphinx.ext.mathjax",
7679
"sphinx.ext.napoleon",
7780
"sphinx_rtd_theme",
81+
"sphinx_copybutton",
82+
"nbsphinx",
7883
# "sphinx_rtd_dark_mode", # Honegumi table looks strange with dark mode due to custom html
7984
]
8085

@@ -142,7 +147,13 @@
142147

143148
# List of patterns, relative to source directory, that match files and
144149
# directories to ignore when looking for source files.
145-
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", ".venv"]
150+
exclude_patterns = [
151+
"_build",
152+
"Thumbs.db",
153+
".DS_Store",
154+
".venv",
155+
"generated_notebooks/ax",
156+
]
146157

147158
# The reST default role (used for this markup: `text`) to use for all documents.
148159
# default_role = None

docs/development.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Development
2+
3+
Find here additional information pertinent to developers.
4+
5+
```{toctree}
6+
Contributions & Help <contributing>
7+
License <license>
8+
Authors <authors>
9+
Changelog <changelog>
10+
Module Reference <api/modules>
11+
```

docs/docs.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Docs
2+
3+
```{toctree}
4+
tutorials/sobo-vs-mobo/sobo-vs-mobo.md
5+
tutorials/freq-vs-bayes/freq-vs-bayes.md
6+
```

docs/generated_notebooks/ax/objective-multi+model-FULLYBAYESIAN+custom_gen-True+existing_data-False+sum_constraint-False+order_constraint-False+linear_constraint-False+composition_constraint-False+categorical-False+custom_threshold-False+synchrony-batch.ipynb

-116
This file was deleted.

docs/generated_notebooks/ax/objective-multi+model-FULLYBAYESIAN+custom_gen-True+existing_data-False+sum_constraint-False+order_constraint-False+linear_constraint-False+composition_constraint-False+categorical-False+custom_threshold-False+synchrony-single.ipynb

-113
This file was deleted.

0 commit comments

Comments
 (0)