Skip to content

Mock out ax_parameter_sens in online/offline tests #3648

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mpolson64
Copy link
Contributor

Summary:
Should be safe since ax_parameter_sens is tested elsewhere.

These tests try and call compute() using over 100 different experiments, making each test very expensive -- this doubled our OSS unit testing time. With these changes the tests go from taking ~300s to ~50s on my machine in dev mode.

Differential Revision: D73066856

Summary:
Should be safe since ax_parameter_sens is tested elsewhere.

These tests try and call compute() using over 100 different experiments, making each test very expensive -- this doubled our OSS unit testing time. With these changes the tests go from taking ~300s to ~50s on my machine in dev mode.

Differential Revision: D73066856
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Apr 15, 2025
@facebook-github-bot
Copy link
Contributor

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

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.08%. Comparing base (82c553a) to head (8750265).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3648   +/-   ##
=======================================
  Coverage   96.08%   96.08%           
=======================================
  Files         550      550           
  Lines       54368    54371    +3     
=======================================
+ Hits        52241    52244    +3     
  Misses       2127     2127           

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

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants