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..d7bf07749 --- /dev/null +++ b/manifest.json @@ -0,0 +1,13 @@ +{ + "run_id": "01KKTJ36PQ2Y1VDQVV50ECCG3K", + "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:33.757390Z", + "node_count": 5, + "edge_count": 4, + "run_branch": "fabro/run/01KKTJ36PQ2Y1VDQVV50ECCG3K", + "base_sha": "470fcfe1200b2102c0cdf91c73b0ed8d925f258a", + "base_branch": "main", + "workflow_slug": "django__django-11742", + "host_repo_path": "/Users/bhelmkamp/p/fabro-sh/fabro/evals/swe-bench/results/haiku-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..674412d1b --- /dev/null +++ b/sandbox.json @@ -0,0 +1,5 @@ +{ + "provider": "daytona", + "working_directory": "/home/daytona/workspace", + "identifier": "fabro-01KKTJ36PQ2Y1VDQVV50ECCG3K" +} \ No newline at end of file