mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-28 07:57:44 +00:00
ebb659a018
* reformat factor implement process * move some code to more reasonable place * fix the bug * add test function in factor_extract_and_implement.py * change select factor number to ratio , add some factor implement setting and fix some bug while using knowledgebase * change evoagent * add abstract class EvoAgent * add benchmark workflow * fix some bug in llm_utils * run wenjun's code * fix the knowledgebase instance check --------- Co-authored-by: xuyang1 <xuyang1@microsoft.com>
27 lines
648 B
Python
27 lines
648 B
Python
class ImplementRunException(Exception):
|
|
"""
|
|
Exceptions raised when Implementing and running code.
|
|
- start: FactorImplementationTask => FactorGenerator
|
|
- end: Get dataframe after execution
|
|
|
|
The more detailed evaluation in dataframe values are managed by the evaluator.
|
|
"""
|
|
|
|
|
|
class CodeFormatException(ImplementRunException):
|
|
"""
|
|
The generated code is not found due format error.
|
|
"""
|
|
|
|
|
|
class RuntimeErrorException(ImplementRunException):
|
|
"""
|
|
The generated code fail to execute the script.
|
|
"""
|
|
|
|
|
|
class NoOutputException(ImplementRunException):
|
|
"""
|
|
The code fail to generate output file.
|
|
"""
|