mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-08-08 04:27:44 +00:00
fix: main bug (#938)
* feat: parameterize cache paths with USER to avoid conflicts * guide for missing training_hyperparameters * guidance for KeyError: 'concise_reason' * fixed three bugs in the test * fix general_model task bug * fixed some bugs in the med_model scenario * delete comments * format with black * fix mypy error * fix ruff error * fix isort error * sync code * revert cache_path code * revert cache_path code * delete data mining scenario * fix factor report loop * fix LiteLLMAPIBackend log_llm_chat_content setting * refine fin factor report scenario * remove unused LogColors * fix UI * remove medical scenario docs * change **kaggle** to **data_science** * remove default dataset_path in create_debug_data * remove KAGGLE_SETTINGS in kaggle_crawler * limit litellm versions * reformat with black * change README * fix_data_science_docs * make hypothesis observations string * Hiding old versions of kaggle docs * hidding kaggle agent docs --------- Co-authored-by: Young <afe.young@gmail.com> Co-authored-by: Bowen Xian <xianbowen@outlook.com> Co-authored-by: yuanteli <1957922024@qq.com>
This commit is contained in:
@@ -1,15 +1,11 @@
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
import nbformat
|
||||
from rich import print
|
||||
|
||||
from rdagent.app.kaggle.conf import KAGGLE_IMPLEMENT_SETTING
|
||||
from rdagent.oai.llm_utils import APIBackend
|
||||
from rdagent.scenarios.kaggle.experiment.workspace import KGFBWorkspace
|
||||
from rdagent.scenarios.kaggle.kaggle_crawler import download_data
|
||||
from rdagent.utils.agent.ret import PythonAgentOut
|
||||
from rdagent.utils.agent.tpl import T
|
||||
|
||||
|
||||
class TestTpl(unittest.TestCase):
|
||||
@@ -19,7 +15,7 @@ class TestTpl(unittest.TestCase):
|
||||
"""
|
||||
competition = KAGGLE_IMPLEMENT_SETTING.competition
|
||||
print(f"[bold orange]{competition}[/bold orange]")
|
||||
download_data(competition)
|
||||
download_data(competition, settings=KAGGLE_IMPLEMENT_SETTING)
|
||||
ws = KGFBWorkspace(
|
||||
template_folder_path=Path(__file__).parent.parent.parent
|
||||
/ KAGGLE_IMPLEMENT_SETTING.template_path
|
||||
|
||||
Reference in New Issue
Block a user