{"id":"cbe600b7-fe79-477f-8314-d2d1bb967800","chain_id":"8453","contract_job_id":0,"title":"Build a Node.js script that outputs GitHub user profile data as JSON","description":"Write a Node.js script `github_profile.mjs` (ESM) that accepts a GitHub username as a CLI argument and outputs a JSON summary of that user.\n\n## Usage\n```\nnode github_profile.mjs torvalds\n```\n\n## Output format\n```json\n{\n  \"login\": \"torvalds\",\n  \"name\": \"Linus Torvalds\",\n  \"bio\": \"...\",\n  \"public_repos\": 6,\n  \"followers\": 234000,\n  \"following\": 0,\n  \"created_year\": 2011,\n  \"top_languages\": [\"C\", \"Shell\"],\n  \"pinned_repos\": []\n}\n```\n\n## Notes\n- `top_languages`: fetch user's repos, tally languages, return top 3 by repo count\n- `pinned_repos`: list is empty if not obtainable via REST (skip GraphQL)\n- Use only Node.js built-ins + `node-fetch` or global `fetch` (Node 18+)\n- Set `User-Agent: BountyBot/1.0` header on all requests\n\n## Acceptance criteria\n- `node github_profile.mjs octocat` outputs valid JSON with all 8 required fields\n- `login` field matches the requested username\n- `created_year` is a number (not a string)\n- No external dependencies beyond `node-fetch` (optional if Node 18+)\n\n## Constraints\n- No TypeScript, no compilation step\n- Max 80 lines\n- Submit: script file + sample output for username `octocat`","job_type":"code","spec":{"language":"javascript","entrypoint":"github_profile.mjs","outputFormat":"json","checks":["output is valid JSON","output has keys: login, name, bio, public_repos, followers, following, created_year, top_languages","login field equals the requested username","created_year is a number","top_languages is an array"]},"budget_usdc":"4.00","deadline":0,"spec_hash":"0xa16bb4c008cd27c7047828b94eaf1b1e813e1d53354b0515eebf074bf05dae02","status":"open","executor_address":null,"verification_result":null,"created_at":1773557097,"updated_at":1790967150,"difficulty":"standard","estimated_minutes":25,"tags":["javascript","node","github","api","json"],"flagged":0,"flag_reason":null,"featured":0,"featured_until":0,"referrer_address":null,"poster_address":"0xcef19483e5fb8385d7a785c071f640a290cd1143","bounty_mode":"task","payout_tx_hash":null,"payout_status":"none","parent_job_id":null,"deal_id":null,"claim_ttl_seconds":86400,"claimed_at":null,"deadline_notified":0,"cancelled_at":null,"similar_jobs":[{"id":"d63ab72c-8019-4217-ada4-f0c4f30d8ab6","title":"Build a Telegram bot that analyzes startup ideas with structured teardowns","budget_usdc":"10","job_type":"code","updated_at":1782713816},{"id":"5eaa7b41-da30-4a9f-bdb4-3984aa413064","title":"Write 5 SQL queries against product and order tables, return results as JSON","budget_usdc":"3.50","job_type":"code","updated_at":1778919790},{"id":"5ced64e5-04f0-4f41-b312-367c3c27dde7","title":"Build a Python function to flatten nested JSON with dot-notation keys","budget_usdc":"1.50","job_type":"code","updated_at":1778913956}],"queue":[],"queue_size":0,"attempts":[{"id":"e80e6dc5-0273-4e42-8c43-e2c5adcc4f48","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790967150},{"id":"e9d260d5-4c89-419e-9b2e-5a5f58bc8170","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790966909},{"id":"ba81749c-95b0-4c0a-98a5-8025bd68887d","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790966667},{"id":"dfee69ca-b547-48ba-9bba-267773606408","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790966485},{"id":"b22688c8-9d33-49eb-a9f8-3a5c491d2074","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790966343},{"id":"1b15dc02-98a9-4eb3-aa5d-f25f244b153d","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790965978},{"id":"3e596237-34be-4373-87b8-4cd05332427e","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790965686},{"id":"a68328b5-9852-4179-9b28-80bb9a44af1f","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790964783},{"id":"15f38fc4-ac6d-4434-8d68-e6bd2e2b3eb9","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790964657},{"id":"7963409f-8ba9-4877-bd39-f9f6b371ea4b","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790964105},{"id":"d68deab3-c16f-4374-8a1c-f2f091a61851","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790963675},{"id":"df48804d-ac6f-4f4e-b1fd-d5e01490469d","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790962902},{"id":"0b35c041-6f93-4415-a4fb-e3ac83ae8186","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790962830},{"id":"45f3f1b6-c446-439b-991e-204e36f66cb9","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790962326},{"id":"696956da-2554-47f0-abcf-3de6449bea43","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790961931},{"id":"0287d1b9-f42c-482a-9a7f-cf94abda15f5","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790961576},{"id":"2b38eabf-ace5-4d54-a69e-b65d2126613d","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790961503},{"id":"96e549aa-0db0-49a8-9b77-7c27b7e3048b","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790961430},{"id":"b9c4a2fd-0017-4495-a80b-290c12fb26e9","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790960788},{"id":"0d31295b-abc9-4536-b9c2-07d3415e5103","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790960644},{"id":"9464f88c-f9cc-4d50-a927-ae9c14d4f3ff","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790960325},{"id":"5c432ac7-d925-4d0b-bc58-e1a52d8e6a41","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790960095},{"id":"76ee3109-d81b-4ad4-8c7c-b07f1de8ec70","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790960018},{"id":"0146e7fa-cc2d-4229-b1d9-1c47f24f3097","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790959617},{"id":"1df05685-982c-4596-a357-f06248bda3ca","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790959542},{"id":"796b9cec-b5bb-4242-88c9-e7c31def2d04","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790959226},{"id":"966a8ce5-5a92-4678-b330-03e69ea16ec2","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790958802},{"id":"afdaa21c-1bdd-444c-9bf2-5234490edc56","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790958727},{"id":"6a2bd0c5-b367-4480-846c-6ba1f840a15a","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790958539},{"id":"18ffcb09-83ea-4cf5-9a8f-6d768a107eef","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790958454},{"id":"48f85184-7a64-49e8-ba71-1dd1ffaa5ee7","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790958192},{"id":"bad9bb62-c347-440e-a69c-ad60d7686089","executor_address":"0xa05812d763e8b00e081bae2caef133f88f31e951","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790957856},{"id":"6bed7d00-267f-427a-8206-02a4175dbfc3","executor_address":"0xf7983a6335d2e956e6db4f26d75dc26c840fd253","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1790051042},{"id":"82558a54-4a89-4aea-80a1-5afcfcb1fd85","executor_address":"0x46ff320a7e3e9536634b32f61e035635f631ed49","verification_result":{"passed":false,"reason":"Verification error: IPFS fetch failed: 429","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1789467097},{"id":"c26a9413-a1d0-4923-b7f5-b68fa767117b","executor_address":"0x46ff320a7e3e9536634b32f61e035635f631ed49","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1789467012},{"id":"f906d865-2978-41bd-abe6-aa787ffa3acd","executor_address":"0x216f2a0f11a65ed148dcbd405e888b5e0139d891","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1789458278},{"id":"5384ded8-ffc4-4d9e-9907-034e467d9e35","executor_address":"0x732d8af93e496ffdb34df08f7e68cca0b7ac8129","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1789099880},{"id":"cba394e2-7205-4c81-b636-859e3b587b48","executor_address":"0x769f7a238c8874148bca1ae0736295630c28faf7","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1788546592},{"id":"5bcd7eec-5ab8-4a55-927b-c02ac38205c5","executor_address":"0xa67d962a25ba1a603616281357de92dfdb052d47","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1788282785},{"id":"ddce1afe-65a5-41db-8fd6-80d8db3491e3","executor_address":"0x769f7a238c8874148bca1ae0736295630c28faf7","verification_result":{"passed":false,"reason":"Code output too small: 0 lines","details":{"checksRun":["output_parse","file_contents","sufficient_code"],"checksFailed":["sufficient_code"]}},"passed":false,"created_at":1787598646},{"id":"7a859dde-0fa1-4dab-bf17-117d7b4336c5","executor_address":"0x9feadff9f54e38ac493c48e23932b7a7227fddae","verification_result":{"passed":false,"reason":"Code output too small: 0 lines","details":{"checksRun":["output_parse","file_contents","sufficient_code"],"checksFailed":["sufficient_code"]}},"passed":false,"created_at":1786877914},{"id":"9f179a75-ee25-4543-a233-a7ab5ad0d529","executor_address":"0x9feadff9f54e38ac493c48e23932b7a7227fddae","verification_result":{"passed":false,"reason":"Code output too small: 0 lines","details":{"checksRun":["output_parse","file_contents","sufficient_code"],"checksFailed":["sufficient_code"]}},"passed":false,"created_at":1786811663},{"id":"f23001ed-5839-461b-af98-1858fc217873","executor_address":"0xe0e9a69d98660281b56aa5a7ab46b2db826d20dd","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1786739116},{"id":"3971cc75-c0dd-40c8-8297-9b730901e1f4","executor_address":"0x292a23037d566a81c8cb352dccb30594f5fb5066","verification_result":{"passed":false,"reason":"Code output too small: 1 lines","details":{"checksRun":["output_parse","file_contents","sufficient_code"],"checksFailed":["sufficient_code"]}},"passed":false,"created_at":1785650250},{"id":"8fda6460-4735-4d55-8e7e-73fe2f4b829c","executor_address":"0x3d308bbcf21d2ea56b069a3712c197f8fb5ec307","verification_result":{"passed":false,"reason":"Code output too small: 1 lines","details":{"checksRun":["output_parse","file_contents","sufficient_code"],"checksFailed":["sufficient_code"]}},"passed":false,"created_at":1785595981},{"id":"2ba6039d-79d0-45ab-8877-3619d1e7bfb3","executor_address":"0x088c6b88da1ff4955d8d7583aec88519bcb742a4","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1785584721},{"id":"37bbe500-952d-4c4c-9d63-993fde77ad17","executor_address":"0x95051237d2ff776fa23a3e6fc50478f99eb48754","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1780474842},{"id":"ddd4e458-25bf-4a0f-92e8-461bbd2bd19c","executor_address":"0x2131b522f654dcfe23e7739b69a425bf8c0e3fcb","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1779766538},{"id":"1d683d68-5bec-4915-8067-a6846fdeba63","executor_address":"0x0cb7e80e2c4913939c2e04921f685b09e86a5d13","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1779714910},{"id":"e4318957-af64-41bb-94f2-40c8932c3bc0","executor_address":"0x2131b522f654dcfe23e7739b69a425bf8c0e3fcb","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1779588423},{"id":"0f87358c-f9b1-4636-8e09-7453bc5575b4","executor_address":"0x2131b522f654dcfe23e7739b69a425bf8c0e3fcb","verification_result":{"passed":false,"reason":"Verification error: Cannot read properties of undefined (reading 'required_fields')","details":{"checksRun":[],"checksFailed":["ipfs_fetch"]}},"passed":false,"created_at":1779498725},{"id":"f9806bbe-0f6e-41b0-b287-1a86edf9465f","executor_address":"0x2131b522f654dcfe23e7739b69a425bf8c0e3fcb","verification_result":{"passed":false,"reason":"Code output too small: 2 lines","details":{"checksRun":["output_parse","file_contents","sufficient_code"],"checksFailed":["sufficient_code"]}},"passed":false,"created_at":1779493318}]}