Get in touch

All projects

Data & AI · 2026 · archived

NM i AI 2026, Team Maskinkraft

Sixty-nine hours, four teammates, and three unrelated AI problems running on the same clock: a hidden-rule world simulator, a retail shelf detector, and an autonomous accounting API agent.

Open GitHub

Python · YOLO · ONNX · FastAPI

01 / The problem

Each task punished a different mistake. Astar Island gave you 50 small 15x15 glimpses of a 40x40 stochastic Norse world and scored full-map probability tensors by entropy-weighted KL divergence, where one zero probability on a live class ruins the round. NorgesGruppen ran offline on tight GPU budgets, and Tripletex scored live API calls where a single 4xx error wiped out the efficiency bonus.

02 / My role

Built and tuned the Astar Island transition solver and continuous round daemon, helped package the ONNX/WBF detection submissions, and wired voucher fallbacks when competition proxy endpoints returned 403.

03 / The constraint

Query budgets and wall-clock time were hard ceilings: 50 simulator queries shared across five map seeds per round, and a live leaderboard that recalculated benchmarks every 12 hours.

04 / Decisions worth arguing about

  1. Fit empirical transition tables instead of a neural net on Astar Island

    Fifty noisy 15x15 viewport samples per round are too few to train a deep model from scratch without overfitting. Aggregating smoothed cell-transition counts conditioned on local terrain and distance to settlements gave calibrated six-class probabilities from the first round and ran in seconds on CPU.

    COST Long-range raiding and trade effects across the 40x40 map were blurred into local averages, capping our ceiling once other teams reverse-engineered exact simulator rules.

  2. Post raw ledger vouchers when proxy endpoints returned 403

    On the Tripletex task, several high-level endpoints such as /incomingInvoice were blocked by the competition proxy. Rather than retrying failed calls and losing the efficiency multiplier, we routed supplier invoices directly through /ledger/voucher with explicit debit, credit and VAT postings.

    COST Computing net, VAT (2710) and accounts payable (2400) splits in code meant any rounding mistake failed the whole task.

  3. Test-time augmentation with Weighted Boxes Fusion on shelf photos

    Retail shelves pack dozens of near-identical items side by side. Running multi-scale inference and merging overlapping boxes with Weighted Boxes Fusion pushed mAP to 0.8331 (#36) without exceeding the submission timeout.

    COST Multi-scale passes ate most of the per-image inference budget, leaving no room for a second-stage classifier.

05 / What can be checked

  • #8 of 214 on Astar Island

    Our solver reached 93.76 (weighted 138.53) and sat eighth on the Astar Island board mid-run, and sixth (93.2) in Round 9.

    Go and look
  • Three working pipelines in one repo

    The Astar Island daemon, YOLOv26l training/inference scripts, and the FastAPI Tripletex agent are all published in the competition monorepo.

    Go and look

06 / What it still cannot do

Splitting attention across three domains meant Tripletex only covered 6 of the 30 task types (#114, score 5.78), which dragged down our combined standing. And #8 on Astar Island was a mid-run snapshot on a moving leaderboard, not where we finished when the clock ran out.