LEVEL 2 · BUILDER

Log Volume Reduction Lab

Help an engineer build compact log context for an assistant. Learn bounded template grouping, counts and representative examples, then compare uniform and rarity-aware sampling on authored failure fixtures. Export compressed JSONL and a coverage report showing which important events were lost.

4 stages~8 hoursRust, Pythoncore
YOU END UP WITH

Compact log context JSONL and rare-event coverage comparison

PROJECT OUTLINE

Log Volume Reduction Lab in 4 stages

Shrink a noisy log stream while keeping evidence of rare failures.

  1. Parse and bound log records

    Turn each line into a validated, located record.

    starter · ~2 hours · Rust

    UTF-8boundslocators
  2. Group repeated templates with source locators

    Count repetition without discarding its source range.

    core · ~2 hours · Rust

    BTreeMaprepresentativesgroup identity
  3. Compare sampling policies on rare events

    Spend a fixed record budget on common or rare templates.

    core · ~2 hours · Rust

    samplingraritydeterminism
  4. Export compact context and coverage

    Measure which diagnostic templates survive compression.

    core · ~2 hours · Rust + Python

    JSONLcross-language contractcoverage

Build these projects first

All projects · Course catalog · Source on GitHub