mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
![]() # Context: USER: benchmark/benchmark.py:60:15: F821 undefined name 'List' ASSISTANT: To fix the undefined name 'List' error, we need to import the List class from the typing module. Here is the change: ```python benchmark/benchmark.py <<<<<<< ORIGINAL import datetime import json import os import random import re import shutil import subprocess import time from collections import defaultdict from json.decoder import JSONDecodeError from pathlib import Path ======= import datetime import json import os import random import re import shutil import subprocess import time from collections import defaultdict from json.decoder import JSONDecodeError from pathlib import Path from typing import List >>>>>>> UPDATED ``` |
||
---|---|---|
.. | ||
__init__.py | ||
benchmark.py | ||
docker.sh | ||
docker_build.sh | ||
Dockerfile | ||
prompts.py | ||
test_benchmark.py |