Skip to content

Commit 687dcfb

Browse files
authored
Fixed grammatical mistakes in few markdown files. (#1195)
* Fixed some grammatical mistakes, and followed some markdown linting rules. * Updated the issue templates titles with symbols to make them look better.
1 parent 3649f9c commit 687dcfb

9 files changed

+126
-112
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name: Bug Report
2-
description: File a bug report
1+
name: "\U0001F41E Bug report"
2+
description: File a bug report to help us improve.
33
title: "[Bug]: "
44
labels: ["bug"]
55

.github/ISSUE_TEMPLATE/feature_request.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
name: Feature request
3-
about: Suggest missing features or functionalities
2+
name: "🌟Feature request"
3+
about: Suggest missing features or functionalities for Heat
44
title: ''
55
labels: 'enhancement'
66
assignees: ''

.github/PULL_REQUEST_TEMPLATE.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
- [ ] unit tests: multiple dtypes tested
1010
- [ ] documentation updated where needed
1111

12-
1312
## Description
1413

1514
<!--- Include a summary of the change/s.
@@ -19,6 +18,7 @@ Please also include relevant motivation and context. List any dependencies that
1918
Issue/s resolved: #
2019

2120
## Changes proposed:
21+
2222
-
2323
-
2424
-
@@ -39,7 +39,7 @@ i.e.
3939
- with `split=None` and `split not None`
4040
4141
This can be done using https://github.com/pythonprofilers/memory_profiler for CPU memory measurements,
42-
GPU measuremens can be done with https://pytorch.org/docs/master/generated/torch.cuda.max_memory_allocated.html.
42+
GPU measurements can be done with https://pytorch.org/docs/master/generated/torch.cuda.max_memory_allocated.html.
4343
These tools only profile the memory used by each process, not the entire function.
4444
--->
4545

@@ -50,9 +50,8 @@ These tools only profile the memory used by each process, not the entire functio
5050
5151
Python has an embedded profiler: https://docs.python.org/3.9/library/profile.html
5252
Again, this will only profile the performance on each process. Printing the results with many processes
53-
my be illegible. It may be easiest to save the output of each to a file.
53+
may be illegible. It may be easiest to save the output of each to a file.
5454
--->
5555

56-
5756
#### Does this change modify the behaviour of other functions? If so, which?
5857
yes / no

CODE_OF_CONDUCT.md

+76-76
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,76 @@
1-
# Contributor Covenant Code of Conduct
2-
3-
## Our Pledge
4-
5-
In the interest of fostering an open and welcoming environment, we as
6-
contributors and maintainers pledge to making participation in our project and
7-
our community a harassment-free experience for everyone, regardless of age, body
8-
size, disability, ethnicity, sex characteristics, gender identity and expression,
9-
level of experience, education, socio-economic status, nationality, personal
10-
appearance, race, religion, or sexual identity and orientation.
11-
12-
## Our Standards
13-
14-
Examples of behavior that contributes to creating a positive environment
15-
include:
16-
17-
* Using welcoming and inclusive language
18-
* Being respectful of differing viewpoints and experiences
19-
* Gracefully accepting constructive criticism
20-
* Focusing on what is best for the community
21-
* Showing empathy towards other community members
22-
23-
Examples of unacceptable behavior by participants include:
24-
25-
* The use of sexualized language or imagery and unwelcome sexual attention or
26-
advances
27-
* Trolling, insulting/derogatory comments, and personal or political attacks
28-
* Public or private harassment
29-
* Publishing others' private information, such as a physical or electronic
30-
address, without explicit permission
31-
* Other conduct which could reasonably be considered inappropriate in a
32-
professional setting
33-
34-
## Our Responsibilities
35-
36-
Project maintainers are responsible for clarifying the standards of acceptable
37-
behavior and are expected to take appropriate and fair corrective action in
38-
response to any instances of unacceptable behavior.
39-
40-
Project maintainers have the right and responsibility to remove, edit, or
41-
reject comments, commits, code, wiki edits, issues, and other contributions
42-
that are not aligned to this Code of Conduct, or to ban temporarily or
43-
permanently any contributor for other behaviors that they deem inappropriate,
44-
threatening, offensive, or harmful.
45-
46-
## Scope
47-
48-
This Code of Conduct applies both within project spaces and in public spaces
49-
when an individual is representing the project or its community. Examples of
50-
representing a project or community include using an official project e-mail
51-
address, posting via an official social media account, or acting as an appointed
52-
representative at an online or offline event. Representation of a project may be
53-
further defined and clarified by project maintainers.
54-
55-
## Enforcement
56-
57-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58-
reported by contacting the project team at [email protected]. All
59-
complaints will be reviewed and investigated and will result in a response that
60-
is deemed necessary and appropriate to the circumstances. The project team is
61-
obligated to maintain confidentiality with regard to the reporter of an incident.
62-
Further details of specific enforcement policies may be posted separately.
63-
64-
Project maintainers who do not follow or enforce the Code of Conduct in good
65-
faith may face temporary or permanent repercussions as determined by other
66-
members of the project's leadership.
67-
68-
## Attribution
69-
70-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71-
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72-
73-
[homepage]: https://www.contributor-covenant.org
74-
75-
For answers to common questions about this code of conduct, see
76-
https://www.contributor-covenant.org/faq
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to make participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, sex characteristics, gender identity, and expression,
9+
level of experience, education, socio-economic status, nationality, personal
10+
appearance, race, religion, or sexual identity and orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at <[email protected]>. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at <https://www.contributor-covenant.org/version/1/4/code-of-conduct.html>
72+
73+
[homepage]: https://www.contributor-covenant.org
74+
75+
For answers to common questions about this code of conduct, see
76+
<https://www.contributor-covenant.org/faq>

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
Heat is a distributed tensor framework for high performance data analytics.
88

99
# Project Status
10+
1011
[![CPU/CUDA/ROCm tests](https://codebase.helmholtz.cloud/helmholtz-analytics/ci/badges/heat/base/pipeline.svg)](https://codebase.helmholtz.cloud/helmholtz-analytics/ci/-/commits/heat/base)
1112
[![Documentation Status](https://readthedocs.org/projects/heat/badge/?version=latest)](https://heat.readthedocs.io/en/latest/?badge=latest)
1213
[![coverage](https://codecov.io/gh/helmholtz-analytics/heat/branch/main/graph/badge.svg)](https://codecov.io/gh/helmholtz-analytics/heat)
@@ -23,7 +24,7 @@ Heat is a distributed tensor framework for high performance data analytics.
2324

2425
Heat is a flexible and seamless open-source software for high performance data
2526
analytics and machine learning. It provides highly optimized algorithms and data
26-
structures for tensor computations using CPUs, GPUs and distributed cluster
27+
structures for tensor computations using CPUs, GPUs, and distributed cluster
2728
systems on top of MPI. The goal of Heat is to fill the gap between data
2829
analytics and machine learning libraries with a strong focus on single-node
2930
performance, and traditional high-performance computing (HPC). Heat's generic
@@ -37,7 +38,7 @@ computational and memory needs of your laptop and desktop.
3738
# Features
3839

3940
* High-performance n-dimensional tensors
40-
* CPU, GPU and distributed computation using MPI
41+
* CPU, GPU, and distributed computation using MPI
4142
* Powerful data analytics and machine learning methods
4243
* Abstracted communication via split tensors
4344
* Python API
@@ -92,7 +93,7 @@ $ pip install heat[hdf5,netcdf,dev]
9293
TL;DR: [Quick Start](quick_start.md) (Read this to get a quick overview of Heat).
9394

9495
Check out our Jupyter Notebook [**Tutorial**](https://github.com/helmholtz-analytics/heat/blob/main/scripts/)
95-
right here on Github or in the /scripts directory, to learn and understand about the basics and working of Heat.
96+
right here on GitHub or in the /scripts directory, to learn and understand about the basics and working of Heat.
9697

9798
The complete documentation of the latest version is always deployed on
9899
[Read the Docs](https://heat.readthedocs.io/).

RELEASE.md

+23-10
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,28 @@
11
# Releasing a new Heat version
22

3-
These are basic instructions for internal use. Will be expanded as need arises.
3+
These are basic instructions for internal use. Will be expanded as the need arises.
44

55
### Major or minor version update
6+
67
(e.g. 1.2 --> 1.3, or 1.3 --> 2.0)
78

89
In the following, we assume we are about to release Heat v1.3.0.
910

1011
**PRE-REQUISITES:**
12+
1113
- You need [PyPi](https://pypi.org/), [Test.PyPi](https://test.pypi.org/) account
12-
- all intended PRs are merged, all tests have passed, and the `main` branch is ready for release.
14+
- All intended PRs are merged, all tests have passed, and the `main` branch is ready for release.
1315

1416
1. We will release all new features in the development branch `main`. Branch off `main` to create a new release branch, e.g.:
17+
1518
```bash
1619
git checkout main
1720
git pull
1821
git checkout -b release/1.3.x
1922
```
2023

2124
2. Update `heat/core/version.py` like this:
25+
2226
```python
2327
"""This module contains Heat's version information."""
2428

@@ -35,39 +39,48 @@ extension: str = "dev" # <-- set to None
3539
3. Commit and push new `version.py` in `release/1.3.x`
3640

3741
4. Draft release notes:
42+
3843
- Go to the GitHub repo's [Releases](https://github.com/helmholtz-analytics/heat/releases) page.
3944
- The release notes draft is automated. Click on Edit Draft
40-
- Select new tag: v1.3.0. Modify Target branch: `release/1.3.x`
45+
- Select the new tag: v1.3.0. Modify Target branch: `release/1.3.x`
4146
- Edit release notes as needed (see older releases)
4247
- Click on Save but do not publish yet
4348

4449
5. Build wheel in your local `heat/` directory, make sure you are on branch `release/1.3.x`.
50+
4551
```bash
4652
rm -f dist/*
4753
python -m build
4854
```
55+
4956
You might have to install the `build` package first (i.e. with `conda install build` or `pip install build`)
50-
6. Upload to Test PyPI and verify things look right. You need to install `twine` first.
57+
6. Upload to Test PyPI and verify things look right. You need to install `twine` first.
58+
5159
```bash
5260
twine upload -r testpypi dist/*
5361
```
62+
5463
`twine` will prompt for your username and password.
55-
7. When everything works, upload to PyPI:
64+
7. When everything works, upload to PyPI:
65+
5666
```bash
5767
twine upload dist/*
5868
```
59-
8. Go back to the Release Notes draft and publish them. The new release is out!
60-
9. Now we want to update `main` to the latest version, and we want the version on `main` to be `1.3.0-dev`.
69+
70+
8. Go back to the Release Notes draft and publish them. The new release is out!
71+
9. Now we want to update `main` to the latest version, and we want the version on `main` to be `1.3.0-dev`.
72+
6173
```bash
6274
git checkout main
6375
git pull
6476
git checkout -b workflows/update-version-main
6577
git merge release/1.3.x --no-ff --no-commit
6678
```
67-
Modify `version.py` so that `extension` is `"dev"`. Commit and push the changes.
68-
11. Create a PR with `main` as base branch.
69-
12. Get approval and merge. You're done!
7079

80+
Modify `version.py` so that `extension` is `"dev"`. Commit and push the changes.
81+
11. Create a PR with `main` as the base branch.
82+
12. Get approval and merge. You're done!
7183
7284
### Patch release
85+
7386
(e.g. 1.3.1 --> 1.3.2)

0 commit comments

Comments
 (0)