mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-27 23:47:46 +00:00
cbbbb4e9a5
* unzip kaggle data * read local_data_path from .env file * fix build docs error * recover azure-identity packages * optimize code logic * add error when downloading data from kaggle --------- Co-authored-by: Xu Yang <peteryang@vip.qq.com>
51 lines
1003 B
Python
51 lines
1003 B
Python
class CoderError(Exception):
|
|
"""
|
|
Exceptions raised when Implementing and running code.
|
|
- start: FactorTask => FactorGenerator
|
|
- end: Get dataframe after execution
|
|
|
|
The more detailed evaluation in dataframe values are managed by the evaluator.
|
|
"""
|
|
|
|
|
|
class CodeFormatError(CoderError):
|
|
"""
|
|
The generated code is not found due format error.
|
|
"""
|
|
|
|
|
|
class CustomRuntimeError(CoderError):
|
|
"""
|
|
The generated code fail to execute the script.
|
|
"""
|
|
|
|
|
|
class NoOutputError(CoderError):
|
|
"""
|
|
The code fail to generate output file.
|
|
"""
|
|
|
|
|
|
class CustomRunnerError(Exception):
|
|
"""
|
|
Exceptions raised when running the code output.
|
|
"""
|
|
|
|
|
|
class FactorEmptyError(Exception):
|
|
"""
|
|
Exceptions raised when no factor is generated correctly
|
|
"""
|
|
|
|
|
|
class ModelEmptyError(Exception):
|
|
"""
|
|
Exceptions raised when no model is generated correctly
|
|
"""
|
|
|
|
|
|
class KaggleError(Exception):
|
|
"""
|
|
Exceptions raised when calling Kaggle API
|
|
"""
|