{
  "instance_id": "stac-utils__stac-fastapi-729",
  "status": "ran",
  "reason": null,
  "run_dir": "pilot/v2-arm-lightning/stac-utils__stac-fastapi-729/runs/pilot-stac-utils__stac-fastapi-729-c761b1856e",
  "executor_kind": "tokenfactory",
  "attempts": [
    {
      "end": "budget_exhausted",
      "end_summary": "turn budget exhausted after 60 turn(s)",
      "claimed_done": false,
      "claims": null,
      "naive_green": false,
      "gate_status": "REJECTED",
      "failed_predicate_ids": [
        "R1_fail_to_pass"
      ],
      "claim_audit": "no_claim",
      "official_resolved": false,
      "agreement": "agree_fail",
      "filtered_patch_sha256": "9b2b6604f2a4bc766fcd07188b086271f6c0eed122136898d1e31526007491a9",
      "filtered_sha256": "9b2b6604f2a4bc766fcd07188b086271f6c0eed122136898d1e31526007491a9",
      "witness_apply_sha256": "9b2b6604f2a4bc766fcd07188b086271f6c0eed122136898d1e31526007491a9",
      "gate_error": null,
      "official": {
        "attempt": 1,
        "branch_id": "official1",
        "apply_exit_code": 0,
        "test_exit_code": 1,
        "timed_out": false,
        "log_path": "official/attempt-1.log",
        "log_sha256": "977030f6d4abd7726e3fcce3faf9487ec0b21049f59b5dfade2b5b7f6882f859",
        "judgement": {
          "resolved": false,
          "from_fail_to_pass": [],
          "failed_from_fail_to_pass": [
            "stac_fastapi/api/tests/test_models.py::test_create_get_request_model"
          ],
          "failed_from_pass_to_pass": []
        },
        "infra_error": null,
        "applied_sha256": "9b2b6604f2a4bc766fcd07188b086271f6c0eed122136898d1e31526007491a9",
        "read_sha256": "9b2b6604f2a4bc766fcd07188b086271f6c0eed122136898d1e31526007491a9",
        "note": null,
        "cleanup_error": null
      }
    },
    {
      "end": "finished",
      "end_summary": "Fixed the issue where `make_dataclass` was erasing the `__post_init__` method when extensions are provided to `create_get_request_model`.\n\nThe fix modifies `create_request_model` in `stac_fastapi/api/stac_fastapi/api/models.py` to:\n1. Create the dataclass using `types.new_class()` instead of `make_dataclass()`\n2. Remove the `__post_init__` method before applying the `dataclass` decorator\n3. Add a custom `__post_init__` that calls `__post_init__` from ALL base classes in the MRO\n\nThis ensures validation/conversion logic in `__post_init__` (which converts strings like `datetime`, `bbox`, `collections`, `ids` to proper types) works correctly regardless of whether extensions are provided.\n\nAll 9 tests in `stac_fastapi/api/tests/test_models.py` pass, and the original issue is resolved - invalid datetimes now properly raise `HTTPException 400` even when extensions are present.",
      "claimed_done": true,
      "claims": {
        "tests_run": true,
        "target_tests_pass": true,
        "full_suite_pass": true,
        "files_changed": [
          "stac_fastapi/api/stac_fastapi/api/models.py"
        ]
      },
      "naive_green": false,
      "gate_status": "PASS",
      "failed_predicate_ids": [],
      "claim_audit": "unsupported",
      "official_resolved": true,
      "agreement": "agree_pass",
      "filtered_patch_sha256": "b69515a16d50f2e6af3912cebcfa15775d99d574f5d4cbff936b433b0f59fc37",
      "filtered_sha256": "b69515a16d50f2e6af3912cebcfa15775d99d574f5d4cbff936b433b0f59fc37",
      "witness_apply_sha256": "b69515a16d50f2e6af3912cebcfa15775d99d574f5d4cbff936b433b0f59fc37",
      "gate_error": null,
      "official": {
        "attempt": 2,
        "branch_id": "official2",
        "apply_exit_code": 0,
        "test_exit_code": 1,
        "timed_out": false,
        "log_path": "official/attempt-2.log",
        "log_sha256": "3b735b2b2bcfc321213ae4d4bc0d900420a0eb20f4f0f31581418bf9e6702f59",
        "judgement": {
          "resolved": true,
          "from_fail_to_pass": [
            "stac_fastapi/api/tests/test_models.py::test_create_get_request_model"
          ],
          "failed_from_fail_to_pass": [],
          "failed_from_pass_to_pass": []
        },
        "infra_error": null,
        "applied_sha256": "b69515a16d50f2e6af3912cebcfa15775d99d574f5d4cbff936b433b0f59fc37",
        "read_sha256": "b69515a16d50f2e6af3912cebcfa15775d99d574f5d4cbff936b433b0f59fc37",
        "note": null,
        "cleanup_error": null
      }
    }
  ],
  "final": {
    "gate_status": "PASS",
    "verified_fix": true,
    "official_resolved": true
  },
  "cost": {
    "tokens": 1474789,
    "model_dollars": 0.09256434,
    "sandbox_lifetime_seconds": 223.15755,
    "sandbox_dollars_estimate": 0.30710377
  },
  "wall_time_s": 400.5029267501086,
  "cleanup_error": null,
  "prior_infrastructure_errors": [],
  "prior_interrupted_runs": []
}
