caderek / aocrunner

Advent of Code runner
ISC License
163 stars 23 forks source link

send/readme generation #2

Closed snelling-a closed 2 years ago

snelling-a commented 2 years ago

i input my first answer on the aoc website, then found aocrunner and used it for my second answer.

the problem is, i can't send the answer in the cli

Type fetch or f - to fetch the input
Type send  or s - to send the solutions

✔  … s

Part 1:
Status: ALREADY COMPLETED or LOCKED

am i out of luck for day 1?

caderek commented 2 years ago

In general, aocrunner assumes that you send solutions through it, but you can always provide missing data manually in .aocrunner.json. Change the value solved from false to true for that specific day and part (and paste the result as string), and from now on everything should work

snelling-a commented 2 years ago

thank you for the reply, appreciate you taking the time.

however, the same thing happens if i solve one part, send it and come back to do the second part later 😕

caderek commented 2 years ago

Does the entry in the .aocrunner.json change for that first solved part?

snelling-a commented 2 years ago

tried to recreate the situation, did the first half in the morning. stopped the runner, opened it up again later in the day to do the second task, and it all worked

🤷