Skip to content

Commit

Permalink
Scaffold
Browse files Browse the repository at this point in the history
  • Loading branch information
you-n-g committed Jul 9, 2024
1 parent c85d11c commit c6cc8a3
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
File renamed without changes.
28 changes: 28 additions & 0 deletions rdagent/app/data_mining/run.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@



"""
Task
"""

# rdagent/app/qlib_rd_loop/factor.py : workflow
# you can use clas to directly pass the content to next step
# rdagent/components/coder/factor_coder/factor.py


# TODO: define task
# TODO: define implementation
# - example rdagent/components/coder/model_coder/model.py
# - use `DockerEnv` to run the folder
# TODO: Define your environment
imp = task_gen.gen(task)
# For implementation:
# - rdagent/components/coder/model_coder/one_shot/__init__.py
imp.execute()

# TODO:
# - Summarize to things that the large language can under stand.



# - TODO: some steps are not used.
14 changes: 14 additions & 0 deletions rdagent/scenarios/data_mining/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@



from rdagent.core.experiment import FBImplementation


class DMImplementation(FBImplementation):
# inject code:
def prepare(self, *args, **kwargs):
# create the folder and input necessary dependencies
...

def execute(self, *args, **kwargs):
# run code & data in the folder

0 comments on commit c6cc8a3

Please sign in to comment.