Tier 02 · Weekly Board3 Quests

Bounty boards / Weekly

Weekly Bounty Board: Week of November 23, 2026

This week's reporting kept asking who checks the result. Pydantic AI leaves business correctness to the application, while Factory's coding scores move when the tooling around one model changes. Pip's single-cell reviews ask for the choices behind a cluster to stay visible. Each project below turns one of those claims into a number a reader can compute from public data over a weekend.

  • ClassProject
  • Est. timea weekend, 6 to 10 hours
  • Quests3
  1. Tier 01 · DailyQuick build1 to 2 hours
  2. Tier 02 · WeeklyProjecta weekend, 6 to 10 hours
  3. Tier 03 · MonthlyCapstone3 to 4 weeks of evenings, 25 to 40 hours

Quest 01 / 03 · Project

Build a typed ticket-triage agent on Ollama and grade it with Promptfoo

  • Pydantic AI
  • structured outputs
  • local LLMs
  • prompt evaluation
  • pandas

Why now The week's Pydantic AI review says the library validates agent output but leaves business correctness to application checks. Hugging Face's new agent-evaluation guide follows an evaluation from its claim through task design and grading to the reported score. Labeled support tickets let a reader supply that missing check with a local model and an open test suite.

Build it A Python agent reads a support email and returns a validated object with a queue, a priority and a draft reply, using a model served by Ollama on your own machine. A Promptfoo suite scores the queue and priority choices against the dataset's labels.

From the news

Tools

  • Pydantic AI

    Pydantic AI uses the MIT license and is free to use. Model providers, deployment infrastructure and optional Pydantic commercial services have separate terms and costs.

  • Ollama

    Ollama's runtime uses the MIT license, while model weights have their own licenses. Local execution has no Ollama usage charge; optional cloud inference uses metered credits, subscriptions and enterprise terms.

  • Promptfoo

    Promptfoo's open-source code is MIT licensed. Its Community plan is free with stated probe allowances; commercial Enterprise and on-premise offerings add features under separate service terms. Model-provider charges and additional enterprise probes can be separate costs.

Data

  • Customer IT Support - Ticket Dataset Kaggle

    Labeled email tickets with queues, priorities and agent answers supply the agent's inputs, the ground truth for grading and the reference replies.

    Attribution 4.0 International (CC BY 4.0) · 61.2 MB · updated 2025-12-02

Steps

  1. Download the ticket dataset, load it in pandas and inspect the columns to find the ticket text, the queue label, the priority label and the agent answer.
  2. Keep one language to start, drop rows missing a queue or priority, and hold out 300 tickets with a fixed random seed before you write any prompt.
  3. Install Ollama, pull a small instruction model that supports tool calling and fits your memory, and confirm the local API answers a test request.
  4. Define a Pydantic output model whose queue and priority fields are enums built from the labels in the training split, plus a free-text reply field.
  5. Write a Pydantic AI agent that calls the Ollama endpoint with the ticket text, returns that model and retries once when validation fails.
  6. Give the agent one tool that returns the three most similar training tickets with their labels, using TF-IDF similarity from scikit-learn.
  7. Export the held-out tickets as Promptfoo test cases and write a config that calls your agent through a Python provider with equality assertions on queue and priority.
  8. Run the suite once with the similar-ticket tool and once without it, and keep both result files.
  9. Add a model-graded rubric, with your Ollama model set as the grader, that compares draft replies with the dataset's agent answers on 50 tickets, then read 10 of its verdicts yourself.

Deliverables

  • A repository with the agent package, the Promptfoo config and the held-out test file, crediting the dataset as its license requires.
  • A results table comparing the runs with and without the similar-ticket tool.
  • A short write-up of the five most frequent queue confusions with an example ticket for each.

How to measure it

Queue accuracy and macro F1 on the 300 held-out tickets, compared against a majority-class baseline and a TF-IDF logistic regression trained on the same split. The agent earns its place only if it beats the logistic regression on macro F1.

Done when

  • The agent returns a validated object for at least 295 of the 300 held-out tickets, and the log records every validation retry.
  • Promptfoo reports queue accuracy and priority accuracy for both runs on the same 300 tickets.
  • A confusion matrix of queue labels is saved as an image beside the results.
  • The README lists the Ollama model name and tag, the random seed and the exact Promptfoo command.
  • Ten hand-checked rubric verdicts are recorded with a note on whether you agree with each one.

Stretch goals

  • Run Promptfoo's red-team plugins with tickets that try to talk the agent into a different queue, and report how many succeed.
  • Swap in a second local model and compare accuracy against seconds per ticket on the same hardware.
  • Repeat the evaluation on a second language from the dataset and report whether the similar-ticket tool helps more or less.
Tier 02 · a weekend, 6 to 10 hoursOpen full walkthrough →

Quest 02 / 03 · Project

Chart and predict agent-written commits across 118 AI repos in a reproducible pipeline

  • DVC
  • marimo
  • MLflow
  • scikit-learn
  • data cleaning

Why now Factory reports that coding agents built on the same model complete different shares of Terminal-Bench 4 tasks, though Factory produced that evaluation itself. The week's review-desk column reads GitHub's review updates as work on making AI-assisted engineering usable. A public history of 1.36 million commits lets a reader measure agent output in real repositories instead of a vendor benchmark.

Build it A DVC pipeline turns the commit dataset into a clean Parquet table, and a marimo app charts each repository's agent-attributed share over time. An MLflow-tracked classifier then predicts agent attribution for repositories it never saw in training.

From the news

Tools

  • DVC

    DVC is free Apache 2.0 software. Remote storage and any separate hosting service require their own accounts and may incur charges.

  • marimo

    The local marimo notebook is free Apache 2.0 software. Hosted products, optional assistants and remote data services have separate terms; their paid entitlements are not established here.

  • MLflow

    The MLflow project is free Apache 2.0 software and can run on a local server. Managed hosting, storage and external model calls have separate charges.

Data

  • Who Writes AI Code? 1.3M Open-Source AI Commits Kaggle

    Commits from 118 AI repositories with the dataset's own measure of agent authorship feed the charts, the features and the classifier's labels.

    Attribution 4.0 International (CC BY 4.0) · 304.6 MB · updated 2026-10-01

Steps

  1. Create a Git repository, run dvc init, add a local folder as the DVC remote, track the raw download with dvc add and record its hash in the README.
  2. Load a sample in pandas and inspect the columns to learn how the dataset identifies the repository, the commit date and agent attribution.
  3. Write a DVC stage that converts the raw files to Parquet, drops duplicate rows and writes per-repository row counts to a metrics file.
  4. Build a marimo notebook with a repository dropdown that charts monthly commits split by agent attribution, beside a table of the 20 repositories with the highest agent share.
  5. Add a second DVC stage that builds per-commit features such as commit-title length, commit type and commit hour. Exclude any field that records the author or the AI tool, because those fields encode the label.
  6. Split by repository so that test repositories never appear in training, and save the split list as a tracked file.
  7. Train a logistic regression and a gradient-boosted model, logging parameters, metrics and the feature list for each run to a local MLflow server.
  8. Add a marimo cell that loads the best MLflow run and shows its precision-recall curve next to the repository chart.
  9. After dvc push, clone the repository into a fresh folder, run dvc pull and dvc repro there, and confirm the metrics files match.

Deliverables

  • A repository containing dvc.yaml, the stage scripts and the marimo notebook.
  • An exported MLflow comparison of the trained runs.
  • A one-page write-up naming the repositories whose agent share changed most over the dataset's period.

How to measure it

Average precision for agent attribution on repositories held out from training, compared with a baseline that assigns every commit the agent share of its repository category in the training repositories. Report the pooled score and the score for each held-out repository.

Done when

  • dvc repro on a fresh clone finishes and produces metrics files identical to the originals.
  • Running marimo run opens the notebook as an app, and changing the dropdown redraws the chart.
  • The MLflow UI lists at least two runs with precision, recall and average precision on held-out repositories.
  • The README quotes the dataset's own description of how it attributes commits to agents.
  • Each run of the cleaning stage reports how many duplicate rows it removed.

Stretch goals

  • Test whether commit-title keywords alone match the full feature set, and log the comparison as its own MLflow run.
  • Export the marimo notebook as a WebAssembly HTML file that runs in a browser without a Python server.
  • Add a DVC parameter for the date cutoff and compare model scores before and after a chosen month.
Tier 02 · a weekend, 6 to 10 hoursOpen full walkthrough →

Quest 03 / 03 · Project

Test how stable glioblastoma cell clusters are under Scanpy and scVI, logged in W&B

  • Scanpy
  • scvi-tools
  • single-cell analysis
  • experiment tracking
  • clustering evaluation

Why now Pip's reviews this week describe Scanpy as keeping the decisions behind a cell cluster available for inspection and scvi-tools as putting its model assumptions beside the data. The W&B SDK review describes runs that become comparable records. One public tumor sample is enough to measure how far a cluster moves when those decisions change.

Build it A pipeline clusters one glioblastoma sample through Scanpy's PCA route and through an scVI latent space, sweeping resolution and random seed for both. Every run is logged to W&B, and a report names the clusters and marker genes that survive the sweep.

From the news

Tools

  • Scanpy

    Scanpy is BSD-3-Clause software available without a subscription. Compute, storage and the rights attached to input datasets remain separate.

  • scvi-tools

    The package uses BSD-3-Clause licensing and is free to install. Dataset rights and local or rented GPU costs require separate assessment.

  • Weights & Biases SDK

    The Python SDK is MIT-licensed and free. The hosted and private W&B service has separate licenses, free and subscription plans, usage charges and enterprise sales terms.

Data

  • Human Glioblastoma Dataset Kaggle

    Glioblastoma cells from one donor provide the count matrix that both clustering routes analyze.

    Attribution 4.0 International (CC BY 4.0) · 20.6 MB · updated 2020-11-26

Steps

  1. Download the dataset, inspect the files to confirm the count-matrix format, and load it into an AnnData object with Scanpy.
  2. Compute quality metrics and add the mitochondrial gene fraction only if the gene list contains mitochondrial genes. The uploader already removed unhealthy cells, so write any extra filtering thresholds you choose to a config file.
  3. Run the Scanpy route on the filtered cells: normalize total counts, apply log1p, select highly variable genes, then compute PCA, a neighbor graph and Leiden clusters.
  4. Train an scVI model on the raw counts of the same filtered cells, on CPU if you have no GPU, and build Leiden clusters from its latent space.
  5. Wrap both routes in one function that takes a resolution and a seed, and sweep at least five resolutions and five seeds per route.
  6. Log each run to W&B with its config, cluster count, silhouette score and UMAP image, using offline mode if you prefer not to sync.
  7. Compute the adjusted Rand index between seeds within each route and between routes at matched resolutions.
  8. Rank marker genes for the most stable setting of each route and measure the overlap of the top 20 markers per matched cluster.
  9. Label the clusters you can support with known marker genes and mark the rest as unassigned.

Deliverables

  • A notebook or script package with the config file that drives the sweep.
  • A W&B report or exported run table covering both routes.
  • A short write-up naming the clusters that held across every setting and the ones that split or merged.

How to measure it

Mean adjusted Rand index across seeds for each route and resolution, plus the cross-route index at the chosen resolution. A cell counts as stable when it keeps the same cluster in at least 80 percent of runs; report the stable share of cells for each route.

Done when

  • The sweep logs at least 50 runs, each with its config visible in the W&B run table or the offline run folder.
  • A matrix plot shows the adjusted Rand index between every pair of runs at one resolution.
  • The notebook prints the filtering thresholds and the cell counts before and after filtering.
  • Every labeled cluster lists the marker genes that justify its label.
  • Rerunning one saved configuration reproduces the same cluster assignments.

Stretch goals

  • Add a second public glioblastoma sample and integrate the two with scVI's batch handling, then check whether your labels carry over.
  • Run the resolution sweep as a W&B sweep agent instead of a Python loop and compare the logged results.
  • Compare your marker-based labels with an automatic cell-type annotation tool and count the disagreements.
Tier 02 · a weekend, 6 to 10 hoursOpen full walkthrough →

An AI writer proposed these builds from our reporting; scripts verified every tool, dataset and link, and a separate AI review checked the result. Check each dataset license and tool price before you start.