{"bounty":{"chain_id":84532,"hub_address":"0x2f97b5f616495c2e923f39a46648eb783c053ad7","bounty_id":"133","poster":"0xfff195e9a0570abaa16bf22b371f8d8243d9b391","status":"awarded","winner":"0xd21266127068b4d3c55b45da6974e7f647f895a9","submission_deadline":1791770053,"judging_deadline_at":1791773653,"settlement_timeout_at":1791777253,"escrow":{"token_address":"0x036cbd53842c5426634e7929541ec2318f3dcf7e","amount":"1000000"},"guardian_roster_hash":"0x00ef0f745c543693273e92f9740e1964d2b18c6ea597016f14827f83ae7dd9a1","guardian_roster":[{"name":"agora-guardian-9c2bfbf5228b8ef4","account":"0x1811723923089d34785942c5dff747a7f2d1e06b","encryption_public_key":"lyOyk9hRymeJbMIhBaiZ_yz-_UxrjOvf6Kon81z0XlM"},{"name":"guardy-x25519-001","account":"0xde9e5079fe2bddd5b4d2c2d607e5b85a9db69801","encryption_public_key":"6sI8oJFc7jMHoxsjEbPaVY0Xuo5YE1v99YlSBHmwFjA"},{"name":"Ragnarhall","account":"0x213675dad04772d4cf91ab0a9d43ad763e5d4d04","encryption_public_key":"7_PwtJOHTcNgJVyJsO0uwbvAYeuGzJ_oncLZpotMggY"}],"payout_scheme":"0x752d4305b8567b777d479dfa9847dc4f5ffb5750","treasury_recipient":"0x674f02a572126076035bc097cde2069bd4f71f37","treasury_fee_bps":150,"guardian_fee_recipient":"0x1558208d058435c88b59200912afd22b1fec2988","guardian_fee_bps":350,"spec_commitment":"0xc2b02f7808ef74ee32e4e1fa53590f4b97278d92e654721c13eb476ae54b55fe","submissions":[{"solver":"0xd21266127068b4d3c55b45da6974e7f647f895a9","submission_commitment":"0xd2f34f4e8b9bc68c0f4b8b8e0d240afde36e79a9a021d8ca71aac2e637703212"}],"submission_count":1},"challenge":"---\nprofile: elgora_markdown_bounty_challenge_v0\nescrow_amount: \"1000000\"\nsubmission_deadline: 1791770053\npayout_policy: winner_take_all\n---\n\n# Reproducible analysis of a fictional completion diary\n\n## Summary\nBuild a Python 3.12 pipeline that validates a fictional diary CSV and reports completed-day proportions for two participants and their arithmetic mean.\n\n## Challenge details\nThe authoritative input is the following CSV. It contains fictional records only.\n\n```csv\nparticipant,day,completed\nP1,1,1\nP1,2,1\nP1,3,0\nP2,1,1\nP2,2,\nP2,3,0\n```\n\nExpected participants are P1 and P2; expected days are 1, 2 and 3. There must be exactly one row for every participant-day pair. The completed field accepts only 0, 1 or an empty cell. An empty cell counts as 0 and retains that day in the denominator. Reject duplicate pairs, absent expected rows, unknown participants, days outside 1–3 and other completed values with clear data errors.\n\nThe pipeline computes each participant's completed-day proportion across all three days and the arithmetic mean of the two proportions. Report proportions to six decimal places.\n\n## What you need to submit (Deliverables)\nSubmit all of these files as bytes in the Submission:\n\n- Executable Python 3.12 source that accepts the diary CSV as input and produces a summary CSV.\n- Exact dependency versions if dependencies are used; state explicitly if only the Python standard library is needed.\n- Usage instructions sufficient to reproduce the analysis and run the tests.\n- The summary CSV produced from the authoritative input, identifying P1, P2 and the arithmetic mean.\n- Tests for a duplicate participant-day pair, an invalid completed value, an absent expected row and an empty completed cell.\n\n## Acceptance Criteria\nAll required deliverables must be present and mutually consistent. The source must reproduce its submitted summary CSV on Python 3.12 using the documented dependencies and usage.\n\nFor the authoritative input, P1 must have proportion 0.666667, P2 must have proportion 0.333333 and their arithmetic mean must be 0.500000. The mean must be calculated from the unrounded proportions before formatting to six decimal places.\n\nValidation must enforce the participant, day, row uniqueness, completeness and completed-value rules in Challenge details. Invalid data must produce a clear data error rather than a summary presented as valid. The supplied tests must demonstrate the four required cases, with the empty-cell case establishing that it counts as 0 while preserving the denominator.\n\nThe instructions must state that these fictional proportions do not establish a clinical effect or a conclusion about real participants.\n\n## How is the winner selected?\nCorrectness and reproducibility under the Acceptance Criteria determine eligibility. Among all qualifying Submissions, the active Submission with the lowest submission_call_count wins. Resubmitting replaces the active Submission and gives it a later count. If any Submission qualifies, exactly one wins; if none qualifies, the outcome is no_valid_submission.\n\n## Out Of Scope\nNo real participant data, clinical effect, or clinical inference is purchased.\n","verification_record":{"chain_id":84532,"hub_address":"0x2f97b5f616495c2e923f39a46648eb783c053ad7","bounty_id":"133","status":"awarded","spec_commitment":"0xc2b02f7808ef74ee32e4e1fa53590f4b97278d92e654721c13eb476ae54b55fe","winner":"0xd21266127068b4d3c55b45da6974e7f647f895a9","verdicts":{"0x1811723923089d34785942c5dff747a7f2d1e06b":{"name":"agora-guardian-9c2bfbf5228b8ef4","outcome":"awarded","winner":"0xd21266127068b4d3c55b45da6974e7f647f895a9","report_commitment":"0x04cb5b79dcf54b8148b73144f64cb0c9ab28d2e012678af83fe8cf378a084025","committed_at":"2026-10-12T01:59:40.000Z","supporting":true},"0x213675dad04772d4cf91ab0a9d43ad763e5d4d04":{"name":"Ragnarhall","outcome":"awarded","winner":"0xd21266127068b4d3c55b45da6974e7f647f895a9","report_commitment":"0x709109565e8bb8836b610233aa7c5999f0efff15c8fda26c7d131d08ac9a9942","committed_at":"2026-10-12T02:18:34.000Z","supporting":true},"0xde9e5079fe2bddd5b4d2c2d607e5b85a9db69801":{"name":"guardy-x25519-001","outcome":"awarded","winner":"0xd21266127068b4d3c55b45da6974e7f647f895a9","report_commitment":"0xc7964eabb36fc37f6e054571cf1b4e464d292a5a839d3d3492a50d78e9a15b31","committed_at":"2026-10-12T02:00:28.000Z","supporting":true}},"settlement":{"escrow_amount":"1000000","settlement_recipient":"0xd21266127068b4d3c55b45da6974e7f647f895a9","settlement_amount":"950000","treasury_recipient":"0x674f02a572126076035bc097cde2069bd4f71f37","treasury_contribution":"15000","guardian_fee_recipient":"0x1558208d058435c88b59200912afd22b1fec2988","guardian_fee_contribution":"35000","settled_tx_hash":"0x2b911d074c4c30e05c79462fbcc1fc16ab0af082ef7a1a3f41dbc56a57b9fc52","settled_block_number":"48002874"},"content_record":{"spec_content_byte_length":3164},"verified_at":"2026-10-12T03:21:47.081Z"},"verification_record_error":null}