{"id":25254881,"url":"https://github.com/sevenseacat/advent_of_code","last_synced_at":"2025-10-27T01:31:11.428Z","repository":{"id":58910700,"uuid":"433034488","full_name":"sevenseacat/advent_of_code","owner":"sevenseacat","description":"My Elixir solutions to Advent of Code","archived":false,"fork":false,"pushed_at":"2024-12-16T10:27:27.000Z","size":4262,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-16T11:27:40.064Z","etag":null,"topics":["advent-of-code","adventofcode"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/sevenseacat.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":"2021-11-29T12:30:44.000Z","updated_at":"2024-12-16T10:27:30.000Z","dependencies_parsed_at":"2023-12-12T07:24:21.249Z","dependency_job_id":"bd881686-0796-41eb-b29d-350a18d72fd0","html_url":"https://github.com/sevenseacat/advent_of_code","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sevenseacat%2Fadvent_of_code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sevenseacat%2Fadvent_of_code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sevenseacat%2Fadvent_of_code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sevenseacat%2Fadvent_of_code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sevenseacat","download_url":"https://codeload.github.com/sevenseacat/advent_of_code/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238421088,"owners_count":19469472,"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":["advent-of-code","adventofcode"],"created_at":"2025-02-12T05:39:48.109Z","updated_at":"2025-10-27T01:31:10.735Z","avatar_url":"https://github.com/sevenseacat.png","language":"Elixir","readme":"# Advent of Code\n\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/sevenseacat/advent_of_code/elixir.yml?branch=main\u0026style=flat-square)](https://github.com/sevenseacat/advent_of_code/actions/workflows/elixir.yml)\n\nMy Elixir solutions for [Advent of Code](https://adventofcode.com/) (all years).\n\n\u003c!-- stars start --\u003e\n\u003cp\u003e\u003cimg src=\"https://img.shields.io/static/v1?label=Total\u0026message=457%20stars\u0026style=for-the-badge\u0026color=green\" alt=\"457 stars\" /\u003e\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"./lib/y2024/\"\u003e\u003cimg src=\"https://img.shields.io/static/v1?label=2024\u0026message=38%20stars\u0026style=for-the-badge\u0026color=yellow\" alt=\"38 stars\" /\u003e\u003c/a\u003e\u003cbr /\u003e\n\u003ca href=\"./lib/y2023/\"\u003e\u003cimg src=\"https://img.shields.io/static/v1?label=2023\u0026message=44%20stars\u0026style=for-the-badge\u0026color=green\" alt=\"44 stars\" /\u003e\u003c/a\u003e\u003cbr /\u003e\n\u003ca href=\"./lib/y2022/\"\u003e\u003cimg src=\"https://img.shields.io/static/v1?label=2022\u0026message=%E2%AD%90%EF%B8%8F%2050%20stars%20%E2%AD%90%EF%B8%8F\u0026style=for-the-badge\u0026color=brightgreen\" alt=\"50 stars\" /\u003e\u003c/a\u003e\u003cbr /\u003e\n\u003ca href=\"./lib/y2021/\"\u003e\u003cimg src=\"https://img.shields.io/static/v1?label=2021\u0026message=46%20stars\u0026style=for-the-badge\u0026color=green\" alt=\"46 stars\" /\u003e\u003c/a\u003e\u003cbr /\u003e\n\u003ca href=\"./lib/y2020/\"\u003e\u003cimg src=\"https://img.shields.io/static/v1?label=2020\u0026message=39%20stars\u0026style=for-the-badge\u0026color=yellow\" alt=\"39 stars\" /\u003e\u003c/a\u003e\u003cbr /\u003e\n\u003ca href=\"./lib/y2019/\"\u003e\u003cimg src=\"https://img.shields.io/static/v1?label=2019\u0026message=40%20stars\u0026style=for-the-badge\u0026color=green\" alt=\"40 stars\" /\u003e\u003c/a\u003e\u003cbr /\u003e\n\u003ca href=\"./lib/y2018/\"\u003e\u003cimg src=\"https://img.shields.io/static/v1?label=2018\u0026message=%E2%AD%90%EF%B8%8F%2050%20stars%20%E2%AD%90%EF%B8%8F\u0026style=for-the-badge\u0026color=brightgreen\" alt=\"50 stars\" /\u003e\u003c/a\u003e\u003cbr /\u003e\n\u003ca href=\"./lib/y2017/\"\u003e\u003cimg src=\"https://img.shields.io/static/v1?label=2017\u0026message=%E2%AD%90%EF%B8%8F%2050%20stars%20%E2%AD%90%EF%B8%8F\u0026style=for-the-badge\u0026color=brightgreen\" alt=\"50 stars\" /\u003e\u003c/a\u003e\u003cbr /\u003e\n\u003ca href=\"./lib/y2016/\"\u003e\u003cimg src=\"https://img.shields.io/static/v1?label=2016\u0026message=%E2%AD%90%EF%B8%8F%2050%20stars%20%E2%AD%90%EF%B8%8F\u0026style=for-the-badge\u0026color=brightgreen\" alt=\"50 stars\" /\u003e\u003c/a\u003e\u003cbr /\u003e\n\u003ca href=\"./lib/y2015/\"\u003e\u003cimg src=\"https://img.shields.io/static/v1?label=2015\u0026message=%E2%AD%90%EF%B8%8F%2050%20stars%20%E2%AD%90%EF%B8%8F\u0026style=for-the-badge\u0026color=brightgreen\" alt=\"50 stars\" /\u003e\u003c/a\u003e\u003c/p\u003e\u003c!-- stars end --\u003e\n\nThis repository is a work in progress - I haven't yet completed all puzzles, but I'm working on them!\n\nEach yearly event has:\n\n* Daily solutions in `lib/y\u003cyear\u003e/day\u003cday\u003e.ex`\n* Tests in `tests/y\u003cyear\u003e/day\u003cday\u003e_test.exs`\n* Benchmarking in `lib/y\u003cyear\u003e/README.md`\n* Doctests where applicable\n\nEach day's solution follows a general formula:\n\n* A module named after the day, eg. `Y2021.Day19`\n* Reading any provided input file with `input/0` (sometimes not used)\n* Parsing the input file into a useful structure with `parse_input/1`\n* Piping the parsed input into a `part1/1` or `part2/1` function\n* Optionally processing the result, eg. if `part1/1` returns a map with extra data but the question only needs a single key value.\n* The test module for each day's solution verifies that the code gives the correct answer as input on the site, by calling `part1_verify/0` or `part2_verify/0`.\n\nFor the puzzles I completed prior to Advent of Code 2021, I've copied them from their original codebases into this repo commit by commit, modifying them to fit into my new universal structure. I've also kept the original author dates on those commits, some of them date back to 2016!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsevenseacat%2Fadvent_of_code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsevenseacat%2Fadvent_of_code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsevenseacat%2Fadvent_of_code/lists"}