Skip to content

Split DPMechanism into (MechanismConfig, CalibratedMechanism) and update initializers.py to conform to the new design. This design provides a number of benefits, including safer budget management, better type safety, cleaner APIs & implementations, and will allow us to remove code smells around runtime errors for uncalibrated mechanisms. - #111

Merged
copybara-service[bot] merged 1 commit into
mainfrom
cl/959041560
Aug 14, 2026

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Aug 4, 2026

Copy link
Copy Markdown

Split DPMechanism into (MechanismConfig, CalibratedMechanism) and update initializers.py to conform to the new design. This design provides a number of benefits, including safer budget management, better type safety, cleaner APIs & implementations, and will allow us to remove code smells around runtime errors for uncalibrated mechanisms.

@copybara-service
copybara-service Bot force-pushed the cl/959041560 branch 6 times, most recently from 5ea8ccf to 1367732 Compare August 8, 2026 12:59
@copybara-service copybara-service Bot changed the title Split leaf DP primitives into Config + calibrated-mechanism pairs. third_party/py/dpsynth: Separate Configs from Mechanisms for Initializers Aug 12, 2026
@copybara-service
copybara-service Bot force-pushed the cl/959041560 branch 5 times, most recently from 6f68d33 to eae1f6e Compare August 13, 2026 00:28
@copybara-service copybara-service Bot changed the title third_party/py/dpsynth: Separate Configs from Mechanisms for Initializers Split DPMechanism into (MechanismConfig, CalibratedMechanism) and update initializers.py to conform to the new design. This design provides a number of benefits, including safer budget management, better type safety, cleaner APIs & implementations, and will allow us to remove code smells around runtime errors for uncalibrated mechanisms. Aug 13, 2026
@copybara-service
copybara-service Bot force-pushed the cl/959041560 branch 10 times, most recently from 188a7ff to 10567cb Compare August 14, 2026 09:59
…ate initializers.py to conform to the new design. This design provides a number of benefits, including safer budget management, better type safety, cleaner APIs & implementations, and will allow us to remove code smells around runtime errors for uncalibrated mechanisms.

PiperOrigin-RevId: 964661636
@copybara-service
copybara-service Bot merged commit 5112ed2 into main Aug 14, 2026
@copybara-service
copybara-service Bot deleted the cl/959041560 branch August 14, 2026 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants