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

Update to reduce type checker noise #184

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

brent-spyder
Copy link

Reason For Changes

When using the ToExcel exporter I noticed error messages coming from the typeChecker() function when I used the average score aggregation function. This is because the Techniques' scores come out as a float type. int is checked first, an error message is emitted, then float is checked.

Summary of Changes

I updated typeChecker() function to support a list of types, and I updated the score() method in technique.py to utilize the change.

Testing

I re-ran my code to export a layer to excel. The code worked as expected and I no longer received the error messages. I also ran the unit tests locally an everything continued to pass

@brent-spyder brent-spyder changed the title Update/reduce type checker noise Update to reduce type checker noise Jan 14, 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.

1 participant