mirror of
https://github.com/firmai/financial-machine-learning.git
synced 2026-08-16 12:28:08 +00:00
bug fix test
This commit is contained in:
@@ -21,7 +21,7 @@ jobs:
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.7
|
||||
d
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
|
||||
@@ -25,13 +25,13 @@ jobs:
|
||||
python -m pip install --upgrade pip
|
||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||
|
||||
- name: execute py script # run the run.py to get the latest data
|
||||
- name: execute status update script # run the run.py to get the latest data
|
||||
run: |
|
||||
python git_status.py
|
||||
env:
|
||||
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
|
||||
|
||||
- name: execute py script # run the wiki_gen
|
||||
- name: execute wiki generation script # run the wiki_gen
|
||||
run: |
|
||||
python wiki_gen.py
|
||||
|
||||
|
||||
+4
-3
@@ -164,7 +164,7 @@ def search_new_repo_by_category(category: str,
|
||||
elif category == 'Portfolio Selection and Optimisation':
|
||||
combined_df = search_repo_multiple_terms(['portfolio optimization machine learning finance',
|
||||
'portfolio optimization machine learning trading',
|
||||
'portfolio construction machine learning finance'
|
||||
'portfolio construction machine learning finance',
|
||||
'portfolio construction machine learning trading',
|
||||
'portfolio optimization finance',
|
||||
'portfolio optimization trading'],
|
||||
@@ -174,7 +174,7 @@ def search_new_repo_by_category(category: str,
|
||||
elif category == 'Factor and Risk Analysis':
|
||||
combined_df = search_repo_multiple_terms(['risk factor finance',
|
||||
'risk factor trading',
|
||||
'risk premia factor finance'
|
||||
'risk premia factor finance',
|
||||
'risk premia factor trading',
|
||||
'style factor finance',
|
||||
'style factor trading',
|
||||
@@ -187,6 +187,7 @@ def search_new_repo_by_category(category: str,
|
||||
|
||||
# only find ones that need to be inserted
|
||||
if combined_df is not None and existing_repo_df is not None:
|
||||
print(combined_df)
|
||||
combined_df = combined_df[
|
||||
~combined_df['repo_path'].str.lower().isin(existing_repo_df['repo_path'].dropna().str.lower())]
|
||||
|
||||
@@ -349,5 +350,5 @@ def parse_readme_md():
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
get_repo_status()
|
||||
# get_repo_status()
|
||||
search_new_repo_and_append(min_stars_number=100)
|
||||
|
||||
Reference in New Issue
Block a user