Skip to content

Conversation

@flinder
Copy link
Contributor

@flinder flinder commented Jan 30, 2026

Summary: The API documentation for MCGrad and RegressionMCGrad was missing method documentation because methods like fit() and predict() are defined in the base class _BaseMCGrad. Adding :inherited-members: to the Sphinx autodoc directive ensures these inherited methods appear in the generated documentation.

Differential Revision: D91869152

Summary: The API documentation for MCGrad and RegressionMCGrad was missing method documentation because methods like `fit()` and `predict()` are defined in the base class `_BaseMCGrad`. Adding `:inherited-members:` to the Sphinx autodoc directive ensures these inherited methods appear in the generated documentation.

Differential Revision: D91869152
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jan 30, 2026
@meta-codesync
Copy link

meta-codesync bot commented Jan 30, 2026

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

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@f02a62d). Learn more about missing BASE report.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #195   +/-   ##
=======================================
  Coverage        ?   94.92%           
=======================================
  Files           ?        9           
  Lines           ?     1753           
  Branches        ?        0           
=======================================
  Hits            ?     1664           
  Misses          ?       89           
  Partials        ?        0           
Flag Coverage Δ
unittests 94.92% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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 This label is managed by the Meta Open Source bot. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants