Skip to content

Add encoder/decoder support for NotApplicableAnalysisCard (#5036)#5036

Open
shrutipatel31 wants to merge 2 commits intofacebook:mainfrom
shrutipatel31:export-D96248247
Open

Add encoder/decoder support for NotApplicableAnalysisCard (#5036)#5036
shrutipatel31 wants to merge 2 commits intofacebook:mainfrom
shrutipatel31:export-D96248247

Conversation

@shrutipatel31
Copy link
Contributor

@shrutipatel31 shrutipatel31 commented Mar 16, 2026

Summary:

Add SQA storage support for the new NotApplicableStateAnalysisCard class:

  • encoder.py: Add NotApplicableStateAnalysisCard check with blob_annotation='not_applicable_state'
  • decoder.py: Add decoding logic for blob_annotation='not_applicable_state'

This allows NotApplicableStateAnalysisCard instances to be saved and loaded
from the database correctly.

Differential Revision: D96248247

@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 D96248247.

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.85%. Comparing base (05f34d5) to head (985535f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5036      +/-   ##
==========================================
+ Coverage   96.83%   96.85%   +0.01%     
==========================================
  Files         606      606              
  Lines       65322    65368      +46     
==========================================
+ Hits        63256    63309      +53     
+ 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
)

Summary:

Add SQA storage support for the new NotApplicableStateAnalysisCard class:
- encoder.py: Add NotApplicableStateAnalysisCard check with blob_annotation='not_applicable_state'
- decoder.py: Add decoding logic for blob_annotation='not_applicable_state'

This allows NotApplicableStateAnalysisCard instances to be saved and loaded
from the database correctly.

Differential Revision: D96248247
@meta-codesync meta-codesync bot changed the title Add encoder/decoder support for NotApplicableAnalysisCard Add encoder/decoder support for NotApplicableAnalysisCard (#5036) Mar 17, 2026
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