From 9ab271b59b01ebed9d263bf61136ebe81a797fd9 Mon Sep 17 00:00:00 2001 From: Fabro Date: Mon, 16 Mar 2026 01:32:37 -0400 Subject: [PATCH] init run MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ⚒️ Generated with [Fabro](https://fabro.sh) --- graph.fabro | 23 +++++++++++++++++++++++ manifest.json | 13 +++++++++++++ sandbox.json | 5 +++++ 3 files changed, 41 insertions(+) create mode 100644 graph.fabro create mode 100644 manifest.json create mode 100644 sandbox.json diff --git a/graph.fabro b/graph.fabro new file mode 100644 index 000000000..4dfdc62e2 --- /dev/null +++ b/graph.fabro @@ -0,0 +1,23 @@ +digraph SWEBench { + graph [goal="Add check to ensure max_length fits longest choice. +Description + +There is currently no check to ensure that Field.max_length is large enough to fit the longest value in Field.choices. +This would be very helpful as often this mistake is not noticed until an attempt is made to save a record with those values that are too long. +"] + rankdir=LR + + start [shape=Mdiamond] + exit [shape=Msquare] + + setup [label="Setup", shape=parallelogram, script="git clone https://github.com/django/django.git . && git checkout fee75d2aed4e58ada6567c464cfd22e89dc65f4a && python -m pip install -e ."] + solve [label="Solve", prompt="Fix this GitHub issue in the repository. Make the minimal code change needed.\n\nAdd check to ensure max_length fits longest choice. +Description + +There is currently no check to ensure that Field.max_length is large enough to fit the longest value in Field.choices. +This would be very helpful as often this mistake is not noticed until an attempt is made to save a record with those values that are too long. +"] + extract_patch [label="Extract Patch", shape=parallelogram, script="git diff"] + + start -> setup -> solve -> extract_patch -> exit +} diff --git a/manifest.json b/manifest.json new file mode 100644 index 000000000..1935903b6 --- /dev/null +++ b/manifest.json @@ -0,0 +1,13 @@ +{ + "run_id": "01KKTJ3AF4KC3M7YGJ5CRBC17X", + "workflow_name": "SWEBench", + "goal": "Add check to ensure max_length fits longest choice.\nDescription\n\t\nThere is currently no check to ensure that Field.max_length is large enough to fit the longest value in Field.choices.\nThis would be very helpful as often this mistake is not noticed until an attempt is made to save a record with those values that are too long.\n", + "start_time": "2026-03-16T05:32:37.242429Z", + "node_count": 5, + "edge_count": 4, + "run_branch": "fabro/run/01KKTJ3AF4KC3M7YGJ5CRBC17X", + "base_sha": "470fcfe1200b2102c0cdf91c73b0ed8d925f258a", + "base_branch": "main", + "workflow_slug": "django__django-11742", + "host_repo_path": "/Users/bhelmkamp/p/fabro-sh/fabro/evals/swe-bench/results/opus-baseline/runs/django__django-11742" +} \ No newline at end of file diff --git a/sandbox.json b/sandbox.json new file mode 100644 index 000000000..616c65ae4 --- /dev/null +++ b/sandbox.json @@ -0,0 +1,5 @@ +{ + "provider": "daytona", + "working_directory": "/home/daytona/workspace", + "identifier": "fabro-01KKTJ3AF4KC3M7YGJ5CRBC17X" +} \ No newline at end of file