Skip to content

Commit

Permalink
chore: remove deprecated features (#140)
Browse files Browse the repository at this point in the history
* remove deprecated features

* remove deprecated models

* remove bears submodule

* fix

* debug prints

* update defects4j submodule

* remove prints
  • Loading branch information
andre15silva authored Aug 9, 2024
1 parent 6229b56 commit cde11ca
Show file tree
Hide file tree
Showing 31 changed files with 120 additions and 2,256 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
[submodule "benchmarks/quixbugs"]
path = benchmarks/quixbugs
url = https://github.com/andre15silva/QuixBugs.git
[submodule "benchmarks/bears"]
path = benchmarks/bears
url = https://github.com/andre15silva/bears-benchmark.git
[submodule "benchmarks/gitbug-java"]
path = benchmarks/gitbug-java
url = https://github.com/gitbugactions/gitbug-java.git
1 change: 0 additions & 1 deletion benchmarks/bears
Submodule bears deleted from fc60bd
2 changes: 1 addition & 1 deletion benchmarks/defects4j
32 changes: 0 additions & 32 deletions elleelleaime/core/benchmarks/bears/bears.py

This file was deleted.

89 changes: 0 additions & 89 deletions elleelleaime/core/benchmarks/bears/bearsbug.py

This file was deleted.

2 changes: 0 additions & 2 deletions elleelleaime/core/utils/benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from elleelleaime.core.benchmarks.defects4j.defects4j import Defects4J
from elleelleaime.core.benchmarks.humanevaljava.humanevaljava import HumanEvalJava
from elleelleaime.core.benchmarks.quixbugs.quixbugs import QuixBugs
from elleelleaime.core.benchmarks.bears.bears import Bears
from elleelleaime.core.benchmarks.gitbugjava.gitbugjava import GitBugJava

from typing import Optional
Expand All @@ -11,7 +10,6 @@
"Defects4J": Defects4J,
"HumanEvalJava": HumanEvalJava,
"QuixBugs": QuixBugs,
"Bears": Bears,
"GitBugJava": GitBugJava,
}

Expand Down
3 changes: 0 additions & 3 deletions elleelleaime/evaluate/strategies/openai/openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@


class OpenAIEvaluationStrategy(ReplaceEvaluationStrategy):
"""
Implements the zero-shot cloze style prompt strategy for single diff file.
"""

def __init__(self, **kwargs):
super().__init__(kwargs=kwargs)
Expand Down
3 changes: 0 additions & 3 deletions elleelleaime/evaluate/strategies/text/replace.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@


class ReplaceEvaluationStrategy(PatchEvaluationStrategy):
"""
Implements the zero-shot cloze style prompt strategy for single diff file.
"""

def __init__(self, **kwargs):
super().__init__(kwargs=kwargs)
Expand Down
185 changes: 0 additions & 185 deletions elleelleaime/generate/strategies/models/huggingface/incoder.py

This file was deleted.

Loading

0 comments on commit cde11ca

Please sign in to comment.