Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partially replace recoil with react-query #801

Merged
merged 8 commits into from
Feb 9, 2024

Conversation

porink0424
Copy link
Collaborator

@porink0424 porink0424 commented Feb 9, 2024

Contributor License Agreement

This repository (optuna-dashboard) and Goptuna share common code.
This pull request may therefore be ported to Goptuna.
Make sure that you understand the consequences concerning licenses and check the box below if you accept the term before creating this pull request.

  • I agree this patch may be ported to Goptuna by other Goptuna contributors.

Reference Issues/PRs

What does this implement/fix? Explain your changes.

Partially replaced recoil states with react-query states for:

  • Hypaerparameter Importance
  • Graph[Rank, Contour, ParallelCoordinate, Slice]
  • studySummary ← studySummary and studyDetail are intertwined in implementations, and it is hard for now to replace recoil states regarding only studySummary. So I once abandoned them for now.

Careful checks are needed to ensure that cache update timing is as expected πŸ™

@porink0424 porink0424 self-assigned this Feb 9, 2024
Copy link

codecov bot commented Feb 9, 2024

Codecov Report

All modified and coverable lines are covered by tests βœ…

Comparison is base (d30ed93) 69.81% compared to head (3880129) 69.71%.
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #801      +/-   ##
==========================================
- Coverage   69.81%   69.71%   -0.11%     
==========================================
  Files          35       35              
  Lines        2369     2364       -5     
==========================================
- Hits         1654     1648       -6     
- Misses        715      716       +1     

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

@c-bata
Copy link
Member

c-bata commented Feb 9, 2024

Is this PR ready for review?

@porink0424 porink0424 marked this pull request as ready for review February 9, 2024 07:51
@porink0424
Copy link
Collaborator Author

Is this PR ready for review?

Yes, I forgot to put it in the ready state πŸ™‡

@c-bata c-bata assigned c-bata and unassigned porink0424 Feb 9, 2024
Copy link
Member

@c-bata c-bata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look great to me πŸ’―

@c-bata c-bata merged commit 8124ca5 into optuna:main Feb 9, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants