Skip to content
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

JSON input doesn't match up with json spec #294

Open
Machine-Maker opened this issue Dec 20, 2024 · 0 comments · May be fixed by #297
Open

JSON input doesn't match up with json spec #294

Machine-Maker opened this issue Dec 20, 2024 · 0 comments · May be fixed by #297
Labels
bug Something isn't working

Comments

@Machine-Maker
Copy link
Contributor

Machine-Maker commented Dec 20, 2024

JSON Spec says that
4.62962962e-06 is a valid number type. The web UI doesn't seem to let me use that in the input
image

It also throws an error when I try to use it with the python bindings

zen.evaluate_expression("a + b", {"a": 0.000001, "b": 0.1})
image

For extra context, python's json library dumps out that dictionary as follows
image

Machine-Maker added a commit to Machine-Maker/zen that referenced this issue Jan 3, 2025
@Machine-Maker Machine-Maker linked a pull request Jan 3, 2025 that will close this issue
@stefan-gorules stefan-gorules added the bug Something isn't working label Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants