UNPKG

aoc-copilot

Version:

Advent of Code automatic runner for examples and inputs

23 lines 604 B
{ "reason": "Implied answers", "part1length": 1, "inputs": { "selector": "code", "indexes": [0, 0] }, "answers": { "selector": "ul", "indexesOrLiterals": [2, 3], "transforms": [{ "functions": [ { "match": ["(\\d+|one)(?= cheat)", "g"] }, { "map": [[ { "replaceAll": ["one", "1"] }, { "parseInt": [] } ]] }, { "reduce": [[{ "add": [] }]] }, { "toString": [] } ], "appliesTo": [0, 1] }] } }