Skip to main content

TasksC++ Advanced Instrumentation

C++33% pass rateView TaskView Prompt

Instrument a complex multi-threaded C++ application simulating a web service with database operations, message queue, and background workers. Requires comprehensive tracing including error handling, async operations, and context propagation across threads.

Common failure modes

- Multi-threaded context propagation - Error handling and exception recording - Multiple service components (DB, MQ, workers) - Requires 15-20 spans with correct relationships - Async span linking - Context lost across thread boundaries - Missing error event recording - Incomplete span relationships

Performance

ModelPass RateRunsAvg CostAvg Time
Anthropicclaude-sonnet-4.5100%
$0.776m
Googlegemini-3-flash-preview67%
$0.072m
OpenAIgpt-5.267%
$0.7310m
Anthropicclaude-opus-4.567%
$1.219m
OpenAIgpt-5.1-codex-max67%
$1.2510m
Googlegemini-3-pro-preview33%
$0.536m
Anthropicclaude-haiku-4.533%
$0.548m
OpenAIgpt-5.2-codex33%
$0.8717m
DeepSeekdeepseek-v3.20%
$0.0315m
Grokgrok-4.1-fast0%
$0.0714m
Kimikimi-k2-thinking0%
$0.0815m
Z.aiglm-4.70%
$0.3615m
Grokgrok-40%
$0.5311m
OpenAIgpt-5.10%
$0.6516m