Back to remote jobs

Low-level systems programming (C17): storage, concurrency, and crash consistency

Hashlist

AI Expert - Software Engineering Freelancer
Remote (Global) $200 per successful submission December 4, 2026

Job description

Pay: $200 / successful submission

Tasks where the model upgrades a compiling, minimal single-threaded C17 prototype into a production-grade, crash-consistent, multi-threaded systems component (storage engine, WAL/buffer-pool manager, consensus/replicated log, concurrent allocator/index, or POSIX storage runtime) that satisfies coupled invariants across bounded memory, concurrency and isolation correctness, fault-injected crash recovery, sanitizer cleanliness, and throughput.

  • Agent box (pre-created and locked): Pinned debian:trixie-slim (linux/amd64) with gcc, clang (C17, ASan/UBSan/LSan/TSan), make, libc6-dev, valgrind (DRD/Helgrind), gdb, and python3, internet off. 4 vCPU, 8 GB RAM, 100 steps, 40 minutes (2400 s working limit), 600 s reference and verifier timeout. The turnkey C17 verifier kit and reusable deterministic fault-injection VFS live in this environment's files under environment/grader_kit/ (read environment/grader_kit/README.txt first). Add your starter workspace under task/ (environment/data/task/, arriving in /app/data/task/, with hooks/setup.sh from environment/grader_kit/setup.sh.template staging directly to /app/):
    • An immutable public C17 API contract (/app/include/<api>.h).
    • Helper primitives where needed (such as a pure CRC32C helper and a pluggable VFS interface matching dop_vfs_t with a default POSIX implementation so the verifier can inject deterministic disk faults and count I/O bytes).
    • A compiling, minimal single-threaded starter implementation (/app/src/...) plus a local tests/smoke_test.c and Makefile (adapted from environment/grader_kit/Makefile.template: make test, make asan, make tsan, make valgrind) that passes the starter smoke test out of the box.
  • What the model hands in (Correct answer step 4.1):
    • Source files only under /app/src/ (.c/.h). Set Primary artifact to /app/src/ (folders end with /). The verifier ignores agent binaries, build caches, test edits, and any edits to /app/include/.
  • Grader (locked offline verifier box + bundled environment/grader_kit/):
    • Runs inside the locked --network none pinned debian:trixie-slim verifier box (4 vCPU, 8 GB RAM, timeout_s = 600, full C17/Valgrind/sanitizer toolchain).
    • All files uploaded in the web builder verifier/ panel land flat in /tests/. Never use nested folders like verifier/pristine/. Upload flat filenames only:
      • verifier/report.py (copy verbatim from environment/grader_kit/report.py)
      • verifier/spec.json (adapted from environment/grader_kit/spec.example.json)
      • verifier/pristine_api.h (exact copy of immutable /app/include/<api>.h, staged automatically by report.py into <sandbox>/include/<api_header>)
      • verifier/hidden_suite.c (your withheld C17 verification driver accepting --mode <mode> --seed <int>)
      • verifier/dop_fault_vfs.h and verifier/dop_fault_vfs.c (copy verbatim from environment/grader_kit/ for reusable deterministic 512B torn-sector, unordered-fsync, bit-rot, counting-VFS, and VmRSS/mallinfo2 probes)
    • What report.py enforces (emitting only DOP-whitelisted failure categories no_answer_file, tampering, build_failed, tests_failed):
      1. Static anti-cheat lint: rejects references to /tests, /verifier, /out/reward, hidden_suite, dop_fault_vfs, dynamic loaders (dlopen/dlsym), subprocess execution (system/popen/fork/exec*), and sockets (socket/connect) with tampering, and rejects missing or empty /app/src/ with no_answer_file.
      2. Pristine staging: copies only /app/src/*.{c,h} into a clean temp build directory alongside pristine_api.h (as include/<api_header>), hidden_suite.c, and dop_fault_vfs.{h,c}.
      3. Multi-build compilation (gcc -std=c17 -Wall -Wextra -Werror -pthread): builds separate binaries for ASan + UBSan + LSan (detect_leaks=1), TSan, debug (for Valgrind DRD + Helgrind when container seccomp/ASLR blocks TSan), and -O2 release.
      4. Seeded orthogonal test groups (weighted partial credit totaling 1.00, strict pass requires every group, perf strictly gated on correctness + concurrency):
        • core (0.10): binary edge cases, API error semantics, pluggable VFS compliance (must not bypass the injected VFS).
        • isolation_or_protocol (0.25): deep concurrency and protocol invariants (for example, Cahill SSI point/negative-lookup/range-phantom write-skew, 3-tx read-only and writer cycles, 8-thread topological serializability cycle checker, plus a non-blocking barrier that deadlocks or fails global big-lock shortcuts and requires >= 95% commit rate on disjoint partitions).
        • resource_bounds (0.20): bounded memory/buffer pool verified via dop_read_vm_rss_bytes(), dop_read_heap_bytes() (mallinfo2), lazy reopen memory cap, hot-set VFS read ceiling, and cold-sweep VFS read floor via dop_counting_vfs_t (blocking unbounded in-memory shortcuts).
        • crash_consistency (0.20): deterministic dop_fault_vfs_t testing >= 40 power-loss cutpoints across clean cuts, torn 512-byte prefix and alternating 512-byte mixed-sector writes, unordered unsynced writes, and bit-rot CRC detection during commits, evictions, and checkpoints, plus real POSIX fork() + SIGKILL recovery cycles.
        • concurrency (0.15): 8-thread stress under ASan + UBSan + LSan (0 errors, 0 leaks) and TSan or Valgrind DRD + Helgrind (0 data races, 0 lock-order inversions).
        • perf (0.10, gated on core + concurrency): realistic -O2 mixed throughput and concurrent reader p99 tail latency under a sync_on_commit = true writer.
    • RL speed contract: All four builds plus all six test groups must finish cold in under 30 seconds on 4 vCPUs (hard cap 90 seconds). Zero LLM judges.
  • Any valid architecture must pass:
    • The verifier tests only observable behavior through the public API, VFS counters, OS memory stats, and sanitizers. Any clean C17 systems design that satisfies all invariants (for example, Copy-on-Write paged B+Tree + Clock buffer pool or versioned LSM-Tree + LRU block cache) must score 1.00.
    • Set performance floors with comfortable headroom (at least 3x to 5x below your reference implementation) so no correct idiomatic design fails on host jitter.
  • What you hand in:
    1. agent/PROMPT.md: clear API semantics, all four invariants, compiler/sanitizer flags, and grading contract. Zero hints on internal data structures, lock striping tricks, or SSI implementation details.
    2. Starter files under task/ (environment/data/task/, plus hooks/setup.sh staging to /app/): compiling starter workspace that passes make test and make asan locally.
    3. Flat verifier files under verifier/: report.py, spec.json, pristine_api.h, hidden_suite.c, and dop_fault_vfs.h / dop_fault_vfs.c (adapted from environment/grader_kit/).
    4. Passing reference (references/gold.py): a clean C17 reference architecture that scores 1.0000 cold across 3 fresh verifier seeds. A second independent passing architecture (references/alt_b.py) is optional and recommended to prove architecture-agnostic grading, but not required.
    5. At least two plausible naive failures (references/naive_a.py and references/naive_b.py): clean, compiling implementations that each miss distinct deep invariants (for example, naive_a.py using unbounded RAM + plain Snapshot Isolation and naive_b.py using a global big-lock or skipping durable fsync/CRC checks), scoring 0.10 to 0.70 FAIL on the exact expected groups.
    6. references/steps.md (hidden from the model): one-sentence core engineering crux, 3-seed cold verification matrix (starter, naive_a, naive_b, gold, plus optional alt_b), and negative anti-cheat control receipts (global big-lock, skipped fsync, unbounded RAM cache, disabled CRC, bypassed VFS, tampered header, static lint violation).
  • What makes a good task (and what separates frontier models, from our runs):
    • Simple WAL + MVCC + single-lock hash-table tasks saturate Gemini 4 Neon at 8/8. Frontier separation appears when four coupled systems invariants interact simultaneously: bounded cache eviction with WAL-before-page-write ordering, fine-grained concurrency without global-lock serialization (exposing real commit-window SSI race cycles and atomic/lock mismatches under Valgrind DRD), and 512-byte torn-sector crash consistency under SIGKILL and fault-injected VFS.
    • We reject: single-threaded algorithm puzzles, toy KV stores solvable by an in-memory map + append log, tasks whose verifier trusts agent-printed metrics, and tasks with flaky timing-dependent tests.
  • How a task is accepted:
    1. Pressing Run hands the task in. DOP runs a two-stage screen: Gemini 4 Hydrogen twice, and if both runs score 1.00, the task stops early as too easy and is returned without review. Otherwise DOP runs Gemini 4 Neon five times.
    2. The task is accepted if it meets the Acceptance rule below, every miss comes from real concurrency, crash-recovery, memory-bound, or isolation failures rather than spec gaps or tool crashes, Verify says SOUND (gold 1.00, naive_a < 1.00, naive_b < 1.00, untouched 0.00), and it meets every checklist item below. If Neon passes 0/5, a staff engineer verifies solvability from the solver's files alone.
    3. One revision round is included within 14 days if review finds an ambiguous contract or flaky check.
  • Payment: paid within 14 days of acceptance.

Acceptance. We accept a task only if a current frontier model scores full marks (1.00) on no more than 2 of 5 runs, or 3 of 8. Any of the newest frontier models counts, including Gemini 4 Neon and Gemini 4 Hydrogen, which run at hand-in. One model is enough. Meeting this bar is not enough on its own: the grader must also check the real work and never fail a correct answer, and the task must be your own work on a real engineering problem, with no detail planted only to make the model fail.

Checklist

  • Anti-spoiler check: agent/PROMPT.md specifies every API contract, error code, invariant, and compiler/sanitizer requirement without hinting at the winning data structure or synchronization trick.
  • File-delivery and isolation check: starter files under task/ arrive cleanly at the exact paths named in agent/PROMPT.md (never nested under duplicate data/task/ paths), zero verifier/ or references/ files exist in the agent box, starter compiles cleanly and passes its local smoke test, and untouched starter scores 0.0000 on the hidden verifier.
  • RL-ready grading check: flat verifier/ files copied from environment/grader_kit/ stage only /app/src/* alongside pristine_api.h, run static anti-cheat lint, compile all sanitizer + -O2 builds with -Werror, handle TSan or Valgrind DRD/Helgrind cleanly, use zero LLM judges, emit only whitelisted failure categories, and finish cold in under 30 seconds (hard cap 90 seconds) across 3 fresh seeds.
  • gold.py scores 1.0000 across 3 fresh seeds, and naive_a.py + naive_b.py each fail only the expected groups (alt_b.py optional).
  • All anti-cheat negative controls (global lock, skipped sync, unbounded cache, disabled checksum, bypassed VFS, tampered header) fail cleanly as documented in references/steps.md.
  • All code, tests, and references are 100% original work with full rights for AI training reuse.

No AI-generated tasks (real work only)

Brief details: Optimised run · 6-12h · Pre-created environment · Several submissions allowed

Who can apply

Open to
Anywhere in the world
Posted
December 4, 2026 by Hashlist
Last checked
December 4, 2026: still open on dop.hashlist.com, where you apply
Apply now

Opens dop.hashlist.com in a new tab. If they ask how you found the role, mention RemoWork.

Apply now

Stay in the loop.

Occasional emails with our new remote-work guides. No spam, unsubscribe anytime.