The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: TypeError
Message: Couldn't cast array of type
struct<balance: int64, apr: string, min_pct: string, min_floor: int64, min_includes_interest: bool, card: string, debts: list<item: struct<name: string, label: string, balance: int64, apr: string, min_payment: int64>>, extra: int64>
to
{'balance': Value('int64'), 'apr': Value('string'), 'min_pct': Value('string'), 'min_floor': Value('int64'), 'min_includes_interest': Value('bool'), 'card': Value('string')}
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1816, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2303, in cast_table_to_schema
cast_array_to_feature(
~~~~~~~~~~~~~~~~~~~~~^
table[name] if name in table_column_names else pa.array([None] * len(table), type=schema.field(name).type),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
feature,
^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1852, in wrapper
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2149, in cast_array_to_feature
raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
TypeError: Couldn't cast array of type
struct<balance: int64, apr: string, min_pct: string, min_floor: int64, min_includes_interest: bool, card: string, debts: list<item: struct<name: string, label: string, balance: int64, apr: string, min_payment: int64>>, extra: int64>
to
{'balance': Value('int64'), 'apr': Value('string'), 'min_pct': Value('string'), 'min_floor': Value('int64'), 'min_includes_interest': Value('bool'), 'card': Value('string')}
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1683, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1869, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
id string | family string | task_type string | shard string | category string | rule_year int64 | prompt string | completion string | params dict | reference dict | license string | source string | provenance dict |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
cs-40000000 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("8009")
apr = Decimal("0.1999")
min_pct = Decimal("0.04")
min_floor = Decimal("35")
includes_interest = False
total_interest = Decimal("0")
months =... | {
"balance": 8009,
"apr": "0.1999",
"min_pct": "0.04",
"min_floor": 35,
"min_includes_interest": false,
"card": "rewards card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 127,
"total_interest_paid": "5357.53",
"final_payment": "12.10"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000001 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("4522")
apr = Decimal("0.2399")
min_pct = Decimal("0.035")
min_floor = Decimal("30")
includes_interest = False
total_interest = Decimal("0")
months ... | {
"balance": 4522,
"apr": "0.2399",
"min_pct": "0.035",
"min_floor": 30,
"min_includes_interest": false,
"card": "balance transfer card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 153,
"total_interest_paid": "5307.91",
"final_payment": "22.65"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000002 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("7732")
apr = Decimal("0.1299")
min_pct = Decimal("0.03")
min_floor = Decimal("25")
includes_interest = False
total_interest = Decimal("0")
months =... | {
"balance": 7732,
"apr": "0.1299",
"min_pct": "0.03",
"min_floor": 25,
"min_includes_interest": false,
"card": "rewards card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 157,
"total_interest_paid": "4100.46",
"final_payment": "15.75"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000003 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("7578")
apr = Decimal("0.1999")
min_pct = Decimal("0.04")
min_floor = Decimal("40")
includes_interest = True
total_interest = Decimal("0")
months = ... | {
"balance": 7578,
"apr": "0.1999",
"min_pct": "0.04",
"min_floor": 40,
"min_includes_interest": true,
"card": "airline card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 80,
"total_interest_paid": "2998.93",
"final_payment": "8.49"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000004 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("4269")
apr = Decimal("0.1699")
min_pct = Decimal("0.04")
min_floor = Decimal("30")
includes_interest = True
total_interest = Decimal("0")
months = ... | {
"balance": 4269,
"apr": "0.1699",
"min_pct": "0.04",
"min_floor": 30,
"min_includes_interest": true,
"card": "student card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 72,
"total_interest_paid": "1407.73",
"final_payment": "17.40"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000005 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("6473")
apr = Decimal("0.1299")
min_pct = Decimal("0.03")
min_floor = Decimal("25")
includes_interest = False
total_interest = Decimal("0")
months =... | {
"balance": 6473,
"apr": "0.1299",
"min_pct": "0.03",
"min_floor": 25,
"min_includes_interest": false,
"card": "store card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 148,
"total_interest_paid": "3389.80",
"final_payment": "11.28"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000006 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("4446")
apr = Decimal("0.2499")
min_pct = Decimal("0.04")
min_floor = Decimal("35")
includes_interest = True
total_interest = Decimal("0")
months = ... | {
"balance": 4446,
"apr": "0.2499",
"min_pct": "0.04",
"min_floor": 35,
"min_includes_interest": true,
"card": "student card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 71,
"total_interest_paid": "2151.46",
"final_payment": "14.76"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000007 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("11147")
apr = Decimal("0.2499")
min_pct = Decimal("0.035")
min_floor = Decimal("40")
includes_interest = False
total_interest = Decimal("0")
months... | {
"balance": 11147,
"apr": "0.2499",
"min_pct": "0.035",
"min_floor": 40,
"min_includes_interest": false,
"card": "store card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 204,
"total_interest_paid": "15308.64",
"final_payment": "15.55"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000008 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("11228")
apr = Decimal("0.1699")
min_pct = Decimal("0.04")
min_floor = Decimal("25")
includes_interest = True
total_interest = Decimal("0")
months =... | {
"balance": 11228,
"apr": "0.1699",
"min_pct": "0.04",
"min_floor": 25,
"min_includes_interest": true,
"card": "balance transfer card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 100,
"total_interest_paid": "3888.20",
"final_payment": "18.36"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000009 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("7511")
apr = Decimal("0.1999")
min_pct = Decimal("0.035")
min_floor = Decimal("40")
includes_interest = False
total_interest = Decimal("0")
months ... | {
"balance": 7511,
"apr": "0.1999",
"min_pct": "0.035",
"min_floor": 40,
"min_includes_interest": false,
"card": "cash back card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 141,
"total_interest_paid": "6205.28",
"final_payment": "32.73"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000010 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("4461")
apr = Decimal("0.1899")
min_pct = Decimal("0.04")
min_floor = Decimal("35")
includes_interest = False
total_interest = Decimal("0")
months =... | {
"balance": 4461,
"apr": "0.1899",
"min_pct": "0.04",
"min_floor": 35,
"min_includes_interest": false,
"card": "airline card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 99,
"total_interest_paid": "2594.90",
"final_payment": "22.07"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000011 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("5916")
apr = Decimal("0.1299")
min_pct = Decimal("0.03")
min_floor = Decimal("25")
includes_interest = False
total_interest = Decimal("0")
months =... | {
"balance": 5916,
"apr": "0.1299",
"min_pct": "0.03",
"min_floor": 25,
"min_includes_interest": false,
"card": "airline card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 143,
"total_interest_paid": "3075.29",
"final_payment": "20.04"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000012 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("1077")
apr = Decimal("0.2699")
min_pct = Decimal("0.035")
min_floor = Decimal("25")
includes_interest = False
total_interest = Decimal("0")
months ... | {
"balance": 1077,
"apr": "0.2699",
"min_pct": "0.035",
"min_floor": 25,
"min_includes_interest": false,
"card": "airline card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 79,
"total_interest_paid": "1094.32",
"final_payment": "21.96"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000013 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("11620")
apr = Decimal("0.2399")
min_pct = Decimal("0.04")
min_floor = Decimal("25")
includes_interest = True
total_interest = Decimal("0")
months =... | {
"balance": 11620,
"apr": "0.2399",
"min_pct": "0.04",
"min_floor": 25,
"min_includes_interest": true,
"card": "travel card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 102,
"total_interest_paid": "5694.41",
"final_payment": "24.85"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000014 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("10769")
apr = Decimal("0.1899")
min_pct = Decimal("0.02")
min_floor = Decimal("35")
includes_interest = False
total_interest = Decimal("0")
months ... | {
"balance": 10769,
"apr": "0.1899",
"min_pct": "0.02",
"min_floor": 35,
"min_includes_interest": false,
"card": "student card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 535,
"total_interest_paid": "35927.60",
"final_payment": "2.97"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000015 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("8498")
apr = Decimal("0.2249")
min_pct = Decimal("0.04")
min_floor = Decimal("30")
includes_interest = False
total_interest = Decimal("0")
months =... | {
"balance": 8498,
"apr": "0.2249",
"min_pct": "0.04",
"min_floor": 30,
"min_includes_interest": false,
"card": "store card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 148,
"total_interest_paid": "7102.08",
"final_payment": "0.48"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000016 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("5473")
apr = Decimal("0.2699")
min_pct = Decimal("0.03")
min_floor = Decimal("25")
includes_interest = False
total_interest = Decimal("0")
months =... | {
"balance": 5473,
"apr": "0.2699",
"min_pct": "0.03",
"min_floor": 25,
"min_includes_interest": false,
"card": "store card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 313,
"total_interest_paid": "14622.07",
"final_payment": "0.29"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000017 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("5030")
apr = Decimal("0.2399")
min_pct = Decimal("0.025")
min_floor = Decimal("30")
includes_interest = False
total_interest = Decimal("0")
months ... | {
"balance": 5030,
"apr": "0.2399",
"min_pct": "0.025",
"min_floor": 30,
"min_includes_interest": false,
"card": "rewards card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 367,
"total_interest_paid": "16524.76",
"final_payment": "19.46"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000018 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("9193")
apr = Decimal("0.1499")
min_pct = Decimal("0.035")
min_floor = Decimal("30")
includes_interest = False
total_interest = Decimal("0")
months ... | {
"balance": 9193,
"apr": "0.1499",
"min_pct": "0.035",
"min_floor": 30,
"min_includes_interest": false,
"card": "student card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 140,
"total_interest_paid": "4836.01",
"final_payment": "23.40"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000019 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("5160")
apr = Decimal("0.1999")
min_pct = Decimal("0.04")
min_floor = Decimal("40")
includes_interest = True
total_interest = Decimal("0")
months = ... | {
"balance": 5160,
"apr": "0.1999",
"min_pct": "0.04",
"min_floor": 40,
"min_includes_interest": true,
"card": "travel card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 70,
"total_interest_paid": "1991.87",
"final_payment": "31.83"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000020 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("5392")
apr = Decimal("0.1899")
min_pct = Decimal("0.025")
min_floor = Decimal("35")
includes_interest = True
total_interest = Decimal("0")
months =... | {
"balance": 5392,
"apr": "0.1899",
"min_pct": "0.025",
"min_floor": 35,
"min_includes_interest": true,
"card": "cash back card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 104,
"total_interest_paid": "3106.34",
"final_payment": "30.18"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000021 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("8237")
apr = Decimal("0.1699")
min_pct = Decimal("0.025")
min_floor = Decimal("35")
includes_interest = False
total_interest = Decimal("0")
months ... | {
"balance": 8237,
"apr": "0.1699",
"min_pct": "0.025",
"min_floor": 35,
"min_includes_interest": false,
"card": "student card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 222,
"total_interest_paid": "9608.28",
"final_payment": "34.69"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000022 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("8481")
apr = Decimal("0.1999")
min_pct = Decimal("0.035")
min_floor = Decimal("40")
includes_interest = False
total_interest = Decimal("0")
months ... | {
"balance": 8481,
"apr": "0.1999",
"min_pct": "0.035",
"min_floor": 40,
"min_includes_interest": false,
"card": "rewards card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 148,
"total_interest_paid": "7086.20",
"final_payment": "15.11"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000023 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("6719")
apr = Decimal("0.2899")
min_pct = Decimal("0.03")
min_floor = Decimal("35")
includes_interest = False
total_interest = Decimal("0")
months =... | {
"balance": 6719,
"apr": "0.2899",
"min_pct": "0.03",
"min_floor": 35,
"min_includes_interest": false,
"card": "travel card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 368,
"total_interest_paid": "24193.48",
"final_payment": "12.76"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000024 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("5565")
apr = Decimal("0.1999")
min_pct = Decimal("0.025")
min_floor = Decimal("40")
includes_interest = False
total_interest = Decimal("0")
months ... | {
"balance": 5565,
"apr": "0.1999",
"min_pct": "0.025",
"min_floor": 40,
"min_includes_interest": false,
"card": "cash back card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 216,
"total_interest_paid": "8975.39",
"final_payment": "9.56"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000025 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("10102")
apr = Decimal("0.2399")
min_pct = Decimal("0.04")
min_floor = Decimal("30")
includes_interest = False
total_interest = Decimal("0")
months ... | {
"balance": 10102,
"apr": "0.2399",
"min_pct": "0.04",
"min_floor": 30,
"min_includes_interest": false,
"card": "cash back card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 164,
"total_interest_paid": "9644.23",
"final_payment": "19.76"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000026 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("5985")
apr = Decimal("0.1999")
min_pct = Decimal("0.04")
min_floor = Decimal("40")
includes_interest = False
total_interest = Decimal("0")
months =... | {
"balance": 5985,
"apr": "0.1999",
"min_pct": "0.04",
"min_floor": 40,
"min_includes_interest": false,
"card": "cash back card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 109,
"total_interest_paid": "3861.79",
"final_payment": "14.33"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000027 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("11899")
apr = Decimal("0.1899")
min_pct = Decimal("0.025")
min_floor = Decimal("25")
includes_interest = False
total_interest = Decimal("0")
months... | {
"balance": 11899,
"apr": "0.1899",
"min_pct": "0.025",
"min_floor": 25,
"min_includes_interest": false,
"card": "travel card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 333,
"total_interest_paid": "19394.62",
"final_payment": "12.82"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000028 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("2993")
apr = Decimal("0.1999")
min_pct = Decimal("0.04")
min_floor = Decimal("40")
includes_interest = False
total_interest = Decimal("0")
months =... | {
"balance": 2993,
"apr": "0.1999",
"min_pct": "0.04",
"min_floor": 40,
"min_includes_interest": false,
"card": "airline card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 80,
"total_interest_paid": "1726.37",
"final_payment": "0.56"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000029 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("3369")
apr = Decimal("0.1999")
min_pct = Decimal("0.035")
min_floor = Decimal("30")
includes_interest = True
total_interest = Decimal("0")
months =... | {
"balance": 3369,
"apr": "0.1999",
"min_pct": "0.035",
"min_floor": 30,
"min_includes_interest": true,
"card": "student card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 73,
"total_interest_paid": "1453.22",
"final_payment": "27.15"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000030 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("11937")
apr = Decimal("0.1299")
min_pct = Decimal("0.025")
min_floor = Decimal("40")
includes_interest = False
total_interest = Decimal("0")
months... | {
"balance": 11937,
"apr": "0.1299",
"min_pct": "0.025",
"min_floor": 40,
"min_includes_interest": false,
"card": "student card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 194,
"total_interest_paid": "8402.05",
"final_payment": "18.54"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000031 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("2350")
apr = Decimal("0.2499")
min_pct = Decimal("0.025")
min_floor = Decimal("30")
includes_interest = False
total_interest = Decimal("0")
months ... | {
"balance": 2350,
"apr": "0.2499",
"min_pct": "0.025",
"min_floor": 30,
"min_includes_interest": false,
"card": "student card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 248,
"total_interest_paid": "7141.19",
"final_payment": "14.23"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000032 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("11289")
apr = Decimal("0.1499")
min_pct = Decimal("0.03")
min_floor = Decimal("25")
includes_interest = True
total_interest = Decimal("0")
months =... | {
"balance": 11289,
"apr": "0.1499",
"min_pct": "0.03",
"min_floor": 25,
"min_includes_interest": true,
"card": "student card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 126,
"total_interest_paid": "4568.26",
"final_payment": "0.80"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000033 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("9078")
apr = Decimal("0.1699")
min_pct = Decimal("0.025")
min_floor = Decimal("35")
includes_interest = False
total_interest = Decimal("0")
months ... | {
"balance": 9078,
"apr": "0.1699",
"min_pct": "0.025",
"min_floor": 35,
"min_includes_interest": false,
"card": "cash back card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 231,
"total_interest_paid": "10706.91",
"final_payment": "32.03"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000034 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("7769")
apr = Decimal("0.1699")
min_pct = Decimal("0.035")
min_floor = Decimal("35")
includes_interest = False
total_interest = Decimal("0")
months ... | {
"balance": 7769,
"apr": "0.1699",
"min_pct": "0.035",
"min_floor": 35,
"min_includes_interest": false,
"card": "cash back card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 135,
"total_interest_paid": "4888.82",
"final_payment": "7.21"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000035 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("672")
apr = Decimal("0.1999")
min_pct = Decimal("0.04")
min_floor = Decimal("25")
includes_interest = False
total_interest = Decimal("0")
months = ... | {
"balance": 672,
"apr": "0.1999",
"min_pct": "0.04",
"min_floor": 25,
"min_includes_interest": false,
"card": "store card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 36,
"total_interest_paid": "223.65",
"final_payment": "16.84"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000036 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("2818")
apr = Decimal("0.1699")
min_pct = Decimal("0.03")
min_floor = Decimal("30")
includes_interest = False
total_interest = Decimal("0")
months =... | {
"balance": 2818,
"apr": "0.1699",
"min_pct": "0.03",
"min_floor": 30,
"min_includes_interest": false,
"card": "airline card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 111,
"total_interest_paid": "1987.46",
"final_payment": "9.02"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000037 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("9126")
apr = Decimal("0.1499")
min_pct = Decimal("0.03")
min_floor = Decimal("25")
includes_interest = False
total_interest = Decimal("0")
months =... | {
"balance": 9126,
"apr": "0.1499",
"min_pct": "0.03",
"min_floor": 25,
"min_includes_interest": false,
"card": "student card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 179,
"total_interest_paid": "6167.61",
"final_payment": "21.95"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
cs-40000038 | card_payoff | compute | compute | card_payoff | 2,025 | You are a household finance calculator.
OUTPUT CONTRACT. Reply with exactly one of these three forms.
(1) COMPUTE. One fenced Python code block, standard library only, deterministic.
It must print exactly one JSON object with these keys:
"months_to_payoff": whole number of months
"total_interest_paid": dollar... | ```python
from decimal import Decimal, ROUND_HALF_UP
import json
def cents(x):
return Decimal(x).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
balance = Decimal("11281")
apr = Decimal("0.2399")
min_pct = Decimal("0.025")
min_floor = Decimal("40")
includes_interest = False
total_interest = Decimal("0")
months... | {
"balance": 11281,
"apr": "0.2399",
"min_pct": "0.025",
"min_floor": 40,
"min_includes_interest": false,
"card": "store card"
} | {
"action": "compute",
"family": "card_payoff",
"keys": {
"months_to_payoff": 471,
"total_interest_paid": "40292.34",
"final_payment": "8.43"
}
} | CC-BY-4.0 | synthetic, US government constants | {
"documents": [
{
"title": "CFPB Terms of Credit Card Plans (TCCP) Survey, structured data fields for purchase APR and annual fee. Structured survey fields only; the Credit Card Agreement Database PDFs are NOT used.",
"url": "https://www.consumerfinance.gov/data-research/credit-card-data/terms-credit... |
CashSage: 100,000 personal finance computations, and the ones it refuses to answer
A 100,000-row training corpus for the money questions people actually ask: how long to pay off a card, which debt to attack first, what an extra 200 dollars a month does to a mortgage, what a Social Security benefit works out to, what a 401k match is worth, and what a fund's expense ratio costs over thirty years.
What this dataset proves, and how you check it
| rows | 100,000, 7 families |
| how labels were produced | executed by a reference simulator, then checked by an independent oracle |
| what the simulator is validated against | the official SSA and Regulation 12 CFR 1026 appendix M2 worked examples |
| labels authored or judged by a language model | zero |
| rows that teach the model not to compute | 20,000: ask for a missing input, decline, or state the question is undecidable |
| what it does to a model | gemma-3-4b-it: 1.3% to 100.0% exact match, held out |
| significance | p = 1.2e-178, exact McNemar |
| unseen-year test | 300 rows on 2026 statutory limits the corpus never contained, scored 100.0% |
| decontamination | 101,980 rows screened against FinQA, ConvFinQA, TatQA and FinChain, 0 flagged |
| what ships beside the rows | generator, oracle, full reference simulator, scorer, every eval slice, per-row verdicts |
Every number above is recomputable on a laptop with stdlib Python and no GPU.
Built for the Adaption AutoScientist Challenge, Part 2 (Personal Finance), and co-optimized with Adaptive Data (Adaption Labs).
A fifth of the corpus is not a computation
| shard | rows | what it teaches |
|---|---|---|
compute |
80,000 | produce the answer, with the arithmetic shown |
clarify |
10,000 | ask for the one missing input instead of assuming it |
undecidable |
5,000 | say the question cannot be answered as posed |
refuse |
5,000 | decline, because this is regulated advice territory |
20,000 rows train the model not to answer. That is the part that decides whether a personal finance assistant is usable. A model that invents an interest rate to complete a payoff schedule, or that answers "should I roll over my 401k" as if it were arithmetic, is worse than one that says it needs more information.
Clarification is allocated where inputs genuinely go missing: card payoff and amortization take 27% each, savings timelines 23%, retirement 20%, and the two families with fixed statutory inputs take almost none.
The seven families
| family | rows | closed form? |
|---|---|---|
card_payoff |
13,600 | no |
multi_debt |
13,600 | no |
amortization_extra |
13,600 | no |
ssa_pia |
11,200 | no, bend points |
retirement_401k |
11,200 | no, vesting and match tiers |
fund_cost_n1a |
10,400 | no, N-1A cost model |
savings_timeline |
6,400 | yes |
51% of the corpus has no closed form, meaning the answer cannot be reached by substituting into a
formula and must be iterated period by period. That is deliberate, and the weighting was set by
measurement rather than taste: at Day-0 the base model scored 32.1% strict on savings_timeline,
the one family with a closed form, and 0.0% strict on every other family. Mass was shifted away
from the family the base could already do and toward the six it could not.
Decontamination
| reference set | questions |
|---|---|
| FinQA | 1,147 |
| ConvFinQA | 434 |
| TatQA | 1,669 |
| FinChain fragments | 4,505 |
101,980 rows screened against 38,744 reference 8-grams. 0 flagged. The flagged-id list is published and it is empty, so the claim is checkable rather than asserted.
Verification
Every label is produced by executing the computation, not by writing it down. Answers are checked against an independent implementation, and a row whose two implementations disagree is dropped rather than repaired. No language model appears anywhere in the label path.
Held-out slices:
| slice | rows | what it isolates |
|---|---|---|
| held-out | 1,500-row held-out set | the competition's own yardstick |
| 2026 rules | 300-row unseen-rule-year slice | statutory limits the training corpus never saw |
| hard | 180-probe hard shard | the worst cases across all seven families |
| Day-0 | 160 hand-checked probes | the pre-registered base-model gate |
The 2026 slice is the interesting one. Contribution limits, bend points and tax brackets change every year, so it tests whether the model applies a rule it was given or recites one it memorized.
Adaptive Data
A per-row merge was pre-registered before the pass ran
(data/raw/cashsage/adaption/PER_ROW_MERGE_PREREGISTRATION.md), specifying exactly which fields
enhancement was allowed to touch and what would cause a row to be rejected. Enhancement applies to
instruction sentences only: never a computed value, never a rate, never a statutory limit, never a
date. A rewritten instruction cannot corrupt an executed answer.
Writing the acceptance rule down before seeing the returned rows is the whole point. A merge rule authored after inspecting the output is a rule fitted to the output.
Token budget, measured
Measured with the real gemma-3-4b-it tokenizer before training. The p99 is 1,309 tokens, so training uses a 1536 window. The spec had assumed 1280, which would have truncated 13.4% of rows, and under completion-only masking a truncated completion is a silently poisoned label. Measuring caught it.
Try it, and everything that backs it
Live side by side demo: https://huggingface.co/spaces/Jainamshahhh/cashsage-demo Enter your own input and watch the base model and CashSage-4B answer it under identical greedy decoding. The GPU backend scales to zero, so a cold first request takes about a minute.
Released on both platforms, with the scorer, every eval slice, the per row verdicts and
significance.py alongside, so every number on this page can be recomputed rather than
trusted.
Limitations
US personal finance conventions: IRS contribution limits, Social Security bend points, N-1A fund cost disclosure. Not tax preparation, not state-specific rules, not securities selection. This is not financial advice, and 5,000 rows exist specifically to teach the model to say so.
- Downloads last month
- 35