Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 53 additions & 47 deletions .lockfiles/py310-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ anyio==4.9.0
# jupyter-server
appnope==0.1.4 ; sys_platform == 'darwin'
# via ipykernel
argon2-cffi==23.1.0
argon2-cffi==25.1.0
# via jupyter-server
argon2-cffi-bindings==21.2.0
# via argon2-cffi
Expand Down Expand Up @@ -47,9 +47,9 @@ blinker==1.9.0
# via streamlit
boolean-py==5.0
# via license-expression
boto3==1.38.20
boto3==1.38.29
# via baybe (pyproject.toml)
botocore==1.38.20
botocore==1.38.29
# via
# boto3
# s3transfer
Expand All @@ -61,7 +61,7 @@ cachetools==5.5.2
# via
# streamlit
# tox
cattrs==24.1.3
cattrs==25.1.0
# via baybe (pyproject.toml)
certifi==2025.4.26
# via
Expand Down Expand Up @@ -103,7 +103,7 @@ comm==0.2.2
# ipywidgets
contourpy==1.3.2
# via matplotlib
coverage==7.8.0
coverage==7.8.2
# via pytest-cov
cycler==0.12.1
# via matplotlib
Expand Down Expand Up @@ -165,13 +165,13 @@ flake8==7.2.0
# via baybe (pyproject.toml)
flatbuffers==25.2.10
# via onnxruntime
fonttools==4.58.0
fonttools==4.58.1
# via matplotlib
formulaic==1.1.1
# via lifelines
fqdn==1.5.1
# via jsonschema
fsspec==2025.5.0
fsspec==2025.5.1
# via
# dask
# huggingface-hub
Expand All @@ -192,7 +192,7 @@ gpytorch==1.14
# via
# baybe (pyproject.toml)
# botorch
grpcio==1.71.0
grpcio==1.72.1
# via opentelemetry-exporter-otlp-proto-grpc
h11==0.16.0
# via httpcore
Expand All @@ -202,17 +202,19 @@ h5py==3.13.0
# via
# h5netcdf
# xyzpy
hf-xet==1.1.3 ; platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'arm64' or platform_machine == 'x86_64'
# via huggingface-hub
httpcore==1.0.9
# via httpx
httpx==0.28.1
# via jupyterlab
huggingface-hub==0.31.4
huggingface-hub==0.32.4
# via scikit-fingerprints
humanfriendly==10.0
# via coloredlogs
hypothesis==6.131.20
hypothesis==6.135.0
# via baybe (pyproject.toml)
identify==2.6.10
identify==2.6.12
# via pre-commit
idna==3.10
# via
Expand All @@ -237,12 +239,12 @@ ipykernel==6.29.5
# jupyter
# jupyter-console
# jupyterlab
ipython==8.36.0 ; python_full_version < '3.11'
ipython==8.37.0 ; python_full_version < '3.11'
# via
# ipykernel
# ipywidgets
# jupyter-console
ipython==9.2.0 ; python_full_version >= '3.11'
ipython==9.3.0 ; python_full_version >= '3.11'
# via
# ipykernel
# ipywidgets
Expand Down Expand Up @@ -274,7 +276,7 @@ jmespath==1.0.1
# via
# boto3
# botocore
joblib==1.5.0
joblib==1.5.1
# via
# baybe (pyproject.toml)
# scikit-fingerprints
Expand All @@ -284,7 +286,7 @@ json5==0.12.0
# via jupyterlab-server
jsonpointer==3.0.0
# via jsonschema
jsonschema==4.23.0
jsonschema==4.24.0
# via
# altair
# jupyter-events
Expand All @@ -302,7 +304,7 @@ jupyter-client==8.6.3
# nbclient
jupyter-console==6.6.3
# via jupyter
jupyter-core==5.7.2
jupyter-core==5.8.1
# via
# ipykernel
# jupyter-client
Expand All @@ -325,7 +327,7 @@ jupyter-server==2.16.0
# notebook-shim
jupyter-server-terminals==0.5.3
# via jupyter-server
jupyterlab==4.4.2
jupyterlab==4.4.3
# via
# jupyter
# notebook
Expand All @@ -337,7 +339,7 @@ jupyterlab-server==2.27.3
# notebook
jupyterlab-widgets==3.0.15
# via ipywidgets
jupytext==1.17.1
jupytext==1.17.2
# via baybe (pyproject.toml)
kiwisolver==1.4.8
# via matplotlib
Expand Down Expand Up @@ -403,15 +405,15 @@ msgpack==1.1.0
# via cachecontrol
multipledispatch==1.0.0
# via botorch
mypy==1.15.0
mypy==1.16.0
# via baybe (pyproject.toml)
mypy-extensions==1.1.0
# via
# mypy
# typing-inspect
myst-parser==4.0.1
# via baybe (pyproject.toml)
narwhals==1.40.0
narwhals==1.41.0
# via
# altair
# plotly
Expand All @@ -429,16 +431,21 @@ nbformat==5.10.4
# nbconvert
nest-asyncio==1.6.0
# via ipykernel
networkx==3.4.2
networkx==3.4.2 ; python_full_version < '3.11'
# via
# mordredcommunity
# scikit-image
# torch
ngboost==0.5.5
networkx==3.5 ; python_full_version >= '3.11'
# via
# mordredcommunity
# scikit-image
# torch
ngboost==0.5.6
# via baybe (pyproject.toml)
nodeenv==1.9.1
# via pre-commit
notebook==7.4.2
notebook==7.4.3
# via jupyter
notebook-shim==0.2.4
# via
Expand All @@ -465,7 +472,6 @@ numpy==2.2.6
# ngboost
# numba
# onnx
# onnxconverter-common
# onnxruntime
# pandas
# pandas-stubs
Expand Down Expand Up @@ -523,10 +529,7 @@ nvidia-nvtx-cu12==12.6.77 ; platform_machine == 'x86_64' and sys_platform == 'li
onnx==1.18.0
# via
# baybe (pyproject.toml)
# onnxconverter-common
# skl2onnx
onnxconverter-common==1.13.0
# via skl2onnx
onnxruntime==1.22.0
# via baybe (pyproject.toml)
openpyxl==3.1.5
Expand Down Expand Up @@ -587,7 +590,6 @@ packaging==24.2
# matplotlib
# mordredcommunity
# nbconvert
# onnxconverter-common
# onnxruntime
# pip-audit
# pip-requirements-parser
Expand Down Expand Up @@ -617,7 +619,7 @@ pandas==2.2.3
# xyzpy
pandas-flavor==0.7.0
# via descriptastorus
pandas-stubs==2.2.3.250308
pandas-stubs==2.2.3.250527
# via
# baybe (pyproject.toml)
# types-seaborn
Expand All @@ -627,6 +629,8 @@ parso==0.8.4
# via jedi
partd==1.4.2
# via dask
pathspec==0.12.1
# via mypy
pexpect==4.9.0 ; sys_platform != 'emscripten' and sys_platform != 'win32'
# via ipython
pillow==11.2.1
Expand All @@ -651,27 +655,26 @@ platformdirs==4.3.8
# pip-audit
# tox
# virtualenv
plotly==6.1.1
plotly==6.1.2
# via baybe (pyproject.toml)
pluggy==1.6.0
# via
# pytest
# tox
polars==1.29.0
polars==1.30.0
# via baybe (pyproject.toml)
pre-commit==3.7.1
# via baybe (pyproject.toml)
prometheus-client==0.22.0
prometheus-client==0.22.1
# via jupyter-server
prompt-toolkit==3.0.51
# via
# ipython
# jupyter-console
protobuf==5.29.4
protobuf==5.29.5
# via
# googleapis-common-protos
# onnx
# onnxconverter-common
# onnxruntime
# opentelemetry-proto
# streamlit
Expand Down Expand Up @@ -712,6 +715,7 @@ pygments==2.19.1
# ipython-pygments-lexers
# jupyter-console
# nbconvert
# pytest
# rich
# sphinx
pyparsing==3.2.3
Expand All @@ -728,7 +732,7 @@ pyro-api==0.1.2
# via pyro-ppl
pyro-ppl==1.9.1
# via botorch
pytest==8.3.5
pytest==8.4.0
# via
# baybe (pyproject.toml)
# pytest-cov
Expand Down Expand Up @@ -801,15 +805,15 @@ rich==14.0.0
# via pip-audit
roman-numerals-py==3.1.0 ; python_full_version >= '3.11'
# via sphinx
rpds-py==0.25.0
rpds-py==0.25.1
# via
# jsonschema
# referencing
ruff==0.11.5
# via baybe (pyproject.toml)
s3transfer==0.12.0
s3transfer==0.13.0
# via boto3
scikit-fingerprints==1.15.0
scikit-fingerprints==1.16.0
# via baybe (pyproject.toml)
scikit-image==0.25.2
# via lime
Expand Down Expand Up @@ -845,7 +849,7 @@ seaborn==0.13.2
# via baybe (pyproject.toml)
send2trash==1.8.3
# via jupyter-server
setuptools==80.8.0
setuptools==80.9.0
# via
# jupyterlab
# setuptools-scm
Expand All @@ -862,7 +866,7 @@ six==1.17.0
# pybtex
# python-dateutil
# rfc3339-validator
skl2onnx==1.18.0
skl2onnx==1.19.1
# via baybe (pyproject.toml)
slicer==0.0.8
# via shap
Expand Down Expand Up @@ -948,11 +952,13 @@ threadpoolctl==3.6.0
# via
# botorch
# scikit-learn
tifffile==2025.5.10
tifffile==2025.5.10 ; python_full_version < '3.11'
# via scikit-image
tifffile==2025.6.1 ; python_full_version >= '3.11'
# via scikit-image
tinycss2==1.4.0
# via bleach
tokenize-rt==6.1.0
tokenize-rt==6.2.0
# via pyupgrade
toml==0.10.2
# via
Expand Down Expand Up @@ -980,7 +986,7 @@ torch==2.7.0
# botorch
# linear-operator
# pyro-ppl
tornado==6.5
tornado==6.5.1
# via
# baybe (pyproject.toml)
# ipykernel
Expand All @@ -992,7 +998,7 @@ tornado==6.5
# terminado
tox==4.26.0
# via tox-uv
tox-uv==1.25.0
tox-uv==1.26.0
# via baybe (pyproject.toml)
tqdm==4.67.1
# via
Expand Down Expand Up @@ -1027,7 +1033,7 @@ types-pytz==2025.2.0.20250516
# via pandas-stubs
types-seaborn==0.13.2.20250516
# via baybe (pyproject.toml)
typing-extensions==4.13.2
typing-extensions==4.14.0
# via
# baybe (pyproject.toml)
# altair
Expand Down Expand Up @@ -1062,7 +1068,7 @@ urllib3==2.4.0
# via
# botocore
# requests
uv==0.7.6
uv==0.7.10
# via
# baybe (pyproject.toml)
# tox-uv
Expand Down Expand Up @@ -1097,5 +1103,5 @@ xarray==2025.4.0
# xyzpy
xyzpy==1.2.1
# via baybe (pyproject.toml)
zipp==3.21.0
zipp==3.22.0
# via importlib-metadata
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
control sampling in `farthest_point_sampling`
- Flag for toggling parallel computation in `simulate_scenarios`
- Additional transfer learning and synthetic benchmarks
- New recommender based on large language models: `LLMRecommender`

### Fixed
- Using `PosteriorStandardDeviation` with `MIN` targets no longer results in
Expand Down
4 changes: 4 additions & 0 deletions baybe/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,7 @@ class InvalidSurrogateModelError(Exception):

class InvalidTargetValueError(Exception):
"""A target value was entered that is not in the target space."""


class LLMResponseError(Exception):
"""Raised when there is an error processing the LLM response."""
Loading