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_003.json
vendored
Normal file
21
tests/fixtures/reddit/example_003.json
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"post": {
|
||||
"reddit_id": "fx003",
|
||||
"source_sub": "coastFIRE",
|
||||
"url": "https://reddit.com/fx003",
|
||||
"title": "Coasting in Bali — $850k portfolio, still working remote",
|
||||
"body": "Hit my coast number at 35: $850k invested, expecting to grow to FIRE by 50 without contributing. Living in Ubud, Indonesia with my partner. Spending around $30k/yr between us. Working remote part-time for fun.",
|
||||
"created_at": "2026-03-05"
|
||||
},
|
||||
"expected": {
|
||||
"country": "Indonesia",
|
||||
"city": "Bali",
|
||||
"portfolio_native": 850000,
|
||||
"annual_exp_native": 30000,
|
||||
"raw_currency": "USD",
|
||||
"age": 35,
|
||||
"family_size": 2,
|
||||
"fi_status": "coastFIRE",
|
||||
"is_retired": false
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue