MCPcopy Create free account
hub / github.com/microsoft/fara / get_answer

Method get_answer

webeval/src/webeval/basesystem.py:19–23  ·  view source on GitHub ↗

Return an answer for the question. Should use save_answer_to_disk to save the answer.

(self, task_id: str, task_data: Dict[str, Any], output_dir: str, logger: Logger)

Source from the content-addressed store, hash-verified

17 self.system_name = system_name
18
19 def get_answer(self, task_id: str, task_data: Dict[str, Any], output_dir: str, logger: Logger) -> Any:
20 """
21 Return an answer for the question. Should use save_answer_to_disk to save the answer.
22 """
23 raise NotImplementedError("Implement your system's logic here.")
24
25 def load_answer_from_disk(self, task_id: str, output_dir: str) -> Any:
26 """

Callers 1

run_single_taskFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected