From 00d23803f8a00470baf10de28243fb70f716519c Mon Sep 17 00:00:00 2001
From: Dan Farrelly <djfarrelly@users.noreply.github.com>
Date: Fri, 20 Dec 2024 12:10:37 -0500
Subject: [PATCH] Add SWE-bench README (#33)

---
 examples/swebench/README.md    | 59 ++++++++++++++++++++++++++++++++++
 examples/swebench/package.json |  2 +-
 2 files changed, 60 insertions(+), 1 deletion(-)

diff --git a/examples/swebench/README.md b/examples/swebench/README.md
index e69de29..d380efe 100644
--- a/examples/swebench/README.md
+++ b/examples/swebench/README.md
@@ -0,0 +1,59 @@
+# AgentKit SWE-bench
+
+This is an example of a coding agent that uses the [SWE-bench](https://arxiv.org/abs/2310.06770) benchmark with AgentKit.
+
+## Setup
+
+Install all dependencies:
+
+```shell
+pnpm install
+```
+
+Create and set your [Anthropic API key](https://docs.anthropic.com/en/api/getting-started). Set it in your shell:
+
+```shell
+export ANTHROPIC_API_KEY="sk-ant-api03-JOs892nf..."
+```
+
+Start the server:
+
+```shell
+pnpm start
+```
+
+Start the Inngest Dev Server:
+
+```shell
+npx inngest-cli@latest dev -u http://localhost:3001/api/inngest
+```
+
+Open the Dev Server's UI at `http://localhost:8288`
+
+## Running SWE-bench examples
+
+You can download the full SWE-bench examples by running `make init` and reading the parquet file.
+
+### Quick example
+
+On the Dev Server's [functions](http://localhost:8288/functions) tab, click the "invoke" button and paste the following payload which is from the SWE-bench dataset.
+
+````json
+{
+  "data": {
+    "repo": "pvlib/pvlib-python",
+    "instance_id": "pvlib__pvlib-python-1854",
+    "base_commit": "27a3a07ebc84b11014d3753e4923902adf9a38c0",
+    "patch": "diff --git a/pvlib/pvsystem.py b/pvlib/pvsystem.py\n--- a/pvlib/pvsystem.py\n+++ b/pvlib/pvsystem.py\n@@ -101,10 +101,11 @@ class PVSystem:\n \n     Parameters\n     ----------\n-    arrays : iterable of Array, optional\n-        List of arrays that are part of the system. If not specified\n-        a single array is created from the other parameters (e.g.\n-        `surface_tilt`, `surface_azimuth`). Must contain at least one Array,\n+    arrays : Array or iterable of Array, optional\n+        An Array or list of arrays that are part of the system. If not\n+        specified a single array is created from the other parameters (e.g.\n+        `surface_tilt`, `surface_azimuth`). If specified as a list, the list\n+        must contain at least one Array;\n         if length of arrays is 0 a ValueError is raised. If `arrays` is\n         specified the following PVSystem parameters are ignored:\n \n@@ -220,6 +221,8 @@ def __init__(self,\n                 strings_per_inverter,\n                 array_losses_parameters,\n             ),)\n+        elif isinstance(arrays, Array):\n+            self.arrays = (arrays,)\n         elif len(arrays) == 0:\n             raise ValueError(\"PVSystem must have at least one Array. \"\n                              \"If you want to create a PVSystem instance \"\n",
+    "test_patch": "diff --git a/pvlib/tests/test_pvsystem.py b/pvlib/tests/test_pvsystem.py\n--- a/pvlib/tests/test_pvsystem.py\n+++ b/pvlib/tests/test_pvsystem.py\n@@ -1887,8 +1887,6 @@ def test_PVSystem_multiple_array_creation():\n     assert pv_system.arrays[0].module_parameters == {}\n     assert pv_system.arrays[1].module_parameters == {'pdc0': 1}\n     assert pv_system.arrays == (array_one, array_two)\n-    with pytest.raises(TypeError):\n-        pvsystem.PVSystem(arrays=array_one)\n \n \n def test_PVSystem_get_aoi():\n@@ -2362,6 +2360,14 @@ def test_PVSystem_at_least_one_array():\n         pvsystem.PVSystem(arrays=[])\n \n \n+def test_PVSystem_single_array():\n+    # GH 1831\n+    single_array = pvsystem.Array(pvsystem.FixedMount())\n+    system = pvsystem.PVSystem(arrays=single_array)\n+    assert isinstance(system.arrays, tuple)\n+    assert system.arrays[0] is single_array\n+\n+\n def test_combine_loss_factors():\n     test_index = pd.date_range(start='1990/01/01T12:00', periods=365, freq='D')\n     loss_1 = pd.Series(.10, index=test_index)\n",
+    "problem_statement": "PVSystem with single Array generates an error\n**Is your feature request related to a problem? Please describe.**\r\n\r\nWhen a PVSystem has a single Array, you can't assign just the Array instance when constructing the PVSystem.\r\n\r\n```\r\nmount = pvlib.pvsystem.FixedMount(surface_tilt=35, surface_azimuth=180)\r\narray = pvlib.pvsystem.Array(mount=mount)\r\npv = pvlib.pvsystem.PVSystem(arrays=array)\r\n\r\n---------------------------------------------------------------------------\r\nTypeError                                 Traceback (most recent call last)\r\n<ipython-input-13-f5424e3db16a> in <module>\r\n      3 mount = pvlib.pvsystem.FixedMount(surface_tilt=35, surface_azimuth=180)\r\n      4 array = pvlib.pvsystem.Array(mount=mount)\r\n----> 5 pv = pvlib.pvsystem.PVSystem(arrays=array)\r\n\r\n~\\anaconda3\\lib\\site-packages\\pvlib\\pvsystem.py in __init__(self, arrays, surface_tilt, surface_azimuth, albedo, surface_type, module, module_type, module_parameters, temperature_model_parameters, modules_per_string, strings_per_inverter, inverter, inverter_parameters, racking_model, losses_parameters, name)\r\n    251                 array_losses_parameters,\r\n    252             ),)\r\n--> 253         elif len(arrays) == 0:\r\n    254             raise ValueError(\"PVSystem must have at least one Array. \"\r\n    255                              \"If you want to create a PVSystem instance \"\r\n\r\nTypeError: object of type 'Array' has no len()\r\n\r\n```\r\n\r\nNot a bug per se, since the PVSystem docstring requests that `arrays` be iterable. Still, a bit inconvenient to have to do this\r\n\r\n```\r\nmount = pvlib.pvsystem.FixedMount(surface_tilt=35, surface_azimuth=180)\r\narray = pvlib.pvsystem.Array(mount=mount)\r\npv = pvlib.pvsystem.PVSystem(arrays=[array])\r\n```\r\n\r\n**Describe the solution you'd like**\r\nHandle `arrays=array` where `array` is an instance of `Array`\r\n\r\n**Describe alternatives you've considered**\r\nStatus quo - either make the single Array into a list, or use the PVSystem kwargs.\r\n\n",
+    "hints_text": "",
+    "created_at": "2023-09-13T17:25:47Z",
+    "version": "0.9",
+    "FAIL_TO_PASS": "[\"pvlib/tests/test_pvsystem.py::test_PVSystem_single_array\"]",
+    "PASS_TO_PASS": "[\"pvlib/tests/test_pvsystem.py::test_PVSystem_get_iam[ashrae-model_params0]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_get_iam[physical-model_params1]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_get_iam[martin_ruiz-model_params2]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_get_iam\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_get_iam_sapm\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_get_iam_interp\", \"pvlib/tests/test_pvsystem.py::test__normalize_sam_product_names\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_get_iam_invalid\", \"pvlib/tests/test_pvsystem.py::test_retrieve_sam_raise_no_parameters\", \"pvlib/tests/test_pvsystem.py::test_retrieve_sam_cecmod\", \"pvlib/tests/test_pvsystem.py::test_retrieve_sam_cecinverter\", \"pvlib/tests/test_pvsystem.py::test_sapm\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_sapm\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_sapm\", \"pvlib/tests/test_pvsystem.py::test_sapm_spectral_loss_deprecated\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_sapm_spectral_loss\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_sapm_spectral_loss\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_first_solar_spectral_loss[module_parameters0-multisi-None]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_first_solar_spectral_loss[module_parameters1-multisi-None]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_first_solar_spectral_loss[module_parameters2-None-coefficients2]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_first_solar_spectral_loss\", \"pvlib/tests/test_pvsystem.py::test_sapm_effective_irradiance[test_input0-1140.0510967821876]\", \"pvlib/tests/test_pvsystem.py::test_sapm_effective_irradiance[test_input1-expected1]\", \"pvlib/tests/test_pvsystem.py::test_sapm_effective_irradiance[test_input2-expected2]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_sapm_effective_irradiance\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_sapm_effective_irradiance\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_sapm_effective_irradiance_value_error[20-poa_diffuse0-aoi0]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_sapm_effective_irradiance_value_error[poa_direct1-poa_diffuse1-aoi1]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_sapm_effective_irradiance_value_error[poa_direct2-poa_diffuse2-20]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_sapm_celltemp\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_sapm_celltemp_kwargs\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_sapm_celltemp_different_arrays\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_pvsyst_celltemp\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_faiman_celltemp\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_noct_celltemp\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_noct_celltemp_error\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_functions[faiman]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_functions[pvsyst]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_functions[sapm]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_functions[fuentes]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_functions[noct_sam]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_multi_temp[faiman]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_multi_temp[pvsyst]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_multi_temp[sapm]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_multi_temp[fuentes]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_multi_temp[noct_sam]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_multi_wind[faiman]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_multi_wind[pvsyst]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_multi_wind[sapm]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_multi_wind[fuentes]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_multi_wind[noct_sam]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_get_cell_temperature_invalid\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_temp_too_short[faiman]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_temp_too_short[pvsyst]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_temp_too_short[sapm]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_temp_too_short[fuentes]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_temp_too_short[noct_sam]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_temp_too_long[faiman]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_temp_too_long[pvsyst]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_temp_too_long[sapm]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_temp_too_long[fuentes]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_temp_too_long[noct_sam]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_wind_too_short[faiman]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_wind_too_short[pvsyst]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_wind_too_short[sapm]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_wind_too_short[fuentes]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_wind_too_short[noct_sam]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_wind_too_long[faiman]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_wind_too_long[pvsyst]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_wind_too_long[sapm]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_wind_too_long[fuentes]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_wind_too_long[noct_sam]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_poa_length_mismatch[faiman]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_poa_length_mismatch[pvsyst]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_poa_length_mismatch[sapm]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_poa_length_mismatch[fuentes]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_celltemp_poa_length_mismatch[noct_sam]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_fuentes_celltemp\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_fuentes_module_height\", \"pvlib/tests/test_pvsystem.py::test_Array__infer_temperature_model_params\", \"pvlib/tests/test_pvsystem.py::test_Array__infer_cell_type\", \"pvlib/tests/test_pvsystem.py::test_calcparams_desoto_returns_correct_Python_type[numeric_type_funcs0]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_desoto_returns_correct_Python_type[numeric_type_funcs1]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_desoto_returns_correct_Python_type[numeric_type_funcs2]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_desoto_returns_correct_Python_type[numeric_type_funcs3]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_desoto_returns_correct_Python_type[numeric_type_funcs4]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_desoto_returns_correct_Python_type[numeric_type_funcs5]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_desoto_returns_correct_Python_type[numeric_type_funcs6]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_desoto_returns_correct_Python_type[numeric_type_funcs7]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_desoto_returns_correct_Python_type[numeric_type_funcs8]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_desoto_returns_correct_Python_type[numeric_type_funcs9]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_desoto_returns_correct_Python_type[numeric_type_funcs10]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_desoto_returns_correct_Python_type[numeric_type_funcs11]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_desoto_returns_correct_Python_type[numeric_type_funcs12]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_desoto_returns_correct_Python_type[numeric_type_funcs13]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_desoto_returns_correct_Python_type[numeric_type_funcs14]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_desoto_returns_correct_Python_type[numeric_type_funcs15]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_cec_returns_correct_Python_type[numeric_type_funcs0]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_cec_returns_correct_Python_type[numeric_type_funcs1]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_cec_returns_correct_Python_type[numeric_type_funcs2]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_cec_returns_correct_Python_type[numeric_type_funcs3]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_cec_returns_correct_Python_type[numeric_type_funcs4]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_cec_returns_correct_Python_type[numeric_type_funcs5]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_cec_returns_correct_Python_type[numeric_type_funcs6]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_cec_returns_correct_Python_type[numeric_type_funcs7]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_cec_returns_correct_Python_type[numeric_type_funcs8]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_cec_returns_correct_Python_type[numeric_type_funcs9]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_cec_returns_correct_Python_type[numeric_type_funcs10]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_cec_returns_correct_Python_type[numeric_type_funcs11]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_cec_returns_correct_Python_type[numeric_type_funcs12]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_cec_returns_correct_Python_type[numeric_type_funcs13]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_cec_returns_correct_Python_type[numeric_type_funcs14]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_cec_returns_correct_Python_type[numeric_type_funcs15]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_pvsyst_returns_correct_Python_type[numeric_type_funcs0]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_pvsyst_returns_correct_Python_type[numeric_type_funcs1]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_pvsyst_returns_correct_Python_type[numeric_type_funcs2]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_pvsyst_returns_correct_Python_type[numeric_type_funcs3]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_pvsyst_returns_correct_Python_type[numeric_type_funcs4]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_pvsyst_returns_correct_Python_type[numeric_type_funcs5]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_pvsyst_returns_correct_Python_type[numeric_type_funcs6]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_pvsyst_returns_correct_Python_type[numeric_type_funcs7]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_pvsyst_returns_correct_Python_type[numeric_type_funcs8]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_pvsyst_returns_correct_Python_type[numeric_type_funcs9]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_pvsyst_returns_correct_Python_type[numeric_type_funcs10]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_pvsyst_returns_correct_Python_type[numeric_type_funcs11]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_pvsyst_returns_correct_Python_type[numeric_type_funcs12]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_pvsyst_returns_correct_Python_type[numeric_type_funcs13]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_pvsyst_returns_correct_Python_type[numeric_type_funcs14]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_pvsyst_returns_correct_Python_type[numeric_type_funcs15]\", \"pvlib/tests/test_pvsystem.py::test_calcparams_desoto_all_scalars\", \"pvlib/tests/test_pvsystem.py::test_calcparams_cec_all_scalars\", \"pvlib/tests/test_pvsystem.py::test_calcparams_pvsyst_all_scalars\", \"pvlib/tests/test_pvsystem.py::test_calcparams_desoto\", \"pvlib/tests/test_pvsystem.py::test_calcparams_cec\", \"pvlib/tests/test_pvsystem.py::test_calcparams_cec_extra_params_propagation\", \"pvlib/tests/test_pvsystem.py::test_calcparams_pvsyst\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_calcparams_desoto\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_calcparams_pvsyst\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_calcparams[calcparams_pvsyst]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_calcparams[calcparams_desoto]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_calcparams[calcparams_cec]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_calcparams_value_error[calcparams_desoto-1-celltemp0]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_calcparams_value_error[calcparams_desoto-irrad1-1]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_calcparams_value_error[calcparams_cec-1-celltemp2]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_calcparams_value_error[calcparams_cec-irrad3-1]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_calcparams_value_error[calcparams_pvsyst-1-celltemp4]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_calcparams_value_error[calcparams_pvsyst-irrad5-1]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i0-lambertw-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i0-brentq-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i0-newton-1e-08]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i1-lambertw-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i1-brentq-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i1-newton-1e-08]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i2-lambertw-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i2-brentq-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i2-newton-1e-08]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i3-lambertw-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i3-brentq-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i3-newton-1e-08]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i4-lambertw-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i4-brentq-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i4-newton-1e-08]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i5-lambertw-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i5-brentq-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i5-newton-1e-08]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i6-lambertw-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i6-brentq-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i6-newton-1e-08]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i7-lambertw-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i7-brentq-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i7-newton-1e-08]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i8-lambertw-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i8-brentq-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i8-newton-1e-08]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i9-lambertw-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i9-brentq-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i9-newton-1e-08]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i10-lambertw-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i10-brentq-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_v_from_i[fixture_v_from_i10-newton-1e-08]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v_from_i[fixture_v_from_i0]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v_from_i[fixture_v_from_i1]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v_from_i[fixture_v_from_i2]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v_from_i[fixture_v_from_i3]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v_from_i[fixture_v_from_i4]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v_from_i[fixture_v_from_i5]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v_from_i[fixture_v_from_i6]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v_from_i[fixture_v_from_i7]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v_from_i[fixture_v_from_i8]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v_from_i[fixture_v_from_i9]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v_from_i[fixture_v_from_i10]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v[fixture_i_from_v0-lambertw-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v[fixture_i_from_v0-brentq-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v[fixture_i_from_v0-newton-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v[fixture_i_from_v1-lambertw-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v[fixture_i_from_v1-brentq-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v[fixture_i_from_v1-newton-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v[fixture_i_from_v2-lambertw-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v[fixture_i_from_v2-brentq-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v[fixture_i_from_v2-newton-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v[fixture_i_from_v3-lambertw-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v[fixture_i_from_v3-brentq-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v[fixture_i_from_v3-newton-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v[fixture_i_from_v4-lambertw-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v[fixture_i_from_v4-brentq-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v[fixture_i_from_v4-newton-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v[fixture_i_from_v5-lambertw-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v[fixture_i_from_v5-brentq-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v[fixture_i_from_v5-newton-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v[fixture_i_from_v6-lambertw-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v[fixture_i_from_v6-brentq-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_i_from_v[fixture_i_from_v6-newton-1e-11]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_i_from_v\", \"pvlib/tests/test_pvsystem.py::test_i_from_v_size\", \"pvlib/tests/test_pvsystem.py::test_v_from_i_size\", \"pvlib/tests/test_pvsystem.py::test_mpp_floats\", \"pvlib/tests/test_pvsystem.py::test_mpp_recombination\", \"pvlib/tests/test_pvsystem.py::test_mpp_array\", \"pvlib/tests/test_pvsystem.py::test_mpp_series\", \"pvlib/tests/test_pvsystem.py::test_singlediode_series\", \"pvlib/tests/test_pvsystem.py::test_singlediode_array\", \"pvlib/tests/test_pvsystem.py::test_singlediode_floats\", \"pvlib/tests/test_pvsystem.py::test_singlediode_floats_ivcurve\", \"pvlib/tests/test_pvsystem.py::test_singlediode_series_ivcurve\", \"pvlib/tests/test_pvsystem.py::test_singlediode_ivcurvepnts_deprecation_warning[lambertw]\", \"pvlib/tests/test_pvsystem.py::test_singlediode_ivcurvepnts_deprecation_warning[brentq]\", \"pvlib/tests/test_pvsystem.py::test_singlediode_ivcurvepnts_deprecation_warning[newton]\", \"pvlib/tests/test_pvsystem.py::test_scale_voltage_current_power\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_scale_voltage_current_power\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_scale_voltage_current_power\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_get_ac_sandia\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_get_ac_sandia_multi\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_get_ac_pvwatts\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_get_ac_pvwatts_kwargs\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_get_ac_pvwatts_multi\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_get_ac_single_array_tuple_input[sandia]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_get_ac_single_array_tuple_input[adr]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_get_ac_single_array_tuple_input[pvwatts]\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_get_ac_adr\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_get_ac_adr_multi\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_get_ac_invalid\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_creation\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multiple_array_creation\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_get_aoi\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multiple_array_get_aoi\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_get_irradiance\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_get_irradiance_albedo\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_get_irradiance_model\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_get_irradiance\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array_get_irradiance_multi_irrad\", \"pvlib/tests/test_pvsystem.py::test_Array_get_irradiance\", \"pvlib/tests/test_pvsystem.py::test_PVSystem___repr__\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multi_array___repr__\", \"pvlib/tests/test_pvsystem.py::test_Array___repr__\", \"pvlib/tests/test_pvsystem.py::test_pvwatts_dc_scalars\", \"pvlib/tests/test_pvsystem.py::test_pvwatts_dc_arrays\", \"pvlib/tests/test_pvsystem.py::test_pvwatts_dc_series\", \"pvlib/tests/test_pvsystem.py::test_pvwatts_losses_default\", \"pvlib/tests/test_pvsystem.py::test_pvwatts_losses_arrays\", \"pvlib/tests/test_pvsystem.py::test_pvwatts_losses_series\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_pvwatts_dc\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_pvwatts_dc_kwargs\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multiple_array_pvwatts_dc\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_multiple_array_pvwatts_dc_value_error\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_pvwatts_losses\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_num_arrays\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_at_least_one_array\", \"pvlib/tests/test_pvsystem.py::test_combine_loss_factors\", \"pvlib/tests/test_pvsystem.py::test_no_extra_kwargs\", \"pvlib/tests/test_pvsystem.py::test_AbstractMount_constructor\", \"pvlib/tests/test_pvsystem.py::test_FixedMount_constructor\", \"pvlib/tests/test_pvsystem.py::test_FixedMount_get_orientation\", \"pvlib/tests/test_pvsystem.py::test_SingleAxisTrackerMount_constructor\", \"pvlib/tests/test_pvsystem.py::test_SingleAxisTrackerMount_get_orientation\", \"pvlib/tests/test_pvsystem.py::test_dc_ohms_from_percent\", \"pvlib/tests/test_pvsystem.py::test_PVSystem_dc_ohms_from_percent\", \"pvlib/tests/test_pvsystem.py::test_dc_ohmic_losses\", \"pvlib/tests/test_pvsystem.py::test_Array_dc_ohms_from_percent\", \"pvlib/tests/test_pvsystem.py::test_Array_temperature_missing_parameters[sapm-keys0]\", \"pvlib/tests/test_pvsystem.py::test_Array_temperature_missing_parameters[fuentes-keys1]\", \"pvlib/tests/test_pvsystem.py::test_Array_temperature_missing_parameters[noct_sam-keys2]\"]",
+    "environment_setup_commit": "6072e0982c3c0236f532ddfa48fbf461180d834e"
+  }
+}
+```
+````
diff --git a/examples/swebench/package.json b/examples/swebench/package.json
index b6f5e0e..01901da 100644
--- a/examples/swebench/package.json
+++ b/examples/swebench/package.json
@@ -4,7 +4,7 @@
   "description": "",
   "main": "index.js",
   "scripts": {
-    "run": "npx ts-node ./index.ts"
+    "start": "npx ts-node ./index.ts"
   },
   "keywords": [],
   "author": "",