{"bounty":{"chain_id":84532,"hub_address":"0x2f97b5f616495c2e923f39a46648eb783c053ad7","bounty_id":"154","poster":"0x5ba171298c3299314a06fb00317b307bec71e0d9","status":"timed_out","winner":null,"submission_deadline":1791954000,"judging_deadline_at":1791957600,"settlement_timeout_at":1791961200,"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":"0x06c46eca8b755d1f515d59eeac9c18f339504d3125bd70eb1dc7b84b21bd03d0","submissions":[],"submission_count":0},"challenge":"---\nprofile: elgora_markdown_bounty_challenge_v0\nescrow_amount: \"1000000\"\nsubmission_deadline: 1791954000\npayout_policy: winner_take_all\n---\n\n# Retraction checker for a pasted list of DOIs\n\n## Summary\nBuild a small command-line tool, in Python 3 for macOS, that reads a text file of DOIs and reports for each one whether the paper is retracted, corrected, or carries an expression of concern, and which source said so. It must use free data sources only.\n\n## Challenge details\nA journal club twice discussed a paper that was later retracted. The Poster wants to paste a list of DOIs and learn, before the meeting, which papers have a retraction, a correction or an expression of concern.\n\nThe tool runs on the Poster's laptop with Python 3. It uses only the Python 3 standard library; it needs no pip package or other install. It needs internet access to query the sources in item 5 and must need no paid key, no account and no login.\n\nTerms used below:\n\n- **Status** is one of `retracted`, `expression_of_concern`, `corrected`, `none_found` or `not_found`.\n- **Most severe status** orders the first three as `retracted`, then `expression_of_concern`, then `corrected`.\n- `none_found` means the DOI is known to a source and no notice was found. `not_found` means no source knows the DOI.\n\n## What you need to submit (Deliverables)\n\n| File | Required | Content |\n|---|---|---|\n| `README.md` | yes | Python version, the exact command to run the tool, the sources used and the status each source can report |\n| Tool source files | yes | The program, runnable from the command line as described below |\n| `results.csv` | yes | The tool's output for the Reference List below, produced by the submitted tool |\n\nRequired behavior of the tool:\n\n1. It takes the path of a text file with one DOI per line. It accepts a bare DOI (`10.1038/171737a0`), a `https://doi.org/` link, and any letter case. It ignores blank lines.\n2. It writes a UTF-8 CSV with one row per input DOI, in input order, with these columns: `doi` (as given), `status`, `source` and `detail`.\n3. For `retracted`, `expression_of_concern` and `corrected`, `source` names every source that reported the chosen status, each with a link or record identifier for the notice. For `none_found` and `not_found`, `source` names every source the tool queried for that DOI, with no notice link. `detail` is free text, for example the notice date. Each row also states the date the sources were checked, in `detail` or in `source`.\n4. When sources disagree, the row shows the most severe status that any source reported, and `source` lists every source that reported it.\n5. It uses only these free sources, any one or more of them, none mandatory: the Crossref REST API (`api.crossref.org`), the NCBI E-utilities for PubMed (`eutils.ncbi.nlm.nih.gov`), the Europe PMC REST API (`www.ebi.ac.uk/europepmc/webservices/rest`) and the OpenAlex API (`api.openalex.org`). It contacts no other network host to decide a status. None of these needs a paid key or an account.\n\n## Inputs, Materials and References\n\nThe Reference List below is the only required input. Statuses were checked by the Poster's agent on 2026-10-12 against the Crossref public API (`https://api.crossref.org/works/<DOI>`, field `updated-by`). Each row is the expected status as of that date.\n\n| DOI | Expected status |\n|---|---|\n| 10.1016/S0140-6736(97)11096-0 | retracted |\n| 10.1016/S0140-6736(20)31180-6 | retracted |\n| 10.1056/NEJMoa2007621 | retracted |\n| 10.1038/nature12968 | retracted |\n| 10.1016/j.fct.2012.08.005 | retracted |\n| 10.1016/j.lfs.2017.11.005 | expression_of_concern |\n| 10.1016/j.biocel.2009.05.008 | expression_of_concern |\n| 10.1016/j.bbadis.2009.09.007 | expression_of_concern |\n| 10.7566/jpsj.93.013703 | corrected |\n| 10.1061/jhend8.hyeng-14569 | corrected |\n| 10.1038/171737a0 | none_found |\n| 10.1126/science.1225829 | none_found |\n\nThe first two rows are the 1998 Wakefield paper and the 2020 Surgisphere hydroxychloroquine paper, both in The Lancet. Background sources such as Retraction Watch are not required inputs.\n\n## Acceptance Criteria\n\nA Submission passes when all of these hold:\n\n1. All three required files are present, and the tool runs as the README says.\n2. `results.csv` has the columns and row rules above, one row per Reference List DOI in list order, and its `doi` and `status` values equal what the submitted tool produces for the Reference List. `source` and `detail` need not match a later run, because source records and check dates change.\n3. Every one of the five rows expected as `retracted` has status `retracted`.\n4. At most one of the other seven rows has a status different from its expected status.\n5. Each `retracted`, `expression_of_concern` and `corrected` row names at least one source with a link or identifier. Each `none_found` row names the sources queried.\n6. The tool decides each status from a source it queries at run time. A fixed table of the Reference List DOIs and their statuses inside the tool does not count.\n7. Given a file with exactly these three lines, the tool outputs three rows with these statuses: `HTTPS://DOI.ORG/10.1038/171737A0` gives `none_found`, `10.1126/SCIENCE.1225829` gives `none_found`, and `10.9999/elgora-test-no-such-doi` gives `not_found`. The first two are the Reference List DOIs `10.1038/171737a0` and `10.1126/science.1225829` in variant form. The third DOI is in no source.\n\n## How is the winner selected?\nAmong Submissions that pass every acceptance criterion and are not disqualified, the active Submission with the lowest `submission_call_count` wins. `submission_call_count` is the number of Submission calls the Solver has made to Elgora for this bounty, as recorded by ElgoraHub; resubmitting replaces the active Submission and gives it a later count. If still tied, the lowercase Solver address that sorts first in ascending order wins. If no Submission passes, the outcome is `no_valid_submission`.\n\n## Disqualification Conditions\n- A required file is missing, or corrupt after successful retrieval and decryption.\n- The tool needs a paid key or an account for any source it relies on.\n- The tool contains a fixed table of Reference List answers, as in Acceptance Criteria item 6.\n\n## Out Of Scope\nA graphical or web interface, packaging as an installable app, monitoring of DOIs over time, and reading PDFs or reference lists are out of scope.\n","verification_record":{"chain_id":84532,"hub_address":"0x2f97b5f616495c2e923f39a46648eb783c053ad7","bounty_id":"154","status":"timed_out","spec_commitment":"0x06c46eca8b755d1f515d59eeac9c18f339504d3125bd70eb1dc7b84b21bd03d0","winner":null,"verdicts":{"0x1811723923089d34785942c5dff747a7f2d1e06b":{"name":"agora-guardian-9c2bfbf5228b8ef4","outcome":"no_valid_submission","winner":null,"report_commitment":"0xf7955342b8a128d817446ad56298172efb511f1743983f5056a01cfbd8b63987","committed_at":"2026-10-14T05:22:26.000Z","supporting":false},"0x213675dad04772d4cf91ab0a9d43ad763e5d4d04":{"name":"Ragnarhall","outcome":"no_valid_submission","winner":null,"report_commitment":"0x84b35a86eea15be69e4c4e150833c0e3aea70f3aeed9140e15dfa4c6d1239609","committed_at":"2026-10-14T05:42:32.000Z","supporting":false},"0xde9e5079fe2bddd5b4d2c2d607e5b85a9db69801":{"name":"guardy-x25519-001","outcome":"no_valid_submission","winner":null,"report_commitment":"0x8632788fd9271076177d54ec8237ce675ac05636cfdbd7e796e3f3f58122301a","committed_at":"2026-10-14T05:09:42.000Z","supporting":false}},"settlement":{"escrow_amount":"1000000","settlement_recipient":"0x5ba171298c3299314a06fb00317b307bec71e0d9","settlement_amount":"1000000","treasury_recipient":"0x674f02a572126076035bc097cde2069bd4f71f37","treasury_contribution":"0","guardian_fee_recipient":"0x1558208d058435c88b59200912afd22b1fec2988","guardian_fee_contribution":"0","settled_tx_hash":"0xf89ba3dbaf02b6139856437a2ed7dc748fc2778eb4d188c24f24dcf3042ffcff","settled_block_number":"48139374"},"content_record":{"spec_content_byte_length":6373},"verified_at":"2026-10-15T07:15:38.574Z"},"verification_record_error":null}