{"call_id":"call_22742723","run_id":"20261015T171300Z-suite-closed_form-scripted-9fb914/closed_form.combine.gini_percent_change/e1a1","step":"analysis","kind":"tool","name":"core.gini","version":"0.1.0","code_version":"2925aeab2262","inputs":{"dataset":"wide","income":"income","weights":"weight"},"input_digest":"c9df7bcbadb3fe348fe8e5b4ff85a951207375e0b81cac318509d58a70fcd99e","dataset_digests":{"wide":"0b2841ae6b92184558da8830fb65cdd249ddd11241143a3ae053203efd9df368"},"result":{"tool":"core.gini","version":"0.1.0","call_id":"call_22742723","status":"ok","reason":"","figures":[{"key":"gini","value":0.5204998508766829,"unit":"index","label":"Gini coefficient of income (weighted by weight)","se":null,"ci_low":null,"ci_high":null,"ci_level":null,"derivation":{"steps":[{"text_pt":"Ordenam-se as pessoas pela renda e acumulam-se, com os pesos, a população (p) e a renda (L): a curva de Lorenz. A área sob ela é a soma dos trapézios entre pontos consecutivos.","formula":"A = Σ_i (p_i − p_{i−1})·(L_i + L_{i−1}) / 2","terms":[],"result":0.2397500745616585,"unit":"índice"},{"text_pt":"O Gini é um menos duas vezes a área sob a curva de Lorenz.","formula":"G = 1 − 2 × A","terms":[],"result":0.5204998508766829,"unit":"índice"}],"note_pt":""}}],"diagnostics":[{"name":"n_obs","value":20000,"flag":false,"note":"rows used"},{"name":"weighted_population","value":1.0,"flag":false,"note":"Σw: the population the rows stand for"},{"name":"weights_used","value":true,"flag":false,"note":"weighted by 'weight'"}],"tables":{},"datasets":{},"warnings":[],"assumptions":[],"notes":""},"outputs":null,"output_digest":"b9ac6d8b0a275851430f59cfdf0f06d2d5ba04999f18118ddb5faec3f5ca187b","params_versions":[],"sources":[],"started_at":"2026-10-15T17:13:00.675382Z","duration_ms":0.5827499553561211,"error":null,"decided_by":"code","rationale":"","cached":false,"informed_by":[],"model":null,"prompt":null,"response":null,"tokens_in":null,"tokens_out":null,"meta":{}}
{"call_id":"call_45f741bd","run_id":"20261015T171300Z-suite-closed_form-scripted-9fb914/closed_form.combine.gini_percent_change/e1a1","step":"analysis","kind":"tool","name":"core.gini","version":"0.1.0","code_version":"2925aeab2262","inputs":{"dataset":"narrow","income":"income","weights":"weight"},"input_digest":"005caa1ed957d80add525f19696b1900e277b26b22155b7b6c9b012b2b3d1414","dataset_digests":{"narrow":"c849b13110066a5736c3ededa524f8839f0b6c55ec69c57f2938a27d9e0868a2"},"result":{"tool":"core.gini","version":"0.1.0","call_id":"call_45f741bd","status":"ok","reason":"","figures":[{"key":"gini","value":0.27632637393610926,"unit":"index","label":"Gini coefficient of income (weighted by weight)","se":null,"ci_low":null,"ci_high":null,"ci_level":null,"derivation":{"steps":[{"text_pt":"Ordenam-se as pessoas pela renda e acumulam-se, com os pesos, a população (p) e a renda (L): a curva de Lorenz. A área sob ela é a soma dos trapézios entre pontos consecutivos.","formula":"A = Σ_i (p_i − p_{i−1})·(L_i + L_{i−1}) / 2","terms":[],"result":0.36183681303194537,"unit":"índice"},{"text_pt":"O Gini é um menos duas vezes a área sob a curva de Lorenz.","formula":"G = 1 − 2 × A","terms":[],"result":0.27632637393610926,"unit":"índice"}],"note_pt":""}}],"diagnostics":[{"name":"n_obs","value":20000,"flag":false,"note":"rows used"},{"name":"weighted_population","value":1.0,"flag":false,"note":"Σw: the population the rows stand for"},{"name":"weights_used","value":true,"flag":false,"note":"weighted by 'weight'"}],"tables":{},"datasets":{},"warnings":[],"assumptions":[],"notes":""},"outputs":null,"output_digest":"9e1444673c7252f88122f28df4eab8a58fb392220db71232e3797d92e1c0771d","params_versions":[],"sources":[],"started_at":"2026-10-15T17:13:00.676099Z","duration_ms":0.5038338713347912,"error":null,"decided_by":"code","rationale":"","cached":false,"informed_by":[],"model":null,"prompt":null,"response":null,"tokens_in":null,"tokens_out":null,"meta":{}}
{"call_id":"call_2e4dd933","run_id":"20261015T171300Z-suite-closed_form-scripted-9fb914/closed_form.combine.gini_percent_change/e1a1","step":"analysis","kind":"tool","name":"calc.combine","version":"0.1.0","code_version":"2925aeab2262","inputs":{"op":"percent_change","a":"call_22742723:gini","b":"call_45f741bd:gini","label":"","unit":""},"input_digest":"b25c0accf222b57c5332fb234a6d75721503801a51c917f815f1bd49dd759a59","dataset_digests":{},"result":{"tool":"calc.combine","version":"0.1.0","call_id":"call_2e4dd933","status":"ok","reason":"","figures":[{"key":"result","value":88.36415918700189,"unit":"%","label":"percent_change of call_22742723:gini and call_45f741bd:gini","se":null,"ci_low":null,"ci_high":null,"ci_level":null,"derivation":{"steps":[{"text_pt":"Operação percent_change sobre duas figuras desta execução, lidas pela referência.","formula":"100 × (a − b) / b","terms":[{"symbol":"a","value":0.5204998508766829,"unit":"index","note":"call_22742723:gini"},{"symbol":"b","value":0.27632637393610926,"unit":"index","note":"call_45f741bd:gini"}],"result":88.36415918700189,"unit":"%"}],"note_pt":""}}],"diagnostics":[],"tables":{},"datasets":{},"warnings":["no uncertainty is propagated: the result carries no standard error"],"assumptions":[],"notes":""},"outputs":null,"output_digest":"7ce50de374c8e195ee4ff17ce6f17c06a805b38bfe8370dccab4c93c1418c3cd","params_versions":[],"sources":[],"started_at":"2026-10-15T17:13:00.676642Z","duration_ms":0.04487507976591587,"error":null,"decided_by":"code","rationale":"","cached":false,"informed_by":[],"model":null,"prompt":null,"response":null,"tokens_in":null,"tokens_out":null,"meta":{}}
