convert floating point stats from string - #241
Conversation
|
I've gone ahead and removed the broken workflows and scripts that was causing the CI failure. Can you pull them down for the PR and run it? Also thank you for the PR :) |
212be05 to
36de8bc
Compare
|
Thanks, I merged in your upstream changes, but I can't trigger any workflows. |
36de8bc to
8a38c37
Compare
8a38c37 to
a14637e
Compare
|
@Mattsface I've rebased on top of 0.8.0 all tests are passing |
|
@claude review please |
|
Claude finished @Mattsface's task in 2m 20s —— View job Code Review
CI (Offline CI) is passing on this PR. Note: I wasn't able to execute the local test suite myself in this sandbox (bash execution requiring approval was denied), so this review is based on static analysis. Summary: Solid, low-risk change. The A few things worth addressing:
None of these block the PR — 1 and 2 are the most worth fixing before merge since they're small, concrete gaps; 3 and 4 are minor polish. |
Convert floating stats with decimal representation from str to float with pydantic
adds a
BeforeValidatorto base.py that converts types to float or returns none and anOptionalFloattype that used the validator and changed all the relevant types in stat objects.Tests
Passes all unit tests.