feat: refine the code in model description and fix some bugs in feedback.py (#288)

* fix some bugs in feedback.py

* feat: kaggle templates related (#287)

* add kaggle test

* kaggle templates changes

* rename two files

* fix a grammar bug

* fix a ci error

* fix a bug

---------

Co-authored-by: XianBW <36835909+XianBW@users.noreply.github.com>
This commit is contained in:
WinstonLiyt
2024-09-20 22:01:21 +08:00
committed by GitHub
parent 884cef4c7d
commit fd8a5d1c83
11 changed files with 119 additions and 51 deletions
+5
View File
@@ -17,6 +17,7 @@ from typing import Callable
from tqdm.auto import tqdm
from rdagent.core.exception import CoderError
from rdagent.log import rdagent_logger as logger
@@ -114,6 +115,10 @@ class LoopBase:
self.loop_idx += 1
self.step_idx = 0
continue
except CoderError as e:
logger.warning(f"Traceback loop {li} due to {e}")
self.step_idx -= 1
continue
end = datetime.datetime.now(datetime.timezone.utc)