Skip to content

Conversation

@flinder
Copy link
Contributor

@flinder flinder commented Dec 15, 2025

Summary: As title

Differential Revision: D89219389

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Dec 15, 2025
@meta-codesync
Copy link

meta-codesync bot commented Dec 15, 2025

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

@flinder flinder force-pushed the export-D89219389 branch 2 times, most recently from 53e598d to 0f099fc Compare December 17, 2025 10:50
…> lower case class attributes (start with MONTONE_T) (#54)

Summary:

Dynamically set class attributes should be lower case according to PEP8 / Google style guide.

I introduce a backward compatibility module `_compat.py` (python convention) to avoid cluttering the main class.

How it works: It implements a Mixinclass which adds deprecated alias descriptors to the class. This allows retaining the old attribute name and produce a deprecation warning whenever it is set or accessed.

Since we don't have open source users yet, backward compatibility is not a concern there, therefore I `oss-disable` the mixin.

Reviewed By: Lorenzo-Perini

Differential Revision: D89061588
…> lower case class attributes - EARLY_STOPPING (#53)

Summary:

as title

Reviewed By: Lorenzo-Perini

Differential Revision: D89219315
…> lower case class attributes - EARLY_STOPPING_ESTIMATION_METHOD (#52)

Summary:

As title.

Reviewed By: Lorenzo-Perini

Differential Revision: D89219345
…> lower case class attributes - EARLY_STOPPING_TIMEOUT (#51)

Summary:

As title

Reviewed By: Lorenzo-Perini

Differential Revision: D89219361
…> lower case class attributes - N_FOLDS (#55)

Summary:

As title

Reviewed By: Lorenzo-Perini

Differential Revision: D89219389
@meta-codesync
Copy link

meta-codesync bot commented Dec 17, 2025

This pull request has been merged in d026015.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants