Closed Christopher-Chianelli closed 1 month ago
All Java
methods that return BigDecimal
are automatically translated to PythonDecimal
instances.
Failed conditions
B Reliability Rating on New Code (required ≥ A)
See analysis details on SonarCloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarLint
Decimal maps mostly to BigDecimal, although its floating point concepts are ignored (Python does not have an infinite precision MathContext, so it acts more like a dynamic range floating point with an adjustable precision. The precision used is shared in a thread local object that can be changed using decimal.setcontext.
Added
str
constructors tofloat
andint
Added sanity tests for all variants of penalize/reward/impact and score types