{"id":35670205,"url":"https://github.com/bfgray3/aoc22","last_synced_at":"2026-01-05T19:00:38.836Z","repository":{"id":64355535,"uuid":"571863269","full_name":"bfgray3/aoc22","owner":"bfgray3","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-24T03:59:49.000Z","size":137,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-11-24T04:28:16.642Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bfgray3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-11-29T03:26:14.000Z","updated_at":"2023-02-21T02:59:49.000Z","dependencies_parsed_at":"2023-11-21T23:45:19.598Z","dependency_job_id":null,"html_url":"https://github.com/bfgray3/aoc22","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/bfgray3/aoc22","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfgray3%2Faoc22","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfgray3%2Faoc22/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfgray3%2Faoc22/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfgray3%2Faoc22/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bfgray3","download_url":"https://codeload.github.com/bfgray3/aoc22/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfgray3%2Faoc22/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28218047,"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","status":"online","status_checked_at":"2026-01-05T02:00:06.358Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-01-05T19:00:10.334Z","updated_at":"2026-01-05T19:00:38.828Z","avatar_url":"https://github.com/bfgray3.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"## overview\n\nthe image and tests support the following languages:\n\n* Bash\n* C++\n* Go\n* Python\n* R\n\n## usage\n\n1. build the image for testing with `make build`.\n2. write solutions in files named `\u003cdd\u003e/{a,b}/main.{sh,cpp,go,py,R}`.\n    1. starter files can be created using `starter.go`. usage is below.\n    2. each program/script should output the answer (and only the answer) to stdout.\n    3. each program/script should expect exactly one command line argument, which is the file containing the input data.\n    4. these are available in the running container via a volume, so the image does not need to be rebuilt after writing a new solution.\n3. test all solutions for a given day/part with `make test path=\u003cdd\u003e/{a,b}/`, e.g. `make test path=05/a/`.\n4. once there is a correct solution for a given day/part, add it to [answers.json](answers.json) in a format like the following:\n\n```json\n{\n  \"ans01\": {\"a\": \"foo\", \"b\": \"bar\"},\n  \"ans02\": {\"a\": \"123\"}\n}\n```\n\n### notes\n* test all solutions in the above languages for all days/parts with `make test`.\n* clean up the repo, build the image, and test all solutions with `make all`.\n* `starter.go` usage:\n```\n  -day uint\n        day {1,...,25} (default 1)\n  -lang string\n        language {cpp,go,R,py,sh} (default \"cpp\")\n  -part string\n        part {a,b} (default \"a\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbfgray3%2Faoc22","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbfgray3%2Faoc22","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbfgray3%2Faoc22/lists"}