{"id":15763513,"url":"https://github.com/casperdcl/advent-of-code","last_synced_at":"2025-09-11T17:36:51.563Z","repository":{"id":92566966,"uuid":"317911420","full_name":"casperdcl/advent-of-code","owner":"casperdcl","description":"Pythonic readable solutions to Advent of Code","archived":false,"fork":false,"pushed_at":"2022-12-12T20:31:17.000Z","size":337,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-03T09:14:48.018Z","etag":null,"topics":["advent-of-code","advent-of-code-2020","advent-of-code-2021","advent-of-code-2022"],"latest_commit_sha":null,"homepage":"https://adventofcode.com","language":"Python","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/casperdcl.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-02T15:48:52.000Z","updated_at":"2023-03-16T06:24:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"d2bfe405-3c83-4b6e-9fe8-df23d9e84d1a","html_url":"https://github.com/casperdcl/advent-of-code","commit_stats":{"total_commits":120,"total_committers":2,"mean_commits":60.0,"dds":0.01666666666666672,"last_synced_commit":"f679b498d69991f5e643488480589e7dad674099"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/casperdcl/advent-of-code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casperdcl%2Fadvent-of-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casperdcl%2Fadvent-of-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casperdcl%2Fadvent-of-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casperdcl%2Fadvent-of-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/casperdcl","download_url":"https://codeload.github.com/casperdcl/advent-of-code/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casperdcl%2Fadvent-of-code/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274359690,"owners_count":25270821,"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":"2025-09-09T02:00:10.223Z","response_time":80,"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":["advent-of-code","advent-of-code-2020","advent-of-code-2021","advent-of-code-2022"],"created_at":"2024-10-04T12:00:24.728Z","updated_at":"2025-09-11T17:36:51.518Z","avatar_url":"https://github.com/casperdcl.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code solutions\n\n[![Tests](https://github.com/casperdcl/advent-of-code/workflows/Test/badge.svg)](https://github.com/casperdcl/advent-of-code/actions)\n\nSolutions to problems from \u003chttps://adventofcode.com\u003e\n([2020](https://github.com/casperdcl/advent-of-code/blob/main/aoc/sol2020/__init__.py),\n[2021](https://github.com/casperdcl/advent-of-code/blob/main/aoc/sol2021/__init__.py),\n[2022](https://github.com/casperdcl/advent-of-code/blob/main/aoc/sol2022/__init__.py))\n\n```sh\nconda env create\nconda activate aoc\npython3 -m aoc --help\n```\n\n- **maintainability**\n  + **readability**: style nearly production-worthy (others can understand easily; avoid amusing code golf)\n  + **extensibility**: not logically-over-optimised; if requirements changed (there was a \"part 3\") then the code doesn't need to be rewritten\n- **scalability**: time-complexity-optimised (sane run times even if the input was significantly larger; avoid brute-force just because the input is currently tiny)\n\n## Why\n\nMost code I've seen falls into one of these categories:\n\n1. **novice**: e.g. logical inefficiencies, syntactical inefficiencies, unhelpful verbosity\n2. **expert**: e.g. code golf, sacrificing extensibility for runtime performance, lacking code comments, unnecessary complexity, overuse of either OOP or functional programming\n\nI strongly believe \"[good code](https://xkcd.com/844)\" must make none of the above sacrifices, and this repository aims to demonstrate this idea.\n\nSuggestions and pull requests are welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasperdcl%2Fadvent-of-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcasperdcl%2Fadvent-of-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasperdcl%2Fadvent-of-code/lists"}