Skip to content

Add NotApplicableStateAnalysisCard class (#5035)#5035

Open
shrutipatel31 wants to merge 1 commit intofacebook:mainfrom
shrutipatel31:export-D96248249
Open

Add NotApplicableStateAnalysisCard class (#5035)#5035
shrutipatel31 wants to merge 1 commit intofacebook:mainfrom
shrutipatel31:export-D96248249

Conversation

@shrutipatel31
Copy link
Contributor

@shrutipatel31 shrutipatel31 commented Mar 16, 2026

Summary:

Add a new NotApplicableStateAnalysisCard class to distinguish
transient 'not applicable ' states from true errors. This card is used for
analyses that cannot be computed due to the current experiment state (e.g.,
'Experiment has no data yet') but will become available as the experiment
progresses.

Differential Revision: D96248249

@meta-cla meta-cla bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Mar 16, 2026
@meta-codesync
Copy link

meta-codesync bot commented Mar 16, 2026

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

shrutipatel31 added a commit to shrutipatel31/Ax that referenced this pull request Mar 16, 2026
Summary:

Add a new NotApplicableAnalysisCard class with gray styling to distinguish
transient 'not applicable' states from true errors. This card is used for
analyses that cannot be computed due to the current experiment state (e.g.,
'Experiment has no data yet') but will become available as the experiment
progresses.

Key features:
- Gray styling (#f5f5f5 background, #b0b0b0 border) instead of red
- Hourglass icon to indicate transient/waiting state
- Info hover tooltip explaining the card type
- NOT a subclass of ErrorAnalysisCard (important for filtering logic)

This is part 1 of 3 in the NotApplicableAnalysisCard stack.

Differential Revision: D96248249
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.84%. Comparing base (05f34d5) to head (32e3101).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5035      +/-   ##
==========================================
+ Coverage   96.83%   96.84%   +0.01%     
==========================================
  Files         606      606              
  Lines       65322    65351      +29     
==========================================
+ Hits        63256    63292      +36     
+ Misses       2066     2059       -7     

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

Summary:

Add a new NotApplicableStateAnalysisCard class to distinguish
transient 'not applicable ' states from true errors. This card is used for
analyses that cannot be computed due to the current experiment state (e.g.,
'Experiment has no data yet') but will become available as the experiment
progresses.

Differential Revision: D96248249
@meta-codesync meta-codesync bot changed the title Add NotApplicableAnalysisCard class Add NotApplicableStateAnalysisCard class (#5035) Mar 17, 2026
shrutipatel31 added a commit to shrutipatel31/Ax that referenced this pull request Mar 17, 2026
Summary:

Add a new NotApplicableStateAnalysisCard class to distinguish
transient 'not applicable ' states from true errors. This card is used for
analyses that cannot be computed due to the current experiment state (e.g.,
'Experiment has no data yet') but will become available as the experiment
progresses.

Differential Revision: D96248249
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 meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants