Distributed Eval Farm Coordinator
Build a persistent same-host evaluation coordinator that partitions recorded predictions, leases shards to real worker processes, fences stale completions and retains dataset-bound receipts.
Build a persistent same-host evaluation coordinator that partitions recorded predictions, leases shards to real worker processes, fences stale completions and retains dataset-bound receipts.
- Resume interrupted batch evaluations with exact dataset identity
- Inspect shard ownership, process receipts and stale-worker rejection
- Go 1.22 or later on Linux or macOS
- Python 3.10 or later for the grader
- Go structs, pointers, errors and JSON files
- Goroutines, channels and context cancellation
Distributed Eval Farm Coordinator in 4 stages
Partition cases, lease shards and aggregate bounded concurrent workers.
Partition stable case identities
Assign each nonempty unique case ID to one of a positive number of shards using FNV-1a.
starter · ~2 hours · Go
Stable IDHash bytesModulo countOne partitionFence each shard lease
A coordinator owns a lease record.
core · ~2 hours · Go
Unfinished shardExpiry checkNew ownerIncrement versionAccept idempotent completion receipts
A completion carries shard owner, lease version and a nonempty result.
core · ~2 hours · Go
Owner and versionLease boundaryResult identityIdempotent receiptRun a bounded local worker pool
Compose the bounded pool with persistent leases and actual worker processes; retain scored case coverage and reject stale receipts.
core · ~2 hours · Go
Bounded goroutinesUnique dispatchCooperative cancellationStable results