nabenabe0928
a2cf3ebd54
Apply formatter
2024-01-19 09:01:15 +01:00
nabenabe0928
d04101fb76
Add some tests
2024-01-19 09:01:15 +01:00
nabenabe0928
a7429318f3
Limit the maximum number of trials to be used for one update
...
More specifically, this PR makes the following changes:
1. Add query param for limit,
2. Update studyDetails only if there is no study with
the specified study_id or the fetched trials has a
positive length,
3. Shorten the waiting interval when there is a leftover
in the server side, and
4. Adapt the flake8 setup to the Optuna repo.
2024-01-19 09:01:15 +01:00
c-bata
042ab9bc90
Fix lint errors
2024-01-16 11:56:15 +09:00
c-bata
29eb29f222
Convert Dashboard's ArtifactNotFound exception to Optuna's one
2024-01-16 11:53:58 +09:00
y0z
944b748ced
Enhance delete artifacts APIs and add tests for them
2024-01-15 18:30:45 +09:00
Naoto Mizuno
bb31e36bed
flake8
2023-12-18 16:15:10 +09:00
Naoto Mizuno
753bc7232b
Merge branch 'main' into test-orthants-mvn-gibbs-sampling
2023-12-18 16:12:52 +09:00
Hiroki Takizawa
f63b5e9ced
fix lint
2023-12-07 18:21:46 +09:00
Hiroki Takizawa and Shuhei Watanabe
a8c451ada2
Update python_tests/test_csv_download.py
...
Co-authored-by: Shuhei Watanabe <47781922+nabenabe0928@users.noreply.github.com >
2023-12-07 18:15:30 +09:00
Hiroki Takizawa and Shuhei Watanabe
d7ff6f41f4
Update python_tests/test_csv_download.py
...
Co-authored-by: Shuhei Watanabe <47781922+nabenabe0928@users.noreply.github.com >
2023-12-07 18:15:19 +09:00
Hiroki Takizawa and Shuhei Watanabe
1e5d582572
Update python_tests/test_csv_download.py
...
Co-authored-by: Shuhei Watanabe <47781922+nabenabe0928@users.noreply.github.com >
2023-12-07 18:15:06 +09:00
Hiroki Takizawa and Shuhei Watanabe
a4fb8fdcdb
Update python_tests/test_csv_download.py
...
Co-authored-by: Shuhei Watanabe <47781922+nabenabe0928@users.noreply.github.com >
2023-12-07 18:14:55 +09:00
Hiroki Takizawa and Shuhei Watanabe
e1f43e1ce4
Update python_tests/test_csv_download.py
...
Co-authored-by: Shuhei Watanabe <47781922+nabenabe0928@users.noreply.github.com >
2023-12-07 18:14:24 +09:00
Hiroki Takizawa
18d68ea919
Update test_csv_download.py
2023-12-07 10:58:16 +09:00
Hiroki Takizawa and Shuhei Watanabe
678b15e60c
Update python_tests/test_csv_download.py
...
Co-authored-by: Shuhei Watanabe <47781922+nabenabe0928@users.noreply.github.com >
2023-12-07 10:31:55 +09:00
Hiroki Takizawa and Shuhei Watanabe
462bc99b33
Update python_tests/test_csv_download.py
...
Co-authored-by: Shuhei Watanabe <47781922+nabenabe0928@users.noreply.github.com >
2023-12-07 10:31:31 +09:00
Hiroki Takizawa and Shuhei Watanabe
64dc46c0c2
Update python_tests/test_csv_download.py
...
Co-authored-by: Shuhei Watanabe <47781922+nabenabe0928@users.noreply.github.com >
2023-12-07 10:30:09 +09:00
Hiroki Takizawa
8eac8fc6f3
add tests
2023-12-06 16:36:00 +09:00
Hiroki Takizawa
26d29f3c02
fix mypy
2023-12-06 15:54:40 +09:00
Hiroki Takizawa
c73abacef3
Add files via upload
2023-12-06 15:35:35 +09:00
c-bata
480c618b08
Merge pull request #715 from contramundum53/test-upload
...
Add test on `upload_artifact` API
2023-12-04 16:28:16 +09:00
Contramundum
9e314a96dd
format
2023-12-04 16:12:29 +09:00
Contramundum
b200caaa10
Merge branch 'test-upload' of github.com:contramundum53/optuna-dashboard into test-upload
2023-12-04 16:11:05 +09:00
Contramundum
5bbb11cf46
code fix
2023-12-04 16:10:55 +09:00
contramundum53 and c-bata
1f29783877
Update python_tests/artifact/test_backend.py
...
Co-authored-by: c-bata <c-bata@users.noreply.github.com >
2023-11-30 16:46:08 +09:00
c-bata
9eeda40a02
Merge pull request #703 from adjeiv/save_sys_attrs
...
Ensure trial notes are transferred when renamed
2023-11-30 09:55:05 +09:00
Contramundum
60888843db
Add test on upload_artifact
2023-11-29 17:22:14 +09:00
Victoria A
d52939bd8a
Transfer to copy, and remove delete API fns
2023-11-28 13:57:15 +00:00
Naoto Mizuno
d31ab9a68d
Add tests for proxy_trial_artifact
2023-11-28 15:32:21 +09:00
c-bata
ed5d91bf04
Merge pull request #712 from eukaryo/addtest_proxt_study_artifact
...
Add tests for `proxy_study_artifact`
2023-11-27 18:37:35 +09:00
c-bata
9efd7bf543
Merge pull request #707 from nabenabe0928/test/add-tests-for-save-trial-note
...
Add tests for save_trial_note
2023-11-27 17:30:21 +09:00
Hiroki Takizawa
ff210f50d6
Update test_backend.py
2023-11-27 16:30:28 +09:00
Hiroki Takizawa and c-bata
e3cad622f7
Update python_tests/artifact/test_backend.py
...
Co-authored-by: c-bata <c-bata@users.noreply.github.com >
2023-11-27 16:29:17 +09:00
Hiroki Takizawa and c-bata
c89aac71d6
Update python_tests/artifact/test_backend.py
...
Co-authored-by: c-bata <c-bata@users.noreply.github.com >
2023-11-27 16:29:08 +09:00
Hiroki Takizawa and c-bata
4b439a6997
Update python_tests/artifact/test_backend.py
...
Co-authored-by: c-bata <c-bata@users.noreply.github.com >
2023-11-27 16:29:00 +09:00
nabenabe0928
09c95197d8
Make test_save_trial_note_overwrite more robust
2023-11-27 07:41:37 +01:00
nabenabe0928
616832c98b
Apply black to test_api
2023-11-27 07:35:12 +01:00
nabenabe0928
ca98208cca
Replace assertEqual with == because we use pytest as a runner
2023-11-27 07:33:38 +01:00
nabenabe0928
6838dd27da
Rename util method in test_save_trial_note
2023-11-27 07:31:50 +01:00
nabenabe0928
f29a6e9c0c
Address the comments by c-bata
2023-11-27 07:30:37 +01:00
Hiroki Takizawa
ba23617127
Update test_backend.py
2023-11-27 14:57:01 +09:00
c-bata
1759389090
Merge pull request #706 from toshihikoyanase/support-numpy-scalar-in-user-attrs
...
Support `numpy` scalars in `Trial.user_attrs`
2023-11-27 14:28:13 +09:00
keisuke umezawa
f3fda8f720
Merge pull request #674 from gen740/add_upload_study_artifact_api
...
Add upload study artifact api
2023-11-23 18:26:56 +09:00
nabenabe0928
685e284613
Apply mypy
2023-11-22 06:54:55 +01:00
nabenabe0928
dcbd7a3c98
Apply formatter
2023-11-22 06:52:06 +01:00
nabenabe0928
f0f876596a
Apply flake8
2023-11-22 06:47:33 +01:00
nabenabe0928
f2f5e36657
Add tests for save_trial_note
2023-11-22 06:40:15 +01:00
Toshihiko Yanase
0aec86dbb1
Fix expected values.
2023-11-22 13:30:02 +09:00
Toshihiko Yanase
ecf5ab80f7
Support numpy scalars in Trial.user_attrs
2023-11-22 11:48:22 +09:00