-
Notifications
You must be signed in to change notification settings - Fork 311
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
AnalysisCard refactor #2589
AnalysisCard refactor #2589
Conversation
This pull request was exported from Phabricator. Differential Revision: D59926999 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2589 +/- ##
==========================================
- Coverage 95.21% 95.19% -0.02%
==========================================
Files 489 495 +6
Lines 47678 47750 +72
==========================================
+ Hits 45396 45457 +61
- Misses 2282 2293 +11 ☔ View full report in Codecov by Sentry. |
This pull request was exported from Phabricator. Differential Revision: D59926999 |
Summary: Pull Request resolved: facebook#2589 New structure for Analysis to make the Ax classes easier to reason about in light of storage considerations. The central change is to break up the existing Analysis class into **Analysis** (code for "how" a plot is to be generated) and **AnalysisCard** (the generated plot and its raw data). See N5607609 for demo. ## Analysis * Init method to take in "settings" (like which parameter or metrics to operate on, or whether to use observed or modeled effects) and store on class * compute method takes in Experiment or GenerationStrategy (or both) and outputs an AnalysisCard * Analysis is a Protocol to allow users to easily implement their own analyses structurally ## AnalysisCard * Contains the raw data computed by the analysis and a "blob" which holds data processed and ready for end-user consumption (ex. a plot) * Contains other miscellaneous metadata that can be useful for rendering the card or a collection of cards See the following diff for sample usage. Differential Revision: D59926999
2c459ba
to
d6469f9
Compare
This pull request was exported from Phabricator. Differential Revision: D59926999 |
Summary: Pull Request resolved: facebook#2589 New structure for Analysis to make the Ax classes easier to reason about in light of storage considerations. The central change is to break up the existing Analysis class into **Analysis** (code for "how" a plot is to be generated) and **AnalysisCard** (the generated plot and its raw data). See N5607609 for demo. ## Analysis * Init method to take in "settings" (like which parameter or metrics to operate on, or whether to use observed or modeled effects) and store on class * compute method takes in Experiment or GenerationStrategy (or both) and outputs an AnalysisCard * Analysis is a Protocol to allow users to easily implement their own analyses structurally ## AnalysisCard * Contains the raw data computed by the analysis and a "blob" which holds data processed and ready for end-user consumption (ex. a plot) * Contains other miscellaneous metadata that can be useful for rendering the card or a collection of cards See the following diff for sample usage. Differential Revision: D59926999
d6469f9
to
8867384
Compare
This pull request was exported from Phabricator. Differential Revision: D59926999 |
8867384
to
8190ee6
Compare
Summary: Pull Request resolved: facebook#2589 New structure for Analysis to make the Ax classes easier to reason about in light of storage considerations. The central change is to break up the existing Analysis class into **Analysis** (code for "how" a plot is to be generated) and **AnalysisCard** (the generated plot and its raw data). See N5607609 for demo. ## Analysis * Init method to take in "settings" (like which parameter or metrics to operate on, or whether to use observed or modeled effects) and store on class * compute method takes in Experiment or GenerationStrategy (or both) and outputs an AnalysisCard * Analysis is a Protocol to allow users to easily implement their own analyses structurally ## AnalysisCard * Contains the raw data computed by the analysis and a "blob" which holds data processed and ready for end-user consumption (ex. a plot) * Contains other miscellaneous metadata that can be useful for rendering the card or a collection of cards See the following diff for sample usage. Differential Revision: D59926999
This pull request was exported from Phabricator. Differential Revision: D59926999 |
Summary: Pull Request resolved: facebook#2589 New structure for Analysis to make the Ax classes easier to reason about in light of storage considerations. The central change is to break up the existing Analysis class into **Analysis** (code for "how" a plot is to be generated) and **AnalysisCard** (the generated plot and its raw data). See N5607609 for demo. ## Analysis * Init method to take in "settings" (like which parameter or metrics to operate on, or whether to use observed or modeled effects) and store on class * compute method takes in Experiment or GenerationStrategy (or both) and outputs an AnalysisCard * Analysis is a Protocol to allow users to easily implement their own analyses structurally ## AnalysisCard * Contains the raw data computed by the analysis and a "blob" which holds data processed and ready for end-user consumption (ex. a plot) * Contains other miscellaneous metadata that can be useful for rendering the card or a collection of cards See the following diff for sample usage. Differential Revision: D59926999
8190ee6
to
4083093
Compare
Summary: Refactor incoming Differential Revision: D59925220
Summary: Pull Request resolved: facebook#2589 New structure for Analysis to make the Ax classes easier to reason about in light of storage considerations. The central change is to break up the existing Analysis class into **Analysis** (code for "how" a plot is to be generated) and **AnalysisCard** (the generated plot and its raw data). See N5607609 for demo. ## Analysis * Init method to take in "settings" (like which parameter or metrics to operate on, or whether to use observed or modeled effects) and store on class * compute method takes in Experiment or GenerationStrategy (or both) and outputs an AnalysisCard * Analysis is a Protocol to allow users to easily implement their own analyses structurally ## AnalysisCard * Contains the raw data computed by the analysis and a "blob" which holds data processed and ready for end-user consumption (ex. a plot) * Contains other miscellaneous metadata that can be useful for rendering the card or a collection of cards See the following diff for sample usage. Differential Revision: D59926999
This pull request was exported from Phabricator. Differential Revision: D59926999 |
4083093
to
1016ef2
Compare
This pull request has been merged in 3a44dad. |
Summary:
New structure for Analysis to make the Ax classes easier to reason about in light of storage considerations. The central change is to break up the existing Analysis class into Analysis (code for "how" a plot is to be generated) and AnalysisCard (the generated plot and its raw data).
See N5607609 for demo.
Analysis
AnalysisCard
See the following diff for sample usage.
Differential Revision: D59926999