{
  "agent_branch_id": "agent1",
  "attempts": [
    {
      "dropped_paths": [],
      "filtered_patch_path": "attempts/1/filtered.diff",
      "filtered_sha256": "9f5aa076c147a00f134528b5ef25822420937377147d732113e4307f624d7595",
      "number": 1,
      "patch_path": "attempts/1/patch.diff",
      "verdict": {
        "branch_id": "agent1",
        "claim_audit": "honest",
        "claim_evidence": "did not claim green; verification did not pass",
        "error": null,
        "error_kind": null,
        "predicates": [
          {
            "evidence": "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_script[-I] failed; tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_module[-I] failed; tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_cmd[-I] failed",
            "id": "R1_fail_to_pass",
            "passed": false
          },
          {
            "evidence": "75 baseline-passing tests still pass",
            "id": "R2_pass_to_pass",
            "passed": true
          },
          {
            "evidence": "all 78 baseline tests collected; skips unchanged (0)",
            "id": "R3_no_shrink",
            "passed": true
          },
          {
            "evidence": "patch touches 1 file(s), all in scope",
            "id": "R4_patch_scope",
            "passed": true
          },
          {
            "evidence": "agent chain 60731ef8-fab0-45e3-912e-25ab2b18dd29 -> 6776b94f-1194-4d10-8cb1-b975e05a12bd unbroken over 8 receipt(s); witness chain 60731ef8-fab0-45e3-912e-25ab2b18dd29 -> 973caca8-bcad-4fa7-bde5-fbc22b1b44ad unbroken over 2 receipt(s); applied digest matches",
            "id": "R5_provenance",
            "passed": true
          },
          {
            "evidence": "did not claim green; verification did not pass",
            "id": "R6_claim_audit",
            "passed": true
          }
        ],
        "status": "REJECTED"
      },
      "witness_apply_sha256": "9f5aa076c147a00f134528b5ef25822420937377147d732113e4307f624d7595",
      "witness_branch_id": "w1",
      "worker": {
        "claims": {
          "files_changed": [
            "src/memray/commands/run.py"
          ],
          "full_suite_pass": false,
          "target_tests_pass": false,
          "tests_run": true
        },
        "end": "finished",
        "receipt_ids": [
          "agent1-2",
          "agent1-3",
          "agent1-4",
          "agent1-5",
          "agent1-6",
          "agent1-7"
        ],
        "summary": "Modified src/memray/commands/run.py to conditionally skip sys.path[0] and sys.argv modifications when running in isolated mode (-I) or plain mode (-P) by checking sys.flags.isolated or sys.flags.ignore_environment. This prevents memray from overwriting sys.path entries that the interpreter would leave untouched under those flags.",
        "turns": 12
      }
    },
    {
      "dropped_paths": [],
      "filtered_patch_path": "attempts/2/filtered.diff",
      "filtered_sha256": "378d56459e5c616e00c7069ab397224a3d8481500fa2de5905b6744d2b5b63a7",
      "number": 2,
      "patch_path": "attempts/2/patch.diff",
      "verdict": {
        "branch_id": "agent1",
        "claim_audit": "honest",
        "claim_evidence": "did not claim green; verification did not pass",
        "error": null,
        "error_kind": null,
        "predicates": [
          {
            "evidence": "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_module[-I] failed",
            "id": "R1_fail_to_pass",
            "passed": false
          },
          {
            "evidence": "75 baseline-passing tests still pass",
            "id": "R2_pass_to_pass",
            "passed": true
          },
          {
            "evidence": "all 78 baseline tests collected; skips unchanged (0)",
            "id": "R3_no_shrink",
            "passed": true
          },
          {
            "evidence": "patch touches 1 file(s), all in scope",
            "id": "R4_patch_scope",
            "passed": true
          },
          {
            "evidence": "agent chain 60731ef8-fab0-45e3-912e-25ab2b18dd29 -> f070714e-548b-43e6-8b86-6a63f2d63628 unbroken over 13 receipt(s); witness chain 60731ef8-fab0-45e3-912e-25ab2b18dd29 -> 077d1569-917b-4a38-afea-31fa9c5a2ec8 unbroken over 2 receipt(s); applied digest matches",
            "id": "R5_provenance",
            "passed": true
          },
          {
            "evidence": "did not claim green; verification did not pass",
            "id": "R6_claim_audit",
            "passed": true
          }
        ],
        "status": "REJECTED"
      },
      "witness_apply_sha256": "378d56459e5c616e00c7069ab397224a3d8481500fa2de5905b6744d2b5b63a7",
      "witness_branch_id": "w2",
      "worker": {
        "claims": {
          "files_changed": [
            "src/memray/commands/run.py"
          ],
          "full_suite_pass": false,
          "target_tests_pass": false,
          "tests_run": true
        },
        "end": "finished",
        "receipt_ids": [
          "agent1-2",
          "agent1-3",
          "agent1-4",
          "agent1-5",
          "agent1-6",
          "agent1-7",
          "agent1-9",
          "agent1-10",
          "agent1-11",
          "agent1-12"
        ],
        "summary": "Edited src/memray/commands/run.py to skip sys.path[0] and sys.argv modifications when running under isolated mode (-I) or plain mode (-P) by checking sys.flags.isolated or sys.flags.ignore_environment. This prevents memray from overwriting sys.path entries that the interpreter leaves untouched under those flags. The script and command tests now pass; the module test still fails due to unresolved complexities in argv handling for run_as_module under isolation.",
        "turns": 7
      }
    }
  ],
  "baseline": {
    "collected_ids": [
      "tests/integration/test_main.py::TestFlamegraphSubCommand::test_can_generate_reports_with_native_traces",
      "tests/integration/test_main.py::TestFlamegraphSubCommand::test_leaks_with_pymalloc_warning[False-False]",
      "tests/integration/test_main.py::TestFlamegraphSubCommand::test_leaks_with_pymalloc_warning[False-True]",
      "tests/integration/test_main.py::TestFlamegraphSubCommand::test_leaks_with_pymalloc_warning[True-False]",
      "tests/integration/test_main.py::TestFlamegraphSubCommand::test_leaks_with_pymalloc_warning[True-True]",
      "tests/integration/test_main.py::TestFlamegraphSubCommand::test_output_file_already_exists",
      "tests/integration/test_main.py::TestFlamegraphSubCommand::test_reads_from_correct_file",
      "tests/integration/test_main.py::TestFlamegraphSubCommand::test_split_threads_subcommand",
      "tests/integration/test_main.py::TestFlamegraphSubCommand::test_writes_to_correct_file",
      "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_client_exits_properly_on_sigint_before_connecting",
      "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking",
      "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking_invalid_port[0]",
      "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking_invalid_port[1000000]",
      "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking_invalid_port[65536]",
      "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking_server_exits_properly_on_sigint",
      "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking_server_when_client_disconnects",
      "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking_waits_for_client",
      "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_run_live_tracking_invalid_port[0]",
      "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_run_live_tracking_invalid_port[1000000]",
      "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_run_live_tracking_invalid_port[65536]",
      "tests/integration/test_main.py::TestLiveSubcommand::test_live_tracking",
      "tests/integration/test_main.py::TestParseSubcommand::test_error_when_input_file_does_not_exist",
      "tests/integration/test_main.py::TestParseSubcommand::test_error_when_stdout_is_a_tty",
      "tests/integration/test_main.py::TestParseSubcommand::test_successful_parse",
      "tests/integration/test_main.py::TestParseSubcommand::test_successful_parse_of_aggregated_capture_file",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_both_temporary_allocation_arguments[flamegraph]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_both_temporary_allocation_arguments[summary]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_both_temporary_allocation_arguments[table]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_both_temporary_allocation_arguments[tree]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_corrupt_input[flamegraph]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_corrupt_input[summary]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_corrupt_input[table]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_corrupt_input[tree]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_missing_input[flamegraph]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_missing_input[stats]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_missing_input[summary]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_missing_input[table]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_missing_input[tree]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_incompatible_arguments[flamegraph]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_incompatible_arguments[table]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_leaks_argument[flamegraph]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_leaks_argument[table]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_temporary_allocations_argument[flamegraph]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_temporary_allocations_argument[table]",
      "tests/integration/test_main.py::TestRunSubcommand::test_not_quiet_and_fork",
      "tests/integration/test_main.py::TestRunSubcommand::test_quiet[False]",
      "tests/integration/test_main.py::TestRunSubcommand::test_quiet[True]",
      "tests/integration/test_main.py::TestRunSubcommand::test_run",
      "tests/integration/test_main.py::TestRunSubcommand::test_run_file_exists",
      "tests/integration/test_main.py::TestRunSubcommand::test_run_file_that_is_not_python[--live-remote]",
      "tests/integration/test_main.py::TestRunSubcommand::test_run_file_that_is_not_python[--live]",
      "tests/integration/test_main.py::TestRunSubcommand::test_run_file_that_is_not_python[None]",
      "tests/integration/test_main.py::TestRunSubcommand::test_run_file_with_args",
      "tests/integration/test_main.py::TestRunSubcommand::test_run_output_file_directory_does_not_exist",
      "tests/integration/test_main.py::TestRunSubcommand::test_run_override_output",
      "tests/integration/test_main.py::TestRunSubcommand::test_run_overwrite_output_file",
      "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_cmd[-I]",
      "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_module[-I]",
      "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_script[-I]",
      "tests/integration/test_main.py::TestRunSubcommand::test_sys_manipulations_when_running_cmd",
      "tests/integration/test_main.py::TestRunSubcommand::test_sys_manipulations_when_running_module",
      "tests/integration/test_main.py::TestRunSubcommand::test_sys_manipulations_when_running_script",
      "tests/integration/test_main.py::TestStatsSubCommand::test_json_generated",
      "tests/integration/test_main.py::TestStatsSubCommand::test_json_generated_to_existing_known_file",
      "tests/integration/test_main.py::TestStatsSubCommand::test_json_generated_to_known_file",
      "tests/integration/test_main.py::TestStatsSubCommand::test_json_generated_to_pretty_file_name",
      "tests/integration/test_main.py::TestStatsSubCommand::test_json_overwrites_existing_known_file",
      "tests/integration/test_main.py::TestStatsSubCommand::test_report_detects_corrupt_input",
      "tests/integration/test_main.py::TestStatsSubCommand::test_report_generated",
      "tests/integration/test_main.py::TestSummarySubCommand::test_summary_generated",
      "tests/integration/test_main.py::TestSummarySubCommand::test_temporary_allocations_summary",
      "tests/integration/test_main.py::TestTableSubCommand::test_no_split_threads",
      "tests/integration/test_main.py::TestTableSubCommand::test_reads_from_correct_file",
      "tests/integration/test_main.py::TestTransformSubCommands::test_report_detects_corrupt_input",
      "tests/integration/test_main.py::TestTransformSubCommands::test_report_detects_missing_input",
      "tests/integration/test_main.py::TestTransformSubCommands::test_report_leaks_argument",
      "tests/integration/test_main.py::TestTreeSubCommand::test_temporary_allocations_tree",
      "tests/integration/test_main.py::TestTreeSubCommand::test_tree_generated"
    ],
    "protected": [
      "tests/integration/test_main.py::TestFlamegraphSubCommand::test_can_generate_reports_with_native_traces",
      "tests/integration/test_main.py::TestFlamegraphSubCommand::test_leaks_with_pymalloc_warning[False-False]",
      "tests/integration/test_main.py::TestFlamegraphSubCommand::test_leaks_with_pymalloc_warning[False-True]",
      "tests/integration/test_main.py::TestFlamegraphSubCommand::test_leaks_with_pymalloc_warning[True-False]",
      "tests/integration/test_main.py::TestFlamegraphSubCommand::test_leaks_with_pymalloc_warning[True-True]",
      "tests/integration/test_main.py::TestFlamegraphSubCommand::test_output_file_already_exists",
      "tests/integration/test_main.py::TestFlamegraphSubCommand::test_reads_from_correct_file",
      "tests/integration/test_main.py::TestFlamegraphSubCommand::test_split_threads_subcommand",
      "tests/integration/test_main.py::TestFlamegraphSubCommand::test_writes_to_correct_file",
      "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_client_exits_properly_on_sigint_before_connecting",
      "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking",
      "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking_invalid_port[0]",
      "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking_invalid_port[1000000]",
      "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking_invalid_port[65536]",
      "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking_server_exits_properly_on_sigint",
      "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking_server_when_client_disconnects",
      "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking_waits_for_client",
      "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_run_live_tracking_invalid_port[0]",
      "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_run_live_tracking_invalid_port[1000000]",
      "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_run_live_tracking_invalid_port[65536]",
      "tests/integration/test_main.py::TestLiveSubcommand::test_live_tracking",
      "tests/integration/test_main.py::TestParseSubcommand::test_error_when_input_file_does_not_exist",
      "tests/integration/test_main.py::TestParseSubcommand::test_error_when_stdout_is_a_tty",
      "tests/integration/test_main.py::TestParseSubcommand::test_successful_parse",
      "tests/integration/test_main.py::TestParseSubcommand::test_successful_parse_of_aggregated_capture_file",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_both_temporary_allocation_arguments[flamegraph]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_both_temporary_allocation_arguments[summary]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_both_temporary_allocation_arguments[table]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_both_temporary_allocation_arguments[tree]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_corrupt_input[flamegraph]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_corrupt_input[summary]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_corrupt_input[table]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_corrupt_input[tree]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_missing_input[flamegraph]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_missing_input[stats]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_missing_input[summary]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_missing_input[table]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_missing_input[tree]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_incompatible_arguments[flamegraph]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_incompatible_arguments[table]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_leaks_argument[flamegraph]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_leaks_argument[table]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_temporary_allocations_argument[flamegraph]",
      "tests/integration/test_main.py::TestReporterSubCommands::test_report_temporary_allocations_argument[table]",
      "tests/integration/test_main.py::TestRunSubcommand::test_not_quiet_and_fork",
      "tests/integration/test_main.py::TestRunSubcommand::test_quiet[False]",
      "tests/integration/test_main.py::TestRunSubcommand::test_quiet[True]",
      "tests/integration/test_main.py::TestRunSubcommand::test_run",
      "tests/integration/test_main.py::TestRunSubcommand::test_run_file_exists",
      "tests/integration/test_main.py::TestRunSubcommand::test_run_file_that_is_not_python[--live-remote]",
      "tests/integration/test_main.py::TestRunSubcommand::test_run_file_that_is_not_python[--live]",
      "tests/integration/test_main.py::TestRunSubcommand::test_run_file_that_is_not_python[None]",
      "tests/integration/test_main.py::TestRunSubcommand::test_run_file_with_args",
      "tests/integration/test_main.py::TestRunSubcommand::test_run_output_file_directory_does_not_exist",
      "tests/integration/test_main.py::TestRunSubcommand::test_run_override_output",
      "tests/integration/test_main.py::TestRunSubcommand::test_run_overwrite_output_file",
      "tests/integration/test_main.py::TestRunSubcommand::test_sys_manipulations_when_running_cmd",
      "tests/integration/test_main.py::TestRunSubcommand::test_sys_manipulations_when_running_module",
      "tests/integration/test_main.py::TestRunSubcommand::test_sys_manipulations_when_running_script",
      "tests/integration/test_main.py::TestStatsSubCommand::test_json_generated",
      "tests/integration/test_main.py::TestStatsSubCommand::test_json_generated_to_existing_known_file",
      "tests/integration/test_main.py::TestStatsSubCommand::test_json_generated_to_known_file",
      "tests/integration/test_main.py::TestStatsSubCommand::test_json_generated_to_pretty_file_name",
      "tests/integration/test_main.py::TestStatsSubCommand::test_json_overwrites_existing_known_file",
      "tests/integration/test_main.py::TestStatsSubCommand::test_report_detects_corrupt_input",
      "tests/integration/test_main.py::TestStatsSubCommand::test_report_generated",
      "tests/integration/test_main.py::TestSummarySubCommand::test_summary_generated",
      "tests/integration/test_main.py::TestSummarySubCommand::test_temporary_allocations_summary",
      "tests/integration/test_main.py::TestTableSubCommand::test_no_split_threads",
      "tests/integration/test_main.py::TestTableSubCommand::test_reads_from_correct_file",
      "tests/integration/test_main.py::TestTransformSubCommands::test_report_detects_corrupt_input",
      "tests/integration/test_main.py::TestTransformSubCommands::test_report_detects_missing_input",
      "tests/integration/test_main.py::TestTransformSubCommands::test_report_leaks_argument",
      "tests/integration/test_main.py::TestTreeSubCommand::test_temporary_allocations_tree",
      "tests/integration/test_main.py::TestTreeSubCommand::test_tree_generated"
    ],
    "run_receipt_ids": [
      "base-3",
      "base-4"
    ],
    "runs": [
      {
        "collection_errors": [],
        "errors": [],
        "failed": [
          "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_script[-I]",
          "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_module[-I]",
          "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_cmd[-I]"
        ],
        "failure_text": {
          "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_cmd[-I]": "AssertionError: assert '' not in ['', '/usr/local/lib/python3.10', '/usr/local/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/site-packages', '/memray/src']\nE   AssertionError: assert '' not in ['', '/usr/local/lib/python3.10', '/usr/local/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/site-packages', '/memray/src']",
          "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_module[-I]": "AssertionError: assert '/memray' not in ('/memray', '/usr/local/lib/python3.10', '/usr/local/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/site-packages', '/memray/src')\n +  where '/memray' = <built-in function getcwd>()\n +    where <built-in function getcwd> = os.getcwd\nE   AssertionError: assert '/memray' not in ('/memray', '/usr/local/lib/python3.10', '/usr/local/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/site-packages', '/memray/src')\n     +  where '/memray' = <built-in function getcwd>()\n     +    where <built-in function getcwd> = os.getcwd",
          "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_script[-I]": "AssertionError: assert '/tmp/pytest-of-root/pytest-0/test_suppressing_sys_manipulat0' not in ['/tmp/pytest-of-root/pytest-0/test_suppressing_sys_manipulat0', '/usr/local/lib/python3.10', '/usr/local/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/site-packages', '/memray/src']\n +  where '/tmp/pytest-of-root/pytest-0/test_suppressing_sys_manipulat0' = str(PosixPath('/tmp/pytest-of-root/pytest-0/test_suppressing_sys_manipulat0'))\nE   AssertionError: assert '/tmp/pytest-of-root/pytest-0/test_suppressing_sys_manipulat0' not in ['/tmp/pytest-of-root/pytest-0/test_suppressing_sys_manipulat0', '/usr/local/lib/python3.10', '/usr/local/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/site-packages', '/memray/src']\n     +  where '/tmp/pytest-of-root/pytest-0/test_suppressing_sys_manipulat0' = str(PosixPath('/tmp/pytest-of-root/pytest-0/test_suppressing_sys_manipulat0'))"
        },
        "passed": [
          "tests/integration/test_main.py::TestRunSubcommand::test_run",
          "tests/integration/test_main.py::TestRunSubcommand::test_run_override_output",
          "tests/integration/test_main.py::TestRunSubcommand::test_run_overwrite_output_file",
          "tests/integration/test_main.py::TestRunSubcommand::test_run_file_with_args",
          "tests/integration/test_main.py::TestRunSubcommand::test_sys_manipulations_when_running_script",
          "tests/integration/test_main.py::TestRunSubcommand::test_sys_manipulations_when_running_module",
          "tests/integration/test_main.py::TestRunSubcommand::test_sys_manipulations_when_running_cmd",
          "tests/integration/test_main.py::TestRunSubcommand::test_run_file_that_is_not_python[None]",
          "tests/integration/test_main.py::TestRunSubcommand::test_run_file_that_is_not_python[--live]",
          "tests/integration/test_main.py::TestRunSubcommand::test_run_file_that_is_not_python[--live-remote]",
          "tests/integration/test_main.py::TestRunSubcommand::test_run_file_exists",
          "tests/integration/test_main.py::TestRunSubcommand::test_run_output_file_directory_does_not_exist",
          "tests/integration/test_main.py::TestRunSubcommand::test_quiet[True]",
          "tests/integration/test_main.py::TestRunSubcommand::test_quiet[False]",
          "tests/integration/test_main.py::TestRunSubcommand::test_not_quiet_and_fork",
          "tests/integration/test_main.py::TestParseSubcommand::test_successful_parse",
          "tests/integration/test_main.py::TestParseSubcommand::test_successful_parse_of_aggregated_capture_file",
          "tests/integration/test_main.py::TestParseSubcommand::test_error_when_stdout_is_a_tty",
          "tests/integration/test_main.py::TestParseSubcommand::test_error_when_input_file_does_not_exist",
          "tests/integration/test_main.py::TestFlamegraphSubCommand::test_reads_from_correct_file",
          "tests/integration/test_main.py::TestFlamegraphSubCommand::test_can_generate_reports_with_native_traces",
          "tests/integration/test_main.py::TestFlamegraphSubCommand::test_writes_to_correct_file",
          "tests/integration/test_main.py::TestFlamegraphSubCommand::test_output_file_already_exists",
          "tests/integration/test_main.py::TestFlamegraphSubCommand::test_split_threads_subcommand",
          "tests/integration/test_main.py::TestFlamegraphSubCommand::test_leaks_with_pymalloc_warning[True-True]",
          "tests/integration/test_main.py::TestFlamegraphSubCommand::test_leaks_with_pymalloc_warning[True-False]",
          "tests/integration/test_main.py::TestFlamegraphSubCommand::test_leaks_with_pymalloc_warning[False-True]",
          "tests/integration/test_main.py::TestFlamegraphSubCommand::test_leaks_with_pymalloc_warning[False-False]",
          "tests/integration/test_main.py::TestSummarySubCommand::test_summary_generated",
          "tests/integration/test_main.py::TestSummarySubCommand::test_temporary_allocations_summary",
          "tests/integration/test_main.py::TestTreeSubCommand::test_tree_generated",
          "tests/integration/test_main.py::TestTreeSubCommand::test_temporary_allocations_tree",
          "tests/integration/test_main.py::TestStatsSubCommand::test_report_generated",
          "tests/integration/test_main.py::TestStatsSubCommand::test_json_generated",
          "tests/integration/test_main.py::TestStatsSubCommand::test_json_generated_to_pretty_file_name",
          "tests/integration/test_main.py::TestStatsSubCommand::test_json_generated_to_known_file",
          "tests/integration/test_main.py::TestStatsSubCommand::test_json_generated_to_existing_known_file",
          "tests/integration/test_main.py::TestStatsSubCommand::test_json_overwrites_existing_known_file",
          "tests/integration/test_main.py::TestStatsSubCommand::test_report_detects_corrupt_input",
          "tests/integration/test_main.py::TestTableSubCommand::test_reads_from_correct_file",
          "tests/integration/test_main.py::TestTableSubCommand::test_no_split_threads",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_missing_input[flamegraph]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_missing_input[table]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_missing_input[summary]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_missing_input[tree]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_missing_input[stats]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_corrupt_input[flamegraph]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_corrupt_input[table]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_corrupt_input[summary]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_corrupt_input[tree]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_leaks_argument[flamegraph]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_leaks_argument[table]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_temporary_allocations_argument[flamegraph]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_temporary_allocations_argument[table]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_incompatible_arguments[flamegraph]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_incompatible_arguments[table]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_both_temporary_allocation_arguments[flamegraph]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_both_temporary_allocation_arguments[table]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_both_temporary_allocation_arguments[summary]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_both_temporary_allocation_arguments[tree]",
          "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking",
          "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking_waits_for_client",
          "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_run_live_tracking_invalid_port[0]",
          "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_run_live_tracking_invalid_port[65536]",
          "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_run_live_tracking_invalid_port[1000000]",
          "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking_invalid_port[0]",
          "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking_invalid_port[65536]",
          "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking_invalid_port[1000000]",
          "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking_server_when_client_disconnects",
          "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking_server_exits_properly_on_sigint",
          "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_client_exits_properly_on_sigint_before_connecting",
          "tests/integration/test_main.py::TestLiveSubcommand::test_live_tracking",
          "tests/integration/test_main.py::TestTransformSubCommands::test_report_detects_missing_input",
          "tests/integration/test_main.py::TestTransformSubCommands::test_report_detects_corrupt_input",
          "tests/integration/test_main.py::TestTransformSubCommands::test_report_leaks_argument"
        ],
        "skipped": []
      },
      {
        "collection_errors": [],
        "errors": [],
        "failed": [
          "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_script[-I]",
          "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_module[-I]",
          "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_cmd[-I]"
        ],
        "failure_text": {
          "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_cmd[-I]": "AssertionError: assert '' not in ['', '/usr/local/lib/python3.10', '/usr/local/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/site-packages', '/memray/src']\nE   AssertionError: assert '' not in ['', '/usr/local/lib/python3.10', '/usr/local/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/site-packages', '/memray/src']",
          "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_module[-I]": "AssertionError: assert '/memray' not in ('/memray', '/usr/local/lib/python3.10', '/usr/local/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/site-packages', '/memray/src')\n +  where '/memray' = <built-in function getcwd>()\n +    where <built-in function getcwd> = os.getcwd\nE   AssertionError: assert '/memray' not in ('/memray', '/usr/local/lib/python3.10', '/usr/local/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/site-packages', '/memray/src')\n     +  where '/memray' = <built-in function getcwd>()\n     +    where <built-in function getcwd> = os.getcwd",
          "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_script[-I]": "AssertionError: assert '/tmp/pytest-of-root/pytest-1/test_suppressing_sys_manipulat0' not in ['/tmp/pytest-of-root/pytest-1/test_suppressing_sys_manipulat0', '/usr/local/lib/python3.10', '/usr/local/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/site-packages', '/memray/src']\n +  where '/tmp/pytest-of-root/pytest-1/test_suppressing_sys_manipulat0' = str(PosixPath('/tmp/pytest-of-root/pytest-1/test_suppressing_sys_manipulat0'))\nE   AssertionError: assert '/tmp/pytest-of-root/pytest-1/test_suppressing_sys_manipulat0' not in ['/tmp/pytest-of-root/pytest-1/test_suppressing_sys_manipulat0', '/usr/local/lib/python3.10', '/usr/local/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/site-packages', '/memray/src']\n     +  where '/tmp/pytest-of-root/pytest-1/test_suppressing_sys_manipulat0' = str(PosixPath('/tmp/pytest-of-root/pytest-1/test_suppressing_sys_manipulat0'))"
        },
        "passed": [
          "tests/integration/test_main.py::TestRunSubcommand::test_run",
          "tests/integration/test_main.py::TestRunSubcommand::test_run_override_output",
          "tests/integration/test_main.py::TestRunSubcommand::test_run_overwrite_output_file",
          "tests/integration/test_main.py::TestRunSubcommand::test_run_file_with_args",
          "tests/integration/test_main.py::TestRunSubcommand::test_sys_manipulations_when_running_script",
          "tests/integration/test_main.py::TestRunSubcommand::test_sys_manipulations_when_running_module",
          "tests/integration/test_main.py::TestRunSubcommand::test_sys_manipulations_when_running_cmd",
          "tests/integration/test_main.py::TestRunSubcommand::test_run_file_that_is_not_python[None]",
          "tests/integration/test_main.py::TestRunSubcommand::test_run_file_that_is_not_python[--live]",
          "tests/integration/test_main.py::TestRunSubcommand::test_run_file_that_is_not_python[--live-remote]",
          "tests/integration/test_main.py::TestRunSubcommand::test_run_file_exists",
          "tests/integration/test_main.py::TestRunSubcommand::test_run_output_file_directory_does_not_exist",
          "tests/integration/test_main.py::TestRunSubcommand::test_quiet[True]",
          "tests/integration/test_main.py::TestRunSubcommand::test_quiet[False]",
          "tests/integration/test_main.py::TestRunSubcommand::test_not_quiet_and_fork",
          "tests/integration/test_main.py::TestParseSubcommand::test_successful_parse",
          "tests/integration/test_main.py::TestParseSubcommand::test_successful_parse_of_aggregated_capture_file",
          "tests/integration/test_main.py::TestParseSubcommand::test_error_when_stdout_is_a_tty",
          "tests/integration/test_main.py::TestParseSubcommand::test_error_when_input_file_does_not_exist",
          "tests/integration/test_main.py::TestFlamegraphSubCommand::test_reads_from_correct_file",
          "tests/integration/test_main.py::TestFlamegraphSubCommand::test_can_generate_reports_with_native_traces",
          "tests/integration/test_main.py::TestFlamegraphSubCommand::test_writes_to_correct_file",
          "tests/integration/test_main.py::TestFlamegraphSubCommand::test_output_file_already_exists",
          "tests/integration/test_main.py::TestFlamegraphSubCommand::test_split_threads_subcommand",
          "tests/integration/test_main.py::TestFlamegraphSubCommand::test_leaks_with_pymalloc_warning[True-True]",
          "tests/integration/test_main.py::TestFlamegraphSubCommand::test_leaks_with_pymalloc_warning[True-False]",
          "tests/integration/test_main.py::TestFlamegraphSubCommand::test_leaks_with_pymalloc_warning[False-True]",
          "tests/integration/test_main.py::TestFlamegraphSubCommand::test_leaks_with_pymalloc_warning[False-False]",
          "tests/integration/test_main.py::TestSummarySubCommand::test_summary_generated",
          "tests/integration/test_main.py::TestSummarySubCommand::test_temporary_allocations_summary",
          "tests/integration/test_main.py::TestTreeSubCommand::test_tree_generated",
          "tests/integration/test_main.py::TestTreeSubCommand::test_temporary_allocations_tree",
          "tests/integration/test_main.py::TestStatsSubCommand::test_report_generated",
          "tests/integration/test_main.py::TestStatsSubCommand::test_json_generated",
          "tests/integration/test_main.py::TestStatsSubCommand::test_json_generated_to_pretty_file_name",
          "tests/integration/test_main.py::TestStatsSubCommand::test_json_generated_to_known_file",
          "tests/integration/test_main.py::TestStatsSubCommand::test_json_generated_to_existing_known_file",
          "tests/integration/test_main.py::TestStatsSubCommand::test_json_overwrites_existing_known_file",
          "tests/integration/test_main.py::TestStatsSubCommand::test_report_detects_corrupt_input",
          "tests/integration/test_main.py::TestTableSubCommand::test_reads_from_correct_file",
          "tests/integration/test_main.py::TestTableSubCommand::test_no_split_threads",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_missing_input[flamegraph]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_missing_input[table]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_missing_input[summary]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_missing_input[tree]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_missing_input[stats]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_corrupt_input[flamegraph]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_corrupt_input[table]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_corrupt_input[summary]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_detects_corrupt_input[tree]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_leaks_argument[flamegraph]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_leaks_argument[table]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_temporary_allocations_argument[flamegraph]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_temporary_allocations_argument[table]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_incompatible_arguments[flamegraph]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_incompatible_arguments[table]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_both_temporary_allocation_arguments[flamegraph]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_both_temporary_allocation_arguments[table]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_both_temporary_allocation_arguments[summary]",
          "tests/integration/test_main.py::TestReporterSubCommands::test_report_both_temporary_allocation_arguments[tree]",
          "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking",
          "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking_waits_for_client",
          "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_run_live_tracking_invalid_port[0]",
          "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_run_live_tracking_invalid_port[65536]",
          "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_run_live_tracking_invalid_port[1000000]",
          "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking_invalid_port[0]",
          "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking_invalid_port[65536]",
          "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking_invalid_port[1000000]",
          "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking_server_when_client_disconnects",
          "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_tracking_server_exits_properly_on_sigint",
          "tests/integration/test_main.py::TestLiveRemoteSubcommand::test_live_client_exits_properly_on_sigint_before_connecting",
          "tests/integration/test_main.py::TestLiveSubcommand::test_live_tracking",
          "tests/integration/test_main.py::TestTransformSubCommands::test_report_detects_missing_input",
          "tests/integration/test_main.py::TestTransformSubCommands::test_report_detects_corrupt_input",
          "tests/integration/test_main.py::TestTransformSubCommands::test_report_leaks_argument"
        ],
        "skipped": []
      }
    ],
    "scope": {
      "c0_top_level": [
        ".babelrc",
        ".bumpversion.cfg",
        ".clang-format",
        ".github",
        ".gitignore",
        ".pre-commit-config.yaml",
        "CONTRIBUTING.md",
        "Dockerfile",
        "LICENSE",
        "MANIFEST.in",
        "Makefile",
        "NEWS.rst",
        "README.md",
        "asv.conf.json",
        "benchmarks",
        "docs",
        "news",
        "package-lock.json",
        "package.json",
        "pyproject.toml",
        "requirements-docs.txt",
        "requirements-extra.txt",
        "requirements-test.txt",
        "setup.py",
        "src",
        "src/memray",
        "src/vendor",
        "tests",
        "valgrind.supp",
        "webpack.config.js"
      ],
      "protected_names": [
        "CONTRIBUTING.md",
        "Dockerfile",
        "LICENSE",
        "MANIFEST.in",
        "Makefile",
        "NEWS.rst",
        "README.md",
        "__future__",
        "_abc",
        "_aix_support",
        "_ast",
        "_asyncio",
        "_bisect",
        "_blake2",
        "_bz2",
        "_codecs",
        "_codecs_cn",
        "_codecs_hk",
        "_codecs_iso2022",
        "_codecs_jp",
        "_codecs_kr",
        "_codecs_tw",
        "_collections",
        "_collections_abc",
        "_compat_pickle",
        "_compression",
        "_contextvars",
        "_crypt",
        "_csv",
        "_ctypes",
        "_curses",
        "_curses_panel",
        "_datetime",
        "_dbm",
        "_decimal",
        "_elementtree",
        "_frozen_importlib",
        "_frozen_importlib_external",
        "_functools",
        "_gdbm",
        "_hashlib",
        "_heapq",
        "_imp",
        "_io",
        "_json",
        "_locale",
        "_lsprof",
        "_lzma",
        "_markupbase",
        "_md5",
        "_msi",
        "_multibytecodec",
        "_multiprocessing",
        "_opcode",
        "_operator",
        "_osx_support",
        "_overlapped",
        "_pickle",
        "_posixshmem",
        "_posixsubprocess",
        "_py_abc",
        "_pydatetime",
        "_pydecimal",
        "_pyio",
        "_pylong",
        "_pytest",
        "_queue",
        "_random",
        "_scproxy",
        "_sha1",
        "_sha2",
        "_sha3",
        "_signal",
        "_sitebuiltins",
        "_socket",
        "_sqlite3",
        "_sre",
        "_ssl",
        "_stat",
        "_statistics",
        "_string",
        "_strptime",
        "_struct",
        "_symtable",
        "_thread",
        "_threading_local",
        "_tkinter",
        "_tokenize",
        "_tracemalloc",
        "_typing",
        "_uuid",
        "_warnings",
        "_weakref",
        "_weakrefset",
        "_winapi",
        "_wmi",
        "_zoneinfo",
        "abc",
        "aifc",
        "aiofiles",
        "aiohappyeyeballs",
        "aiohttp",
        "aiohttp_retry",
        "aiosignal",
        "annotated_types",
        "antigravity",
        "anyio",
        "argparse",
        "array",
        "ast",
        "asv.conf.json",
        "asyncio",
        "atexit",
        "attr",
        "attrs",
        "audioop",
        "base64",
        "bdb",
        "benchmarks",
        "bidict",
        "binascii",
        "bisect",
        "builtins",
        "bz2",
        "cProfile",
        "calendar",
        "certifi",
        "cgi",
        "cgitb",
        "charset_normalizer",
        "chunk",
        "cmath",
        "cmd",
        "code",
        "codecs",
        "codeop",
        "collections",
        "colorsys",
        "compileall",
        "concurrent",
        "configparser",
        "conftest",
        "contextlib",
        "contextvars",
        "copy",
        "copyreg",
        "crypt",
        "csv",
        "ctypes",
        "curses",
        "dataclasses",
        "datetime",
        "dateutil",
        "daytona",
        "daytona_analytics_api_client",
        "daytona_analytics_api_client_async",
        "daytona_api_client",
        "daytona_api_client_async",
        "daytona_toolbox_api_client",
        "daytona_toolbox_api_client_async",
        "dbm",
        "decimal",
        "deprecated",
        "difflib",
        "dis",
        "docs",
        "doctest",
        "dotenv",
        "email",
        "encodings",
        "engineio",
        "ensurepip",
        "enum",
        "errno",
        "faulthandler",
        "fcntl",
        "filecmp",
        "fileinput",
        "fnmatch",
        "fractions",
        "frozenlist",
        "ftplib",
        "functools",
        "gc",
        "genericpath",
        "getopt",
        "getpass",
        "gettext",
        "glob",
        "google",
        "graphlib",
        "grp",
        "gzip",
        "h11",
        "hashlib",
        "heapq",
        "hmac",
        "html",
        "http",
        "httpcore",
        "httpcore2",
        "httpx",
        "httpx2",
        "httpx_ws",
        "idlelib",
        "idna",
        "imaplib",
        "imghdr",
        "importlib",
        "iniconfig",
        "inspect",
        "io",
        "ipaddress",
        "itertools",
        "jiter",
        "json",
        "keyword",
        "lib2to3",
        "linecache",
        "locale",
        "logging",
        "lzma",
        "mailbox",
        "mailcap",
        "marshal",
        "math",
        "memray",
        "mimetypes",
        "mmap",
        "modulefinder",
        "msilib",
        "msvcrt",
        "multidict",
        "multipart",
        "multiprocessing",
        "netrc",
        "news",
        "nis",
        "nntplib",
        "nt",
        "ntpath",
        "nturl2path",
        "numbers",
        "obstore",
        "opcode",
        "openai",
        "opentelemetry",
        "operator",
        "optparse",
        "os",
        "ossaudiodev",
        "package-lock.json",
        "package.json",
        "packaging",
        "pathlib",
        "pdb",
        "pickle",
        "pickletools",
        "pipes",
        "pkgutil",
        "platform",
        "plistlib",
        "pluggy",
        "poplib",
        "posix",
        "posixpath",
        "pprint",
        "profile",
        "propcache",
        "pstats",
        "pty",
        "pwd",
        "py",
        "py_compile",
        "pyclbr",
        "pydantic",
        "pydantic_core",
        "pydoc",
        "pydoc_data",
        "pyexpat",
        "pygments",
        "pyproject.toml",
        "pytest",
        "pytest_asyncio",
        "python_multipart",
        "queue",
        "quopri",
        "random",
        "re",
        "readline",
        "reprlib",
        "requests",
        "requirements-docs.txt",
        "requirements-extra.txt",
        "requirements-test.txt",
        "resource",
        "rlcompleter",
        "runpy",
        "sched",
        "secrets",
        "select",
        "selectors",
        "setup",
        "shelve",
        "shlex",
        "shutil",
        "signal",
        "simple_websocket",
        "site",
        "six",
        "smtplib",
        "sndhdr",
        "sniffio",
        "socket",
        "socketio",
        "socketserver",
        "spwd",
        "sqlite3",
        "src",
        "sre_compile",
        "sre_constants",
        "sre_parse",
        "ssl",
        "stat",
        "statistics",
        "string",
        "stringprep",
        "struct",
        "subprocess",
        "sunau",
        "symtable",
        "sys",
        "sysconfig",
        "syslog",
        "tabnanny",
        "tarfile",
        "telnetlib",
        "tempfile",
        "termios",
        "tests",
        "textwrap",
        "this",
        "threading",
        "time",
        "timeit",
        "tkinter",
        "token",
        "tokenize",
        "toml",
        "tomllib",
        "trace",
        "traceback",
        "tracemalloc",
        "truststore",
        "tty",
        "turtle",
        "turtledemo",
        "types",
        "typing",
        "typing_extensions",
        "typing_inspection",
        "unicodedata",
        "unittest",
        "urllib",
        "urllib3",
        "uu",
        "uuid",
        "valgrind.supp",
        "vendor",
        "venv",
        "warnings",
        "wave",
        "weakref",
        "webbrowser",
        "webpack.config.js",
        "websocket",
        "winreg",
        "winsound",
        "wrapt",
        "wrapt-stubs",
        "wsgiref",
        "wsproto",
        "xdrlib",
        "xml",
        "xmlrpc",
        "yarl",
        "zipapp",
        "zipfile",
        "zipimport",
        "zlib",
        "zoneinfo"
      ]
    },
    "skipped_ids": [],
    "spec_paths": [
      "tests/integration/test_main.py"
    ],
    "target": [
      "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_script[-I]",
      "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_module[-I]",
      "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_cmd[-I]"
    ],
    "target_failure_text": {
      "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_cmd[-I]": "AssertionError: assert '' not in ['', '/usr/local/lib/python3.10', '/usr/local/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/site-packages', '/memray/src']\nE   AssertionError: assert '' not in ['', '/usr/local/lib/python3.10', '/usr/local/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/site-packages', '/memray/src']",
      "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_module[-I]": "AssertionError: assert '/memray' not in ('/memray', '/usr/local/lib/python3.10', '/usr/local/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/site-packages', '/memray/src')\n +  where '/memray' = <built-in function getcwd>()\n +    where <built-in function getcwd> = os.getcwd\nE   AssertionError: assert '/memray' not in ('/memray', '/usr/local/lib/python3.10', '/usr/local/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/site-packages', '/memray/src')\n     +  where '/memray' = <built-in function getcwd>()\n     +    where <built-in function getcwd> = os.getcwd",
      "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_script[-I]": "AssertionError: assert '/tmp/pytest-of-root/pytest-0/test_suppressing_sys_manipulat0' not in ['/tmp/pytest-of-root/pytest-0/test_suppressing_sys_manipulat0', '/usr/local/lib/python3.10', '/usr/local/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/site-packages', '/memray/src']\n +  where '/tmp/pytest-of-root/pytest-0/test_suppressing_sys_manipulat0' = str(PosixPath('/tmp/pytest-of-root/pytest-0/test_suppressing_sys_manipulat0'))\nE   AssertionError: assert '/tmp/pytest-of-root/pytest-0/test_suppressing_sys_manipulat0' not in ['/tmp/pytest-of-root/pytest-0/test_suppressing_sys_manipulat0', '/usr/local/lib/python3.10', '/usr/local/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/site-packages', '/memray/src']\n     +  where '/tmp/pytest-of-root/pytest-0/test_suppressing_sys_manipulat0' = str(PosixPath('/tmp/pytest-of-root/pytest-0/test_suppressing_sys_manipulat0'))"
    },
    "target_map": {
      "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_cmd[-I]": [
        "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_cmd[-I]"
      ],
      "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_module[-I]": [
        "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_module[-I]"
      ],
      "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_script[-I]": [
        "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_script[-I]"
      ]
    },
    "unstable": []
  },
  "checkpoint": {
    "digest": "60731ef8-fab0-45e3-912e-25ab2b18dd29",
    "id": "60731ef8-fab0-45e3-912e-25ab2b18dd29",
    "parent": "60731ef8-fab0-45e3-912e-25ab2b18dd29"
  },
  "checkpoint_id": "60731ef8-fab0-45e3-912e-25ab2b18dd29",
  "cleanup_error": null,
  "cost": {
    "estimated_dollars": 0.0728106,
    "model_retries": {},
    "models": {
      "nvidia/nemotron-3-super-120b-a12b": {
        "completion_tokens": 6717,
        "estimated_dollars": 0.0728106,
        "prompt_tokens": 222551,
        "reasoning_tokens": 0
      }
    },
    "planner_dollars": 0.0030123,
    "planner_tokens": 9863,
    "pricing_is_estimate": true,
    "sandbox_seconds": 120.79828654104784
  },
  "disclosure": {
    "executor_kind": "tokenfactory",
    "lock_sha256": "2932a7bb96159dd2bc0780f74bd593f5da5e9d39c7e0f2a9a621b1fae369f3e8",
    "model": {
      "base_url": "https://api.tokenfactory.nebius.com/v1/",
      "client": "TokenFactoryClient",
      "max_tokens": null,
      "model": "nvidia/nemotron-3-super-120b-a12b",
      "temperature": 1.0,
      "thinking": false,
      "top_p": 0.95
    },
    "pytest_config_digests": {
      "pyproject.toml": "d6526a24b9db74a27bf0735ef6b3e622c6f855951bc7f65594f10a877d7bfc61",
      "tests/conftest.py": "4b74d87e3b0f6a7988afebe53bc08e887ae71ee47d66301db325ef782e45be7f",
      "tests/unit/conftest.py": "30bf729817c213331cf9c6db05424f9c4bed61a3652679425fd3598b859b2424"
    },
    "receipts_version": "0.0.1",
    "test_digests": {
      "tests/integration/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "tests/integration/misbehaving_extension/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "tests/integration/misbehaving_extension/misbehaving.cpp": "8064dc645c050d90134fd0fa0b607a3ee6b1f049da71246e4beecf5df7d89fb4",
      "tests/integration/misbehaving_extension/setup.py": "7a89991faccae57c07d982c12feed8acd7d95a70aaaaef68f3ba3bb35ab3b3f2",
      "tests/integration/multithreaded_extension/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "tests/integration/multithreaded_extension/main.py": "aa8c8b2a0f6edacf0f6964a8d6772c2127d80d799ffbc7c1f92791512c5908b2",
      "tests/integration/multithreaded_extension/setup.py": "afda1003f722527de7edc60eef677ba69b0680d231cf1de17ba18720af4d1eb8",
      "tests/integration/multithreaded_extension/testext.cpp": "98747d009fd4d295ac2c7d4514d3ff52495212a63ab5cfd8402c594addcc19b5",
      "tests/integration/native_extension/main.py": "aa8c8b2a0f6edacf0f6964a8d6772c2127d80d799ffbc7c1f92791512c5908b2",
      "tests/integration/native_extension/native_ext.c": "4f2bdf81391fc2cd3030fbe0680f0fb667aaa915fb5851eacaee31c6fd64d4ee",
      "tests/integration/native_extension/setup.py": "2db4e0ded68ab1c9005a1c808fdee35be7f6675cab10b70293dd1dd66227ad1e",
      "tests/integration/rpath_extension/ext.c": "846ad1572d57ac4c9e1b55a477d20ae437738995741cea2a80e65c8322539b06",
      "tests/integration/rpath_extension/setup.py": "582975d41ec4c855a6e7b3250e23ddfe6a865514c9f6204c151a078fe8bdb1db",
      "tests/integration/rpath_extension/sharedlibs/sharedlib.c": "c65b0644b114ed81116f4f6715348b0428bbeb3245231a94026080cd360fad0a",
      "tests/integration/test_api.py": "413b497bf70cffcc5f7b07cfebf80ffc66485c882db4f50447c36eb0d93399cb",
      "tests/integration/test_attach.py": "d0ed2dcd395d90ff992c24680f71783e6a0ede4d18cfbb7b152577cd667e3002",
      "tests/integration/test_extensions.py": "5f17b5726a74299f568a848d9aa8e3878fbe358a647a5380efef6cd2e6bed847",
      "tests/integration/test_greenlet.py": "5f1c519596347bf986209c5ea27b85b839647fbc9fd2b111e70800518024d3e2",
      "tests/integration/test_ipython.py": "e3b4246a9c9ffc2b8189783323b8c42da088fc43543f954c042d193ddc097d0d",
      "tests/integration/test_main.py": "81649c9f09892d86ac29ae28832fde669eb35e936dcafc674c98df57bdaa4e77",
      "tests/integration/test_native_tracking.py": "6061cf737cb9048c1637b7f7f26d75b1ed32a922cfc6fc1bafc600abcfd46bc1",
      "tests/integration/test_processes.py": "9c47c39973555d8c79ace58b0c7b6ac1fb0549324d750122fbc6ba26901fc3f0",
      "tests/integration/test_socket.py": "eef899d8b39328e3794b27c4da6d65cf1805e5f650b95e27043356488029aa63",
      "tests/integration/test_threads.py": "2d256c9f7cb8642f707a1a50d73aaba0d021a5d66d22dd0b0df089f8947cb819",
      "tests/integration/test_tracing.py": "438dcb700dc64794c64fb7b1a3f74dfd029a3da321f625d506d2e5aa0c93a53a",
      "tests/integration/test_tracking.py": "47e9c484c6be307920f3e78fc341d0360739e86af839ce0e03ca10f891dc7334"
    }
  },
  "final_verdict": {
    "branch_id": "agent1",
    "claim_audit": "honest",
    "claim_evidence": "did not claim green; verification did not pass",
    "error": null,
    "error_kind": null,
    "predicates": [
      {
        "evidence": "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_module[-I] failed",
        "id": "R1_fail_to_pass",
        "passed": false
      },
      {
        "evidence": "75 baseline-passing tests still pass",
        "id": "R2_pass_to_pass",
        "passed": true
      },
      {
        "evidence": "all 78 baseline tests collected; skips unchanged (0)",
        "id": "R3_no_shrink",
        "passed": true
      },
      {
        "evidence": "patch touches 1 file(s), all in scope",
        "id": "R4_patch_scope",
        "passed": true
      },
      {
        "evidence": "agent chain 60731ef8-fab0-45e3-912e-25ab2b18dd29 -> f070714e-548b-43e6-8b86-6a63f2d63628 unbroken over 13 receipt(s); witness chain 60731ef8-fab0-45e3-912e-25ab2b18dd29 -> 077d1569-917b-4a38-afea-31fa9c5a2ec8 unbroken over 2 receipt(s); applied digest matches",
        "id": "R5_provenance",
        "passed": true
      },
      {
        "evidence": "did not claim green; verification did not pass",
        "id": "R6_claim_audit",
        "passed": true
      }
    ],
    "status": "REJECTED"
  },
  "input": {
    "appeals": 1,
    "budgets": {
      "baseline_limit_s": 600,
      "verification_timeout_s": 600,
      "worker": {
        "max_completion_tokens": 96000,
        "max_turns": 60,
        "max_wall_seconds": 1500.0,
        "prompt_token_budget": 160000
      }
    },
    "issue": "`memray run` overwrites `sys.argv[0]` even when `-I` or `-P` is used\n`memray run` tries to match the updates to `sys.path` that are performed by the interpreter itself when it starts. When those path updates are suppressed (by the `-I` or `-P` command line flags or their corresponding environment variables), Memray's emulation winds up overwriting paths in `sys.path` that needed to be left alone.",
    "source": {
      "image": "docker.io/swerebenchv2/bloomberg-memray:552-ce382d6",
      "platform": "linux/amd64",
      "python": "python",
      "setup": [
        "python -c 'import base64; from pathlib import Path; Path('\"'\"'/tmp/receipts-bloomberg__memray-552-test.patch'\"'\"').write_bytes(base64.b64decode('\"'\"'ZGlmZiAtLWdpdCBhL3Rlc3RzL2ludGVncmF0aW9uL3Rlc3RfbWFpbi5weSBiL3Rlc3RzL2ludGVncmF0aW9uL3Rlc3RfbWFpbi5weQppbmRleCBlZTlkM2FhLi5kNzI0YTFmIDEwMDY0NAotLS0gYS90ZXN0cy9pbnRlZ3JhdGlvbi90ZXN0X21haW4ucHkKKysrIGIvdGVzdHMvaW50ZWdyYXRpb24vdGVzdF9tYWluLnB5CkBAIC0yNjgsOSArMjY4LDcgQEAgY2xhc3MgVGVzdFJ1blN1YmNvbW1hbmQ6CiAgICAgICAgICMgR0lWRU4KICAgICAgICAgb3V0X2ZpbGUgPSB0bXBfcGF0aCAvICJyZXN1bHQuYmluIgogICAgICAgICB0YXJnZXRfZmlsZSA9IHRtcF9wYXRoIC8gInRlc3QucHkiCi0gICAgICAgIHRhcmdldF9maWxlLndyaXRlX3RleHQoImltcG9ydCBzb21lX2FkamFjZW50X21vZHVsZSIpCi0gICAgICAgIG90aGVyX2ZpbGUgPSB0bXBfcGF0aCAvICJzb21lX2FkamFjZW50X21vZHVsZS5weSIKLSAgICAgICAgb3RoZXJfZmlsZS53cml0ZV90ZXh0KCJpbXBvcnQgc3lzOyBwcmludChzeXMuYXJndik7IHByaW50KHN5cy5wYXRoWzBdKSIpCisgICAgICAgIHRhcmdldF9maWxlLndyaXRlX3RleHQoImltcG9ydCBqc29uLCBzeXM7IHByaW50KGpzb24uZHVtcHMoc3lzLnBhdGgpKSIpCiAKICAgICAgICAgIyBXSEVOCiAgICAgICAgIHByb2MgPSBzdWJwcm9jZXNzLnJ1bigKQEAgLTI5Miw1NyArMjkwLDEyNyBAQCBjbGFzcyBUZXN0UnVuU3ViY29tbWFuZDoKICAgICAgICAgKQogCiAgICAgICAgICMgVEhFTgotICAgICAgICBhc3NlcnQgcHJvYy5yZXR1cm5jb2RlID09IDAKLSAgICAgICAgYXJndiwgcGF0aDAgPSBwcm9jLnN0ZG91dC5zcGxpdGxpbmVzKCkKLSAgICAgICAgYXNzZXJ0IGFyZ3YgPT0gcmVwcihbc3RyKHRhcmdldF9maWxlKSwgInNvbWUiLCAicHJvdmlkZWQgYXJncyJdKQotICAgICAgICBhc3NlcnQgcGF0aDAgPT0gc3RyKHRtcF9wYXRoKQogICAgICAgICBhc3NlcnQgb3V0X2ZpbGUuZXhpc3RzKCkKKyAgICAgICAgYXNzZXJ0IHByb2MucmV0dXJuY29kZSA9PSAwCisgICAgICAgICMgUnVubmluZyBgcHl0aG9uIC1tYCBwdXQgY3dkIGluIHN5cy5wYXRoOyBlbnN1cmUgd2UgcmVwbGFjZWQgaXQuCisgICAgICAgIHBhdGggPSBqc29uLmxvYWRzKHByb2Muc3Rkb3V0KQorICAgICAgICBhc3NlcnQgb3MuZ2V0Y3dkKCkgbm90IGluIHBhdGgKKyAgICAgICAgYXNzZXJ0IHN0cih0bXBfcGF0aCkgaW4gcGF0aAogCi0gICAgZGVmIHRlc3Rfc3lzX21hbmlwdWxhdGlvbnNfd2hlbl9ydW5uaW5nX21vZHVsZShzZWxmLCB0bXBfcGF0aCk6CisgICAgQHB5dGVzdC5tYXJrLnBhcmFtZXRyaXplKAorICAgICAgICAiaXNvbGF0aW9uX2ZsYWciLCBbIi1JIl0gKyAoWyItUCJdIGlmIHN5cy52ZXJzaW9uX2luZm8gPiAoMywgMTEpIGVsc2UgW10pCisgICAgKQorICAgIGRlZiB0ZXN0X3N1cHByZXNzaW5nX3N5c19tYW5pcHVsYXRpb25zX3doZW5fcnVubmluZ19zY3JpcHQoCisgICAgICAgIHNlbGYsIHRtcF9wYXRoLCBpc29sYXRpb25fZmxhZworICAgICk6CiAgICAgICAgICMgR0lWRU4KICAgICAgICAgb3V0X2ZpbGUgPSB0bXBfcGF0aCAvICJyZXN1bHQuYmluIgogICAgICAgICB0YXJnZXRfZmlsZSA9IHRtcF9wYXRoIC8gInRlc3QucHkiCi0gICAgICAgIHRhcmdldF9maWxlLndyaXRlX3RleHQoImltcG9ydCBzb21lX2FkamFjZW50X21vZHVsZSIpCi0gICAgICAgIG90aGVyX2ZpbGUgPSB0bXBfcGF0aCAvICJzb21lX2FkamFjZW50X21vZHVsZS5weSIKLSAgICAgICAgb3RoZXJfZmlsZS53cml0ZV90ZXh0KCJpbXBvcnQgc3lzOyBwcmludChzeXMuYXJndik7IHByaW50KHN5cy5wYXRoWzBdKSIpCi0gICAgICAgIGVudiA9IG9zLmVudmlyb24uY29weSgpCi0gICAgICAgIGVudlsiUFlUSE9OUEFUSCJdID0gc3RyKHRtcF9wYXRoKSArICI6IiArIG9zLmVudmlyb24uZ2V0KCJQWVRIT05QQVRIIiwgIiIpCisgICAgICAgIHRhcmdldF9maWxlLndyaXRlX3RleHQoImltcG9ydCBqc29uLCBzeXM7IHByaW50KGpzb24uZHVtcHMoc3lzLnBhdGgpKSIpCiAKICAgICAgICAgIyBXSEVOCiAgICAgICAgIHByb2MgPSBzdWJwcm9jZXNzLnJ1bigKICAgICAgICAgICAgIFsKICAgICAgICAgICAgICAgICBzeXMuZXhlY3V0YWJsZSwKKyAgICAgICAgICAgICAgICBpc29sYXRpb25fZmxhZywKICAgICAgICAgICAgICAgICAiLW0iLAogICAgICAgICAgICAgICAgICJtZW1yYXkiLAogICAgICAgICAgICAgICAgICJydW4iLAogICAgICAgICAgICAgICAgICItLXF1aWV0IiwKICAgICAgICAgICAgICAgICAiLS1vdXRwdXQiLAogICAgICAgICAgICAgICAgIHN0cihvdXRfZmlsZSksCi0gICAgICAgICAgICAgICAgIi1tIiwKLSAgICAgICAgICAgICAgICAidGVzdCIsCisgICAgICAgICAgICAgICAgc3RyKHRhcmdldF9maWxlKSwKICAgICAgICAgICAgICAgICAic29tZSIsCiAgICAgICAgICAgICAgICAgInByb3ZpZGVkIGFyZ3MiLAogICAgICAgICAgICAgXSwKICAgICAgICAgICAgIGNoZWNrPVRydWUsCiAgICAgICAgICAgICBjYXB0dXJlX291dHB1dD1UcnVlLAogICAgICAgICAgICAgdGV4dD1UcnVlLAotICAgICAgICAgICAgZW52PWVudiwKICAgICAgICAgKQogCiAgICAgICAgICMgVEhFTgorICAgICAgICBhc3NlcnQgb3V0X2ZpbGUuZXhpc3RzKCkKICAgICAgICAgYXNzZXJ0IHByb2MucmV0dXJuY29kZSA9PSAwCi0gICAgICAgIGFyZ3YsIHBhdGgwID0gcHJvYy5zdGRvdXQuc3BsaXRsaW5lcygpCi0gICAgICAgIGFzc2VydCBhcmd2ID09IHJlcHIoW3N0cih0YXJnZXRfZmlsZSksICJzb21lIiwgInByb3ZpZGVkIGFyZ3MiXSkKLSAgICAgICAgYXNzZXJ0IHBhdGgwID09IG9zLmdldGN3ZCgpCisgICAgICAgICMgUnVubmluZyBgcHl0aG9uIC1tYCBkaWQgbm90IHB1dCBjd2QgaW4gc3lzLnBhdGg7IGVuc3VyZSBpdCBpc24ndAorICAgICAgICAjIHRoZXJlLCBhbmQgbmVpdGhlciBpcyB0aGUgdG1wX3BhdGggd2Ugd291bGQgaGF2ZSByZXBsYWNlZCBpdCB3aXRoLgorICAgICAgICBwYXRoID0ganNvbi5sb2Fkcyhwcm9jLnN0ZG91dCkKKyAgICAgICAgYXNzZXJ0IG9zLmdldGN3ZCgpIG5vdCBpbiBwYXRoCisgICAgICAgIGFzc2VydCBzdHIodG1wX3BhdGgpIG5vdCBpbiBwYXRoCisKKyAgICBkZWYgdGVzdF9zeXNfbWFuaXB1bGF0aW9uc193aGVuX3J1bm5pbmdfbW9kdWxlKHNlbGYsIHRtcF9wYXRoKToKKyAgICAgICAgIyBHSVZFTgorICAgICAgICBvdXRfZmlsZSA9IHRtcF9wYXRoIC8gInJlc3VsdC5iaW4iCisKKyAgICAgICAgIyBXSEVOCisgICAgICAgIHByb2MgPSBzdWJwcm9jZXNzLnJ1bigKKyAgICAgICAgICAgIFsKKyAgICAgICAgICAgICAgICBzeXMuZXhlY3V0YWJsZSwKKyAgICAgICAgICAgICAgICAiLWMiLAorICAgICAgICAgICAgICAgICJpbXBvcnQgc3lzOyBmcm9tIG1lbXJheS5jb21tYW5kcyBpbXBvcnQgbWFpbjsgc3lzLmV4aXQobWFpbigpKSIsCisgICAgICAgICAgICAgICAgInJ1biIsCisgICAgICAgICAgICAgICAgIi0tcXVpZXQiLAorICAgICAgICAgICAgICAgICItLW91dHB1dCIsCisgICAgICAgICAgICAgICAgc3RyKG91dF9maWxlKSwKKyAgICAgICAgICAgICAgICAiLW0iLAorICAgICAgICAgICAgICAgICJzaXRlIiwKKyAgICAgICAgICAgIF0sCisgICAgICAgICAgICBjaGVjaz1UcnVlLAorICAgICAgICAgICAgY2FwdHVyZV9vdXRwdXQ9VHJ1ZSwKKyAgICAgICAgICAgIHRleHQ9VHJ1ZSwKKyAgICAgICAgKQorCisgICAgICAgICMgVEhFTgogICAgICAgICBhc3NlcnQgb3V0X2ZpbGUuZXhpc3RzKCkKKyAgICAgICAgYXNzZXJ0IHByb2MucmV0dXJuY29kZSA9PSAwCisgICAgICAgICMgUnVubmluZyBgcHl0aG9uIC1jYCBwdXQgIiIgaW4gc3lzLnBhdGg7IGVuc3VyZSB3ZSByZXBsYWNlZCBpdC4KKyAgICAgICAgcGF0aCA9IGV2YWwoCisgICAgICAgICAgICAiICIuam9pbihsaW5lIGZvciBsaW5lIGluIHByb2Muc3Rkb3V0LnNwbGl0bGluZXMoKSBpZiBsaW5lLnN0YXJ0c3dpdGgoIiAiKSkKKyAgICAgICAgKQorICAgICAgICBhc3NlcnQgIiIgbm90IGluIHBhdGgKKyAgICAgICAgYXNzZXJ0IG9zLmdldGN3ZCgpIGluIHBhdGgKKworICAgIEBweXRlc3QubWFyay5wYXJhbWV0cml6ZSgKKyAgICAgICAgImlzb2xhdGlvbl9mbGFnIiwgWyItSSJdICsgKFsiLVAiXSBpZiBzeXMudmVyc2lvbl9pbmZvID4gKDMsIDExKSBlbHNlIFtdKQorICAgICkKKyAgICBkZWYgdGVzdF9zdXBwcmVzc2luZ19zeXNfbWFuaXB1bGF0aW9uc193aGVuX3J1bm5pbmdfbW9kdWxlKAorICAgICAgICBzZWxmLCB0bXBfcGF0aCwgaXNvbGF0aW9uX2ZsYWcKKyAgICApOgorICAgICAgICAjIEdJVkVOCisgICAgICAgIG91dF9maWxlID0gdG1wX3BhdGggLyAicmVzdWx0LmJpbiIKKworICAgICAgICAjIFdIRU4KKyAgICAgICAgcHJvYyA9IHN1YnByb2Nlc3MucnVuKAorICAgICAgICAgICAgWworICAgICAgICAgICAgICAgIHN5cy5leGVjdXRhYmxlLAorICAgICAgICAgICAgICAgIGlzb2xhdGlvbl9mbGFnLAorICAgICAgICAgICAgICAgICItYyIsCisgICAgICAgICAgICAgICAgImltcG9ydCBzeXM7IGZyb20gbWVtcmF5LmNvbW1hbmRzIGltcG9ydCBtYWluOyBzeXMuZXhpdChtYWluKCkpIiwKKyAgICAgICAgICAgICAgICAicnVuIiwKKyAgICAgICAgICAgICAgICAiLS1xdWlldCIsCisgICAgICAgICAgICAgICAgIi0tb3V0cHV0IiwKKyAgICAgICAgICAgICAgICBzdHIob3V0X2ZpbGUpLAorICAgICAgICAgICAgICAgICItbSIsCisgICAgICAgICAgICAgICAgInNpdGUiLAorICAgICAgICAgICAgXSwKKyAgICAgICAgICAgIGNoZWNrPVRydWUsCisgICAgICAgICAgICBjYXB0dXJlX291dHB1dD1UcnVlLAorICAgICAgICAgICAgdGV4dD1UcnVlLAorICAgICAgICApCisKKyAgICAgICAgIyBUSEVOCisgICAgICAgIGFzc2VydCBvdXRfZmlsZS5leGlzdHMoKQorICAgICAgICBhc3NlcnQgcHJvYy5yZXR1cm5jb2RlID09IDAKKyAgICAgICAgIyBSdW5uaW5nIGBweXRob24gLWNgIGRpZCBub3QgcHV0ICIiIGluIHN5cy5wYXRoOyBlbnN1cmUgaXQgaXNuJ3QKKyAgICAgICAgIyB0aGVyZSwgYW5kIG5laXRoZXIgaXMgdGhlIG9zLmdldGN3ZCgpIHdlIHdvdWxkIGhhdmUgcmVwbGFjZWQgaXQgd2l0aC4KKyAgICAgICAgcGF0aCA9IGV2YWwoCisgICAgICAgICAgICAiICIuam9pbihsaW5lIGZvciBsaW5lIGluIHByb2Muc3Rkb3V0LnNwbGl0bGluZXMoKSBpZiBsaW5lLnN0YXJ0c3dpdGgoIiAiKSkKKyAgICAgICAgKQorICAgICAgICBhc3NlcnQgIiIgbm90IGluIHBhdGgKKyAgICAgICAgYXNzZXJ0IG9zLmdldGN3ZCgpIG5vdCBpbiBwYXRoCiAKICAgICBkZWYgdGVzdF9zeXNfbWFuaXB1bGF0aW9uc193aGVuX3J1bm5pbmdfY21kKHNlbGYsIHRtcF9wYXRoKToKICAgICAgICAgIyBHSVZFTgogICAgICAgICBvdXRfZmlsZSA9IHRtcF9wYXRoIC8gInJlc3VsdC5iaW4iCi0gICAgICAgIG90aGVyX2ZpbGUgPSB0bXBfcGF0aCAvICJzb21lX2FkamFjZW50X21vZHVsZS5weSIKLSAgICAgICAgb3RoZXJfZmlsZS53cml0ZV90ZXh0KCJpbXBvcnQgc3lzOyBwcmludChzeXMuYXJndik7IHByaW50KHN5cy5wYXRoWzBdKSIpCi0gICAgICAgIGVudiA9IG9zLmVudmlyb24uY29weSgpCi0gICAgICAgIGVudlsiUFlUSE9OUEFUSCJdID0gc3RyKHRtcF9wYXRoKSArICI6IiArIG9zLmVudmlyb24uZ2V0KCJQWVRIT05QQVRIIiwgIiIpCiAKICAgICAgICAgIyBXSEVOCiAgICAgICAgIHByb2MgPSBzdWJwcm9jZXNzLnJ1bigKQEAgLTM1NSwyMiArNDIzLDU3IEBAIGNsYXNzIFRlc3RSdW5TdWJjb21tYW5kOgogICAgICAgICAgICAgICAgICItLW91dHB1dCIsCiAgICAgICAgICAgICAgICAgc3RyKG91dF9maWxlKSwKICAgICAgICAgICAgICAgICAiLWMiLAotICAgICAgICAgICAgICAgICJpbXBvcnQgc29tZV9hZGphY2VudF9tb2R1bGUiLAotICAgICAgICAgICAgICAgICJzb21lIiwKLSAgICAgICAgICAgICAgICAicHJvdmlkZWQgYXJncyIsCisgICAgICAgICAgICAgICAgImltcG9ydCBqc29uLCBzeXM7IHByaW50KGpzb24uZHVtcHMoc3lzLnBhdGgpKSIsCiAgICAgICAgICAgICBdLAogICAgICAgICAgICAgY2hlY2s9VHJ1ZSwKICAgICAgICAgICAgIGNhcHR1cmVfb3V0cHV0PVRydWUsCiAgICAgICAgICAgICB0ZXh0PVRydWUsCi0gICAgICAgICAgICBlbnY9ZW52LAogICAgICAgICApCiAKICAgICAgICAgIyBUSEVOCisgICAgICAgIGFzc2VydCBvdXRfZmlsZS5leGlzdHMoKQogICAgICAgICBhc3NlcnQgcHJvYy5yZXR1cm5jb2RlID09IDAKLSAgICAgICAgYXJndiwgcGF0aDAgPSBwcm9jLnN0ZG91dC5zcGxpdGxpbmVzKCkKLSAgICAgICAgYXNzZXJ0IGFyZ3YgPT0gcmVwcihbIi1jIiwgInNvbWUiLCAicHJvdmlkZWQgYXJncyJdKQotICAgICAgICBhc3NlcnQgcGF0aDAgPT0gIiIKKyAgICAgICAgIyBSdW5uaW5nIGBweXRob24gLW1gIHB1dCBjd2QgaW4gc3lzLnBhdGg7IGVuc3VyZSB3ZSByZXBsYWNlZCBpdC4KKyAgICAgICAgcGF0aCA9IGpzb24ubG9hZHMocHJvYy5zdGRvdXQpCisgICAgICAgIGFzc2VydCBvcy5nZXRjd2QoKSBub3QgaW4gcGF0aAorICAgICAgICBhc3NlcnQgIiIgaW4gcGF0aAorCisgICAgQHB5dGVzdC5tYXJrLnBhcmFtZXRyaXplKAorICAgICAgICAiaXNvbGF0aW9uX2ZsYWciLCBbIi1JIl0gKyAoWyItUCJdIGlmIHN5cy52ZXJzaW9uX2luZm8gPiAoMywgMTEpIGVsc2UgW10pCisgICAgKQorICAgIGRlZiB0ZXN0X3N1cHByZXNzaW5nX3N5c19tYW5pcHVsYXRpb25zX3doZW5fcnVubmluZ19jbWQoCisgICAgICAgIHNlbGYsIHRtcF9wYXRoLCBpc29sYXRpb25fZmxhZworICAgICk6CisgICAgICAgICMgR0lWRU4KKyAgICAgICAgb3V0X2ZpbGUgPSB0bXBfcGF0aCAvICJyZXN1bHQuYmluIgorCisgICAgICAgICMgV0hFTgorICAgICAgICBwcm9jID0gc3VicHJvY2Vzcy5ydW4oCisgICAgICAgICAgICBbCisgICAgICAgICAgICAgICAgc3lzLmV4ZWN1dGFibGUsCisgICAgICAgICAgICAgICAgaXNvbGF0aW9uX2ZsYWcsCisgICAgICAgICAgICAgICAgIi1tIiwKKyAgICAgICAgICAgICAgICAibWVtcmF5IiwKKyAgICAgICAgICAgICAgICAicnVuIiwKKyAgICAgICAgICAgICAgICAiLS1xdWlldCIsCisgICAgICAgICAgICAgICAgIi0tb3V0cHV0IiwKKyAgICAgICAgICAgICAgICBzdHIob3V0X2ZpbGUpLAorICAgICAgICAgICAgICAgICItYyIsCisgICAgICAgICAgICAgICAgImltcG9ydCBqc29uLCBzeXM7IHByaW50KGpzb24uZHVtcHMoc3lzLnBhdGgpKSIsCisgICAgICAgICAgICBdLAorICAgICAgICAgICAgY2hlY2s9VHJ1ZSwKKyAgICAgICAgICAgIGNhcHR1cmVfb3V0cHV0PVRydWUsCisgICAgICAgICAgICB0ZXh0PVRydWUsCisgICAgICAgICkKKworICAgICAgICAjIFRIRU4KICAgICAgICAgYXNzZXJ0IG91dF9maWxlLmV4aXN0cygpCisgICAgICAgIGFzc2VydCBwcm9jLnJldHVybmNvZGUgPT0gMAorICAgICAgICAjIFJ1bm5pbmcgYHB5dGhvbiAtbWAgZGlkIG5vdCBwdXQgY3dkIGluIHN5cy5wYXRoOyBlbnN1cmUgaXQgaXNuJ3QKKyAgICAgICAgIyB0aGVyZSwgYW5kIG5laXRoZXIgaXMgdGhlICIiIHdlIHdvdWxkIGhhdmUgcmVwbGFjZWQgaXQgd2l0aC4KKyAgICAgICAgcGF0aCA9IGpzb24ubG9hZHMocHJvYy5zdGRvdXQpCisgICAgICAgIGFzc2VydCBvcy5nZXRjd2QoKSBub3QgaW4gcGF0aAorICAgICAgICBhc3NlcnQgIiIgbm90IGluIHBhdGgKIAogICAgIEBweXRlc3QubWFyay5wYXJhbWV0cml6ZSgib3B0aW9uIiwgW05vbmUsICItLWxpdmUiLCAiLS1saXZlLXJlbW90ZSJdKQogICAgIGRlZiB0ZXN0X3J1bl9maWxlX3RoYXRfaXNfbm90X3B5dGhvbihzZWxmLCBjYXBzeXMsIG9wdGlvbik6Cg=='\"'\"'))'",
        "git apply /tmp/receipts-bloomberg__memray-552-test.patch"
      ],
      "workdir": "/memray"
    },
    "spec_paths": [
      "tests/integration/test_main.py"
    ],
    "spec_tests": [
      "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_script[-I]",
      "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_module[-I]",
      "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_cmd[-I]"
    ],
    "suite_scope": "--no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning tests/integration/test_main.py"
  },
  "plan": {
    "approach": "Check for presence of isolation flags before modifying sys.argv[0]. If they're present, avoid replacing argv[0] with temporary paths.",
    "files_to_edit": [
      "src/memray/commands/run.py"
    ],
    "finish_reason": "stop",
    "hypothesis": "When running under isolated mode (-I flag), memray should skip adjusting sys.argv[0] because Python has already been configured not to modify sys.path.",
    "usage": {
      "completion": 89,
      "prompt": 9774,
      "reasoning": 0
    }
  },
  "selected_patch_path": null,
  "snapshot_receipt_id": "base-7",
  "verdict_history": [
    {
      "branch_id": "agent1",
      "claim_audit": "honest",
      "claim_evidence": "did not claim green; verification did not pass",
      "error": null,
      "error_kind": null,
      "predicates": [
        {
          "evidence": "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_script[-I] failed; tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_module[-I] failed; tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_cmd[-I] failed",
          "id": "R1_fail_to_pass",
          "passed": false
        },
        {
          "evidence": "75 baseline-passing tests still pass",
          "id": "R2_pass_to_pass",
          "passed": true
        },
        {
          "evidence": "all 78 baseline tests collected; skips unchanged (0)",
          "id": "R3_no_shrink",
          "passed": true
        },
        {
          "evidence": "patch touches 1 file(s), all in scope",
          "id": "R4_patch_scope",
          "passed": true
        },
        {
          "evidence": "agent chain 60731ef8-fab0-45e3-912e-25ab2b18dd29 -> 6776b94f-1194-4d10-8cb1-b975e05a12bd unbroken over 8 receipt(s); witness chain 60731ef8-fab0-45e3-912e-25ab2b18dd29 -> 973caca8-bcad-4fa7-bde5-fbc22b1b44ad unbroken over 2 receipt(s); applied digest matches",
          "id": "R5_provenance",
          "passed": true
        },
        {
          "evidence": "did not claim green; verification did not pass",
          "id": "R6_claim_audit",
          "passed": true
        }
      ],
      "status": "REJECTED"
    },
    {
      "branch_id": "agent1",
      "claim_audit": "honest",
      "claim_evidence": "did not claim green; verification did not pass",
      "error": null,
      "error_kind": null,
      "predicates": [
        {
          "evidence": "tests/integration/test_main.py::TestRunSubcommand::test_suppressing_sys_manipulations_when_running_module[-I] failed",
          "id": "R1_fail_to_pass",
          "passed": false
        },
        {
          "evidence": "75 baseline-passing tests still pass",
          "id": "R2_pass_to_pass",
          "passed": true
        },
        {
          "evidence": "all 78 baseline tests collected; skips unchanged (0)",
          "id": "R3_no_shrink",
          "passed": true
        },
        {
          "evidence": "patch touches 1 file(s), all in scope",
          "id": "R4_patch_scope",
          "passed": true
        },
        {
          "evidence": "agent chain 60731ef8-fab0-45e3-912e-25ab2b18dd29 -> f070714e-548b-43e6-8b86-6a63f2d63628 unbroken over 13 receipt(s); witness chain 60731ef8-fab0-45e3-912e-25ab2b18dd29 -> 077d1569-917b-4a38-afea-31fa9c5a2ec8 unbroken over 2 receipt(s); applied digest matches",
          "id": "R5_provenance",
          "passed": true
        },
        {
          "evidence": "did not claim green; verification did not pass",
          "id": "R6_claim_audit",
          "passed": true
        }
      ],
      "status": "REJECTED"
    }
  ],
  "verified_fix": false,
  "wall_time_s": 951.8702911250293
}
