Prompt Info
pyllmut.mutant_lib.prompt_info.PromptInfo
A class to store information about a prompt for generating mutants.
Source code in pyllmut/mutant_lib/prompt_info.py
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | |
get_line_number()
Returns the line number in the module where we want to generate mutants.
Source code in pyllmut/mutant_lib/prompt_info.py
30 31 32 | |
get_original_module_content()
Returns the content of the module we plan to generate mutants for.
Source code in pyllmut/mutant_lib/prompt_info.py
26 27 28 | |
get_prompt_content()
Returns the content of the prompt.
Source code in pyllmut/mutant_lib/prompt_info.py
22 23 24 | |