-
Notifications
You must be signed in to change notification settings - Fork 349
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
feat: Add Run columns to GetProjectColumns #9146
Conversation
✅ Deploy Preview for determined-ui canceled.
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9146 +/- ##
========================================
Coverage 48.59% 48.59%
========================================
Files 1234 1234
Lines 158840 158992 +152
Branches 2779 2779
========================================
+ Hits 77187 77267 +80
- Misses 81478 81550 +72
Partials 175 175
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure you add the following columns:
- experimentProgress
- experimentName (move from
getProjectColumnsById
after rebase) - experimentId
- isExpMultitrial
- parentArchived
master/internal/api_project.go
Outdated
MetricType string | ||
}{} | ||
|
||
if len(hyperparameters) > 0 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this len check for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We only want to do this query if the result query is not empty. Added a comment to clarify.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
technically you could have a project without hyperparameters but have them have summary metrics
I think its a premature optimization
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed.
master/static/migrations/20240508134054_add-run-hparam-table.tx.up.sql
Outdated
Show resolved
Hide resolved
Co-authored-by: Nick Blaskey <nick.blaskey@hpe.com>
… into project-columns
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The web side of things looks good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@@ -0,0 +1,42 @@ | |||
CREATE TABLE run_hparams ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we drop projects.hyperparameters
and delete the associated code now that it is replaced by this?
Can do this in a follow up ticket if you want
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Created a new ticket to remove this: ET-268
master/internal/api_project.go
Outdated
MetricType string | ||
}{} | ||
|
||
if len(hyperparameters) > 0 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
technically you could have a project without hyperparameters but have them have summary metrics
I think its a premature optimization
!!sD?.workspace.projectId, | ||
), | ||
test( | ||
"Get Project Columns for Experiments Table", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this the same endpoint as https://github.com/determined-ai/determined/blob/805f2f4ea5af73b2f141f33a7771a3c5e255e8d9/performance/src/api_performance_tests.ts#L196C44-L196C53?
is it going to slow down all the other performance tests while we fix it or has it been improved?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is effectively the same call. I removed it as only the performance for the new columns have been improved.
Description
Add support for Run Table Columns in GetProjectColumns endpoint
Test Plan
integration tests should pass
Checklist
docs/release-notes/
.See Release Note for details.
Ticket
ET-176