{"id":28854168,"url":"https://github.com/commaai/harness_tester_challenge","last_synced_at":"2025-10-12T16:06:03.296Z","repository":{"id":241662519,"uuid":"804952464","full_name":"commaai/harness_tester_challenge","owner":"commaai","description":"We designed a simple harness testing PCB and wrote some firmware for it. Can you figure out everything wrong with it?","archived":false,"fork":false,"pushed_at":"2025-05-25T16:17:34.000Z","size":5768,"stargazers_count":39,"open_issues_count":0,"forks_count":15,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-05-25T17:26:41.515Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://comma.ai/leaderboard","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/commaai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-05-23T15:35:15.000Z","updated_at":"2025-05-25T16:17:37.000Z","dependencies_parsed_at":"2024-05-29T15:11:39.571Z","dependency_job_id":"770a949b-4ddd-49b8-99eb-6aebeab31a8e","html_url":"https://github.com/commaai/harness_tester_challenge","commit_stats":null,"previous_names":["commaai/harness_tester_challenge"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/commaai/harness_tester_challenge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commaai%2Fharness_tester_challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commaai%2Fharness_tester_challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commaai%2Fharness_tester_challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commaai%2Fharness_tester_challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/commaai","download_url":"https://codeload.github.com/commaai/harness_tester_challenge/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commaai%2Fharness_tester_challenge/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260838663,"owners_count":23070614,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-19T22:08:56.807Z","updated_at":"2025-10-12T16:06:03.291Z","avatar_url":"https://github.com/commaai.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003ch1\u003eHarness Tester Challenge\u003c/h1\u003e\n\u003ch3\u003e\n  \u003ca href=\"https://comma.ai/leaderboard\"\u003eLeaderboard\u003c/a\u003e\n  \u003cspan\u003e · \u003c/span\u003e\n  \u003ca href=\"https://comma.ai/jobs\"\u003ecomma.ai/jobs\u003c/a\u003e\n  \u003cspan\u003e · \u003c/span\u003e\n  \u003ca href=\"https://discord.comma.ai\"\u003eDiscord\u003c/a\u003e\n  \u003cspan\u003e · \u003c/span\u003e\n  \u003ca href=\"https://x.com/comma_ai\"\u003eX\u003c/a\u003e\n\u003c/h3\u003e\n\u003c/div\u003e\n\nWe (mock) designed a simple harness testing PCB and wrote some firmware for it. Unfortunately, this board was designed and firmware was written on a Monday morning.\n\n\u003cb\u003eCan you figure out everything wrong with it?\u003c/b\u003e\n\n## The Harness Tester\nWe currently ship hundreds of [car-specific harnesses](https://www.comma.ai/shop/car-harness) to users every month, consisting of more than [40 different types](https://github.com/commaai/hardware/tree/master/harness/v3).\n\nAs a simple wiring harness, we expect them to have a near-zero failure rate, so good testing is critical.\nThis tester is designed to be capable of quickly verifying which pins are connected to which other pins.\n\nA quick list of design goals is listed here:\n- 12V DC input with transient and reverse polarity protection\n- compatible with harnesses with up to 40 pins (through a pin header)\n- start button and RGB LED are the user interface\n- microSD card to store test results along with the current time (for statistical purposes)\n- receive time by acquiring a GPS lock (*ok, yes, this is just to make the board and firmware more interesting*)\n\n## The challenge\nThe challenge consists of 3 distinct parts, each riddled with more than a few bugs:\n- Schematic ([PDF](./schematic.pdf) / [Web](https://kicanvas.org/?github=https%3A%2F%2Fgithub.com%2Fcommaai%2Fharness_tester_challenge%2Fblob%2Fmaster%2Fkicad_files%2Fhardware_challenge.kicad_sch))\n- PCB layout ([Gerbers](./gerbers.zip) / [Web](https://kicanvas.org/?github=https%3A%2F%2Fgithub.com%2Fcommaai%2Fharness_tester_challenge%2Fblob%2Fmaster%2Fkicad_files%2Fhardware_challenge.kicad_pcb))\n- Firmware ([Source](./firmware/))\n\nThe board is designed in [KiCad 8](https://www.kicad.org/), and the full project is available in an [exported archive](./kicad_project.zip).\n\nThere are a handful of intentional, show-stopping bugs hidden in each part. Find them, and [send](https://forms.gle/US88Hg7UR6bBuW3BA) them over to us for verification!\n\nWe're not looking for improvements or fixes; just submit a list of bugs.\n\n![PCB](./imgs/board.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommaai%2Fharness_tester_challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommaai%2Fharness_tester_challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommaai%2Fharness_tester_challenge/lists"}