| { |
| "task_id": "consumerfinance_005", |
| "domain": "CFPB_COMPLAINT_DATABASE", |
| "autonomy_type": "ordered table", |
| "oracle_output_cardinality": 2, |
| "instruction": "I am preparing an internal outreach memo on historical complaint clusters and need to track a specific set of complaints: from the CFPB Complaint Database, within the current product bucket covering credit reporting and other personal consumer reports, between 2018-01-01 and 2021-12-31, tagged as Servicemember, with a public narrative, and where the text explicitly mentions medical bills or doctors. Please provide two representative complaint clusters: the first is the peak month of this cohort; the second is the latest month in this cohort whose complaint count is still at least half of the peak. For each cluster, report the total complaints for that month, the state with the highest complaint count and its count, the company with the highest complaint count within that state and month and its count, and the earliest complaint received by that company in that state and month, including its ID, date, Issue, and Sub-issue. Output a single line with Peak first, then LatestHalfPeak, using the format: <Cluster>|<Month>|<MonthComplaints>|<TopState>|<StateComplaints>|<TopCompany>|<CompanyComplaints>|<EarliestComplaintID>|<EarliestDate>|<Issue>|<SubIssue>.", |
| "start_url": "https://www.consumerfinance.gov/data-research/consumer-complaints/", |
| "output_format": "Output a single line with Peak first, then LatestHalfPeak, using the format: <Cluster>|<Month>|<MonthComplaints>|<TopState>|<StateComplaints>|<TopCompany>|<CompanyComplaints>|<EarliestComplaintID>|<EarliestDate>|<Issue>|<SubIssue>. Join the Peak and LatestHalfPeak clusters with a comma. For ties: months are ordered chronologically; states are ordered alphabetically by state abbreviation; companies are ordered alphabetically by company name; for the earliest complaint, use the earliest date, then the smallest Complaint ID if dates are identical.", |
| "oracle_answer": "Peak|2018-02|46|CA|28|TRANSUNION INTERMEDIATE HOLDINGS, INC.|9|2806154|2018-02-07|Improper use of your report|Reporting company used your report improperly,LatestHalfPeak|2021-11|23|CA|12|EQUIFAX, INC.|3|4928768|2021-11-19|Problem with a credit reporting company's investigation into an existing problem|Their investigation did not fix an error on your report", |
| "metadata": { |
| "State-Gated Retrieval": [ |
| "Only consider complaints within the current product bucket covering credit reporting and other personal consumer reports, from 2018-01-01 to 2021-12-31, tagged as Servicemember, with a public narrative, and where the text explicitly mentions medical bills or doctors.", |
| "The first cluster must be the peak month of the cohort; the second cluster must be the latest month in the cohort whose complaint count is still at least half of the peak.", |
| "For each cluster, recompute the top company within the corresponding month + state subset, then locate the earliest complaint received by that company in that state and month." |
| ], |
| "dependency_type": "Data + Control", |
| "intra_chain": true, |
| "inter_chain": true, |
| "data_dependency": [ |
| "current complaint-form taxonomy yields the product bucket that contains credit reporting / other personal consumer reports", |
| "filtered complaint records yield month counts, month-state subsets, top companies, and earliest complaint details inside each chosen subset", |
| "final rows are produced only after peak month and latest-half-peak month are determined, and each downstream aggregate is computed inside its narrower month-state cohort" |
| ], |
| "control_dependency": [ |
| "the latest month must be defined as the latest month whose count is at least ceil(PeakCount / 2)", |
| "overall top-company counts cannot be projected into a month-state subset without recomputation", |
| "earliest complaint selection is only valid after the month, state, and company filters are all frozen" |
| ], |
| "freeze": { |
| "historical_window": "Complaint Database records received from 2018-01-01 through 2021-12-31 under the current product-bucket mapping for the credit-reporting / other personal consumer reports family; Servicemember + public narrative + medical bills/doctors text cohort" |
| }, |
| "answer_type": "multi-row ordered table" |
| }, |
| "rubric": { |
| "inclusion_conditions": [ |
| "Only consider complaints within the current product bucket covering credit reporting and other personal consumer reports, from 2018-01-01 to 2021-12-31, tagged as Servicemember, with a public narrative, and where the text explicitly mentions medical bills or doctors.", |
| "The first cluster must be the peak month of the cohort; the second cluster must be the latest month in the cohort whose complaint count is still at least half of the peak.", |
| "For each cluster, recompute the top company within the corresponding month + state subset, then locate the earliest complaint received by that company in that state and month." |
| ], |
| "exclusion_conditions": [ |
| "Exclude results that directly use the latest month with any complaints as the second cluster.", |
| "Exclude results that first find the overall top company across the full cohort and then project it onto the month-state subset.", |
| "Exclude results that do not first derive the half-peak threshold from PeakCount." |
| ], |
| "normalization": { |
| "field_separator": "|", |
| "record_separator": ",", |
| "schema": [ |
| "Cluster", |
| "Month", |
| "MonthComplaints", |
| "TopState", |
| "StateComplaints", |
| "TopCompany", |
| "CompanyComplaints", |
| "EarliestComplaintID", |
| "EarliestDate", |
| "Issue", |
| "SubIssue" |
| ], |
| "cluster_order": [ |
| "Peak", |
| "LatestHalfPeak" |
| ], |
| "date_format": { |
| "Month": "YYYY-MM", |
| "EarliestDate": "YYYY-MM-DD" |
| }, |
| "TopState": "use the uppercase two-letter state abbreviation", |
| "TopCompany": "use the company display name as shown in the source data", |
| "tie_breaks": "for tied months use chronological order; for tied states use state-code alphabetical order; for tied companies use company-name alphabetical order; for the earliest complaint use EarliestDate ascending then Complaint ID ascending", |
| "SubIssue": "emit `NONE` when the complaint row has no sub-issue value" |
| } |
| } |
| } |
|
|