-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #558 from aai-institute/feature/refactor-value
Feature/refactor value
- Loading branch information
Showing
103 changed files
with
14,265 additions
and
1,025 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: Run Legacy Tests | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
split_size: | ||
description: "Determines the number of groups into which the tests should be split" | ||
type: string | ||
default: 4 | ||
group_number: | ||
description: "Determines which which group of tests to run. Can be 1, 2, ..., split_size" | ||
type: string | ||
required: true | ||
python_version: | ||
description: "Determines which Python version to use" | ||
type: string | ||
required: true | ||
|
||
|
||
env: | ||
PY_COLORS: 1 | ||
|
||
jobs: | ||
run-legacy-tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Free Disk Space (Ubuntu) | ||
uses: jlumbroso/free-disk-space@main | ||
with: | ||
large-packages: false | ||
docker-images: false | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Python ${{ inputs.python_version }} | ||
uses: ./.github/actions/python | ||
with: | ||
python_version: ${{ inputs.python_version }} | ||
- name: Cache Tox Directory for Tests | ||
uses: actions/cache@v4 | ||
with: | ||
key: tox-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('tox.ini', 'requirements.txt') }}-${{ inputs.python_version }} | ||
path: .tox | ||
- name: Set up memcached | ||
uses: niden/actions-memcached@v7 | ||
- name: Test Group ${{ inputs.group_number }} | ||
run: tox -e legacy-tests -- --slow-tests --splits ${{ inputs.split_size }} --group ${{ inputs.group_number }} | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: ./coverage.xml | ||
env_vars: OS,PYTHON | ||
verbose: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
{ | ||
"notebooks/data_oob.ipynb::": 14.514983271001256, | ||
"notebooks/influence_imagenet.ipynb::": 15.937124550999215, | ||
"notebooks/influence_sentiment_analysis.ipynb::": 26.479645616000198, | ||
"notebooks/influence_synthetic.ipynb::": 6.61773010700017, | ||
"notebooks/influence_wine.ipynb::": 16.312171267998565, | ||
"notebooks/least_core_basic.ipynb::": 14.375480750999486, | ||
"notebooks/msr_banzhaf_digits.ipynb::": 106.6507187110019, | ||
"notebooks/shapley_basic_spotify.ipynb::": 15.657225806997303, | ||
"notebooks/shapley_knn_flowers.ipynb::": 3.9943819290019746, | ||
"notebooks/shapley_utility_learning.ipynb::": 25.939783253001224 | ||
} | ||
"notebooks/data_oob.ipynb::": 13.150942041, | ||
"notebooks/influence_imagenet.ipynb::": 17.281671249999995, | ||
"notebooks/influence_sentiment_analysis.ipynb::": 19.578478917000005, | ||
"notebooks/influence_synthetic.ipynb::": 7.191153166999996, | ||
"notebooks/influence_wine.ipynb::": 11.610076332999995, | ||
"notebooks/least_core_basic.ipynb::": 14.069404709000011, | ||
"notebooks/least_core_basic_new.ipynb::": 24.492538208000013, | ||
"notebooks/msr_banzhaf_digits.ipynb::": 86.62082037599998, | ||
"notebooks/shapley_basic_spotify.ipynb::": 15.088616748999982, | ||
"notebooks/shapley_knn_flowers.ipynb::": 6.810235208000023, | ||
"notebooks/shapley_utility_learning.ipynb::": 24.370409832999997 | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.