{"attempt":1,"datasets":{"ds_0007":{"description_shown":"| Variable Name | Description |\n| --- | --- |\n| (index) | Sequential row number from the CSV export; has no substantive meaning. |\n| fcode | Anonymous manufacturing establishment identifier. Stable across years within this file but masked to prevent reidentification or linkage to external sources. |\n| year | Calendar year of record (2009\u20132012). Reflects the period over which audits, orders, and operational performance were summarized. |\n| compyr | Annual indicator for whether the establishment was deemed compliant with the sourcing agent\u2019s code of conduct in that year (1 = compliant, 0 = not compliant). Compliance is determined from social and environmental audits; values may be missing in years without an audit. |\n| gradeyr | Audit grade for the year mapped to a numeric scale (A = 3, B = 2, C = 1, D = 0). Grades summarize findings from factory audits that assess labor, health and safety, environmental, and legal practices. May be blank in years without an audit. |\n| lestspend_dall | Natural log of the estimated total value of customer orders routed through the sourcing agent to the factory in that calendar year, expressed in thousands of constant 2012 USD. Underlying nominal values were originally reported in annual bins; midpoints were used and deflated to 2012 dollars before logging. |\n| inspyr | Share of quality inspections passed during the year (0\u20131), calculated from the agent\u2019s inspection records for orders it handled at the factory. Represents the fraction of checks that met specified quality criteria. |\n| ontimeyr | On-time delivery rate during the year (0\u20131), computed from order-tracking data for shipments coordinated by the agent, where \u201con time\u201d indicates delivery on or before the scheduled date. |\n| factoryobs_perf | Count of underlying observations used to compute the year\u2019s performance rates (e.g., number of inspections or orders contributing to inspyr and ontimeyr). Larger values imply more stable rate estimates. |\n| factorytt | Panel time index for convenience in longitudinal analyses (1 = 2009, 2 = 2010, 3 = 2011, 4 = 2012). |\n\nDataset Context:\nThis panel assembles administrative records from a multinational sourcing intermediary that connects buyers\u2014primarily retailers and brand owners in advanced economies\u2014with manufacturing suppliers across 36 countries. The intermediary maintains a supply-chain responsibility program with a written code of conduct covering labor conditions, environmental practices, health and safety, and compliance with local law. Factories are periodically audited by trained assessors, typically during one- to two-day site visits that review documents, conduct walkthroughs, and interview personnel. Audits produce letter grades (A\u2013D), with the intermediary treating A/B as meeting its standard and C/D as not meeting it. For each calendar year, the data retain a factory\u2019s grade and a binary indicator derived from these audits; some factories are visited multiple times in a year, while others may go a year without a recorded audit.\n\nThe same intermediary aggregates commercial activity by factory and year from its order-management systems. Because customers provided annual purchasing in value bands, the dataset converts those bands to midpoints, deflates them to constant 2012 U.S. dollars using import price indices for consumer goods, and applies a natural log transformation. Operational performance metrics\u2014on-time delivery and quality inspection pass rates\u2014are calculated from order- and shipment-level tracking for business transacted through the agent; these rates are only observed in years when the intermediary coordinated orders at the factory, and their precision varies with the number of underlying events.\n\nCoverage spans 2009\u20132012 and a mix of product categories with a substantial share of apparel. Factory identities and any corporate names were anonymized under a data access agreement. Users should note common features of this type of administrative data: audit results reflect conditions at the time of inspection rather than continuous monitoring; performance rates pertain to the subset of a factory\u2019s portfolio handled by the intermediary; and annual purchasing values are estimates derived from reported bins rather than exact ledgers. Despite these limits, the dataset offers rare, harmonized, multi-country visibility into auditing outcomes, order flows, and supplier performance within global manufacturing supply chains during the early 2010s.","file_sha256":"4bfe0955b959c2258c32c26060e79131a2397e9c8d2e7a2fb405e9d3d14ebb4e","frame_sha256":null,"role":"agent","transforms":[]},"ref_panel":{"description_shown":"","file_sha256":"4bfe0955b959c2258c32c26060e79131a2397e9c8d2e7a2fb405e9d3d14ebb4e","frame_sha256":null,"role":"reference","transforms":[{"args":{"columns":["fcode","year","compyr","lestspend_dall"]},"op":"select"},{"args":{"args":{"cmp":"gt","column":"compyr","value":0},"name":"compyr","op":"indicator"},"op":"derive"},{"args":{"args":{"column":"compyr","default":0,"keep_unmapped":false,"mapping":[{"source":1,"target":1}]},"name":"compyr","op":"map"},"op":"derive"},{"args":{"columns":["fcode","year","lestspend_dall"]},"op":"dropna"},{"args":{"query":"year in [2011, 2012]"},"op":"filter"},{"args":{"how":"left","on":["fcode"],"with":"ref_years"},"op":"merge"},{"args":{"how":"left","on":["fcode"],"with":"ref_wpre"},"op":"merge"},{"args":{"how":"left","on":["fcode"],"with":"ref_wpost"},"op":"merge"},{"args":{"query":"nyears == 2 and w2011 == 0 and (w2012 == 1 or w2012 == 0)"},"op":"filter"},{"args":{"args":{"cmp":"eq","column":"w2012","value":1},"name":"treat","op":"indicator"},"op":"derive"},{"args":{"args":{"cmp":"eq","column":"year","value":2012},"name":"post","op":"indicator"},"op":"derive"},{"args":{"args":{"columns":["treat","post"]},"name":"treat_post","op":"interaction"},"op":"derive"}]},"ref_wpost":{"description_shown":"","file_sha256":"4bfe0955b959c2258c32c26060e79131a2397e9c8d2e7a2fb405e9d3d14ebb4e","frame_sha256":null,"role":"reference","transforms":[{"args":{"columns":["fcode","year","compyr","lestspend_dall"]},"op":"select"},{"args":{"args":{"cmp":"gt","column":"compyr","value":0},"name":"compyr","op":"indicator"},"op":"derive"},{"args":{"args":{"column":"compyr","default":0,"keep_unmapped":false,"mapping":[{"source":1,"target":1}]},"name":"compyr","op":"map"},"op":"derive"},{"args":{"columns":["fcode","year","lestspend_dall"]},"op":"dropna"},{"args":{"query":"year == 2012"},"op":"filter"},{"args":{"aggs":[{"column":"compyr","fn":"mean","name":"w2012"}],"by":["fcode"]},"op":"collapse"}]},"ref_wpre":{"description_shown":"","file_sha256":"4bfe0955b959c2258c32c26060e79131a2397e9c8d2e7a2fb405e9d3d14ebb4e","frame_sha256":null,"role":"reference","transforms":[{"args":{"columns":["fcode","year","compyr","lestspend_dall"]},"op":"select"},{"args":{"args":{"cmp":"gt","column":"compyr","value":0},"name":"compyr","op":"indicator"},"op":"derive"},{"args":{"args":{"column":"compyr","default":0,"keep_unmapped":false,"mapping":[{"source":1,"target":1}]},"name":"compyr","op":"map"},"op":"derive"},{"args":{"columns":["fcode","year","lestspend_dall"]},"op":"dropna"},{"args":{"query":"year == 2011"},"op":"filter"},{"args":{"aggs":[{"column":"compyr","fn":"mean","name":"w2011"}],"by":["fcode"]},"op":"collapse"}]},"ref_years":{"description_shown":"","file_sha256":"4bfe0955b959c2258c32c26060e79131a2397e9c8d2e7a2fb405e9d3d14ebb4e","frame_sha256":null,"role":"reference","transforms":[{"args":{"columns":["fcode","year","compyr","lestspend_dall"]},"op":"select"},{"args":{"args":{"cmp":"gt","column":"compyr","value":0},"name":"compyr","op":"indicator"},"op":"derive"},{"args":{"args":{"column":"compyr","default":0,"keep_unmapped":false,"mapping":[{"source":1,"target":1}]},"name":"compyr","op":"map"},"op":"derive"},{"args":{"columns":["fcode","year","lestspend_dall"]},"op":"dropna"},{"args":{"query":"year in [2011, 2012]"},"op":"filter"},{"args":{"aggs":[{"column":"lestspend_dall","fn":"count","name":"n"}],"by":["fcode","year"]},"op":"collapse"},{"args":{"aggs":[{"column":"n","fn":"count","name":"nyears"}],"by":["fcode"]},"op":"collapse"}]}},"epoch":1,"event":"sample_init","question":"From 2011 to 2012, how did factories that became compliant (per the sourcing agent's annual compliance indicator) change in logged annual order value (natural log of estimated annual order value in constant 2012 USD) relative to factories that remained noncompliant over the same period?","question_sha256":"cc6a33ac94722ca8457d09e76b59c18490a5fd6225a35d2cf4d3d81219d5af48","run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":0,"skills":[],"task_id":"crb_papers.q012","task_sha256":"72f19df8aa5095740fd8ca8889678272cbde58e23b2f3210532eaadc50388174","timestamp":"2026-10-15T17:09:26.631393Z"}
{"attempt":1,"call_id":"call_a6277a77","dataset_id":"ref_years","epoch":1,"event":"transform","frame_sha256_after":"e5fc57125cbabd67e6961ea74cafc5f6df3fd01133c584f35521653787341704","frame_sha256_before":"74ebc14fdf1f0e1af51fdb642ef7e15cd28221b5a17ebf5b7310bdefa5345a25","index":0,"rows_after":8281,"rows_before":8281,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":1,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.631393Z","transform":{"args":{"columns":["fcode","year","compyr","lestspend_dall"]},"op":"select"}}
{"attempt":1,"call_id":"call_8d0cad31","dataset_id":"ref_years","epoch":1,"event":"transform","frame_sha256_after":"e5fc57125cbabd67e6961ea74cafc5f6df3fd01133c584f35521653787341704","frame_sha256_before":"e5fc57125cbabd67e6961ea74cafc5f6df3fd01133c584f35521653787341704","index":1,"rows_after":8281,"rows_before":8281,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":2,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.634356Z","transform":{"args":{"args":{"cmp":"gt","column":"compyr","value":0},"name":"compyr","op":"indicator"},"op":"derive"}}
{"attempt":1,"call_id":"call_e63ed35c","dataset_id":"ref_years","epoch":1,"event":"transform","frame_sha256_after":"9efdfc044baf3ebbfa7fa7048ed97a666aa6df48252851976ae730a928150da0","frame_sha256_before":"e5fc57125cbabd67e6961ea74cafc5f6df3fd01133c584f35521653787341704","index":2,"rows_after":8281,"rows_before":8281,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":3,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.636534Z","transform":{"args":{"args":{"column":"compyr","default":0,"keep_unmapped":false,"mapping":[{"source":1,"target":1}]},"name":"compyr","op":"map"},"op":"derive"}}
{"attempt":1,"call_id":"call_5b109577","dataset_id":"ref_years","epoch":1,"event":"transform","frame_sha256_after":"abf76d151b711eabf0784442f0642a582284fdbb6cb11d8ac3606a907dad106e","frame_sha256_before":"9efdfc044baf3ebbfa7fa7048ed97a666aa6df48252851976ae730a928150da0","index":3,"rows_after":7137,"rows_before":8281,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":4,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.638500Z","transform":{"args":{"columns":["fcode","year","lestspend_dall"]},"op":"dropna"}}
{"attempt":1,"call_id":"call_afc2659f","dataset_id":"ref_years","epoch":1,"event":"transform","frame_sha256_after":"888c61005d4b6f9faaa1ca011ef39c1422fbec732030504fc80acf52ee741bea","frame_sha256_before":"abf76d151b711eabf0784442f0642a582284fdbb6cb11d8ac3606a907dad106e","index":4,"rows_after":3875,"rows_before":7137,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":5,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.655097Z","transform":{"args":{"query":"year in [2011, 2012]"},"op":"filter"}}
{"attempt":1,"call_id":"call_36591791","dataset_id":"ref_years","epoch":1,"event":"transform","frame_sha256_after":"dbad78b6315ea640e96255e54306cf0c37836de6f45a7298175ccad6fccc8e1d","frame_sha256_before":"888c61005d4b6f9faaa1ca011ef39c1422fbec732030504fc80acf52ee741bea","index":5,"rows_after":3875,"rows_before":3875,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":6,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.656371Z","transform":{"args":{"aggs":[{"column":"lestspend_dall","fn":"count","name":"n"}],"by":["fcode","year"]},"op":"collapse"}}
{"attempt":1,"call_id":"call_7985db7f","dataset_id":"ref_years","epoch":1,"event":"transform","frame_sha256_after":"c58d3179c6da61b2cdf8f4530481aafaa5d95dcda6be2551674afe9d99ba5770","frame_sha256_before":"dbad78b6315ea640e96255e54306cf0c37836de6f45a7298175ccad6fccc8e1d","index":6,"rows_after":2245,"rows_before":3875,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":7,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.660298Z","transform":{"args":{"aggs":[{"column":"n","fn":"count","name":"nyears"}],"by":["fcode"]},"op":"collapse"}}
{"attempt":1,"call_id":"call_4cc17bd7","dataset_id":"ref_wpre","epoch":1,"event":"transform","frame_sha256_after":"e5fc57125cbabd67e6961ea74cafc5f6df3fd01133c584f35521653787341704","frame_sha256_before":"74ebc14fdf1f0e1af51fdb642ef7e15cd28221b5a17ebf5b7310bdefa5345a25","index":0,"rows_after":8281,"rows_before":8281,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":8,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.667798Z","transform":{"args":{"columns":["fcode","year","compyr","lestspend_dall"]},"op":"select"}}
{"attempt":1,"call_id":"call_3272876a","dataset_id":"ref_wpre","epoch":1,"event":"transform","frame_sha256_after":"e5fc57125cbabd67e6961ea74cafc5f6df3fd01133c584f35521653787341704","frame_sha256_before":"e5fc57125cbabd67e6961ea74cafc5f6df3fd01133c584f35521653787341704","index":1,"rows_after":8281,"rows_before":8281,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":9,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.670571Z","transform":{"args":{"args":{"cmp":"gt","column":"compyr","value":0},"name":"compyr","op":"indicator"},"op":"derive"}}
{"attempt":1,"call_id":"call_b6357fa2","dataset_id":"ref_wpre","epoch":1,"event":"transform","frame_sha256_after":"9efdfc044baf3ebbfa7fa7048ed97a666aa6df48252851976ae730a928150da0","frame_sha256_before":"e5fc57125cbabd67e6961ea74cafc5f6df3fd01133c584f35521653787341704","index":2,"rows_after":8281,"rows_before":8281,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":10,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.673195Z","transform":{"args":{"args":{"column":"compyr","default":0,"keep_unmapped":false,"mapping":[{"source":1,"target":1}]},"name":"compyr","op":"map"},"op":"derive"}}
{"attempt":1,"call_id":"call_2bca4a9f","dataset_id":"ref_wpre","epoch":1,"event":"transform","frame_sha256_after":"abf76d151b711eabf0784442f0642a582284fdbb6cb11d8ac3606a907dad106e","frame_sha256_before":"9efdfc044baf3ebbfa7fa7048ed97a666aa6df48252851976ae730a928150da0","index":3,"rows_after":7137,"rows_before":8281,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":11,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.677179Z","transform":{"args":{"columns":["fcode","year","lestspend_dall"]},"op":"dropna"}}
{"attempt":1,"call_id":"call_4c40ef7c","dataset_id":"ref_wpre","epoch":1,"event":"transform","frame_sha256_after":"5c4aecc4392ecfa3702d6202030efbcc87adb23bd658cb203e8c137d0fa2ab1b","frame_sha256_before":"abf76d151b711eabf0784442f0642a582284fdbb6cb11d8ac3606a907dad106e","index":4,"rows_after":2119,"rows_before":7137,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":12,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.680411Z","transform":{"args":{"query":"year == 2011"},"op":"filter"}}
{"attempt":1,"call_id":"call_5a8f4c1e","dataset_id":"ref_wpre","epoch":1,"event":"transform","frame_sha256_after":"24c2cd4021f2fd7dba37b11f71f1a838e398ef258ae00202cf4e97db5c508908","frame_sha256_before":"5c4aecc4392ecfa3702d6202030efbcc87adb23bd658cb203e8c137d0fa2ab1b","index":5,"rows_after":2119,"rows_before":2119,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":13,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.681712Z","transform":{"args":{"aggs":[{"column":"compyr","fn":"mean","name":"w2011"}],"by":["fcode"]},"op":"collapse"}}
{"attempt":1,"call_id":"call_86301700","dataset_id":"ref_wpost","epoch":1,"event":"transform","frame_sha256_after":"e5fc57125cbabd67e6961ea74cafc5f6df3fd01133c584f35521653787341704","frame_sha256_before":"74ebc14fdf1f0e1af51fdb642ef7e15cd28221b5a17ebf5b7310bdefa5345a25","index":0,"rows_after":8281,"rows_before":8281,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":14,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.687740Z","transform":{"args":{"columns":["fcode","year","compyr","lestspend_dall"]},"op":"select"}}
{"attempt":1,"call_id":"call_b076d8eb","dataset_id":"ref_wpost","epoch":1,"event":"transform","frame_sha256_after":"e5fc57125cbabd67e6961ea74cafc5f6df3fd01133c584f35521653787341704","frame_sha256_before":"e5fc57125cbabd67e6961ea74cafc5f6df3fd01133c584f35521653787341704","index":1,"rows_after":8281,"rows_before":8281,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":15,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.690736Z","transform":{"args":{"args":{"cmp":"gt","column":"compyr","value":0},"name":"compyr","op":"indicator"},"op":"derive"}}
{"attempt":1,"call_id":"call_7de096b7","dataset_id":"ref_wpost","epoch":1,"event":"transform","frame_sha256_after":"9efdfc044baf3ebbfa7fa7048ed97a666aa6df48252851976ae730a928150da0","frame_sha256_before":"e5fc57125cbabd67e6961ea74cafc5f6df3fd01133c584f35521653787341704","index":2,"rows_after":8281,"rows_before":8281,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":16,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.694498Z","transform":{"args":{"args":{"column":"compyr","default":0,"keep_unmapped":false,"mapping":[{"source":1,"target":1}]},"name":"compyr","op":"map"},"op":"derive"}}
{"attempt":1,"call_id":"call_e3042687","dataset_id":"ref_wpost","epoch":1,"event":"transform","frame_sha256_after":"abf76d151b711eabf0784442f0642a582284fdbb6cb11d8ac3606a907dad106e","frame_sha256_before":"9efdfc044baf3ebbfa7fa7048ed97a666aa6df48252851976ae730a928150da0","index":3,"rows_after":7137,"rows_before":8281,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":17,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.698905Z","transform":{"args":{"columns":["fcode","year","lestspend_dall"]},"op":"dropna"}}
{"attempt":1,"call_id":"call_e4deb96f","dataset_id":"ref_wpost","epoch":1,"event":"transform","frame_sha256_after":"33e54e33cf582640a6cf8a70dd4f68f67d354f6e4bcef45df1e0976a9c9e977d","frame_sha256_before":"abf76d151b711eabf0784442f0642a582284fdbb6cb11d8ac3606a907dad106e","index":4,"rows_after":1756,"rows_before":7137,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":18,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.700832Z","transform":{"args":{"query":"year == 2012"},"op":"filter"}}
{"attempt":1,"call_id":"call_922b5c69","dataset_id":"ref_wpost","epoch":1,"event":"transform","frame_sha256_after":"7a6b47359e19fefb7ae6e96f6e730ea99b614e5cf4b6957abbe5f54962da0038","frame_sha256_before":"33e54e33cf582640a6cf8a70dd4f68f67d354f6e4bcef45df1e0976a9c9e977d","index":5,"rows_after":1756,"rows_before":1756,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":19,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.703073Z","transform":{"args":{"aggs":[{"column":"compyr","fn":"mean","name":"w2012"}],"by":["fcode"]},"op":"collapse"}}
{"attempt":1,"call_id":"call_553963b3","dataset_id":"ref_panel","epoch":1,"event":"transform","frame_sha256_after":"e5fc57125cbabd67e6961ea74cafc5f6df3fd01133c584f35521653787341704","frame_sha256_before":"74ebc14fdf1f0e1af51fdb642ef7e15cd28221b5a17ebf5b7310bdefa5345a25","index":0,"rows_after":8281,"rows_before":8281,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":20,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.710714Z","transform":{"args":{"columns":["fcode","year","compyr","lestspend_dall"]},"op":"select"}}
{"attempt":1,"call_id":"call_d1deaf7d","dataset_id":"ref_panel","epoch":1,"event":"transform","frame_sha256_after":"e5fc57125cbabd67e6961ea74cafc5f6df3fd01133c584f35521653787341704","frame_sha256_before":"e5fc57125cbabd67e6961ea74cafc5f6df3fd01133c584f35521653787341704","index":1,"rows_after":8281,"rows_before":8281,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":21,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.715125Z","transform":{"args":{"args":{"cmp":"gt","column":"compyr","value":0},"name":"compyr","op":"indicator"},"op":"derive"}}
{"attempt":1,"call_id":"call_dce70a2b","dataset_id":"ref_panel","epoch":1,"event":"transform","frame_sha256_after":"9efdfc044baf3ebbfa7fa7048ed97a666aa6df48252851976ae730a928150da0","frame_sha256_before":"e5fc57125cbabd67e6961ea74cafc5f6df3fd01133c584f35521653787341704","index":2,"rows_after":8281,"rows_before":8281,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":22,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.719234Z","transform":{"args":{"args":{"column":"compyr","default":0,"keep_unmapped":false,"mapping":[{"source":1,"target":1}]},"name":"compyr","op":"map"},"op":"derive"}}
{"attempt":1,"call_id":"call_cddbc8d2","dataset_id":"ref_panel","epoch":1,"event":"transform","frame_sha256_after":"abf76d151b711eabf0784442f0642a582284fdbb6cb11d8ac3606a907dad106e","frame_sha256_before":"9efdfc044baf3ebbfa7fa7048ed97a666aa6df48252851976ae730a928150da0","index":3,"rows_after":7137,"rows_before":8281,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":23,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.724566Z","transform":{"args":{"columns":["fcode","year","lestspend_dall"]},"op":"dropna"}}
{"attempt":1,"call_id":"call_7d829fe4","dataset_id":"ref_panel","epoch":1,"event":"transform","frame_sha256_after":"888c61005d4b6f9faaa1ca011ef39c1422fbec732030504fc80acf52ee741bea","frame_sha256_before":"abf76d151b711eabf0784442f0642a582284fdbb6cb11d8ac3606a907dad106e","index":4,"rows_after":3875,"rows_before":7137,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":24,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.726546Z","transform":{"args":{"query":"year in [2011, 2012]"},"op":"filter"}}
{"attempt":1,"call_id":"call_93c6c31f","dataset_id":"ref_panel","epoch":1,"event":"transform","frame_sha256_after":"4fd84346b5301a868f491b6f969bcee38ef644d97bb1ecf51159b34e15119bad","frame_sha256_before":"888c61005d4b6f9faaa1ca011ef39c1422fbec732030504fc80acf52ee741bea","index":5,"rows_after":3875,"rows_before":3875,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":25,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.730994Z","transform":{"args":{"how":"left","on":["fcode"],"with":"ref_years"},"op":"merge"}}
{"attempt":1,"call_id":"call_5931515f","dataset_id":"ref_panel","epoch":1,"event":"transform","frame_sha256_after":"57eea2af67e919978a9465c34de9a11965c6c03f14da602cb5524a7f9cace6d9","frame_sha256_before":"4fd84346b5301a868f491b6f969bcee38ef644d97bb1ecf51159b34e15119bad","index":6,"rows_after":3875,"rows_before":3875,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":26,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.733599Z","transform":{"args":{"how":"left","on":["fcode"],"with":"ref_wpre"},"op":"merge"}}
{"attempt":1,"call_id":"call_c76fea8b","dataset_id":"ref_panel","epoch":1,"event":"transform","frame_sha256_after":"e42afb7aac0b3d4b91d96e772efa3d592f5bc988fb8fbffa39dfc2af7046ac1c","frame_sha256_before":"57eea2af67e919978a9465c34de9a11965c6c03f14da602cb5524a7f9cace6d9","index":7,"rows_after":3875,"rows_before":3875,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":27,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.736565Z","transform":{"args":{"how":"left","on":["fcode"],"with":"ref_wpost"},"op":"merge"}}
{"attempt":1,"call_id":"call_b23e33e2","dataset_id":"ref_panel","epoch":1,"event":"transform","frame_sha256_after":"515c5436d7f32bd7285d974fc8b4ed13deb94eec73aa06a906718717de79a991","frame_sha256_before":"e42afb7aac0b3d4b91d96e772efa3d592f5bc988fb8fbffa39dfc2af7046ac1c","index":8,"rows_after":2436,"rows_before":3875,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":28,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.739861Z","transform":{"args":{"query":"nyears == 2 and w2011 == 0 and (w2012 == 1 or w2012 == 0)"},"op":"filter"}}
{"attempt":1,"call_id":"call_8de3e704","dataset_id":"ref_panel","epoch":1,"event":"transform","frame_sha256_after":"bcdd85f4377b341d3acf2b4c7381f5e7d24ac41a65e02391e1daac140d7ef8f3","frame_sha256_before":"515c5436d7f32bd7285d974fc8b4ed13deb94eec73aa06a906718717de79a991","index":9,"rows_after":2436,"rows_before":2436,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":29,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.743283Z","transform":{"args":{"args":{"cmp":"eq","column":"w2012","value":1},"name":"treat","op":"indicator"},"op":"derive"}}
{"attempt":1,"call_id":"call_16516a87","dataset_id":"ref_panel","epoch":1,"event":"transform","frame_sha256_after":"78253a72f39241a4002c6f299420bcab7d03c737cb7783797fabb2cfba01c1c3","frame_sha256_before":"bcdd85f4377b341d3acf2b4c7381f5e7d24ac41a65e02391e1daac140d7ef8f3","index":10,"rows_after":2436,"rows_before":2436,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":30,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.745727Z","transform":{"args":{"args":{"cmp":"eq","column":"year","value":2012},"name":"post","op":"indicator"},"op":"derive"}}
{"attempt":1,"call_id":"call_6ffad86b","dataset_id":"ref_panel","epoch":1,"event":"transform","frame_sha256_after":"def0a7b276a0f72b8bf91eb522179c4044e8b030216b86de4ec9de2e3961570b","frame_sha256_before":"78253a72f39241a4002c6f299420bcab7d03c737cb7783797fabb2cfba01c1c3","index":11,"rows_after":2436,"rows_before":2436,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":31,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.750777Z","transform":{"args":{"args":{"columns":["treat","post"]},"name":"treat_post","op":"interaction"},"op":"derive"}}
{"attempt":1,"attempts":[],"call_id":"call_da8622a4","epoch":1,"event":"model","finish_reason":"tool_use","latency_ms":0.0,"model_reported":"reference","model_requested":"reference","provider":"scripted","request":{"config":{},"contents_refs":[],"messages_refs":["bfe766834ac7c2721920e6b23642cc9d6eff2461ab9fe00f35a23b94f13b1d8e"],"system_stable_ref":"433a6877aa6a378bbd4b7e2752e484d8cb7499c562d68222be231f62ff2fa420","system_task_ref":"87960505b2a3c0b8ff2a47f85cbeae759fdd30366d0a35162ebb27c41c481a55","tools_ref":"52ab03d8ec104abb85572294bf8a469d75c5de9e74d6042caabff8017adc572b"},"response":{"text":"smf.ols('lestspend_dall ~ treat*post'), cluster by fcode","thoughts":null,"tool_calls":[{"args":{"cluster":"fcode","controls":["treat","post"],"dataset":"ref_panel","x":["treat_post"],"y":"lestspend_dall"},"llm_name":"infer__ols","tool_id":"infer.ols","vendor_id":"script_1"}]},"response_id":null,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":32,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.771961Z","usage":{"cached":0,"input":0,"output":0,"thoughts":0},"vendor":false}
{"arguments":{"cluster":"fcode","controls":["treat","post"],"dataset":"ref_panel","fe":[],"intercept":true,"level":0.95,"se":"HC1","subset":null,"weights":null,"x":["treat_post"],"y":"lestspend_dall"},"attempt":1,"cached":false,"call_id":"call_c28f0576","card_version":"0.1.0","code_version":"2925aeab2262","dataset_digests":{"ref_panel":"def0a7b276a0f72b8bf91eb522179c4044e8b030216b86de4ec9de2e3961570b"},"decided_by":"model","duration_ms":5.177415907382965,"epoch":1,"error":null,"event":"tool","informed_by":[],"input_digest":"9b4ce5ca11e76ae5524a2c391af84f6ec79d1bcd503e6cfeac70f3eb9b17dd90","llm_name":"infer__ols","output_digest":"a1c5d1e5f8fb176b75506cb1f527b15507bdfa3e615c4f95a7ba13793f3d0127","rationale":"smf.ols('lestspend_dall ~ treat*post'), cluster by fcode","replay_class":"replayed","result":{"assumptions":["the conditional mean of the outcome is linear in the regressors","errors are independent across clusters of 'fcode' and may be correlated within them"],"call_id":"call_c28f0576","datasets":{},"diagnostics":[{"flag":false,"name":"n_obs","note":"observations used","value":2436},{"flag":false,"name":"k","note":"parameters estimated, fixed-effect dummies included","value":4},{"flag":false,"name":"r2","note":"","value":0.00856233808221385},{"flag":false,"name":"df_resid","note":"","value":2432},{"flag":false,"name":"se_type","note":"cluster-robust standard errors (CR1) by 'fcode'","value":"cluster"},{"flag":false,"name":"n_clusters","note":"1218 clusters of 'fcode'","value":1218}],"figures":[{"ci_high":0.5834314226894514,"ci_level":0.95,"ci_low":0.08935200070362051,"derivation":{"note_pt":"","steps":[{"formula":"","result":0.3363917116965359,"terms":[{"note":"","symbol":"n","unit":"observa\u00e7\u00f5es","value":2436.0},{"note":"","symbol":"k","unit":"par\u00e2metros","value":4.0}],"text_pt":"Coeficiente de treat_post na regress\u00e3o por m\u00ednimos quadrados ordin\u00e1rios de lestspend_dall.","unit":""},{"formula":"ep = \u221aV_jj","result":0.12591763131474598,"terms":[{"note":"diagonal da matriz de covari\u00e2ncia","symbol":"V_jj","unit":"","value":0.015855249875916296}],"text_pt":"Erro-padr\u00e3o robusto por conglomerado (CR1): a raiz da vari\u00e2ncia estimada do coeficiente.","unit":""},{"formula":"IC = \u03b2 \u00b1 c \u00b7 ep","result":null,"terms":[{"note":"","symbol":"\u03b2","unit":"","value":0.3363917116965359},{"note":"quantil 0.975","symbol":"c","unit":"","value":1.9619151695715311},{"note":"","symbol":"ep","unit":"","value":0.12591763131474598}],"text_pt":"Intervalo de 95% de confian\u00e7a: a estimativa mais ou menos o valor cr\u00edtico da distribui\u00e7\u00e3o t de Student com 1217 graus de liberdade vezes o erro-padr\u00e3o.","unit":""}]},"key":"coef.treat_post","label":"Coefficient on treat_post in the regression of lestspend_dall","se":0.12591763131474598,"unit":"","value":0.3363917116965359}],"notes":"","reason":"","status":"ok","tables":{"coefficients":[{"ci_high":6.696414017247825,"ci_low":6.444342820676901,"coef":6.570378418962363,"p":0.0,"se":0.06424110493675794,"t":102.2768588029512,"term":"Intercept"},{"ci_high":0.5834314226894514,"ci_low":0.08935200070362051,"coef":0.3363917116965359,"p":0.00765157573059826,"se":0.12591763131474598,"t":2.6715219162254185,"term":"treat_post"},{"ci_high":0.5819821316711885,"ci_low":-0.014659599600032602,"coef":0.28366126603557795,"p":0.06235098632277709,"se":0.152055945263302,"t":1.8655059198401387,"term":"treat"},{"ci_high":-0.0863543934511987,"ci_low":-0.31156228737283936,"coef":-0.19895834041201904,"p":0.000545699322724241,"se":0.05739491121087171,"t":-3.4664804982629276,"term":"post"}]},"tool":"infer.ols","version":"0.1.0","warnings":[]},"result_for_model_ref":"64eadce4552a4d2cc18b87ba634a615f6e5913979afa1732e412afde8c01e821","result_sha256":"a3c62a2cbd0b81e89a50865791b497e7a0f4a663c70ac6c2824a1285b5a7068c","run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":33,"synthetic":false,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.774533Z","tool_id":"infer.ols","turn_id":"call_da8622a4"}
{"attempt":1,"attempts":[],"call_id":"call_2e212edd","epoch":1,"event":"model","finish_reason":"tool_use","latency_ms":0.0,"model_reported":"reference","model_requested":"reference","provider":"scripted","request":{"config":{},"contents_refs":[],"messages_refs":["bfe766834ac7c2721920e6b23642cc9d6eff2461ab9fe00f35a23b94f13b1d8e","3337020c95b1f4acafbb28df155462307c93a85dc2cf22a4f680fc6ed259be0d","b08f232bb8e2a49bc1bbae3eb253874fa9adfed8b5df6879f69b7c05643d4665"],"system_stable_ref":"433a6877aa6a378bbd4b7e2752e484d8cb7499c562d68222be231f62ff2fa420","system_task_ref":"87960505b2a3c0b8ff2a47f85cbeae759fdd30366d0a35162ebb27c41c481a55","tools_ref":"52ab03d8ec104abb85572294bf8a469d75c5de9e74d6042caabff8017adc572b"},"response":{"text":"","thoughts":null,"tool_calls":[{"args":{"answer":"Estimativa (infer.ols): coef.treat_post = 0,3364. Reference path transcribed from the item's own estimation script.","caveats":[],"figure_refs":["call_c28f0576:coef.treat_post"]},"llm_name":"submit_answer","tool_id":null,"vendor_id":"script_2"}]},"response_id":null,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":34,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.779879Z","usage":{"cached":0,"input":0,"output":0,"thoughts":0},"vendor":false}
{"attempt":1,"call_id":"call_a05ed5c7","epoch":1,"event":"guard","numbers_found":["0,3364"],"retries_left":1,"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":35,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.781665Z","turn_id":"call_2e212edd","unbacked":[],"uncited":[],"verdict":"accepted"}
{"answer":"Estimativa (infer.ols): coef.treat_post = 0,3364. Reference path transcribed from the item's own estimation script.","answer_figure":{"call_id":"call_c28f0576","ci_high":0.5834314226894514,"ci_low":0.08935200070362051,"formatted":0.3363917116965359,"key":"coef.treat_post","ref":"call_c28f0576:coef.treat_post","se":0.12591763131474598,"tool_id":"infer.ols","unit":"","value":0.3363917116965359},"attempt":1,"caveats":[],"epoch":1,"event":"answer","figure_refs":["call_c28f0576:coef.treat_post"],"run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":36,"stopped":"answered","task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.781857Z"}
{"attempt":1,"check":{"check_index":0,"detail":"every number backed","expected":null,"failure_class":null,"kind":"answer_backed","observed":[],"passed":true,"required":true,"source_id":null,"tolerance":null,"trace_call_id":null,"weight":1.0},"epoch":1,"event":"score","run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":37,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.781857Z"}
{"attempt":1,"check":{"check_index":1,"detail":"0.3363917117 in [0.08959315432, 0.5831902691]?","expected":[0.08959315431963688,0.5831902690734394],"failure_class":null,"kind":"answer_figure_close","observed":0.3363917116965359,"passed":true,"required":true,"source_id":null,"tolerance":{"abs_tol":null,"interval":[0.08959315431963688,0.5831902690734394],"min_lre":null,"open_interval":false,"rel_tol":null,"rule":"interval"},"trace_call_id":"call_c28f0576","weight":1.0},"epoch":1,"event":"score","run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":38,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.781857Z"}
{"attempt":1,"check":{"check_index":2,"detail":"0.3363917117 vs 0.33639171169653814","expected":0.33639171169653814,"failure_class":null,"kind":"answer_figure_close","observed":0.3363917116965359,"passed":true,"required":false,"source_id":"crb_papers.q012.gold","tolerance":{"abs_tol":1.2591763131474552e-07,"interval":null,"min_lre":null,"open_interval":false,"rel_tol":1e-06,"rule":null},"trace_call_id":"call_c28f0576","weight":1.0},"epoch":1,"event":"score","run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":39,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.781857Z"}
{"attempt":1,"check":{"check_index":3,"detail":"0.1259176313 vs 0.12591763131474554","expected":0.12591763131474554,"failure_class":null,"kind":"answer_figure_close","observed":0.12591763131474598,"passed":true,"required":false,"source_id":"crb_papers.q012.gold","tolerance":{"abs_tol":1.2591763131474552e-07,"interval":null,"min_lre":null,"open_interval":false,"rel_tol":1e-06,"rule":null},"trace_call_id":"call_c28f0576","weight":1.0},"epoch":1,"event":"score","run_id":"20261015T170925Z-suite-crb_papers-scripted-2dbcf5","seq":40,"task_id":"crb_papers.q012","timestamp":"2026-10-15T17:09:26.781857Z"}
