{"id":16707346,"url":"https://github.com/moelf/aoc2023","last_synced_at":"2025-10-13T17:05:11.428Z","repository":{"id":210105701,"uuid":"725744016","full_name":"Moelf/AoC2023","owner":"Moelf","description":"Advent of Code 2023","archived":false,"fork":false,"pushed_at":"2024-10-08T23:41:59.000Z","size":335,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-05T09:50:01.158Z","etag":null,"topics":["advent-of-code","advent-of-code-2023"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Moelf.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}},"created_at":"2023-11-30T19:31:17.000Z","updated_at":"2024-12-01T18:38:06.000Z","dependencies_parsed_at":"2025-02-16T16:34:12.668Z","dependency_job_id":"eaa7bf78-3a9f-411c-870f-05dd562696f5","html_url":"https://github.com/Moelf/AoC2023","commit_stats":null,"previous_names":["moelf/aoc2023"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Moelf/AoC2023","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moelf%2FAoC2023","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moelf%2FAoC2023/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moelf%2FAoC2023/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moelf%2FAoC2023/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Moelf","download_url":"https://codeload.github.com/Moelf/AoC2023/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moelf%2FAoC2023/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016280,"owners_count":26085827,"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-10-13T02:00:06.723Z","response_time":61,"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-2023"],"created_at":"2024-10-12T19:38:56.209Z","updated_at":"2025-10-13T17:05:11.406Z","avatar_url":"https://github.com/Moelf.png","language":"Python","readme":"[![Build Status](https://github.com/Moelf/AoC2023/workflows/CI/badge.svg)](https://github.com/Moelf/AoC2023/actions)\n\nAdvent of Code 2023: https://adventofcode.com/2023\n\n## How to contribute\n- upload input and solutions in the same PR. Name and clean up them properly\n- when adding a new programming language, remember to update `runtests.jl` to \"teach\" it how to compile \u0026 run the `\u003clang\u003e`\n\nWhen testing locally, you can choose languages you want. For example, to avoid building C++ with bezel:\n  to run - `julia runtests.jl python cpp`\n```\n\u003e julia runtests.jl python cpp\nTest Summary:                              | Pass  Total  Time\nDay 00                                     |    4      4  0.3s\n  python  00.py                00_test.txt |    2      2  0.0s\n  cpp     00.cpp               00_test.txt |    2      2  0.3s\n```\n\n## Repo structure\n```bash\nAoC2023/\n├── runtests.jl\n├── inputs\n│   ├── 00_test.txt\n│   ├── 01_bauerc.txt\n│   └── 01_moelf.txt\n├── solutions\n│   ├── 00_test.txt\n│   ├── 01_bauerc.txt\n│   └── 01_moelf.txt\n└── src\n    ├── cpp\n    │   ├── 00.cpp\n    │   └── 01.cpp\n    └── julia\n        ├── 00_test.jl\n        └── 01_bauerc_moelf.jl\n```\n\n- the input files should be named as `\u003cday\u003e_\u003cname\u003e.txt`, the content should be the input of the day without any dangling empty lines at the end\n- the solutions files should be named exactly as corresponding input file, the content should be exactly one or two lines (depending on if you solved both parts)\n- the `src/\u003clang\u003e/\u003cday\u003e_\u003coptional name\u003e.\u003cext\u003e` should matched the double-digit day number convention. The `\u003clang\u003e` should match what appears in [`runtests.jl`](https://github.com/Moelf/AoC2023/blob/main/runtests.jl#L18-L28)\n\n## Note for Julia\nEach `\u003cday\u003e_julia.jl` script should use a `main()` and `@__FILE__` pattern similar to:\n```julia\nfunction main(path)\n    println(\"hello world\")\n    println(\"solution 2\")\nend\n\n(abspath(PROGRAM_FILE) == @__FILE__) \u0026\u0026 main(ARGS[1])\n```\n\nthis way we can put each script int a `DayN` module and compile only once per day.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoelf%2Faoc2023","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoelf%2Faoc2023","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoelf%2Faoc2023/lists"}