Skip to content

Supporting Dict Subclasses in Evaluation#99

Merged
madhuchavva merged 2 commits intomainfrom
feat/isInstanceTypeCheck
Feb 5, 2026
Merged

Supporting Dict Subclasses in Evaluation#99
madhuchavva merged 2 commits intomainfrom
feat/isInstanceTypeCheck

Conversation

@madhuchavva
Copy link
Contributor

Use isinstance() checks instead of strict type() checks.

  • Replaced all type(x) is T checks with isinstance(x, T).
  • Implemented a internal _is_numeric helper to distinguish between int/float and bool
  • Updated getType, getPath, compare, and operator functions to use these new checks.

@madhuchavva madhuchavva merged commit 8ed4d4e into main Feb 5, 2026
5 checks passed
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