bug fix test

This commit is contained in:
Bin Yang
2021-04-12 14:32:13 -04:00
parent b7fbc3f984
commit c6a79f429d
3 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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
View File
@@ -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)