gcubed.tuning
Reusable model-database tuning operations for G-Cubed model builds.
The two independently executable baseline-tuning configurations.
One proposed or applied database-cell change.
Raised when monetary-policy tuning settings are invalid for a model.
Inherited Members
- builtins.BaseException
- BaseException
- with_traceback
- add_note
- args
Observable result of one monetary-policy tuning invocation.
Raised for a safe, user-correctable monetary-policy tuning failure.
Inherited Members
- builtins.BaseException
- BaseException
- with_traceback
- add_note
- args
Validated durable configuration for INTX transition tuning.
Present None overrides exclude regions instead of inheriting defaults.
One complete default or regional INTX transition.
Raised when tuning settings do not match the model's regions.
Inherited Members
- builtins.BaseException
- BaseException
- with_traceback
- add_note
- args
Raised for a safe, user-correctable real-interest-rate tuning failure.
Inherited Members
- builtins.BaseException
- BaseException
- with_traceback
- add_note
- args
Observable result of one disabled, summary, or apply invocation.
One complete method-specific constraint on an implied INTR value.
Downstream price and wage groups controlled by INTR tuning.
Validated durable configuration for INTR-driven database tuning.
The calculated first-transition treatment for one enabled region.
Calculated residual, selected judgement, and transition settings.
Observed inputs and calculated base-year monetary-rule residual.
Execution modes shared by the independent tuning mechanisms.
Inherited Members
- enum.Enum
- name
- value
- builtins.str
- encode
- replace
- split
- rsplit
- join
- capitalize
- casefold
- title
- center
- count
- expandtabs
- find
- partition
- index
- ljust
- lower
- lstrip
- rfind
- rindex
- rjust
- rstrip
- rpartition
- splitlines
- strip
- swapcase
- translate
- upper
- startswith
- endswith
- removeprefix
- removesuffix
- isascii
- islower
- isupper
- istitle
- isspace
- isdecimal
- isdigit
- isnumeric
- isalpha
- isalnum
- isidentifier
- isprintable
- zfill
- format
- format_map
- maketrans
Remove managed INTX model inputs and zero database INTX values.
Restore the database cells saved by the latest applied INTR tuning.
Retire bound legacy fiscal metadata while preserving ordinary cleanup state.
Validate CSV/managed bindings even for obsolete source proof, remove only the reserved row and model-side companions/markers, and retain every ordinary original/applied value. Return an in-memory receipt without writing audit, backup or provenance files. Publication rolls back all retired metadata on failure; repeated successful migration is a no-op. Economic inputs are not regenerated and historical source proof is not represented as current.
Summarize or apply configured monetary-policy tuning.
Overview
Preview or apply INTR conditioning and its supported financial dependencies. Finalization preserves accepted fiscal anchors in both base and lead years; derived cells share the existing managed-original and publication lifecycle.
Arguments
model_configuration: Operational CSV inputs and selected native equations.mode:disabled,summaryorapply; disabled needs no input files.Returns
Decisions, proposed changes and ordinary diagnostic paths for the operation.
Exceptions
Raises PriceConditioningError for invalid inputs or managed-cell drift,
and propagates file publication errors after recoverable CSV/state rollback.
G-Cubed