Skip to content

Conversation

@mpolson64
Copy link
Contributor

Summary:
Adds a method for bulk computing Analyses from a Scheduler instance and save the cards to the DB. This can be used to generate a "report" as needed.

Notes:

  • If any Analysis fails to compute and Error is logged, but compute_analyses otherwise succeeds. Down the line we may wish to accumulate the errors into their own ErrorCard
  • If not Analyses are provided to compute_analyses, _choose_analyses will be called to infer which analyses should be computed for the given Scheduler based on the Experiment, GenerationStrategy, etc. Since only ParallelCoordinates is implemented right now this always returns [ParallelCoordinates()]

Differential Revision: D61338432

@facebook-github-bot facebook-github-bot added CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported labels Aug 15, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61338432

Summary:
Pull Request resolved: facebook#2660

Adds a method for bulk computing Analyses from a Scheduler instance and save the cards to the DB. This can be used to generate a "report" as needed.

Notes:
* If any Analysis fails to compute and Error is logged, but compute_analyses otherwise succeeds. Down the line we may wish to accumulate the errors into their own ErrorCard
* If not Analyses are provided to compute_analyses, _choose_analyses will be called to infer which analyses should be computed for the given Scheduler based on the Experiment, GenerationStrategy, etc. Since only ParallelCoordinates is implemented right now this always returns [ParallelCoordinates()]

Reviewed By: Cesar-Cardoso

Differential Revision: D61338432
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61338432

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 87.87879% with 4 lines in your changes missing coverage. Please review.

Project coverage is 95.29%. Comparing base (6e7e798) to head (3586497).

Files Patch % Lines
ax/service/utils/with_db_settings_base.py 72.72% 3 Missing ⚠️
ax/service/scheduler.py 90.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2660      +/-   ##
==========================================
+ Coverage   95.28%   95.29%   +0.01%     
==========================================
  Files         495      495              
  Lines       47800    47832      +32     
==========================================
+ Hits        45545    45582      +37     
+ Misses       2255     2250       -5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 84b307d.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants