c-bata
c-bata
for improving reusability. - View - ModelView - JsonResponseView - TemplateView refs. - http://ccbv.co.uk/ - http://flask.pocoo.org/docs/0.10/views/
## Motivation To avoid the bugs related to version constraints. ## Description of the changes
### Motivation Add CI settings to prevent bugs like https://github.com/optuna/optuna/pull/5133 ### Description Add GitHub action workflow to trigger `pytest tests/visualization_tests/matplotlib_tests/` only when pull requests contain changes in `optuna/visualization/**.py`. ### Alternatives...
### Motivation A test function `test_record_heartbeat` in `rdb_tests/test_storage.py` seems to be fragile as it has been failed sometimes. https://github.com/optuna/optuna/actions/runs/3475891826/jobs/5810599373 ```python def test_record_heartbeat() -> None: heartbeat_interval = 1 n_trials = 2...
See https://github.com/astral-sh/ruff for details.
For debouncing the user keyboard input, we uses following React component. It would be nice if it is replaced by using `useDefferredValue` hook which is introduced in the latest React...
The [browser-only version of Optuna Dashboard](https://optuna-dashboard.readthedocs.io/en/latest/getting-started.html#browser-only-version-experimental) internally uses the WASM module exported by the following Rust code. https://github.com/optuna/optuna-dashboard/blame/5c7ea7432f7b17a9535d70ee7173e41888323564/rustlib/src/lib.rs#L6-L26 However, as you can see, a lot of `unwrap` methods call exist....
### Description I've just released v0.9.0b1 and I've noticed that the GitHub action updates the latest tag of an official Docker image even though it's a pre-release. https://github.com/optuna/optuna-dashboard/actions/runs/3834773385 ### How...
### Description Fix a GitHub workflow to publish to PyPI. ### How to Reproduce See https://github.com/optuna/optuna-dashboard/actions/runs/3647435286 > Run gh release download $(jq --raw-output .tag_name "$GITHUB_EVENT_PATH") -p '*.whl' -p '*.tar.gz' -D...