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

Bug fixes for the FACTS method #533

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

phantom-duck
Copy link
Contributor

@hoffmansc

Wrote fixes for the bugs documented in issues #531 and #532.

For the issue of the hard-coded features in the recIsValid function (issue #531, code here), the fix currently proposed is a hotfix. The values have not been removed, only the relevant argument's default value has been changed from True to False.

Whether you would like us to remove this part of the code altogether or keep working on it to make it more robust (and if so, in this pull request or a new one), please let me know.

Fixes #531 and #532.

this part of the code is problematic due to the use of hardcoded feature
names. The required functionality should be achieved in some other way.

Signed-off-by: phantom-duck <[email protected]>
Copy link
Collaborator

@hoffmansc hoffmansc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is good for now. For #531, it would be good to have a more robust system eventually. For #532, can we add a short test case like in the issue to show it's working?

Thanks!

@phantom-duck
Copy link
Contributor Author

Hello! Thanks for the feedback. Apologies for the delayed response.

For #531, it would be good to have a more robust system eventually

Ok, great, we will see to it as soon as possible and create a new PR.

For #532, can we add a short test case like in the issue to show it's working?

Of course. So this one I will add to this PR right?

@hoffmansc
Copy link
Collaborator

Of course. So this one I will add to this PR right?

Yes, please 🙂

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.

FACTS method bug: code in valid_ifthens function has hard-coded feature names
2 participants