examples: 5 hand-curated fixtures + parametrized regression suite
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
eb53f6dbb6
commit
9e14909ca6
6 changed files with 157 additions and 0 deletions
21
tests/fixtures/reddit/example_005.json
vendored
Normal file
21
tests/fixtures/reddit/example_005.json
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"post": {
|
||||
"reddit_id": "fx005",
|
||||
"source_sub": "FIRE_Ind",
|
||||
"url": "https://reddit.com/fx005",
|
||||
"title": "Net worth update: ₹2.5 crore at 32",
|
||||
"body": "Saved ₹2,50,00,000 (~$300k) net worth at 32 in Bangalore, India. Single. Still working at a product company. Spending ~₹12,00,000/yr. Target: ₹8 crore by 45 to FIRE.",
|
||||
"created_at": "2026-05-01"
|
||||
},
|
||||
"expected": {
|
||||
"country": "India",
|
||||
"city": "Bangalore",
|
||||
"portfolio_native": 25000000,
|
||||
"annual_exp_native": 1200000,
|
||||
"raw_currency": "INR",
|
||||
"age": 32,
|
||||
"family_size": 1,
|
||||
"fi_status": "accumulating",
|
||||
"is_retired": false
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue