Spaces:
Sleeping
Sleeping
Update core/evaluation_engine.py
Browse files
core/evaluation_engine.py
CHANGED
@@ -6,9 +6,9 @@ import traceback
|
|
6 |
# You would need to implement or find a robust sandboxing solution.
|
7 |
# from .restricted_env_executor import execute_python_code_safely # Example
|
8 |
|
9 |
-
from .llm_clients import call_huggingface_api, call_gemini_api, LLMResponse
|
10 |
-
from
|
11 |
-
from
|
12 |
|
13 |
class EvaluationResult:
|
14 |
def __init__(self, score=0, critique_text="", passed_tests=0, total_tests=0, execution_summary=None, raw_llm_critique_response=None):
|
|
|
6 |
# You would need to implement or find a robust sandboxing solution.
|
7 |
# from .restricted_env_executor import execute_python_code_safely # Example
|
8 |
|
9 |
+
from core.llm_clients import call_huggingface_api, call_gemini_api, LLMResponse # Absolute
|
10 |
+
from prompts.system_prompts import get_system_prompt # Absolute
|
11 |
+
from prompts.prompt_templates import format_critique_user_prompt # Absolute
|
12 |
|
13 |
class EvaluationResult:
|
14 |
def __init__(self, score=0, critique_text="", passed_tests=0, total_tests=0, execution_summary=None, raw_llm_critique_response=None):
|