Skip to content

Fix JSON serialization error in predictions generator#19

Merged
skyelaird merged 1 commit intomainfrom
claude/fix-json-dump-error-018R222mLTKdYMyLFkrZuG6D
Nov 13, 2025
Merged

Fix JSON serialization error in predictions generator#19
skyelaird merged 1 commit intomainfrom
claude/fix-json-dump-error-018R222mLTKdYMyLFkrZuG6D

Conversation

@skyelaird
Copy link
Copy Markdown
Owner

Added custom JSON encoder to handle numpy data types (np.int64, np.float64, etc.) that cannot be directly serialized to JSON. This prevents serialization errors when dumping prediction data containing numpy types from calculations.

Added custom JSON encoder to handle numpy data types (np.int64, np.float64, etc.)
that cannot be directly serialized to JSON. This prevents serialization errors when
dumping prediction data containing numpy types from calculations.
@skyelaird skyelaird merged commit e2bab30 into main Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants