-
Notifications
You must be signed in to change notification settings - Fork 777
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a08bb00
commit eb7faa3
Showing
2 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
compositional_skills/extraction/inference/quantitative/beancount/attribution.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 @@ | ||
self-authored |
93 changes: 93 additions & 0 deletions
93
compositional_skills/extraction/inference/quantitative/beancount/qna.yaml
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,93 @@ | ||
created_by: andreasgerstmayr | ||
task_description: Record Beancount transactions from free-form text (https://github.com/beancount/beancount). | ||
seed_examples: | ||
|
||
- question: "Record the following in a Beancount ledger: I spent 80 EUR in cash on groceries." | ||
answer: | | ||
2024-01-01 * "Buying groceries" | ||
Expenses:Food:Groceries 80.00 EUR | ||
Assets:Cash | ||
- question: "Record the following in a Beancount ledger: I spent 40.15 EUR in cash on groceries." | ||
answer: | | ||
2024-01-01 * "Buying groceries" | ||
Expenses:Food:Groceries 40.15 EUR | ||
Assets:Cash | ||
- question: "Record the following in a Beancount ledger: I spent 120.56 EUR in cash on groceries." | ||
answer: | | ||
2024-01-01 * "Buying groceries" | ||
Expenses:Food:Groceries 120.56 EUR | ||
Assets:Cash | ||
- question: "Record the following in a Beancount ledger: I paid 40 EUR in cash in the restaurant." | ||
answer: | | ||
2024-01-01 * "Restaurant" | ||
Expenses:Food:Restaurant 40.00 EUR | ||
Assets:Cash | ||
- question: "Record the following in a Beancount ledger: I paid 12.15 EUR at the bakery." | ||
answer: | | ||
2024-01-01 * "Bakery" | ||
Expenses:Food:Bakery 12.15 EUR | ||
Assets:Cash | ||
- question: "Write the following in a Beancount ledger: I paid 150 EUR for my car insurance bill." | ||
answer: | | ||
2024-01-01 * "Car Insurance" | ||
Expenses:Car:Insurance 150.00 EUR | ||
Assets:Bank | ||
- question: "Write the following in a Beancount ledger: I paid 1000 EUR for my rent." | ||
answer: | | ||
2024-01-01 * "Rent" | ||
Expenses:Housing:Rent 1000.00 EUR | ||
Assets:Bank | ||
- question: "Record the following in a Beancount ledger: I paid 300.00 EUR in student fees." | ||
answer: | | ||
2024-01-01 * "Student fees" | ||
Expenses:Education:University 300.00 EUR | ||
Assets:Bank | ||
- question: "Record the following in a Beancount ledger: I withdrew 123 EUR from my bank account." | ||
answer: | | ||
2024-01-01 * "Cash withdrawal" | ||
Assets:Cash 123.00 EUR | ||
Assets:Bank | ||
- question: "Record the following in a Beancount ledger: I received 12 EUR for selling a book." | ||
answer: | | ||
2024-01-01 * "Sell book" | ||
Assets:Cash 12.00 EUR | ||
Income:GarageSale | ||
- question: "Record the following in a Beancount ledger: I paid off my credit card bill worth 250 GBP." | ||
answer: | | ||
2024-01-01 * "Credit card payment" | ||
Liabilities:CreditCard 250.00 GBP | ||
Assets:Bank | ||
- question: "Record in your Beancount ledger: I bought a new mobile phone for 350 EUR cash." | ||
answer: | | ||
2024-01-01 * "New Mobile Phone" | ||
Expenses:MobilePhone 350.00 EUR | ||
Assets:Cash | ||
- question: "Record the following in a Beancount ledger: I bought a pair of shoes for 70 EUR." | ||
answer: | | ||
2024-01-01 * "Buying shoes" | ||
Expenses:Clothing 70.00 EUR | ||
Assets:Cash | ||
- question: "Record the following in a Beancount ledger: I gave 20 EUR to charity." | ||
answer: | | ||
2024-01-01 * "Donating to charity" | ||
Expenses:Charity 20.00 EUR | ||
Assets:Cash | ||
- question: "Record the following in a Beancount ledger: I bought a book for 18 EUR on Amazon." | ||
answer: | | ||
2024-01-01 * "Purchase on Amazon" | ||
Expenses:Books 18.00 EUR | ||
Assets:CreditCard |