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

Move ax/analysis to ax/analysis/old #2588

Closed
wants to merge 1 commit into from

Conversation

mpolson64
Copy link
Contributor

Summary:
After discussion between myself, lena-kashtelyan mgrange1998 and Cesar-Cardoso we decided to make a few small changes to the analysis module to make the data model simpler to understand in the context of storage considerations. See N5607609 for details and reasoning.

tldr:

  • Analysis broken into Analysis (code for "how" a plot is to be generated) and AnalysisCard (the generated plot and its raw data)
  • {AxClient, Scheduler}.generate_report will take in Iterable[Analysis] and return List[AnalysisCard], while emitting cards to DB if possible
  • Misc module restructuring

In order to aid readability during review I will be moving existing code to ax/analysis/old rather than refactoring in place. Once the new structure is reviewed we can move the existing plots (parallel coordinates, predicted outcomes, cross validation) back into ax/analysis.

Differential Revision: D59925220

Summary:
After discussion between myself, lena-kashtelyan mgrange1998 and Cesar-Cardoso we decided to make a few small changes to the analysis module to make the data model simpler to understand in the context of storage considerations. See N5607609 for details and reasoning.

tldr:
* Analysis broken into Analysis (code for "how" a plot is to be generated) and AnalysisCard (the generated plot and its raw data)
* {AxClient, Scheduler}.generate_report will take in Iterable[Analysis] and return List[AnalysisCard], while emitting cards to DB if possible
* Misc module restructuring

In order to aid readability during review I will be moving existing code to ax/analysis/old rather than refactoring in place. Once the new structure is reviewed we can move the existing plots (parallel coordinates, predicted outcomes, cross validation) back into ax/analysis.

Differential Revision: D59925220
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Jul 19, 2024
@facebook-github-bot
Copy link
Contributor

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

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.22%. Comparing base (9679f7b) to head (1aaaec2).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2588   +/-   ##
=======================================
  Coverage   95.22%   95.22%           
=======================================
  Files         489      489           
  Lines       47683    47683           
=======================================
  Hits        45406    45406           
  Misses       2277     2277           

☔ 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 4f5f9a9.

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