Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature end to end (Actually CI implementation) #79

Merged
merged 49 commits into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
a97ccc8
Updating metrics unit test
jeipollack Sep 24, 2023
269926d
Reformatted with black
jeipollack Sep 24, 2023
175cfd9
Added missing param random_seed
jeipollack Sep 25, 2023
5708a16
Changed psf_model arg from batch_size to training_params
jeipollack Sep 25, 2023
82ac353
Reformatted with black
jeipollack Sep 25, 2023
93d9da2
Validation data
jeipollack Sep 25, 2023
aeb77fd
Removed pytest-pydocstyle unit tests not public modules
jeipollack Sep 26, 2023
5c210e0
Changed input training data id
jeipollack Sep 26, 2023
8e4ba2f
Updated mono metrics unit test and tidied up test module
jeipollack Sep 26, 2023
b129dda
Added fixtures for general baseline metrics
jeipollack Sep 26, 2023
5bef51c
Updated training config params for baseline
jeipollack Sep 28, 2023
5984cde
Increased tolerance
jeipollack Sep 28, 2023
207f807
Added validation test for train.train()
jeipollack Sep 28, 2023
eccfff1
Removed alias from exception
jeipollack Sep 28, 2023
fbb1e29
Merge branch 'refactor_plotting' into feature_refactor_validation
jeipollack Sep 29, 2023
30426e4
Changed saved_all_cycles to True to validate all cycles
jeipollack Sep 29, 2023
d75c9e6
Reformatted with black
jeipollack Sep 29, 2023
da1579e
Changed saved_all_cycles to True
jeipollack Sep 29, 2023
112e1d1
Saved cycle1 result
jeipollack Sep 29, 2023
9e69482
Removed unused import
jeipollack Oct 3, 2023
e091741
Replaced print() with logger.info()
jeipollack Oct 3, 2023
09d568d
Removed unused import
jeipollack Oct 3, 2023
10f4b09
Added dir and module for end_to_end test
jeipollack Oct 3, 2023
1041749
Removed junk files
jeipollack Oct 3, 2023
61b35ed
Removed unneeded data
jeipollack Oct 3, 2023
147bd6a
Merge branch 'feature_refactor_validation' into feature_end_to_end
jeipollack Oct 3, 2023
2d39e8c
Reformatted with black
jeipollack Oct 5, 2023
4ecbd4b
Updated/added dependencies
jeipollack Oct 5, 2023
ca0e806
Added ci workflow
jeipollack Oct 5, 2023
7757ab9
Changed name of workflow
jeipollack Oct 5, 2023
3646a3b
Added step install wavediff package
jeipollack Oct 5, 2023
2fad668
Reformatted with black
jeipollack Oct 5, 2023
cecab7a
Added skip pytest wrapper
jeipollack Oct 5, 2023
dd6a0f5
Reformatted with black
jeipollack Oct 5, 2023
c8b17b0
Merge branch 'feature_end_to_end' of https://github.com/CosmoStat/wf-…
jeipollack Oct 6, 2023
1aa4760
Added unit tests for io.py module
jeipollack Oct 12, 2023
000ff2a
Reformatted conftest.py with black
jeipollack Oct 12, 2023
ebdafe8
Added gpu to runs-on list
jeipollack Oct 12, 2023
79a3713
Added skip test for tests requiring gpu
jeipollack Oct 13, 2023
c591a05
Removed unused files
jeipollack Oct 13, 2023
97a87f4
Removed gpu from list of runners
jeipollack Oct 13, 2023
102472f
Removed ci trigger on push
jeipollack Oct 13, 2023
c2aa674
Delete .github/workflows/ci.yaml
jeipollack Oct 13, 2023
88f28f9
Removed requirements.txt
jeipollack Oct 16, 2023
9ad8c40
Removed dependencies from yml
jeipollack Oct 16, 2023
0aad68d
Added pytest to dependency list
jeipollack Oct 16, 2023
2af05ee
Corrected error in dependencies installation cmd
jeipollack Oct 16, 2023
86ec391
Removed pytest from dependency list for testing
jeipollack Oct 16, 2023
e5f862b
Removed files not used in build arch PR comment
jeipollack Oct 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: CI-test

on:
pull_request:
branches:
- dummy_main
sfarrens marked this conversation as resolved.
Show resolved Hide resolved


jobs:
test-full:
runs-on: [ubuntu-latest]

steps:
- name:
uses: actions/checkout@v3

- name: Set up Python 3.10.5
uses: actions/setup-python@v3
with:
python-version: "3.10.5"
sfarrens marked this conversation as resolved.
Show resolved Hide resolved

- name: Install dependencies
run: python -m pip install ".[test]"

- name: Test with pytest
run: python -m pytest
131 changes: 0 additions & 131 deletions WaveDiffRunExercise.ipynb

This file was deleted.

3 changes: 3 additions & 0 deletions config/metrics_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ metrics:

# Hyperparameters for Parametric model
param_hparams:
# Random seed for Tensor Flow Initialization
random_seed: 3877572

# Parameter for the l2 loss function for the Optical path differences (OPD)/WFE
l2_param: 0.

Expand Down
4 changes: 0 additions & 4 deletions jz-submissions/README.md

This file was deleted.

37 changes: 0 additions & 37 deletions jz-submissions/jobs-cli/1k_poly_v2_1cycle.sh

This file was deleted.

39 changes: 0 additions & 39 deletions jz-submissions/jobs-cli/1k_poly_v2_2cycle.sh

This file was deleted.

39 changes: 0 additions & 39 deletions jz-submissions/jobs-cli/1k_poly_v2_2cycle_no2param.sh

This file was deleted.

46 changes: 0 additions & 46 deletions jz-submissions/jobs-cli/1k_poly_var_l2_opd.sh

This file was deleted.

49 changes: 0 additions & 49 deletions jz-submissions/jobs-cli/full_1k_poly_sample_w.sh

This file was deleted.

Loading