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

Add CHANGELOG.md #126

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Add CHANGELOG.md #126

wants to merge 4 commits into from

Conversation

Mattjet27
Copy link
Collaborator

What does this Pull Request accomplish?

Adds a CHANGELOG.md file to track changes from release to release.

Why should this Pull Request be merged?

The project needs a means of keeping track changes from release to release.

What testing has been done?

This is just a text file being added, no testing done or required.

- New Bitwise Math Operations Added `PinSiteData<T>`
- `ShiftLeft(int count)`
- Return Type: `PinSiteData<T>`
- Description: Shifts the value to the left by the specified bit count, for each element, per site. The count must be positive. This method is supported only when the underlying data type of the `PinSiteData<T>` object, `T`, is an integer type.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Want to mention the operator like you do for bitwise AND (&)?
"Shifts the value to the left (<<) by the specified bit count"

Same comment to ShiftRight and to SiteData shift methods.

- Description: Calculates the mean value across sites.
- New constructors added to `PinSiteData<T>` and `SiteData<T>`
- `PinSiteData<T>`
- `PinSiteData(Dictionary<string, T> pinData, int[] siteNumbers)`: Initializes a PinSiteData object with pin unique data. Where the specified pin unique data value will be repeated across all sites.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The order of the two parameters are inverted.

- `SiteData<T>`
- `SiteData(int[] siteNumbers, T[] perSiteData)`: Initializes a SiteData object with site unique data.
- New `Select` Method added to support advanced element-by-element data transformations (such as changing type) and complex math operations.
- `SiteData<T>.Select<TResult>(Func<T, TResult> operation)`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be "SiteData<TResult>.Select(Func<T, TResult> operation)"

- Description: Selects each element, of type `T` within the `SiteData<T>` object to perform an operation on that element and return a new `SiteData` object containing the result of that operation, `TResult`.
- Return Type: `SiteData<TResult>`
- Example: `SiteData<double> MySiteDataAsDoubleObj = MySiteDataAsIntObj.Select(x => (double)x);`
- `PinSiteData<T>.Select<TResult>(Func<T, TResult> operation)`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be "PinSiteData<TResult>.Select(Func<T, TResult> operation)"

- Example: `SiteData<double> MySiteDataAsDoubleObj = MySiteDataAsIntObj.Select(x => (double)x);`
- `PinSiteData<T>.Select<TResult>(Func<T, TResult> operation)`
- Description: Selects each element, of type `T` within the `PinSiteData<T>` object to perform an operation on that element and return a new `PinSiteData` object containing the result of that operation, `TResult`.
- Return Type: `SiteData<TResult>`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be "PinSiteData"

- For `SiteData<T>` objects, the scalar value will be applied to all elements in the array, across each site.
- `Utilities.TryDeterminePowerLineFrequency` updated to now support OfflineMode.
- `TestStandSteps.ContinuityTest` modified to correctly accept negative current level values.
- CSProject files for TestStandSteps and Extensions now exclude net48 path from being included as a folder within the project, which was could cause build issues for contributors in certain situations.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"..., which was causing..." or "..., which could cause..."?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants