Skip to content

Move analysis_card to ax/core#4647

Closed
mpolson64 wants to merge 1 commit into
facebook:mainfrom
mpolson64:export-D88860614
Closed

Move analysis_card to ax/core#4647
mpolson64 wants to merge 1 commit into
facebook:mainfrom
mpolson64:export-D88860614

Conversation

@mpolson64
Copy link
Copy Markdown
Contributor

Summary:
Motivated by storage work, where we want the AnalysisCard to become a true member of Ax's data model rather than needing to be saved a-la-carte via helper methods. In the future we will being saving AnalysisCards as attributes on the experiment so they can be (lazy) loaded together by default.

Note that we are only moving the base AnalysisCard subclasses, not requireing Plotly, Graphviz, Markdown, etc -- those subclasses will remain in Analysis along with the concrete Analyses.

Also note that no notebook users would have any use for importing AnalysisCard directly (they import concrete Analyses if anything), so we should not worry about any disruption there

Differential Revision: D88860614

@meta-cla meta-cla Bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Dec 10, 2025
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Dec 10, 2025

@mpolson64 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D88860614.

mpolson64 added a commit to mpolson64/Ax that referenced this pull request Dec 15, 2025
Summary:
Pull Request resolved: facebook#4647

Motivated by storage work, where we want the AnalysisCard to become a true member of Ax's data model rather than needing to be saved a-la-carte via helper methods. In the future we will being saving AnalysisCards as attributes on the experiment so they can be (lazy) loaded together by default.

Note that we are only moving the base AnalysisCard subclasses, not requireing Plotly, Graphviz, Markdown, etc -- those subclasses will remain in Analysis along with the concrete Analyses.

Also note that no notebook users would have any use for importing AnalysisCard directly (they import concrete Analyses if anything), so we should not worry about any disruption there

Reviewed By: Cesar-Cardoso

Differential Revision: D88860614
Summary:
Pull Request resolved: facebook#4647

Motivated by storage work, where we want the AnalysisCard to become a true member of Ax's data model rather than needing to be saved a-la-carte via helper methods. In the future we will being saving AnalysisCards as attributes on the experiment so they can be (lazy) loaded together by default.

Note that we are only moving the base AnalysisCard subclasses, not requireing Plotly, Graphviz, Markdown, etc -- those subclasses will remain in Analysis along with the concrete Analyses.

Also note that no notebook users would have any use for importing AnalysisCard directly (they import concrete Analyses if anything), so we should not worry about any disruption there

Reviewed By: Cesar-Cardoso

Differential Revision: D88860614
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.53%. Comparing base (1f75852) to head (a0015eb).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4647   +/-   ##
=======================================
  Coverage   96.53%   96.53%           
=======================================
  Files         567      567           
  Lines       59104    59103    -1     
=======================================
+ Hits        57054    57055    +1     
+ Misses       2050     2048    -2     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Dec 15, 2025

This pull request has been merged in fa1f703.

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 meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants