Skip to content

Commit

Permalink
- added some TODOs;
Browse files Browse the repository at this point in the history
- small cleanups;
  • Loading branch information
jaltmayerpizzorno committed Feb 6, 2024
1 parent d15f90c commit 1124050
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/coverup/coverup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
import re
import sys
from datetime import datetime
from coverup.llm import *
from coverup.segment import *
from coverup.testrunner import *
from .llm import *
from .segment import *
from .testrunner import *


PREFIX = 'coverup'
Expand Down Expand Up @@ -438,6 +438,8 @@ def pl(item, singular, plural = None):

module_name = get_module_name(seg.filename, args.source_dir)

# TODO add "you are an expert python test-driven developer" or such
# TODO reinforce use of monkeypatch or other self-cleaning techniques
messages = [{"role": "user",
"content": f"""
The code below, extracted from {seg.filename},{' module ' + module_name + ',' if module_name else ''} does not achieve full coverage:
Expand Down

0 comments on commit 1124050

Please sign in to comment.