Skip to content

Commit 41f04ad

Browse files
Merge pull request #173 from CosmoStat/develop
Release 3.0.0 - Modelling Performance Enhancement(s)
2 parents 87e0c8e + 6e53257 commit 41f04ad

File tree

179 files changed

+14378
-4058
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

179 files changed

+14378
-4058
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: "[BUG] Issue title"
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the Bug**
11+
Please provide a clear and concise description of the type of bug.
12+
13+
**Steps to Reproduce**
14+
Outline the steps to reproduce the behavior:
15+
16+
**Expected Behavior**
17+
Clearly describe what you expected to happen.
18+
19+
**Screenshots**
20+
If applicable, attach screenshots to help illustrate the problem.
21+
22+
**Your Setup**
23+
- OS: [e.g., iOS]
24+
- Browser: [e.g., Chrome, Safari]
25+
- Version: [e.g., 22]
26+
27+
**Additional Context**
28+
Include any other context about the problem here.
29+
30+
Thank you for your cooperation in providing this bug report. Your input is valuable in helping us improve our system.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: "[NEW FEATURE] Feature Title"
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
**Problem Description**
11+
Provide a clear and concise description of the problem your feature request aims to address. For example, share any frustrations or challenges you've encountered.
12+
13+
**Proposed Solution**
14+
Describe the solution you envision. Be clear and concise about what you would like to see implemented.
15+
16+
**Alternatives Considered**
17+
Share any alternative solutions or features you've thought about. Provide a brief description of each alternative.
18+
19+
**Additional Context**
20+
Include any extra context or relevant screenshots regarding your feature request.
21+
22+
Your insights and suggestions are highly valuable as we consider enhancing our project. Thank you for taking the time to contribute! 🚀
23+
24+
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
name: Help Request
3+
about: General help needed
4+
title: "[HELP] Brief Description of Help Needed"
5+
labels: help wanted
6+
assignees: ''
7+
8+
---
9+
10+
**Description of Help Needed**
11+
Please provide a brief description of the issue or question you need help with.
12+
13+
**Steps Taken**
14+
Outline any steps you've already taken to address the problem.
15+
16+
**Relevant Information**
17+
Include any additional information that might help us better understand and address your request.
18+
19+
**Your Setup**
20+
- OS: [e.g., iOS]
21+
- Browser: [e.g., Chrome, Safari]
22+
- Version: [e.g., 22]
23+
24+
**Screenshots or Code Snippets (if applicable)**
25+
Attach any relevant screenshots or code snippets to provide more context.
26+
27+
Thank you for reaching out! We'll do our best to assist you promptly. 🤝
28+
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: Installation Issue
3+
about: Problem with package installation
4+
title: "[INSTALL ISSUE] Brief Description of Installation Problem"
5+
labels: install issue
6+
assignees: ''
7+
8+
---
9+
10+
**Description of the Problem**
11+
Provide a clear and concise description of the problem encountered during installation.
12+
13+
**Steps to Reproduce**
14+
Outline the steps to reproduce the behavior.
15+
16+
**Screenshots (if applicable)**
17+
Attach any screenshots to help explain your problem.
18+
19+
**Your Setup**
20+
- OS: [e.g., iOS]
21+
- Browser: [e.g., Chrome, Safari]
22+
- Version: [e.g., 22]
23+
24+
**Error Messages (if any)**
25+
Include any error messages you received during the installation process.
26+
27+
**Additional Context**
28+
Add any other relevant context about the problem here.
29+
30+
Thank you for reporting the installation issue. We'll do our best to assist you in resolving it! 🛠️
31+
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
name: Project Management
3+
about: Issues related to the overall management of the project
4+
title: "[PROJECT] Brief Description of the Issue"
5+
labels: project management
6+
assignees: ''
7+
8+
---
9+
10+
**Description of the Issue**
11+
Provide a clear and concise description of the project management issue.
12+
13+
**Goals and Objectives**
14+
Outline the primary goals and objectives associated with this issue or project.
15+
16+
**Current Progress**
17+
Describe the current progress of the project or any specific milestones achieved.
18+
19+
**Challenges and Risks**
20+
Identify any challenges or risks that may impact the project timeline or success.
21+
22+
**Dependencies**
23+
List any dependencies or external factors that the team needs to consider for successful project management.
24+
25+
**Team Collaboration**
26+
Describe how the team is collaborating on this project, including communication channels and collaboration tools used.
27+
28+
**Next Steps**
29+
Outline the next steps or actions that need to be taken to address the project management issue.
30+
31+
**Timeline and Milestones**
32+
Provide information on the project timeline and key milestones.
33+
34+
**Additional Context**
35+
Include any other relevant context or information related to the project management problem.
36+
37+
**Impact Assessment**
38+
Briefly assess the impact of this issue on the overall project.
39+
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
name: Code Refactoring
3+
about: Request for refactoring or improving the codebase
4+
title: "[REFACTOR] Brief Description of Refactoring/Improvement"
5+
labels: refactor, enhancement
6+
assignees: ''
7+
8+
---
9+
10+
**Description of Refactoring/Improvement**
11+
Provide a clear and concise description of the codebase elements you'd like to refactor or improve.
12+
13+
**Goals and Objectives**
14+
Outline the goals and objectives of the refactoring or improvement effort.
15+
16+
**Current Code Behavior**
17+
Describe the current behavior of the code and any issues or challenges it presents.
18+
19+
**Proposed Changes**
20+
Specify the changes you propose for the refactoring or improvement. Include code snippets if applicable.
21+
22+
**Expected Benefits**
23+
Explain the expected benefits of the proposed changes, such as improved performance, readability, or maintainability.
24+
25+
**Dependencies**
26+
List any dependencies or considerations related to other parts of the codebase.
27+
28+
**Testing Plan**
29+
Provide a plan for testing the refactored or improved code.
30+
31+
**Additional Context**
32+
Include any other relevant context or information related to the refactoring or improvement.
33+
34+
**Impact Assessment**
35+
Briefly assess the impact of these changes on the overall codebase and project.
36+
37+
**Next Steps**
38+
Outline the next steps or actions that need to be taken for the refactoring or improvement.
39+
40+
41+
Thank you for starting this request to refactor or improve the code. We will review it and collaborate to enhance the codebase together! 🛠️
42+

.github/pull_request_template.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
## Summary
2+
3+
> Provide a concise description of the proposed changes.
4+
> Include "closes #<ISSUE_NUMBER>" if this addresses an open issue <br>
5+
> **Note:** Validation tests and plots should **not** be added to the PR; they should be documented in the dedicated issue instead.
6+
7+
8+
## What’s changed
9+
10+
> Describe the main changes introduced by this PR.
11+
> Focus on user-visible changes, bug fixes, performance improvements, or internal changes.
12+
13+
- Example bullet 1
14+
- Example bullet 2
15+
16+
17+
## How to test / verify
18+
19+
> Outline steps for reviewers or maintainers to validate the changes.
20+
> Include commands, scripts, or datasets if relevant.
21+
> Full validation results should be referenced in the associated issue, not pasted here.
22+
23+
- Step 1
24+
- Step 2
25+
26+
27+
## Scope
28+
29+
> Indicate the type of PR:
30+
31+
- [ ] Feature
32+
- [ ] Bug fix
33+
- [ ] Hotfix
34+
- [ ] Documentation / process change
35+
- [ ] Internal / refactor
36+
37+
> Optionally, note if this PR is part of a larger milestone or set of related PRs.
38+
39+
40+
## Changelog
41+
42+
> Did this PR introduce user-visible changes?
43+
> If yes, a **Scriv changelog fragment** must be added and committed.
44+
45+
- [ ] Changelog fragment added (if applicable)
46+
47+
48+
## Reviewer Checklist
49+
50+
> Reviewers should confirm the following before approving and merging:
51+
52+
- [ ] The PR targets the `develop` branch
53+
- [ ] The PR is assigned to the developer
54+
- [ ] Appropriate labels are applied
55+
- [ ] The PR is included in relevant projects and/or milestones
56+
- [ ] Description clearly explains what has changed
57+
- [ ] Issue references included, if applicable
58+
- [ ] Code and documentation adhere to current standards (`ruff`)
59+
- [ ] Documentation updates included, if relevant
60+
- [ ] CI tests are passing
61+
- [ ] All reviewer comments have been addressed
62+
63+
64+
## Next Steps / Notes (if applicable)
65+
66+
> Any follow-up actions, known issues, or reminders for maintainers.
67+

.github/workflows/cd.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
- name: Checkout
1919
uses: actions/checkout@v3
2020

21-
- name: Set up Python 3.10.5
21+
- name: Set up Python 3.10.11
2222
uses: actions/setup-python@v3
2323
with:
24-
python-version: "3.10.5"
24+
python-version: "3.10.11"
2525

2626
- name: Check Python Version
2727
run: python --version
@@ -32,11 +32,11 @@ jobs:
3232
3333
- name: Build API documentation
3434
run: |
35-
sphinx-apidoc -Mfeo docs/source src/wf_psf
36-
sphinx-build docs/source docs/build
35+
make -C docs clean
36+
make -C docs html
3737
3838
- name: Deploy API documentation
3939
uses: peaceiris/actions-gh-pages@v3.5.9
4040
with:
4141
github_token: ${{ secrets.GITHUB_TOKEN }}
42-
publish_dir: docs/build
42+
publish_dir: docs/build/html

.github/workflows/cd_manual.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# This workflow will install Python dependencies, run tests and lint with a single version of Python
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3+
4+
name: CD_Manual
5+
6+
on: [workflow_dispatch]
7+
8+
jobs:
9+
docs:
10+
name: Test API documentation build
11+
runs-on: [ubuntu-latest]
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v3
16+
17+
- name: Set up Python 3.10.11
18+
uses: actions/setup-python@v3
19+
with:
20+
python-version: "3.10.11"
21+
22+
- name: Check Python Version
23+
run: python --version
24+
25+
- name: Install dependencies
26+
run: |
27+
python -m pip install ".[docs]"
28+
29+
- name: Build API documentation
30+
run: |
31+
make -C docs clean
32+
make -C docs html
33+
34+
- name: Archive documentation as artifact
35+
uses: actions/upload-artifact@v4
36+
with:
37+
name: api-docs
38+
publish_dir: docs/build/html

.github/workflows/ci.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This workflow will install Python dependencies, run tests and lint with a single version of Python
1+
# This workflow will install Python dependencies, run tests, and lint with multiple versions of Python
22
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
33

44
name: CI
@@ -11,19 +11,24 @@ on:
1111

1212
jobs:
1313
test-full:
14-
runs-on: [ubuntu-latest]
14+
runs-on: ubuntu-latest
15+
16+
strategy:
17+
matrix:
18+
python-version: ["3.9", "3.10"]
1519

1620
steps:
17-
- name:
21+
- name: Checkout code
1822
uses: actions/checkout@v3
1923

20-
- name: Set up Python 3.10.5
24+
- name: Set up Python ${{ matrix.python-version }}
2125
uses: actions/setup-python@v3
2226
with:
23-
python-version: "3.10.5"
27+
python-version: ${{ matrix.python-version }}
2428

2529
- name: Install dependencies
2630
run: python -m pip install ".[test]"
27-
31+
2832
- name: Test with pytest
2933
run: python -m pytest
34+

0 commit comments

Comments
 (0)