Dataset Viewer
Auto-converted to Parquet Duplicate
repo
stringclasses
20 values
instance_id
stringlengths
17
39
base_commit
stringlengths
40
40
problem_statement
stringlengths
780
3.43k
hints_text
stringclasses
1 value
created_at
stringdate
2023-08-22 12:42:29
2025-08-03 15:01:06
version
stringlengths
5
10
org
stringclasses
19 values
number
int64
357
18.7k
test_files
listlengths
1
9
processed
bool
1 class
FAIL_TO_PASS
listlengths
1
29
PASS_TO_PASS
listlengths
0
4.01k
patch_files
listlengths
1
12
test_patch_files
listlengths
1
9
patch
stringlengths
415
45k
test_patch
stringlengths
502
38.6k
instructlab/instructlab
instructlab__instructlab-3286
b0cfe6b46346f1bebce6ed4c50ddef6a2d09414d
I want to be able to set default student and teacher model IDs in my configuration file, while still having the flexibility to override these defaults with command-line arguments when needed. This should work consistently across both data generation and training operations. For data generation, I want the system to fi...
2025-04-11T22:41:15Z
v0.26.0
instructlab
3,286
[ "tests/common.py", "tests/test_lab_generate.py", "tests/testdata/default_config.yaml" ]
false
[ "tests/test_lab_generate.py::test_generate_with_global_teacher_model_id" ]
[ "tests/process/test_process.py::TestProcessRegistry::test_add_update_remove", "tests/process/test_process.py::TestProcessRegistry::test_load_persist", "tests/test_backends.py::test_free_port", "tests/test_backends.py::test_get_argument", "tests/test_backends.py::test_get_backend_auto_detection_fail_not_gguf...
[ { "additions": 10, "changes": 15, "deletions": 5, "filename": "src/instructlab/cli/data/generate.py", "patch": "@@ -281,7 +281,14 @@ def generate(\n # determine student model arch from train section of config and pick system prompt to\n # pass to SDG appropriately\n system_prompt, le...
[ { "additions": 9, "changes": 10, "deletions": 1, "filename": "tests/common.py", "patch": "@@ -14,11 +14,19 @@\n _CFG_FILE_NAME = \"test-serve-config.yaml\"\n \n \n-def setup_test_models_config(models_list, dest=\"\"):\n+def setup_test_models_config(\n+ models_list, dest=\"\", global_student_i...
diff --git a/src/instructlab/cli/data/generate.py b/src/instructlab/cli/data/generate.py index 1111111..2222222 100644 --- a/src/instructlab/cli/data/generate.py +++ b/src/instructlab/cli/data/generate.py @@ -281,7 +281,14 @@ def generate( # determine student model arch from train section of config and pick system...
diff --git a/tests/common.py b/tests/common.py index 1111111..2222222 100644 --- a/tests/common.py +++ b/tests/common.py @@ -14,11 +14,19 @@ _CFG_FILE_NAME = "test-serve-config.yaml" -def setup_test_models_config(models_list, dest=""): +def setup_test_models_config( + models_list, dest="", global_student_id=Non...
jupyterlab/jupyter-ai
jupyterlab__jupyter-ai-986
43e6acce6f03c20d2fd889e229103e3b4dcb9003
I want to be able to configure my Jupyter AI chat system to remember all previous conversations without any limits, rather than being restricted to only keeping a certain number of recent interactions. Currently, the system automatically limits how much conversation history is preserved, but I need the flexibility to d...
2024-09-09T21:05:13Z
v2.23.0
jupyterlab
986
[ "packages/jupyter-ai/jupyter_ai/tests/test_extension.py" ]
false
[ "packages/jupyter-ai/jupyter_ai/tests/test_extension.py::test_max_chat_history" ]
[ "packages/jupyter-ai-magics/jupyter_ai_magics/tests/test_magics.py::test_aliases_config", "packages/jupyter-ai-magics/jupyter_ai_magics/tests/test_magics.py::test_default_model_cell", "packages/jupyter-ai-magics/jupyter_ai_magics/tests/test_magics.py::test_default_model_error_line", "packages/jupyter-ai-magic...
[ { "additions": 6, "changes": 6, "deletions": 0, "filename": "packages/jupyter-ai/jupyter_ai/extension.py", "patch": "@@ -188,7 +188,13 @@ class AiExtension(ExtensionApp):\n default_value=2,\n help=\"\"\"\n Number of chat interactions to keep in the conversational memory o...
[ { "additions": 48, "changes": 48, "deletions": 0, "filename": "packages/jupyter-ai/jupyter_ai/tests/test_extension.py", "patch": "@@ -1,7 +1,12 @@\n # Copyright (c) Jupyter Development Team.\n # Distributed under the terms of the Modified BSD License.\n+from unittest import mock\n+\n import pyte...
diff --git a/packages/jupyter-ai/jupyter_ai/extension.py b/packages/jupyter-ai/jupyter_ai/extension.py index 1111111..2222222 100644 --- a/packages/jupyter-ai/jupyter_ai/extension.py +++ b/packages/jupyter-ai/jupyter_ai/extension.py @@ -188,7 +188,13 @@ class AiExtension(ExtensionApp): default_value=2, ...
diff --git a/packages/jupyter-ai/jupyter_ai/tests/test_extension.py b/packages/jupyter-ai/jupyter_ai/tests/test_extension.py index 1111111..2222222 100644 --- a/packages/jupyter-ai/jupyter_ai/tests/test_extension.py +++ b/packages/jupyter-ai/jupyter_ai/tests/test_extension.py @@ -1,7 +1,12 @@ # Copyright (c) Jupyter D...
stanfordnlp/dspy
stanfordnlp__dspy-8247
015f795ea9fb48bcce23a0715efc238f99da5bad
I want to use DSPy with OpenAI's predicted outputs feature, which allows me to provide a suggested completion that the model can use as a starting point. Specifically, I need DSPy to recognize when I provide a predicted output in the standard OpenAI format and automatically pass it to the language model call as a confi...
2025-05-20T03:27:11Z
2.6.25
stanfordnlp
8,247
[ "tests/predict/test_predict.py" ]
false
[ "tests/predict/test_predict.py::test_predicted_outputs_piped_from_predict_to_lm_call" ]
[ "tests/adapters/test_chat_adapter.py::test_chat_adapter_async_call", "tests/adapters/test_chat_adapter.py::test_chat_adapter_formats_image", "tests/adapters/test_chat_adapter.py::test_chat_adapter_formats_image_with_few_shot_examples", "tests/adapters/test_chat_adapter.py::test_chat_adapter_formats_image_with...
[ { "additions": 11, "changes": 11, "deletions": 0, "filename": "dspy/predict/predict.py", "patch": "@@ -108,6 +108,17 @@ def _forward_preprocess(self, **kwargs):\n if (temperature is None or temperature <= 0.15) and num_generations > 1:\n config[\"temperature\"] = 0.7\n \n+ ...
[ { "additions": 24, "changes": 24, "deletions": 0, "filename": "tests/predict/test_predict.py", "patch": "@@ -572,3 +572,27 @@ async def test_async_predict():\n dspy.settings.configure(lm=DummyLM([{\"answer\": \"Paris\"}]))\n result = await program.acall(question=\"What is the capital of ...
diff --git a/dspy/predict/predict.py b/dspy/predict/predict.py index 1111111..2222222 100644 --- a/dspy/predict/predict.py +++ b/dspy/predict/predict.py @@ -108,6 +108,17 @@ def _forward_preprocess(self, **kwargs): if (temperature is None or temperature <= 0.15) and num_generations > 1: config["te...
diff --git a/tests/predict/test_predict.py b/tests/predict/test_predict.py index 1111111..2222222 100644 --- a/tests/predict/test_predict.py +++ b/tests/predict/test_predict.py @@ -572,3 +572,27 @@ async def test_async_predict(): dspy.settings.configure(lm=DummyLM([{"answer": "Paris"}])) result = await progra...
stanfordnlp/dspy
stanfordnlp__dspy-8139
cefe8db85bca3a520bd82c7d9fdbde7efff44214
I want to use the ReAct module with asynchronous tools while maintaining compatibility with my existing synchronous tools. When I'm working with async tools, I need to be able to call them using await syntax, but I also want the flexibility to call my regular synchronous tools within the same async workflow without get...
2025-04-29T04:02:22Z
2.6.22
stanfordnlp
8,139
[ "tests/predict/test_react.py" ]
false
[ "tests/predict/test_react.py::test_async_error_retry", "tests/predict/test_react.py::test_async_tool_calling_with_pydantic_args" ]
[ "tests/adapters/test_chat_adapter.py::test_chat_adapter_async_call", "tests/adapters/test_chat_adapter.py::test_chat_adapter_quotes_literals_as_expected", "tests/adapters/test_chat_adapter.py::test_chat_adapter_sync_call", "tests/adapters/test_json_adapter.py::test_json_adapter_async_call", "tests/adapters/...
[ { "additions": 36, "changes": 36, "deletions": 0, "filename": "dspy/predict/react.py", "patch": "@@ -98,6 +98,31 @@ def forward(self, **input_args):\n extract = self._call_with_potential_trajectory_truncation(self.extract, trajectory, **input_args)\n return dspy.Prediction(trajec...
[ { "additions": 128, "changes": 247, "deletions": 119, "filename": "tests/predict/test_react.py", "patch": "@@ -5,125 +5,7 @@\n import litellm\n \n from dspy.utils.dummies import DummyLM\n-\n-# def test_example_no_tools():\n-# # Create a simple dataset which the model will use with the Retrie...
diff --git a/dspy/predict/react.py b/dspy/predict/react.py index 1111111..2222222 100644 --- a/dspy/predict/react.py +++ b/dspy/predict/react.py @@ -98,6 +98,31 @@ def forward(self, **input_args): extract = self._call_with_potential_trajectory_truncation(self.extract, trajectory, **input_args) return ...
diff --git a/tests/predict/test_react.py b/tests/predict/test_react.py index 1111111..2222222 100644 --- a/tests/predict/test_react.py +++ b/tests/predict/test_react.py @@ -5,125 +5,7 @@ import litellm from dspy.utils.dummies import DummyLM - -# def test_example_no_tools(): -# # Create a simple dataset which th...
stanfordnlp/dspy
stanfordnlp__dspy-8110
661ddc93f941cf7ad09a98fe04aba3f531014f77
I want to ensure that all my asynchronous tests run properly in continuous integration environments, particularly on GitHub CI, by adding the necessary testing dependency and fixing related code issues. Currently, some async tests aren't being executed during CI runs, which means we're missing potential issues that sho...
2025-04-25T05:40:17Z
2.6.20
stanfordnlp
8,110
[ "tests/clients/test_embedding.py", "tests/clients/test_lm.py" ]
false
[ "tests/clients/test_embedding.py::test_async_embedding" ]
[ "tests/adapters/test_chat_adapter.py::test_chat_adapter_async_call", "tests/adapters/test_chat_adapter.py::test_chat_adapter_quotes_literals_as_expected", "tests/adapters/test_chat_adapter.py::test_chat_adapter_sync_call", "tests/adapters/test_json_adapter.py::test_json_adapter_async_call", "tests/adapters/...
[ { "additions": 1, "changes": 2, "deletions": 1, "filename": "dspy/clients/embedding.py", "patch": "@@ -141,7 +141,7 @@ async def acall(self, inputs, batch_size=None, caching=None, **kwargs):\n acompute_embeddings = _cached_acompute_embeddings if caching else _acompute_embeddings\n \n ...
[ { "additions": 1, "changes": 2, "deletions": 1, "filename": "tests/clients/test_embedding.py", "patch": "@@ -116,7 +116,7 @@ async def test_async_embedding():\n result = await embedding.acall(inputs)\n \n # Verify litellm was called with correct parameters.\n- mock_litellm...
diff --git a/dspy/clients/embedding.py b/dspy/clients/embedding.py index 1111111..2222222 100644 --- a/dspy/clients/embedding.py +++ b/dspy/clients/embedding.py @@ -141,7 +141,7 @@ async def acall(self, inputs, batch_size=None, caching=None, **kwargs): acompute_embeddings = _cached_acompute_embeddings if cachi...
diff --git a/tests/clients/test_embedding.py b/tests/clients/test_embedding.py index 1111111..2222222 100644 --- a/tests/clients/test_embedding.py +++ b/tests/clients/test_embedding.py @@ -116,7 +116,7 @@ async def test_async_embedding(): result = await embedding.acall(inputs) # Verify litellm was c...
stanfordnlp/dspy
stanfordnlp__dspy-8102
c498de55156334f57c2ef7233d9267b24f789def
I want to be able to use callable functions that accept arbitrary keyword arguments with the dspy Tool functionality. Currently, when I try to use a function that has **kwargs parameters, the tool incorrectly rejects arguments that aren't explicitly defined in the function signature, even though these functions are des...
2025-04-24T00:50:42Z
2.6.19
stanfordnlp
8,102
[ "tests/primitives/test_tool.py" ]
false
[ "tests/primitives/test_tool.py::test_tool_call_kwarg" ]
[ "tests/adapters/test_chat_adapter.py::test_chat_adapter_async_call", "tests/adapters/test_chat_adapter.py::test_chat_adapter_quotes_literals_as_expected", "tests/adapters/test_chat_adapter.py::test_chat_adapter_sync_call", "tests/adapters/test_json_adapter.py::test_json_adapter_async_call", "tests/adapters/...
[ { "additions": 5, "changes": 5, "deletions": 0, "filename": "dspy/primitives/tool.py", "patch": "@@ -57,6 +57,7 @@ def foo(x: int, y: str = \"hello\"):\n self.args = args\n self.arg_types = arg_types\n self.arg_desc = arg_desc\n+ self.has_kwargs = False\n \n ...
[ { "additions": 9, "changes": 9, "deletions": 0, "filename": "tests/primitives/test_tool.py", "patch": "@@ -193,3 +193,12 @@ def dummy_function(x: list[list[DummyModel]]):\n \n result = tool(**args)\n assert result == [[DummyModel(field1=\"hello\", field2=123)]]\n+\n+\n+def test_tool_call...
diff --git a/dspy/primitives/tool.py b/dspy/primitives/tool.py index 1111111..2222222 100644 --- a/dspy/primitives/tool.py +++ b/dspy/primitives/tool.py @@ -57,6 +57,7 @@ def foo(x: int, y: str = "hello"): self.args = args self.arg_types = arg_types self.arg_desc = arg_desc + self.has_...
diff --git a/tests/primitives/test_tool.py b/tests/primitives/test_tool.py index 1111111..2222222 100644 --- a/tests/primitives/test_tool.py +++ b/tests/primitives/test_tool.py @@ -193,3 +193,12 @@ def dummy_function(x: list[list[DummyModel]]): result = tool(**args) assert result == [[DummyModel(field1="hel...
stanfordnlp/dspy
stanfordnlp__dspy-8082
d7ce7be85508416f4857ff833435f7160d4362e5
"I want to be able to create dspy.Tool instances from functions that have default arguments, and hav(...TRUNCATED)
2025-04-17T23:39:44Z
2.6.18
stanfordnlp
8,082
[ "tests/predict/test_react.py", "tests/primitives/test_tool.py" ]
false
[ "tests/primitives/test_tool.py::test_tool_from_function" ]
["tests/adapters/test_chat_adapter.py::test_chat_adapter_quotes_literals_as_expected","tests/adapter(...TRUNCATED)
[{"additions":1,"changes":2,"deletions":1,"filename":"dspy/predict/react.py","patch":"@@ -47,7 +47,7(...TRUNCATED)
[{"additions":0,"changes":26,"deletions":26,"filename":"tests/predict/test_react.py","patch":"@@ -12(...TRUNCATED)
"diff --git a/dspy/predict/react.py b/dspy/predict/react.py\nindex 1111111..2222222 100644\n--- a/ds(...TRUNCATED)
"diff --git a/tests/predict/test_react.py b/tests/predict/test_react.py\nindex 1111111..2222222 1006(...TRUNCATED)
stanfordnlp/dspy
stanfordnlp__dspy-7872
b89c6059fd01f44b6f01ae7a4c1f9f50bfaede72
"I want to be able to process and encode various types of files beyond just images when working with(...TRUNCATED)
2025-03-03T15:25:25Z
2.6.10
stanfordnlp
7,872
[ "tests/signatures/test_adapter_image.py" ]
false
["tests/signatures/test_adapter_image.py::test_different_mime_types","tests/signatures/test_adapter_(...TRUNCATED)
["tests/adapters/test_chat_adapter.py::test_chat_adapter_quotes_literals_as_expected","tests/adapter(...TRUNCATED)
[{"additions":45,"changes":71,"deletions":26,"filename":"dspy/adapters/types/image.py","patch":"@@ -(...TRUNCATED)
[{"additions":110,"changes":110,"deletions":0,"filename":"tests/signatures/test_adapter_image.py","p(...TRUNCATED)
"diff --git a/dspy/adapters/types/image.py b/dspy/adapters/types/image.py\nindex 1111111..2222222 10(...TRUNCATED)
"diff --git a/tests/signatures/test_adapter_image.py b/tests/signatures/test_adapter_image.py\nindex(...TRUNCATED)
projectmesa/mesa
projectmesa__mesa-2502
54d7e28c4e81888af6845d10f3388fa8244289ff
"I want to be able to create and work with empty collections of cells without encountering errors, e(...TRUNCATED)
2024-11-12T20:18:22Z
v3.0.3
projectmesa
2,502
[ "tests/test_cell_space.py" ]
false
[ "tests/test_cell_space.py::test_empty_cell_collection" ]
["tests/test_agent.py::test_agent_add_remove_discard","tests/test_agent.py::test_agent_membership","(...TRUNCATED)
[{"additions":4,"changes":6,"deletions":2,"filename":"mesa/experimental/cell_space/cell_collection.p(...TRUNCATED)
[{"additions":34,"changes":34,"deletions":0,"filename":"tests/test_cell_space.py","patch":"@@ -583,6(...TRUNCATED)
"diff --git a/mesa/experimental/cell_space/cell_collection.py b/mesa/experimental/cell_space/cell_co(...TRUNCATED)
"diff --git a/tests/test_cell_space.py b/tests/test_cell_space.py\nindex 1111111..2222222 100644\n--(...TRUNCATED)
projectmesa/mesa
projectmesa__mesa-2463
ef383c4edef8b2e13f40bfd28e9d149386577ff3
"I want to be able to use my custom model classes with optional configuration parameters in Solara v(...TRUNCATED)
2024-11-06T14:16:08Z
v3.0.0
projectmesa
2,463
[ "tests/test_solara_viz.py" ]
false
[ "tests/test_solara_viz.py::test_model_param_checks" ]
["tests/test_agent.py::test_agent_add_remove_discard","tests/test_agent.py::test_agent_membership","(...TRUNCATED)
[{"additions":6,"changes":9,"deletions":3,"filename":"mesa/visualization/solara_viz.py","patch":"@@ (...TRUNCATED)
[{"additions":10,"changes":10,"deletions":0,"filename":"tests/test_solara_viz.py","patch":"@@ -176,6(...TRUNCATED)
"diff --git a/mesa/visualization/solara_viz.py b/mesa/visualization/solara_viz.py\nindex 1111111..22(...TRUNCATED)
"diff --git a/tests/test_solara_viz.py b/tests/test_solara_viz.py\nindex 1111111..2222222 100644\n--(...TRUNCATED)
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
43