config stringclasses 17
values | harness stringclasses 3
values | model stringclasses 13
values | bug stringclasses 120
values | run stringclasses 10
values | attempt int64 1 3 | harness_version stringclasses 4
values | workspace stringclasses 2
values | has_trace bool 2
classes | num_blocks int64 0 31 | file_coverage float64 0 1 | function_coverage float64 0 1 | line_coverage float64 0 1 | block_coverage float64 0 1 | file_precision float64 0 1 | function_precision float64 0 1 | line_precision float64 0 1 | block_precision float64 0 1 | mention_coverage float64 0 1 | api_calls int64 1 326 | input_tokens int64 3.49k 39.9M | input_cached_tokens int64 0 27.6M | output_tokens int64 136 186k | output_reasoning_tokens int64 0 183k ⌀ | total_tokens int64 5.66k 40M | cost float64 0 3 ⌀ | duration_seconds float64 4.86 35.1k | diagnosis stringlengths 55 22.6k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
codex-cli__o4-mini | Codex CLI | o4-mini | ray-61922 | run-03 | 3 | 0.128.0 | legacy | true | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0.95 | 1 | 1 | 1 | 113,422 | 98,560 | 2,930 | null | 116,352 | null | 30.13032 | {
"buggy_blocks": [
{
"file": "python/ray/actor.py",
"function": "ActorMethod.options",
"start_line": 931,
"end_line": 951,
"bug_contribution": "The FuncWrapper inner class captures the ActorMethod instance via closure, creating a strong reference cycle that prevents ActorHandle coll... |
codex-cli__o4-mini | Codex CLI | o4-mini | ray-62328 | run-01 | 1 | 0.128.0 | legacy | true | 2 | 1 | 0.666667 | 0.857143 | 0.666667 | 1 | 1 | 0.75 | 1 | 1 | 1 | 230,251 | 209,536 | 6,051 | null | 236,302 | null | 60.357139 | {
"buggy_blocks": [
{
"file": "src/ray/core_worker/experimental_mutable_object_manager.cc",
"function": "GetSemaphoreObjectName",
"start_line": 36,
"end_line": 40,
"bug_contribution": "Constructs semaphore name without leading '/', causing sem_open to fail with SEM_FAILED.",
"p... |
codex-cli__o4-mini | Codex CLI | o4-mini | ray-62328 | run-02 | 2 | 0.128.0 | legacy | true | 1 | 1 | 0.333333 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 180,427 | 159,616 | 8,210 | null | 188,637 | null | 75.251082 | {
"buggy_blocks": [
{
"file": "src/ray/core_worker/experimental_mutable_object_manager.cc",
"function": "MutableObjectManager::OpenSemaphores",
"start_line": 158,
"end_line": 166,
"bug_contribution": "Uses O_CREAT|O_EXCL to open named semaphores across processes, leading to EEXIST er... |
codex-cli__o4-mini | Codex CLI | o4-mini | ray-62328 | run-03 | 3 | 0.128.0 | legacy | true | 2 | 1 | 0.666667 | 0.857143 | 0.666667 | 1 | 1 | 0.6 | 1 | 1 | 1 | 265,729 | 217,344 | 5,632 | null | 271,361 | null | 50.187604 | {
"buggy_blocks": [
{
"file": "src/ray/core_worker/experimental_mutable_object_manager.cc",
"function": "GetSemaphoreObjectName",
"start_line": 36,
"end_line": 41,
"bug_contribution": "Generates semaphore names without a leading '/', violating POSIX sem_open name requirements and cau... |
codex-cli__o4-mini | Codex CLI | o4-mini | ray-62430 | run-01 | 1 | 0.128.0 | legacy | true | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 814,715 | 708,352 | 10,833 | null | 825,548 | null | 104.77717 | {
"buggy_blocks": [
{
"file": "src/ray/raylet/scheduling/local_resource_manager.cc",
"function": "LocalResourceManager::PopulateResourceViewSyncMessage",
"start_line": 370,
"end_line": 408,
"bug_contribution": "When any work footprint is busy (e.g. worker lease events), `GetResourceI... |
codex-cli__o4-mini | Codex CLI | o4-mini | ray-62430 | run-02 | 2 | 0.128.0 | legacy | true | 2 | 1 | 1 | 0.692308 | 1 | 1 | 0.5 | 0.5625 | 0.5 | 1 | 1 | 1,228,504 | 1,041,664 | 15,686 | null | 1,244,190 | null | 151.782655 | {
"buggy_blocks": [
{
"file": "src/ray/raylet/scheduling/local_resource_manager.cc",
"function": "LocalResourceManager.MarkFootprintAsBusy",
"start_line": 128,
"end_line": 137,
"bug_contribution": "Clearing saved idle times for *all* WorkFootprint keys wipes out other footprints\u201... |
codex-cli__o4-mini | Codex CLI | o4-mini | ray-62430 | run-03 | 3 | 0.128.0 | legacy | true | 2 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 680,596 | 599,168 | 9,584 | null | 690,180 | null | 92.640796 | {
"buggy_blocks": [
{
"file": "src/ray/raylet/scheduling/local_resource_manager.cc",
"function": "LocalResourceManager::PopulateResourceViewSyncMessage",
"start_line": 365,
"end_line": 416,
"bug_contribution": "`idle_duration_ms` is only set when `GetResourceIdleTime()` returns a val... |
codex-cli__o4-mini | Codex CLI | o4-mini | ray-8749 | run-01 | 1 | 0.128.0 | legacy | true | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 38,814 | 10,368 | 3,209 | null | 42,023 | null | 41.496162 | {
"buggy_blocks": [
{
"file": "src/ray/rpc/grpc_server.cc",
"function": "ray::rpc::GrpcServer::Run",
"start_line": 88,
"end_line": 94,
"bug_contribution": "The code calls builder.AddListeningPort(address_, creds_) but ignores the returned port (0 on failure), so if the bind fails due... |
codex-cli__o4-mini | Codex CLI | o4-mini | ray-8749 | run-02 | 2 | 0.128.0 | legacy | true | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 55,362 | 10,368 | 5,582 | null | 60,944 | null | 61.624452 | {
"buggy_blocks": [
{
"file": "src/ray/rpc/grpc_server.cc",
"function": "ray::rpc::GrpcServer::Run",
"start_line": 9,
"end_line": 13,
"bug_contribution": "The code calls builder.AddListeningPort(...) but ignores the case where binding fails (port already in use), and proceeds to Buil... |
codex-cli__o4-mini | Codex CLI | o4-mini | ray-8749 | run-03 | 3 | 0.128.0 | legacy | true | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 38,196 | 10,368 | 6,977 | null | 45,173 | null | 67.882555 | {
"buggy_blocks": [
{
"file": "src/ray/rpc/grpc_server.cc",
"function": "ray::rpc::GrpcServer::~GrpcServer",
"start_line": 102,
"end_line": 106,
"bug_contribution": "Destructor does not call Shutdown and Wait on the underlying gRPC server, so the listening socket remains bound after ... |
codex-cli__o4-mini | Codex CLI | o4-mini | ray-8889 | run-01 | 1 | 0.128.0 | legacy | true | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 590,630 | 466,048 | 9,099 | null | 599,729 | null | 103.440602 | {
"buggy_blocks": [
{
"file": "rllib/agents/ppo/ppo.py",
"function": "DEFAULT_CONFIG",
"start_line": 26,
"end_line": 30,
"bug_contribution": "Default `vf_clip_param` set too low (10.0), causing value clipping to overly constrain value updates in high-reward continuous environments li... |
codex-cli__o4-mini | Codex CLI | o4-mini | ray-8889 | run-02 | 2 | 0.128.0 | legacy | true | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1,110,113 | 991,616 | 9,976 | null | 1,120,089 | null | 116.299729 | {
"buggy_blocks": [
{
"file": "rllib/agents/ppo/ppo.py",
"function": "DEFAULT_CONFIG",
"start_line": 58,
"end_line": 64,
"bug_contribution": "The default vf_clip_param of 10.0 is far too small for high-value environments like HalfCheetah-v2, causing value-function updates to be exces... |
codex-cli__o4-mini | Codex CLI | o4-mini | ray-8889 | run-03 | 3 | 0.128.0 | legacy | true | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 507,324 | 435,456 | 7,649 | null | 514,973 | null | 82.241236 | {
"buggy_blocks": [
{
"file": "rllib/agents/ppo/ppo.py",
"function": "ray.rllib.agents.ppo.ppo.DEFAULT_CONFIG",
"start_line": 60,
"end_line": 61,
"bug_contribution": "The default `vf_clip_param` value of 10.0 is too low for high-return continuous environments, causing severe clipping... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-16818 | run-01 | 1 | 0.128.0 | legacy | true | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 242,229 | 211,456 | 5,749 | null | 247,978 | null | 56.832073 | {
"buggy_blocks": [
{
"file": "components/resolved_ts/src/cmd.rs",
"function": "resolved_ts::cmd::group_row_changes",
"start_line": 243,
"end_line": 256,
"bug_contribution": "The code unconditionally asserts that no previous lock exists for a row (`assert!(occupied_entry.get().lock.i... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-16818 | run-02 | 2 | 0.128.0 | legacy | true | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 134,913 | 125,056 | 3,502 | null | 138,415 | null | 38.389269 | {
"buggy_blocks": [
{
"file": "components/resolved_ts/src/cmd.rs",
"function": "group_row_changes",
"start_line": 242,
"end_line": 260,
"bug_contribution": "The assertion on an existing lock field panics when a Delete or previous Put has already set row.lock, preventing valid overrid... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-16818 | run-03 | 3 | 0.128.0 | legacy | true | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 154,312 | 142,848 | 3,537 | null | 157,849 | null | 38.849762 | {
"buggy_blocks": [
{
"file": "components/resolved_ts/src/cmd.rs",
"function": "group_row_changes",
"start_line": 244,
"end_line": 256,
"bug_contribution": "In the CF_LOCK Put branch, the code unconditionally asserts that row.lock is None before setting it, but under certain workload... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-17830 | run-01 | 1 | 0.128.0 | legacy | true | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 190,914 | 171,392 | 6,079 | null | 196,993 | null | 58.636121 | {
"buggy_blocks": [
{
"file": "src/import/sst_service.rs",
"function": "ImportSstService::duplicate_detect",
"start_line": 1245,
"end_line": 1330,
"bug_contribution": "Multiple branches in the async handler call `sink.close().await` (or `sink.fail().await`), causing the underlying gR... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-17830 | run-02 | 2 | 0.128.0 | legacy | true | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 193,855 | 183,424 | 7,936 | null | 201,791 | null | 71.677252 | {
"buggy_blocks": [
{
"file": "src/import/sst_service.rs",
"function": "ImportSstService.duplicate_detect",
"start_line": 1267,
"end_line": 1313,
"bug_contribution": "The async closure calls `sink.close().await` in its snapshot error branch and again unconditionally at the end, causi... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-17830 | run-03 | 3 | 0.128.0 | legacy | true | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 550,677 | 516,480 | 12,991 | null | 563,668 | null | 119.202552 | {
"buggy_blocks": [
{
"file": "src/import/sst_service.rs",
"function": "ImportSstService::duplicate_detect",
"start_line": 1267,
"end_line": 1276,
"bug_contribution": "In the snapshot error-handling branch, calling sink.fail(status).await reuses and polls a resolved gRPC completion-q... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-18317 | run-01 | 1 | 0.128.0 | legacy | true | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 48,030 | 21,760 | 3,750 | null | 51,780 | null | 41.701227 | {
"buggy_blocks": [
{
"file": "src/server/service/kv.rs",
"function": "service::kv::KvService::batch_get",
"start_line": 132,
"end_line": 150,
"bug_contribution": "BatchGet implementation loops over keys and issues individual storage engine calls instead of using MultiGet, causing O(... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-18317 | run-02 | 2 | 0.128.0 | legacy | true | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 40,430 | 10,368 | 4,784 | null | 45,214 | null | 62.440955 | {
"buggy_blocks": [
{
"file": "src/storage/statistics.rs",
"function": "MVCCFlowStats::record_bytes",
"start_line": 102,
"end_line": 110,
"bug_contribution": "Changed atomic counter updates from `Ordering::Relaxed` to `Ordering::SeqCst`, introducing a full memory fence on each operat... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-18317 | run-03 | 3 | 0.128.0 | legacy | true | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 312,483 | 284,672 | 10,622 | null | 323,105 | null | 79.84106 | {
"buggy_blocks": [
{
"file": "src/import/sst_service.rs",
"function": "check_import_resources",
"start_line": 101,
"end_line": 150,
"bug_contribution": "Per-chunk calls to this function execute expensive disk/memory checks and an asynchronous sleep jitter, adding ~1\u20132 ms delay ... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-18458 | run-01 | 1 | 0.128.0 | legacy | true | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 95,660 | 53,504 | 4,274 | null | 99,934 | null | 59.055617 | {
"buggy_blocks": [
{
"file": "components/raftstore/src/store/peer.rs",
"function": "Peer::maybe_append_entries",
"start_line": 2245,
"end_line": 2251,
"bug_contribution": "Learner peers (e.g., TiFlash replicas) are skipped during unsafe recovery, so they are never recovered and rema... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-18458 | run-02 | 2 | 0.128.0 | legacy | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 37,671 | 10,368 | 2,418 | null | 40,089 | null | 36.980423 | {
"buggy_blocks": [],
"bug_cause_description": "Unable to inspect the code base due to environment limitations; please ensure workspace files are accessible and retry."
} |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-18458 | run-03 | 3 | 0.128.0 | legacy | true | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 101,525 | 58,496 | 3,888 | null | 105,413 | null | 48.98861 | {
"buggy_blocks": [
{
"file": "components/raftstore/src/store/peer.rs",
"function": "Peer::maybe_force_forward_commit_index",
"start_line": 2243,
"end_line": 2249,
"bug_contribution": "This block unconditionally skips learner peers (PeerRole::Learner) when computing the commit index ... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-18498 | run-01 | 1 | 0.128.0 | legacy | true | 2 | 1 | 1 | 0 | 1 | 1 | 0.5 | 0 | 0.5 | 1 | 1 | 46,814 | 10,368 | 2,893 | null | 49,707 | null | 41.243319 | {
"buggy_blocks": [
{
"file": "components/cdc/src/delegate.rs",
"function": "Delegate::push_lock",
"start_line": 366,
"end_line": 384,
"bug_contribution": "The code asserts that two TimeStamp values are equal (left == right), but under CDC the timestamps can legitimately differ, trig... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-18498 | run-02 | 2 | 0.128.0 | legacy | true | 2 | 1 | 1 | 0 | 1 | 1 | 0.5 | 0 | 0.5 | 1 | 1 | 39,355 | 10,368 | 3,783 | null | 43,138 | null | 45.339725 | {
"buggy_blocks": [
{
"file": "components/cdc/src/delegate.rs",
"function": "Delegate::push_lock",
"start_line": 364,
"end_line": 380,
"bug_contribution": "The assertion comparing the lock\u2019s timestamp to the resolved timestamp can fail under CDC when min_commit_ts and resolved_t... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-18498 | run-03 | 3 | 0.128.0 | legacy | true | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 48,224 | 26,752 | 2,831 | null | 51,055 | null | 38.943466 | {
"buggy_blocks": [
{
"file": "components/cdc/src/delegate.rs",
"function": "cdc::delegate::Delegate::push_lock",
"start_line": 369,
"end_line": 377,
"bug_contribution": "This code unconditionally asserts that an existing lock\u2019s timestamp exactly matches the new start_ts.ts and ... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-18756 | run-01 | 1 | 0.128.0 | legacy | true | 2 | 1 | 0.333333 | 0.333333 | 1 | 1 | 0.5 | 0.153846 | 1 | 0.666667 | 1 | 383,169 | 335,488 | 7,962 | null | 391,131 | null | 76.82627 | {
"buggy_blocks": [
{
"file": "components/tikv_util/src/range_latch.rs",
"function": "RangeLatch::acquire",
"start_line": 105,
"end_line": 109,
"bug_contribution": "The RangeLatchGuard constructor omits storing the Arc<Mutex<()>> in the guard, so when the map removal drops the last A... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-18756 | run-02 | 2 | 0.128.0 | legacy | true | 1 | 1 | 0.333333 | 0 | 0.333333 | 1 | 1 | 0 | 1 | 0.666667 | 1 | 599,233 | 438,528 | 13,416 | null | 612,649 | null | 123.416716 | {
"buggy_blocks": [
{
"file": "components/tikv_util/src/range_latch.rs",
"function": "RangeLatch::acquire",
"start_line": 98,
"end_line": 104,
"bug_contribution": "Unsafe use of std::mem::transmute to extend the lifetime of `MutexGuard` causes undefined behavior, leading to invalid p... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-18756 | run-03 | 3 | 0.128.0 | legacy | true | 3 | 1 | 0.666667 | 0.5 | 1 | 1 | 0.666667 | 0.142857 | 1 | 0.666667 | 1 | 179,080 | 171,008 | 9,428 | null | 188,508 | null | 77.273272 | {
"buggy_blocks": [
{
"file": "components/tikv_util/src/range_latch.rs",
"function": "RangeLatch::acquire",
"start_line": 97,
"end_line": 105,
"bug_contribution": "The unsafe std::mem::transmute extends the MutexGuard lifetime unsoundly, leading to a guard referencing a freed mutex."... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-18912 | run-01 | 1 | 0.128.0 | legacy | true | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0.1 | 1 | 1 | 1 | 100,444 | 93,184 | 2,717 | null | 103,161 | null | 25.112089 | {
"buggy_blocks": [
{
"file": "components/raftstore/src/store/compaction_guard.rs",
"function": "raftstore::store::compaction_guard::overlap_with",
"start_line": 331,
"end_line": 341,
"bug_contribution": "The function unconditionally asserts that `last_key < next_key`, but in compact... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-18912 | run-02 | 2 | 0.128.0 | legacy | true | 2 | 1 | 1 | 1 | 1 | 1 | 0.5 | 0.1 | 0.5 | 1 | 1 | 103,824 | 89,728 | 3,397 | null | 107,221 | null | 32.731173 | {
"buggy_blocks": [
{
"file": "components/raftstore/src/store/compaction_guard.rs",
"function": "overlap_with",
"start_line": 331,
"end_line": 338,
"bug_contribution": "The function unconditionally asserts that `last_key < next_key`, causing a panic when callers supply equal or rever... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-18912 | run-03 | 3 | 0.128.0 | legacy | true | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 81,587 | 73,984 | 3,009 | null | 84,596 | null | 29.719607 | {
"buggy_blocks": [
{
"file": "components/raftstore/src/store/compaction_guard.rs",
"function": "overlap_with",
"start_line": 332,
"end_line": 333,
"bug_contribution": "An unconditional assertion `assert!(last_key < next_key)` panics when keys are equal or out of order during compact... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-18983 | run-01 | 1 | 0.128.0 | legacy | true | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 477,948 | 347,776 | 3,551 | null | 481,499 | null | 786.640454 | {
"buggy_blocks": [
{
"file": "components/raftstore/src/store/entry_storage.rs",
"function": "raftstore::store::entry_storage::EntryStorage::term",
"start_line": 1114,
"end_line": 1125,
"bug_contribution": "Panics when `raft_engine.get_entry` returns `None`, due to unwrapping and `un... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-18983 | run-02 | 2 | 0.128.0 | legacy | true | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 91,872 | 85,248 | 3,734 | null | 95,606 | null | 29.722761 | {
"buggy_blocks": [
{
"file": "components/raftstore/src/store/entry_storage.rs",
"function": "raftstore::store::entry_storage::EntryStorage::term",
"start_line": 1114,
"end_line": 1125,
"bug_contribution": "The code uses `unwrap_or_else` on the result of `raft_engine.get_entry`, pani... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-18983 | run-03 | 3 | 0.128.0 | legacy | true | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 241,685 | 212,480 | 7,071 | null | 248,756 | null | 57.486505 | {
"buggy_blocks": [
{
"file": "components/raftstore/src/store/entry_storage.rs",
"function": "raftstore::store::entry_storage::EntryStorage::term",
"start_line": 1113,
"end_line": 1125,
"bug_contribution": "The code panics when `raft_engine.get_entry` returns `None` (e.g., after log ... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-19004 | run-01 | 1 | 0.128.0 | legacy | true | 2 | 0.5 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0.166667 | 1 | 24,235 | 10,368 | 3,672 | null | 27,907 | null | 36.57857 | {
"buggy_blocks": [
{
"file": "components/raftstore/src/store/fsm/store.rs",
"function": "<raftstore::store::fsm::store::RaftPoller<EK,ER,T> as batch_system::batch::PollHandler<raftstore::store::fsm::peer::PeerFsm<EK,ER>,raftstore::store::fsm::store::StoreFsm<EK>>>::handle_normal",
"start_line":... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-19004 | run-02 | 2 | 0.128.0 | legacy | true | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 60,069 | 10,368 | 4,650 | null | 64,719 | null | 75.099802 | {
"buggy_blocks": [
{
"file": "components/raftstore/src/store/fsm/store.rs",
"function": "raftstore::store::fsm::store::RaftPoller<EK,ER,T>::handle_normal",
"start_line": 1075,
"end_line": 1079,
"bug_contribution": "The assertion uses `assert!(self.fsm.peer.pending_remove)` to check ... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-19004 | run-03 | 3 | 0.128.0 | legacy | true | 1 | 0.5 | 0.166667 | 0 | 0 | 1 | 1 | 0 | 0 | 0.166667 | 1 | 58,540 | 10,368 | 5,198 | null | 63,738 | null | 69.521024 | {
"buggy_blocks": [
{
"file": "components/raftstore/src/store/fsm/peer.rs",
"function": "PeerFsmDelegate::destroy_peer",
"start_line": 168,
"end_line": 174,
"bug_contribution": "A misplaced closing brace prematurely ends the destroy_peer method, detaching the following non-leader res... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-19220 | run-01 | 1 | 0.128.0 | legacy | true | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1,744,508 | 1,548,416 | 13,701 | null | 1,758,209 | null | 167.866936 | {
"buggy_blocks": [
{
"file": "components/raftstore/src/store/worker/pd.rs",
"function": "Runner::handle_store_heartbeat",
"start_line": 1270,
"end_line": 1290,
"bug_contribution": "The code filters out read statistics below a hard-coded threshold, skipping small full table scan load... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-19220 | run-02 | 2 | 0.128.0 | legacy | true | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 373,052 | 310,272 | 5,876 | null | 378,928 | null | 64.197966 | {
"buggy_blocks": [
{
"file": "components/raftstore/src/store/worker/split_check.rs",
"function": "BucketStatsInfo::gen_bucket_range_for_update",
"start_line": 167,
"end_line": 183,
"bug_contribution": "Only write_bytes are considered when calculating bucket load, so read-heavy scan ... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-19220 | run-03 | 3 | 0.128.0 | legacy | true | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 539,324 | 479,616 | 5,764 | null | 545,088 | null | 71.405752 | {
"buggy_blocks": [
{
"file": "components/raftstore/src/store/worker/split_controller.rs",
"function": "SplitController::flush",
"start_line": 828,
"end_line": 834,
"bug_contribution": "The skip condition uses logical AND for threshold and hot checks, so regions are only skipped when... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-19238 | run-01 | 1 | 0.128.0 | legacy | true | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 715,578 | 619,776 | 7,587 | null | 723,165 | null | 92.200521 | {
"buggy_blocks": [
{
"file": "components/backup-stream/src/router.rs",
"function": "Router::generate_backup_metadata",
"start_line": 1124,
"end_line": 1132,
"bug_contribution": "Holds write locks on `flushing_files` and `flushing_meta_files` across an `.await` when flushing template... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-19238 | run-02 | 2 | 0.128.0 | legacy | true | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 227,749 | 207,744 | 8,176 | null | 235,925 | null | 72.563528 | {
"buggy_blocks": [
{
"file": "components/backup-stream/src/metadata/store/slash_etc.rs",
"function": "SlashEtcStore.watch",
"start_line": 204,
"end_line": 255,
"bug_contribution": "Holds the async Mutex lock across `tx.send(event).await` in the pending events loop, blocking other ta... |
codex-cli__o4-mini | Codex CLI | o4-mini | tikv-19238 | run-03 | 3 | 0.128.0 | legacy | true | 2 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1,266,631 | 1,086,464 | 11,819 | null | 1,278,450 | null | 131.436153 | {
"buggy_blocks": [
{
"file": "components/backup-stream/src/router.rs",
"function": "DataFile::on_events",
"start_line": 1833,
"end_line": 1876,
"bug_contribution": "The method acquires a Tokio async Mutex guard on the DataFile and holds it across multiple `.await` calls (via `self.i... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-2581 | run-01 | 1 | 0.128.0 | legacy | true | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 52,639 | 10,368 | 4,178 | null | 56,817 | null | 53.885594 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/common/X509Util.java",
"function": "org.apache.zookeeper.common.X509Util.createKeyManager",
"start_line": 531,
"end_line": 546,
"bug_contribution": "The catch block only handles IOException, GeneralSec... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-2581 | run-02 | 2 | 0.128.0 | legacy | true | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 45,151 | 10,368 | 4,013 | null | 49,164 | null | 50.827365 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/common/X509Util.java",
"function": "X509Util.createKeyManager",
"start_line": 109,
"end_line": 116,
"bug_contribution": "KeyManagerFactory.init is invoked on a null KeyStore when no keystore is configu... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-2581 | run-03 | 3 | 0.128.0 | legacy | true | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 39,741 | 10,368 | 4,332 | null | 44,073 | null | 46.546726 | {
"buggy_blocks": [
{
"file": "zookeeper-common/src/main/java/org/apache/zookeeper/common/X509Util.java",
"function": "X509Util.createKeyManager",
"start_line": 109,
"end_line": 130,
"bug_contribution": "No null-check for keyStoreLocation, causing NullPointerException when property i... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-2623 | run-01 | 1 | 0.128.0 | legacy | true | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 45,222 | 10,368 | 6,052 | null | 51,274 | null | 63.486585 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/SyncRequestProcessor.java",
"function": "SyncRequestProcessor.processRequest",
"start_line": 217,
"end_line": 237,
"bug_contribution": "Erroneously treats CHECK requests issued outside of... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-2623 | run-02 | 2 | 0.128.0 | legacy | true | 2 | 0.5 | 0.5 | 0 | 0 | 0.5 | 0.5 | 0 | 0 | 0.5 | 1 | 96,449 | 10,368 | 11,155 | null | 107,604 | null | 143.290878 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/CommitProcessor.java",
"function": "CommitProcessor.needCommit",
"start_line": 127,
"end_line": 137,
"bug_contribution": "The switch in needCommit incorrectly treats OpCode.check as a wri... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-2623 | run-03 | 3 | 0.128.0 | legacy | true | 2 | 0 | 0.5 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0.5 | 1 | 47,698 | 10,368 | 3,474 | null | 51,172 | null | 48.459844 | {
"buggy_blocks": [
{
"file": "src/java/main/org/apache/zookeeper/server/ZKDatabase.java",
"function": "ZKDatabase.addCommittedProposal",
"start_line": 315,
"end_line": 333,
"bug_contribution": "References the request\u2019s TxnHeader and associated fields without checking for null, ... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-2775 | run-01 | 1 | 0.128.0 | legacy | true | 2 | 1 | 0 | 0.3 | 1 | 1 | 0 | 0.75 | 0.5 | 1 | 1 | 143,307 | 126,464 | 4,774 | null | 148,081 | null | 44.656552 | {
"buggy_blocks": [
{
"file": "src/java/main/org/apache/zookeeper/ClientCnxn.java",
"function": "ClientCnxn.startConnect",
"start_line": 1083,
"end_line": 1095,
"bug_contribution": "Sets saslLoginFailed to true on failed SASL initialization but never resets it on subsequent connectio... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-2775 | run-02 | 2 | 0.128.0 | legacy | true | 2 | 1 | 0 | 0.3 | 1 | 1 | 0 | 0.428571 | 0.5 | 1 | 1 | 289,120 | 250,496 | 11,726 | null | 300,846 | null | 97.824911 | {
"buggy_blocks": [
{
"file": "src/java/main/org/apache/zookeeper/ClientCnxn.java",
"function": "ClientCnxn.startConnect",
"start_line": 1078,
"end_line": 1090,
"bug_contribution": "The saslLoginFailed flag is set on initial login failure but never reset before subsequent connections... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-2775 | run-03 | 3 | 0.128.0 | legacy | true | 2 | 1 | 0 | 1 | 1 | 1 | 0 | 0.740741 | 0.5 | 1 | 1 | 245,217 | 210,304 | 5,376 | null | 250,593 | null | 56.329848 | {
"buggy_blocks": [
{
"file": "src/java/main/org/apache/zookeeper/ClientCnxn.java",
"function": "ClientCnxn.startConnect",
"start_line": 1056,
"end_line": 1100,
"bug_contribution": "saslLoginFailed flag is set to true on initial SASL login failure but never reset on subsequent connec... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-2836 | run-01 | 1 | 0.128.0 | legacy | true | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 202,854 | 163,072 | 4,556 | null | 207,410 | null | 48.01828 | {
"buggy_blocks": [
{
"file": "src/java/main/org/apache/zookeeper/server/quorum/QuorumCnxManager.java",
"function": "QuorumCnxManager.Listener.run",
"start_line": 647,
"end_line": 664,
"bug_contribution": "Catches all IOExceptions including SocketTimeoutException in a single block, i... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-2836 | run-02 | 2 | 0.128.0 | legacy | true | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 111,906 | 99,712 | 4,287 | null | 116,193 | null | 36.484277 | {
"buggy_blocks": [
{
"file": "src/java/main/org/apache/zookeeper/server/quorum/QuorumCnxManager.java",
"function": "QuorumCnxManager.Listener.run",
"start_line": 647,
"end_line": 664,
"bug_contribution": "The catch block for IOException catches SocketTimeoutException and increments ... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-2836 | run-03 | 3 | 0.128.0 | legacy | true | 2 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0.5 | 1 | 1 | 218,573 | 184,832 | 4,662 | null | 223,235 | null | 54.273804 | {
"buggy_blocks": [
{
"file": "src/java/main/org/apache/zookeeper/server/quorum/QuorumCnxManager.java",
"function": "QuorumCnxManager.Listener.run",
"start_line": 623,
"end_line": 624,
"bug_contribution": "The retry loop limits retries to 3, causing the listener to exit after three S... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-2845 | run-01 | 1 | 0.128.0 | legacy | true | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 43,458 | 22,656 | 3,087 | null | 46,545 | null | 34.226452 | {
"buggy_blocks": [
{
"file": "src/java/org/apache/zookeeper/server/quorum/QuorumPeer.java",
"function": "QuorumPeer.shutdown",
"start_line": 660,
"end_line": 673,
"bug_contribution": "The conditional skip of closing the ZKDatabase and FileTxnLog when the retainDb flag is true causes... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-2845 | run-02 | 2 | 0.128.0 | legacy | true | 2 | 1 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 1 | 1 | 62,301 | 22,528 | 3,625 | null | 65,926 | null | 45.050798 | {
"buggy_blocks": [
{
"file": "src/java/main/org/apache/zookeeper/server/quorum/QuorumPeerMain.java",
"function": "QuorumPeerMain.main",
"start_line": 245,
"end_line": 260,
"bug_contribution": "Retained previous ZKDatabase instance across leader election without verifying snapshot co... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-2845 | run-03 | 3 | 0.128.0 | legacy | true | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 65,430 | 10,368 | 5,510 | null | 70,940 | null | 83.008141 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/ZKDatabase.java",
"function": "org.apache.zookeeper.server.ZKDatabase.<init>(FileTxnSnapLog, ZKDatabase)",
"start_line": 95,
"end_line": 135,
"bug_contribution": "This overloaded constructor reu... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-2959 | run-01 | 1 | 0.128.0 | legacy | true | 2 | 1 | 1 | 1 | 1 | 1 | 1 | 0.032258 | 1 | 1 | 1 | 140,195 | 121,472 | 4,555 | null | 144,750 | null | 42.90256 | {
"buggy_blocks": [
{
"file": "src/java/main/org/apache/zookeeper/server/quorum/Leader.java",
"function": "org.apache.zookeeper.server.quorum.Leader.getEpochToPropose",
"start_line": 1169,
"end_line": 1198,
"bug_contribution": "This method adds all learner sids (including observers) ... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-2959 | run-02 | 2 | 0.128.0 | legacy | true | 2 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 109,455 | 102,656 | 5,691 | null | 115,146 | null | 41.544564 | {
"buggy_blocks": [
{
"file": "src/java/main/org/apache/zookeeper/server/quorum/Leader.java",
"function": "org.apache.zookeeper.server.quorum.Leader.getEpochToPropose",
"start_line": 1177,
"end_line": 1178,
"bug_contribution": "Observers are added to connectingFollowers, so they are ... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-2959 | run-03 | 3 | 0.128.0 | legacy | true | 1 | 1 | 0.5 | 0.5 | 0.5 | 1 | 1 | 0.142857 | 1 | 1 | 1 | 234,383 | 204,288 | 6,535 | null | 240,918 | null | 69.81252 | {
"buggy_blocks": [
{
"file": "src/java/main/org/apache/zookeeper/server/quorum/Leader.java",
"function": "Leader.getEpochToPropose",
"start_line": 1177,
"end_line": 1184,
"bug_contribution": "connectingFollowers contains observer IDs, so observers count toward quorum in containsQuor... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-2960 | run-01 | 1 | 0.128.0 | legacy | true | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 242,910 | 214,272 | 5,172 | null | 248,082 | null | 53.822822 | {
"buggy_blocks": [
{
"file": "src/java/main/org/apache/zookeeper/server/quorum/QuorumPeerMain.java",
"function": "org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig",
"start_line": 139,
"end_line": 142,
"bug_contribution": "Arguments to FileTxnSnapLog are passed in the ... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-2960 | run-02 | 2 | 0.128.0 | legacy | true | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 514,187 | 379,648 | 10,672 | null | 524,859 | null | 104.673805 | {
"buggy_blocks": [
{
"file": "src/java/main/org/apache/zookeeper/server/quorum/QuorumPeerMain.java",
"function": "QuorumPeerMain.runFromConfig",
"start_line": 139,
"end_line": 142,
"bug_contribution": "The FileTxnSnapLog constructor is passed the snapshot directory (config.getDataDi... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-2960 | run-03 | 3 | 0.128.0 | legacy | true | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 308,815 | 256,256 | 8,821 | null | 317,636 | null | 72.213394 | {
"buggy_blocks": [
{
"file": "src/java/main/org/apache/zookeeper/server/quorum/QuorumPeerMain.java",
"function": "org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig",
"start_line": 139,
"end_line": 142,
"bug_contribution": "Arguments to FileTxnSnapLog are swapped: passi... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-2982 | run-01 | 1 | 0.128.0 | legacy | true | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 57,130 | 10,368 | 6,531 | null | 63,661 | null | 77.722325 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/Learner.java",
"function": "Learner.connectToLeader",
"start_line": 162,
"end_line": 182,
"bug_contribution": "connectToLeader uses the cached list of InetSocketAddress values from multiA... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-2982 | run-02 | 2 | 0.128.0 | legacy | true | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 21,745 | 10,368 | 3,444 | null | 25,189 | null | 31.405459 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/Learner.java",
"function": "Learner.sockConnect",
"start_line": 223,
"end_line": 227,
"bug_contribution": "Resolves leader host via a single InetSocketAddress lookup and propagates Unknow... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-2982 | run-03 | 3 | 0.128.0 | legacy | true | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 51,289 | 10,368 | 6,871 | null | 58,160 | null | 68.220621 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/QuorumPeerConfig.java",
"function": "QuorumPeerConfig.parse",
"start_line": 260,
"end_line": 270,
"bug_contribution": "Resolves hostnames during configuration parsing using InetSocketAddr... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-3218 | run-01 | 1 | 0.128.0 | legacy | true | 1 | 1 | 1 | 0.833333 | 1 | 1 | 1 | 0.952381 | 1 | 1 | 1 | 213,930 | 179,456 | 4,198 | null | 218,128 | null | 39.394191 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/FastLeaderElection.java",
"function": "FastLeaderElection.lookForLeader",
"start_line": 899,
"end_line": 920,
"bug_contribution": "Observer peers use the same exponential backoff when pol... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-3218 | run-02 | 2 | 0.128.0 | legacy | true | 1 | 1 | 1 | 0.833333 | 1 | 1 | 1 | 0.952381 | 1 | 1 | 1 | 183,604 | 158,080 | 5,566 | null | 189,170 | null | 47.507513 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/FastLeaderElection.java",
"function": "org.apache.zookeeper.server.quorum.FastLeaderElection.lookForLeader",
"start_line": 899,
"end_line": 920,
"bug_contribution": "Exponential backoff i... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-3218 | run-03 | 3 | 0.128.0 | legacy | true | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0.6 | 1 | 1 | 1 | 178,423 | 169,984 | 6,493 | null | 184,916 | null | 56.824457 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/FastLeaderElection.java",
"function": "FastLeaderElection.lookForLeader",
"start_line": 893,
"end_line": 933,
"bug_contribution": "Exponential backoff in recvqueue.poll causes observer to... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-3642 | run-01 | 1 | 0.128.0 | legacy | true | 2 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 164,698 | 134,400 | 4,638 | null | 169,336 | null | 44.851279 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/Learner.java",
"function": "Learner.syncWithLeader",
"start_line": 394,
"end_line": 409,
"bug_contribution": "The SNAP handler deserializes the snapshot into memory and updates lastProces... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-3642 | run-02 | 2 | 0.128.0 | legacy | true | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 510,034 | 418,560 | 7,681 | null | 517,715 | null | 76.119252 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/Learner.java",
"function": "Learner.syncWithLeader",
"start_line": 390,
"end_line": 399,
"bug_contribution": "Learner receives a SNAP from the leader and deserializes it into memory and u... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-3642 | run-03 | 3 | 0.128.0 | legacy | true | 2 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 443,926 | 405,760 | 7,083 | null | 451,009 | null | 82.986391 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/Learner.java",
"function": "Learner.syncWithLeader",
"start_line": 394,
"end_line": 412,
"bug_contribution": "The SNAP branch deserializes the snapshot into memory and updates lastProcess... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-3644 | run-01 | 1 | 0.128.0 | legacy | true | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0.176471 | 1 | 1 | 1 | 104,758 | 87,552 | 3,564 | null | 108,322 | null | 34.729 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/persistence/FileTxnSnapLog.java",
"function": "FileTxnSnapLog.restore",
"start_line": 215,
"end_line": 232,
"bug_contribution": "When no snapshot is found and snapshot.trust.empty is true, resto... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-3644 | run-02 | 2 | 0.128.0 | legacy | true | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0.166667 | 1 | 1 | 1 | 297,768 | 259,456 | 4,593 | null | 302,361 | null | 51.571657 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/persistence/FileTxnSnapLog.java",
"function": "FileTxnSnapLog.restore",
"start_line": 215,
"end_line": 233,
"bug_contribution": "When no snapshot is found and snapshot.trust.empty is true, the c... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-3644 | run-03 | 3 | 0.128.0 | legacy | true | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0.166667 | 1 | 1 | 1 | 155,968 | 137,728 | 2,942 | null | 158,910 | null | 39.689687 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/persistence/FileTxnSnapLog.java",
"function": "FileTxnSnapLog.restore",
"start_line": 215,
"end_line": 233,
"bug_contribution": "When snapshot.trust.empty is true and no snapshot exists, the cod... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-3656 | run-01 | 1 | 0.128.0 | legacy | true | 1 | 1 | 1 | 0.230769 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 178,327 | 156,544 | 4,185 | null | 182,512 | null | 41.192962 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/SyncRequestProcessor.java",
"function": "org.apache.zookeeper.server.SyncRequestProcessor.flush",
"start_line": 239,
"end_line": 242,
"bug_contribution": "In the observer case (nextProcessor is ... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-3656 | run-02 | 2 | 0.128.0 | legacy | true | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 169,428 | 139,776 | 4,318 | null | 173,746 | null | 42.847351 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/SyncRequestProcessor.java",
"function": "org.apache.zookeeper.server.SyncRequestProcessor.flush",
"start_line": 239,
"end_line": 252,
"bug_contribution": "When nextProcessor is null (observer ca... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-3656 | run-03 | 3 | 0.128.0 | legacy | true | 1 | 1 | 1 | 0.230769 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 116,432 | 99,200 | 2,510 | null | 118,942 | null | 28.627346 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/SyncRequestProcessor.java",
"function": "SyncRequestProcessor.flush",
"start_line": 239,
"end_line": 242,
"bug_contribution": "In the observer case (nextProcessor is null), flush() clears toFlus... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-3769 | run-01 | 1 | 0.128.0 | legacy | true | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 630,924 | 515,456 | 11,484 | null | 642,408 | null | 110.30456 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/QuorumCnxManager.java",
"function": "QuorumCnxManager.haveDelivered",
"start_line": 749,
"end_line": 759,
"bug_contribution": "The method returns true as soon as any single queue is empty... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-3769 | run-02 | 2 | 0.128.0 | legacy | true | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 78,598 | 70,528 | 5,131 | null | 83,729 | null | 38.940692 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/QuorumCnxManager.java",
"function": "QuorumCnxManager.run",
"start_line": 908,
"end_line": 911,
"bug_contribution": "Binds the election server socket using new InetSocketAddress(port), wh... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-3769 | run-03 | 3 | 0.128.0 | legacy | true | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 867,397 | 746,496 | 12,055 | null | 879,452 | null | 120.107294 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/QuorumCnxManager.java",
"function": "org.apache.zookeeper.server.quorum.QuorumCnxManager.connectOne",
"start_line": 698,
"end_line": 702,
"bug_contribution": "The method skips reconnectin... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-3829 | run-01 | 1 | 0.128.0 | legacy | true | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 117,602 | 103,808 | 3,517 | null | 121,119 | null | 42.748647 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/CommitProcessor.java",
"function": "CommitProcessor.start",
"start_line": 441,
"end_line": 444,
"bug_contribution": "Only creates a new WorkerService if `workerPool` is null, so after shu... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-3829 | run-02 | 2 | 0.128.0 | legacy | true | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 245,500 | 174,976 | 3,805 | null | 249,305 | null | 56.933321 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/CommitProcessor.java",
"function": "org.apache.zookeeper.server.quorum.CommitProcessor.shutdown",
"start_line": 616,
"end_line": 628,
"bug_contribution": "The shutdown method stops and jo... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-3829 | run-03 | 3 | 0.128.0 | legacy | true | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 446,202 | 397,824 | 6,465 | null | 452,667 | null | 79.929672 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/CommitProcessor.java",
"function": "org.apache.zookeeper.server.quorum.CommitProcessor.start",
"start_line": 441,
"end_line": 444,
"bug_contribution": "The `start()` method only creates a... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-3988 | run-01 | 1 | 0.128.0 | legacy | true | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 579,006 | 487,040 | 14,350 | null | 593,356 | null | 128.874763 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/NettyServerCnxn.java",
"function": "NettyServerCnxn.receiveMessage",
"start_line": 503,
"end_line": 532,
"bug_contribution": "In the header-reading branch (when bb == null), the code calls zkSer... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-3988 | run-02 | 2 | 0.128.0 | legacy | true | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 708,043 | 622,720 | 11,211 | null | 719,254 | null | 96.874008 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/NettyServerCnxn.java",
"function": "NettyServerCnxn.receiveMessage",
"start_line": 514,
"end_line": 526,
"bug_contribution": "Calls zkServer.checkRequestSizeWhenReceivingMessage(len) directly on... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-3988 | run-03 | 3 | 0.128.0 | legacy | true | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 350,613 | 306,560 | 5,415 | null | 356,028 | null | 56.176724 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/server/NettyServerCnxn.java",
"function": "NettyServerCnxn.receiveMessage",
"start_line": 490,
"end_line": 538,
"bug_contribution": "receiveMessage processes ByteBuf without checking channel close stat... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-4699 | run-01 | 1 | 0.128.0 | legacy | true | 2 | 1 | 1 | 1 | 1 | 1 | 0.5 | 0.333333 | 0.5 | 1 | 1 | 297,567 | 267,264 | 4,794 | null | 302,361 | null | 48.21202 | {
"buggy_blocks": [
{
"file": "zookeeper-client/zookeeper-client-c/src/zookeeper.c",
"function": "zoo_set_servers",
"start_line": 1491,
"end_line": 1495,
"bug_contribution": "Frees zh->hostname in one thread, which can lead to use-after-free when another thread accesses the old hostn... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-4699 | run-02 | 2 | 0.128.0 | legacy | true | 2 | 1 | 1 | 1 | 1 | 1 | 0.5 | 0.153846 | 0.5 | 1 | 1 | 334,899 | 282,368 | 6,381 | null | 341,280 | null | 64.096244 | {
"buggy_blocks": [
{
"file": "zookeeper-client/zookeeper-client-c/src/zookeeper.c",
"function": "zookeeper_interest",
"start_line": 2558,
"end_line": 2565,
"bug_contribution": "zookeeper_interest logs zh->hostname without acquiring lock_reconfig, allowing a concurrent zoo_set_server... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-4699 | run-03 | 3 | 0.128.0 | legacy | true | 2 | 1 | 1 | 1 | 1 | 1 | 0.5 | 0.111111 | 0.5 | 1 | 1 | 190,176 | 167,040 | 6,787 | null | 196,963 | null | 55.792266 | {
"buggy_blocks": [
{
"file": "zookeeper-client/zookeeper-client-c/src/zookeeper.c",
"function": "zookeeper_interest",
"start_line": 2561,
"end_line": 2563,
"bug_contribution": "Accesses zh->hostname without holding lock_reconfig, risking use-after-free when another thread frees host... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-4761 | run-01 | 1 | 0.128.0 | legacy | true | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0.125 | 1 | 1 | 1 | 88,976 | 83,968 | 3,232 | null | 92,208 | null | 27.812937 | {
"buggy_blocks": [
{
"file": "zookeeper-client/zookeeper-client-c/src/cli.c",
"function": "main",
"start_line": 924,
"end_line": 932,
"bug_contribution": "The code reads `myid` with `fread(&myid, sizeof(myid), 1, fh)` but incorrectly compares the returned item count to `sizeof(myid)... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-4761 | run-02 | 2 | 0.128.0 | legacy | true | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 128,047 | 108,416 | 2,534 | null | 130,581 | null | 24.563368 | {
"buggy_blocks": [
{
"file": "zookeeper-client/zookeeper-client-c/src/cli.c",
"function": "main",
"start_line": 927,
"end_line": 928,
"bug_contribution": "Compares fread return value to sizeof(myid) instead of item count, causing the condition to always be true and zero out the save... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-4761 | run-03 | 3 | 0.128.0 | legacy | true | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0.333333 | 1 | 1 | 1 | 102,448 | 97,280 | 3,882 | null | 106,330 | null | 30.482484 | {
"buggy_blocks": [
{
"file": "zookeeper-client/zookeeper-client-c/src/cli.c",
"function": "main",
"start_line": 927,
"end_line": 930,
"bug_contribution": "The code compares fread\u2019s return value (number of items read) against sizeof(myid) (bytes), so the check always fails on su... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-4921 | run-01 | 1 | 0.128.0 | legacy | true | 2 | 1 | 1 | 0.888889 | 1 | 1 | 1 | 0.615385 | 0.5 | 1 | 1 | 222,857 | 199,808 | 4,567 | null | 227,424 | null | 48.556431 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/ClientCnxn.java",
"function": "ClientCnxn.SendThread.run",
"start_line": 1246,
"end_line": 1254,
"bug_contribution": "On session timeout the code sets state to CLOSED and throws SessionTimeoutException... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-4921 | run-02 | 2 | 0.128.0 | legacy | true | 1 | 1 | 1 | 0.666667 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 251,713 | 212,480 | 6,329 | null | 258,042 | null | 59.694498 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/ClientCnxn.java",
"function": "ClientCnxn.SendThread.run",
"start_line": 1246,
"end_line": 1252,
"bug_contribution": "The session expiration check closes the session state and throws SessionTimeoutExce... |
codex-cli__o4-mini | Codex CLI | o4-mini | zookeeper-4921 | run-03 | 3 | 0.128.0 | legacy | true | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 359,930 | 308,096 | 5,997 | null | 365,927 | null | 61.484833 | {
"buggy_blocks": [
{
"file": "zookeeper-server/src/main/java/org/apache/zookeeper/ClientCnxn.java",
"function": "ClientCnxn.SendThread.run",
"start_line": 1245,
"end_line": 1254,
"bug_contribution": "On read-timeout expiration, the code sets the state to CLOSED and throws SessionTim... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.