Repository navigation
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix(importers): resolve an unstated threshold and clip as the Python path does (#334, #348) #408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Uh oh!
There was an error while loading. Please reload this page.
fix(importers): resolve an unstated threshold and clip as the Python path does (#334, #348) #408
Changes from 1 commit
e364b7aadbda673637981530e77fede321660703e0626f6dd7dfab6283f15566e51532fe8b830c6878eb2934248dad0ca9f7a46401caa1cbff19b01a7ab80209dcedda17802c4f0fb4af5ad7463991537be9b0b0d78cb3c526061b7aa837555e40231654b5832febb289b7e0797946149d4a8a50cad5334e59553f7c778260cc3a2d77fb56e9228d744d21f996f5567c4612ba9b2b5a93a18858cb264008ce3b285d85b9b605ea32a5230d5d86e94e43579b12b8d1b0f7149a4a93086a726726ff0800a4b78859fe7ccbdc619b714006f558File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
…shold too - A threshold is an int or float from 0.0 to 1.0. Decimal, Fraction and numpy.float32 are not (pass float(value)); numpy.float64 is a float. The rule covers match_threshold on every path, and an Annotated[...] field. - Every example error is the real text for its input: it quotes the value as written (ComparableField(threshold=85), "threshold": 85, "comparator_config": {"threshold": 85}), says why it fails, gives the likely fix, and on the Python path ends with the ComparableField line. - Config path: an invalid threshold is no longer prefixed "Invalid field configuration:", and a field inside a list_structured_model is named items[].sku. The troubleshooting table says so and adds match_threshold. - Evaluation guide: an out-of-range x-aws-stickler-threshold on an array of objects raises, naming x-aws-stickler-match-threshold; only an in-range one warns. - CHANGELOG: names the inputs that now raise on each path, in the same Changed entry, with the new example. Section and labels unchanged.Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Uh oh!
There was an error while loading. Please reload this page.