CI tool refinement (#13)

* adjust interact and log for CI fix tool

* change method to split large code files

* refine statistics table after fixing one file

* process default --fix option when ruff check

* remove hardcode path

* add tree-sitter requirements

* replace <| |> to < > in comments, for GPT

* update mypy version

* Add Mypy Evaluator
This commit is contained in:
XianBW
2024-06-07 00:23:11 +08:00
committed by GitHub
parent 1e77557293
commit 441ca51af9
16 changed files with 606 additions and 366 deletions
@@ -262,11 +262,7 @@ class FactorImplementationEvolvingCli:
print([feedback.final_decision if feedback is not None else None for feedback in feedbacks].count(True))
def implement_amc(
self,
evo_sub_path_str,
former_knowledge_base_path_str,
implementation_dump_path_str,
slice_index,
self, evo_sub_path_str, former_knowledge_base_path_str, implementation_dump_path_str, slice_index,
):
factor_implementations: FactorImplementationList = pickle.load(open(evo_sub_path_str, "rb"))
factor_implementations.target_factor_tasks = factor_implementations.target_factor_tasks[