-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test for external posting_predictors
- Loading branch information
Showing
5 changed files
with
105 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
testdata/source/generic_importer/test_dummy_predictor/accounts.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Assets:Bank |
65 changes: 65 additions & 0 deletions
65
testdata/source/generic_importer/test_dummy_predictor/import_results.beancount
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
;; date: 2020-01-01 | ||
;; info: {"filename": "<testdata>/csv/generic_statement.csv", "line": 1, "type": "text/csv"} | ||
|
||
; features: [] | ||
2020-01-01 * "by debit card-OTHPG 063441 GOOGLE CLOUD INDIA PVTTHANE-" | ||
Assets:Bank -1 USD | ||
date: 2020-01-01 | ||
source_desc: "by debit card-OTHPG 063441 GOOGLE CLOUD INDIA PVTTHANE-" | ||
Assets:Dummy 1 USD | ||
unconfirmed_account: TRUE | ||
|
||
;; date: 2020-01-01 | ||
;; info: {"filename": "<testdata>/csv/generic_statement.csv", "line": 2, "type": "text/csv"} | ||
|
||
; features: [] | ||
2020-01-01 * "by debit card-OTHPG 063444 GOOGLE CLOUD INDIA PVTTHANE-" | ||
Assets:Bank -1 USD | ||
date: 2020-01-01 | ||
source_desc: "by debit card-OTHPG 063444 GOOGLE CLOUD INDIA PVTTHANE-" | ||
Assets:Dummy 1 USD | ||
unconfirmed_account: TRUE | ||
|
||
;; date: 2020-01-02 | ||
;; info: {"filename": "<testdata>/csv/generic_statement.csv", "line": 3, "type": "text/csv"} | ||
|
||
; features: [] | ||
2020-01-02 * "BULK POSTING- 00000008237 250120 GOOGLE CLOUD INDIA PVT-" | ||
Assets:Bank 1 USD | ||
date: 2020-01-02 | ||
source_desc: "BULK POSTING- 00000008237 250120 GOOGLE CLOUD INDIA PVT-" | ||
Assets:Dummy -1 USD | ||
unconfirmed_account: TRUE | ||
|
||
;; date: 2020-01-02 | ||
;; info: {"filename": "<testdata>/csv/generic_statement.csv", "line": 5, "type": "text/csv"} | ||
|
||
; features: [] | ||
2020-01-02 * "BULK POSTING- 00000008237 250120 GOOGLE CLOUD INDIA PVT-" | ||
Assets:Bank 1 USD | ||
date: 2020-01-02 | ||
source_desc: "BULK POSTING- 00000008237 250120 GOOGLE CLOUD INDIA PVT-" | ||
Assets:Dummy -1 USD | ||
unconfirmed_account: TRUE | ||
|
||
;; date: 2020-01-02 | ||
;; info: {"filename": "<testdata>/csv/generic_statement.csv", "line": 4, "type": "text/csv"} | ||
|
||
; features: [] | ||
2020-01-02 * "ATM-WD Some Random ATM Machine" | ||
Assets:Bank 500 USD | ||
date: 2020-01-02 | ||
source_desc: "ATM-WD Some Random ATM Machine" | ||
Assets:Dummy -500 USD | ||
unconfirmed_account: TRUE | ||
|
||
;; date: 2020-01-05 | ||
;; info: {"filename": "<testdata>/csv/generic_statement.csv", "line": 6, "type": "text/csv"} | ||
|
||
; features: [] | ||
2020-01-05 * "Transfer to 1234567890123" | ||
Assets:Bank 300 USD | ||
date: 2020-01-05 | ||
source_desc: "Transfer to 1234567890123" | ||
Assets:Dummy -300 USD | ||
unconfirmed_account: TRUE |
1 change: 1 addition & 0 deletions
1
testdata/source/generic_importer/test_dummy_predictor/journal.beancount
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1900-01-01 open Assets:Bank |
1 change: 1 addition & 0 deletions
1
testdata/source/generic_importer/test_dummy_predictor/training_examples.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |