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

Filter transactions to only those referencing open accounts #98

Merged
merged 2 commits into from
Nov 24, 2020

Conversation

aclindsa
Copy link
Contributor

This is a quick attempt at addressing #26 by only using transactions with all their postings to/from open accounts as training data.

@aclindsa
Copy link
Contributor Author

(And, yes, I'll fix up the failing tests if the general idea here is acceptable)

@tarioch
Copy link
Collaborator

tarioch commented Nov 19, 2020

I think that makes sense, I was first thinking about why filtering training data, but actually by not training such accounts they should never get suggested.

@aclindsa
Copy link
Contributor Author

@tarioch Okay, I believe I've now fixed up the tests. It looks like the actual tests are passing, but there appears to something going on with the build environment/dependencies that's making it fail.

@tarioch
Copy link
Collaborator

tarioch commented Nov 19, 2020

@yagebu I think you know that bulid environment better, can you help?

@aclindsa
Copy link
Contributor Author

aclindsa commented Nov 19, 2020

@tarioch @yagebu After looking, I think the initial error was due to beancount moving to github from bitbucket. I'm working on trying to fix that up now, as well as a few other linter errors uncovered after the linter started working again!

Add test to ensure that closed accounts are not predicted and adjust
existing tests so that all desired accounts are opened.
@aclindsa
Copy link
Contributor Author

Okay, I believe I've now updated the beancount URL to point to github and appeased the linter.

@tarioch tarioch merged commit 6a45ebf into beancount:master Nov 24, 2020
@aclindsa aclindsa deleted the filter_closed_accounts branch November 25, 2020 15:27
@aclindsa aclindsa mentioned this pull request Nov 25, 2020
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