refactor: use dynamic input path and update template loader (#792)

* refactor: use dynamic input path and update template loader

* fix: update include syntax for data source in prompts.yaml

* add customization path

* docs: update prompts for ensemble scoring and metric direction

* chore: remove obsolete data_science/share.yaml file
This commit is contained in:
you-n-g
2025-04-16 18:11:46 +08:00
committed by GitHub
parent 829f5534ca
commit a974dd9ba3
23 changed files with 135 additions and 49 deletions
@@ -46,7 +46,11 @@ class DataLoaderCoSTEEREvaluator(CoSTEEREvaluator):
)
env = get_ds_env(
extra_volumes={f"{DS_RD_SETTING.local_data_path}/sample/{self.scen.competition}": "/kaggle/input"}
extra_volumes={
f"{DS_RD_SETTING.local_data_path}/sample/{self.scen.competition}": T(
"scenarios.data_science.share:scen.input_path"
).r()
}
)
# TODO: do we need to clean the generated temporary content?