* Fixed some bugs introduced during refactoring.
* Add description for scenario experiments.
* Update factor_from_report_w_sc.py
* fix some ci bugs.
* add @property to get_experiment_setting
* fix a ci error.
* Add a table & factor debug
* Congfig setting
* Update env example and configuration list.
Also change api priority
* Add a TODO for the rst
* CI: shorter line
* Update docs/installation_and_configuration.rst
* Update docs/installation_and_configuration.rst
* Update links & standard config
* Add TODO
* Fix bug
* Update rdagent/oai/llm_utils.py
---------
Co-authored-by: you-n-g <you-n-g@users.noreply.github.com>
* Init todo
* Evaluation & dataset
* Generate new data
* dataset generation
* add the result
* Analysis
* Factor update
* Updates
* Reformat analysis.py
* CI fix
* Further Optimised Model Workflow by Incorporating Feedbacks on Exp Task Card
* Rebasing To build the extraction & implementation demo
* Revised for clean code
* Revised further to show "Knowledge"
* Revised to make model_research_copilot better
* Further Optimised Model Workflow by Incorporating Feedbacks on Exp Task Card
* Rebasing To build the extraction & implementation demo
* Revised for clean code
* Revised further to show "Knowledge"
* Revised to make model_research_copilot better
---------
Co-authored-by: Young <afe.young@gmail.com>
Co-authored-by: Taozhi Wang <taozhi.mark.wang@gmail.com>
Co-authored-by: you-n-g <you-n-g@users.noreply.github.com>
Co-authored-by: cyncyw <47289405+taozhiwang@users.noreply.github.com>
* fix mypy error
* fix mypy error
* fix ruff error
* change command
* delete python 3.8&3.9 from CI
* change command
* Some modifications according to the comments
* Add literal type
* Update .github/workflows/ci.yml
* Some modifications according to the comments
* fix ruff error
* fix meta dict
* Fix type
* Some modifications according to the comments
* merge latest code
* Some modifications according to the comments
* Some modifications according to the comments
* fix ci error
* fix ruff error
* Update Makefile
* Update Makefile
---------
Co-authored-by: Ubuntu <debug@debug.qjtqi00gqezu1eqs55bqdrf51f.px.internal.cloudapp.net>
Co-authored-by: Young <afe.young@gmail.com>
Co-authored-by: you-n-g <you-n-g@users.noreply.github.com>
* scen
* scen2
* app
* fix
* Simplify workflow
* We can share more code in new scenarios
* rename model to rd loop
* Optimize data path
* Update rdagent/app/data_mining/model.py
* Add TODO
* Support GPU
* gpu
---------
Co-authored-by: SH-Src <suhan.c@outlook.com>
* ignore result csv file
* fix app scripts
* rename taskgenerator to developer and generate to develop
* fix a config bug in coder
* fix a small bug in factor coder evaluators
* remove a single logger in factor coder evaluators
* fix a small bug in model coder main.py
* rename Implementation to Workspace
* move the prepare the inject_code into FBWorkspace to align all the behavior
* fix a small bug in model feedback
* remove debug lines for multi processing and simplify evaluators multi proc
* add a copy function to workspace to freeze the workspace && add config prefix to speed up debugging
* make hypothesisgen a abc class
* use Qlib***Experiment
* fix a small bug
* rename Imp to Ws
* rename sub_implementations to sub_workspace_list
* fix a bug in feedback not presented as content in prompts
* move proposal pys to proposal folder
* reformat the folder
* align factor and model qlib workspace and use template to handle the workspace
* add a filter to evoagent to filter out false evo
* align multi_proc_n into RDAGENT seeting
* handle when runner gets empty experiment
* fix logger merge remaining problems
* fix black and isort automatically
* remove ruff comment in log.py
* change log framework and fix llm_utils.py's logs
* Some thoughts for logging
* fix SingletonMeta's definition, maintain an instance dict for each class that inherits it
* adjust log codes directory, add some tag for factor implementation logging
* Update rdagent/core/conf.py
* fix factor task app & log
* fix log import
* Streamlet framework
* fix log tag to path logic
* Add todos
* Add example in docstring
* add log tag for llm_utils.py
* Capture lost content
---------
Co-authored-by: Young <afe.young@gmail.com>
Co-authored-by: you-n-g <you-n-g@users.noreply.github.com>
* Implemented model.py
- Need to run within the RDAgent folder (relevant path)
- Each time copy a template & insert code & run qlib & store result back to experiment
* Create model.py
* Create conf.yaml
This is the sample conf.yaml to be copied each time.
This has gone several times of iteration and is now working for both tabular and Time-Series data.
* Create read_exp.py
This is to read the results within Qlib
* Create ReadMe.md
* Update model.py
* Create test_model.py
A testing file that separates model code generation and running&feedback section.
* move the template folder
* help xisen finish the model runner
* help xisen fix improve model feedback generation
* delete debug file
* rename readme.md
---------
Co-authored-by: Xisen Wang <118058822+Xisen-Wang@users.noreply.github.com>
* store code into FBImplementation
* fix path related bugs
* fix a bug
* fix factor related small bugs
* re-submit all model related code
* new code to model coder
* finish the model evolving code
---------
Co-authored-by: xuyang1 <xuyang1@microsoft.com>
* use CoSTEER as component name
* rename factorimplementation to avoid confusion
* rename modelimplementation
* align benchmark and evolving evaluators
* add scenario to evaluator init function
* rename all factorimplementationknowledge in CoSTEER
* remove all scenario related information in component
* remove useless code
---------
Co-authored-by: xuyang1 <xuyang1@microsoft.com>
* update all code
* save code
* update first version of factor proposal
* change a comment
* remove a useless comment
---------
Co-authored-by: xuyang1 <xuyang1@microsoft.com>
* Commit init framework
* Co-authored-by: Yuante Li (FESCO Adecco Human Resources) <v-yuanteli@microsoft.com>
Co-authored-by: XianBW <XianBW@users.noreply.github.com>
* add an import
* refine the whole framework
* benchmark related framework
* fix black and isort errors
* move requirements to folder
* fix black again
---------
Co-authored-by: Young <afe.young@gmail.com>
Co-authored-by: xuyang1 <xuyang1@microsoft.com>
* test data load process and fix bug
* fix bug when evaluating
* refine json content
---------
Co-authored-by: USTCKevinF <fengwenjun@mail.ustc.edu.cn>
Co-authored-by: xuyang1 <xuyang1@microsoft.com>
* refine CI script
* refine all the code to higher quality
* refine the script to factor extraction and implementation
* add task loader interface
* add a task loader interface && move pdf analysis to pdf task loader
* change the name to global variables
---------
Co-authored-by: xuyang1 <xuyang1@microsoft.com>
* reformat factor implement process
* move some code to more reasonable place
* fix the bug
* add test function in factor_extract_and_implement.py
* change select factor number to ratio , add some factor implement setting and fix some bug while using knowledgebase
* change evoagent
* add abstract class EvoAgent
* add benchmark workflow
* fix some bug in llm_utils
* run wenjun's code
* fix the knowledgebase instance check
---------
Co-authored-by: xuyang1 <xuyang1@microsoft.com>
* adjust interact and log for CI fix tool
* change method to split large code files
* refine statistics table after fixing one file
* process default --fix option when ruff check
* remove hardcode path
* add tree-sitter requirements
* replace <| |> to < > in comments, for GPT
* update mypy version
* Add Mypy Evaluator