Advent of Networks ’26

December 2026

Advent of Networks 26'

Download a dataset, train a model, and submit your predictions.

--- Day 1: The Crooked Stamp ---

A gold star sails past your ear and sticks to the inspection clipboard. The Elf at the wrapping bench peels it off and puts a tick in the column marked still doing it.

Every parcel tag needs a gold star inside a little printed circle. The stamping machine takes two numbers, one for how far across the sheet to move and one for how far down. Somewhere between the dial and the paper, the two seem to have had a disagreement.

“I tried aiming a little to the left,” says the Elf. She shows you a sheet. The stars near the top look much better. The ones near the bottom have wandered off the tags.

She has already fired 800 practice stamps. For each one she wrote down where she aimed and where the star actually landed. She hands you the log and a fresh sheet of 400 tags. Where should she aim to hit each circle?

[View puzzle input] [Download ZIP]

Calibrate the machine

Each row of calibration.csv gives two pairs of coordinates in millimetres. The first pair is the command. The second is the landing. Fit your model locally. On the fresh sheet you get the desired landing and must supply the command.

Try your model on practice.csv first. It has 240 separate labelled strikes. To check actual landing distances, paste the V-prefixed practice predictions below. Use the same three columns as answers.csv.

For the final sheet, use your model to fill in answers.csv for every ID in targets.csv. Aim anywhere from 0 to 100 mm on either axis. The Elf awards one star for landing at least 360 of 400 within 6 mm of their centres. The smaller circles earn the second star at 360 within 2 mm. A star touching the line counts.

Check your predictions