Skip to content

Commit 92fa2f4

Browse files
authored
Merge pull request #140 from USACE-RMC/bug-fixes-and-enhancements
Prepare clean v2.1.1 JOSS release
2 parents 1873f8f + 1545ad1 commit 92fa2f4

6 files changed

Lines changed: 74 additions & 36 deletions

File tree

.github/workflows/Release.yml

Lines changed: 40 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,43 @@ on:
77

88
jobs:
99
build:
10-
uses: HydrologicEngineeringCenter/dotnet-workflows/.github/workflows/release.yml@main
11-
with:
12-
dotnet-version: '10.0.x'
13-
project-names: 'Numerics'
14-
run-tests: true
15-
nuget-source: 'https://www.hec.usace.army.mil/nexus/repository/consequences-nuget-public/'
16-
secrets:
17-
NUGET_API_KEY: ${{ secrets.NEXUS_NUGET_APIKEY }}
10+
runs-on: windows-latest
11+
timeout-minutes: 90
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
18+
19+
- name: Setup .NET SDKs
20+
uses: actions/setup-dotnet@v4
21+
with:
22+
dotnet-version: |
23+
8.0.x
24+
9.0.x
25+
10.0.x
26+
27+
- name: Create version number
28+
shell: pwsh
29+
run: |
30+
$TAG = $env:GITHUB_REF -replace 'refs/tags/', ''
31+
$VERSION = $TAG -replace '^v', ''
32+
echo "VERSION=$VERSION" >> $env:GITHUB_ENV
33+
34+
- name: Build
35+
shell: pwsh
36+
run: dotnet build Numerics/Numerics.csproj -c Release /p:Version=$env:VERSION
37+
38+
- name: Test
39+
env:
40+
VSTEST_CONNECTION_TIMEOUT: '600'
41+
run: dotnet test -c Release
42+
43+
- name: Pack
44+
shell: pwsh
45+
run: dotnet pack Numerics/Numerics.csproj --configuration Release /p:Version=$env:VERSION --no-build -o ./packages
46+
47+
- name: Publish
48+
shell: pwsh
49+
run: dotnet nuget push "**/*.nupkg" --api-key ${{ secrets.NEXUS_NUGET_APIKEY }} --source "https://www.hec.usace.army.mil/nexus/repository/consequences-nuget-public/" --skip-duplicate

.github/workflows/Snapshot.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ jobs:
1010
with:
1111
dotnet-version: '10.0.x'
1212
project-names: 'Numerics'
13-
version: '2.0.0'
13+
# Snapshot workflow appends .<run_number>-dev, so this tracks the next development patch after v2.1.1.
14+
version: '2.1.2'
1415
# PR integration already runs the full multi-target test suite.
1516
run-tests: false
1617
nuget-source: 'https://www.hec.usace.army.mil/nexus/repository/consequences-nuget-public/'

CITATION.cff

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
cff-version: 1.2.0
22
message: "If you use this software, please cite it as below."
33
type: software
4-
title: "Numerics"
5-
version: "2.0.0"
6-
date-released: "2026-03-08"
4+
title: "Numerics: A .NET Library for Numerical Computing, Statistical Analysis, and Risk Assessment"
5+
version: "2.1.1"
6+
date-released: "2026-06-17"
77
license: 0BSD
8-
doi: "10.5281/zenodo.19444369"
98
repository-code: "https://github.com/USACE-RMC/Numerics"
109
url: "https://github.com/USACE-RMC/Numerics"
1110
abstract: >-
@@ -27,25 +26,25 @@ authors:
2726
- family-names: "Smith"
2827
given-names: "C. Haden"
2928
email: "cole.h.smith@usace.army.mil"
30-
affiliation: "U.S. Army Corps of Engineers, Risk Management Center"
29+
affiliation: "U.S. Army Corps of Engineers, Risk Management Center, Lakewood, Colorado, USA"
3130
orcid: "https://orcid.org/0000-0002-4651-9890"
3231
- family-names: "Fields"
3332
given-names: "Woodrow L."
34-
affiliation: "U.S. Army Corps of Engineers, Risk Management Center"
33+
affiliation: "U.S. Army Corps of Engineers, Risk Management Center, Lakewood, Colorado, USA"
3534
orcid: "https://orcid.org/0009-0008-7454-5552"
3635
- family-names: "Gonzalez"
3736
given-names: "Julian"
38-
affiliation: "U.S. Army Corps of Engineers, Risk Management Center"
37+
affiliation: "U.S. Army Corps of Engineers, Risk Management Center, Lakewood, Colorado, USA"
3938
orcid: "https://orcid.org/0009-0009-9058-7653"
4039
- family-names: "Niblett"
4140
given-names: "Sadie"
42-
affiliation: "U.S. Army Corps of Engineers, Risk Management Center"
41+
affiliation: "U.S. Army Corps of Engineers, Risk Management Center, Lakewood, Colorado, USA"
4342
orcid: "https://orcid.org/0009-0008-8588-4816"
4443
- family-names: "Beam"
4544
given-names: "Brennan"
46-
affiliation: "U.S. Army Corps of Engineers, Hydrologic Engineering Center"
45+
affiliation: "U.S. Army Corps of Engineers, Hydrologic Engineering Center, Davis, California, USA"
4746
orcid: "https://orcid.org/0009-0003-0515-3727"
4847
- family-names: "Skahill"
4948
given-names: "Brian"
50-
affiliation: "Fariborz Maseeh Department of Mathematics and Statistics, Portland State University"
49+
affiliation: "Fariborz Maseeh Department of Mathematics and Statistics, Portland State University, Portland, Oregon, USA"
5150
orcid: "https://orcid.org/0000-0002-2164-0301"

Numerics/Numerics.csproj

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@
77
<EmbedUntrackedSources>true</EmbedUntrackedSources>
88
<DebugType>embedded</DebugType>
99

10-
<Description>Numerics is a free and open-source library for .NET developed by USACE-RMC, providing a comprehensive set of methods and algorithms for numerical computations and statistical analysis.</Description>
10+
<Description>Numerics is a free and open-source .NET library developed by USACE-RMC, providing numerical methods, probability distributions, statistical analysis, optimization, machine learning, and Bayesian inference tools for quantitative risk assessment in water resources engineering.</Description>
11+
<Authors>C. Haden Smith; Woodrow L. Fields; Julian Gonzalez; Sadie Niblett; Brennan Beam; Brian Skahill</Authors>
1112
<PackageProjectUrl>https://github.com/USACE-RMC/Numerics</PackageProjectUrl>
1213
<RepositoryUrl>https://github.com/USACE-RMC/Numerics</RepositoryUrl>
1314
<RepositoryType>git</RepositoryType>
1415
<Title>Numerics</Title>
1516
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
1617
<Company>USACE-RMC</Company>
1718
<PackageReadmeFile>README.md</PackageReadmeFile>
18-
<PackageTags>interpolation; regression; statistics; machine learning; probability distributions; bootstrap analysis; distribution fitting; Bayesian MCMC sampling; optimization;</PackageTags>
19+
<PackageTags>numerical methods;statistics;probability distributions;hydrology;flood frequency analysis;copulas;L-moments;optimization;machine learning;Bayesian inference;MCMC;risk assessment</PackageTags>
1920
<PackageLicenseExpression>0BSD</PackageLicenseExpression>
2021
<PackageRequireLicenseAcceptance>False</PackageRequireLicenseAcceptance>
2122
<PackageId>RMC.Numerics</PackageId>
@@ -29,9 +30,9 @@
2930
<PropertyGroup>
3031
<!-- 1587 is an xml comment not placed on a valid member (in our case, mostly license text at top of files) -->
3132
<NoWarn>CS1587</NoWarn>
32-
<Version>2.0.0</Version>
33-
<PackageReleaseNotes>This major update delivers broad improvements across the entire Numerics library, with substantial enhancements to data analysis, statistical modeling, numerical methods, distributions, optimization, machine learning utilities, and overall performance and reliability. The update reflects over a year of incremental development, code modernization, and refinement.</PackageReleaseNotes>
34-
<AssemblyVersion>2.0.0.0</AssemblyVersion>
33+
<Version>2.1.1</Version>
34+
<PackageReleaseNotes>Version 2.1.1 is a metadata and release-process update for the JOSS publication. It refreshes citation, CodeMeta, README, and NuGet package metadata; increases the VSTest connection timeout in the release workflow; and does not change the public API.</PackageReleaseNotes>
35+
<AssemblyVersion>2.1.1.0</AssemblyVersion>
3536
</PropertyGroup>
3637

3738
<PropertyGroup>

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
[![CI](https://github.com/USACE-RMC/Numerics/actions/workflows/Integration.yml/badge.svg)](https://github.com/USACE-RMC/Numerics/actions/workflows/Integration.yml)
44
[![NuGet](https://img.shields.io/nuget/v/RMC.Numerics)](https://www.nuget.org/packages/RMC.Numerics/)
5-
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.19444369.svg)](https://doi.org/10.5281/zenodo.19444369)
5+
[![DOI](https://zenodo.org/badge/697446868.svg)](https://zenodo.org/badge/latestdoi/697446868)
66
[![License: 0BSD](https://img.shields.io/badge/License-0BSD-blue.svg)](LICENSE)
77

8-
***Numerics*** is a free and open-source numerical computing library for .NET developed by the U.S. Army Corps of Engineers Risk Management Center (USACE-RMC). It provides methods and algorithms for probability distributions, statistical analysis, numerical methods, optimization, machine learning, and Bayesian MCMC sampling with a focus on hydrological and risk assessment applications.
8+
***Numerics*** is a free and open-source numerical computing library for .NET developed by the U.S. Army Corps of Engineers Risk Management Center (USACE-RMC). It provides methods and algorithms for probability distributions, statistical analysis, numerical methods, optimization, machine learning, and Bayesian MCMC sampling - with a focus on hydrological and risk assessment applications.
99

1010
## Supported Frameworks
1111

@@ -22,7 +22,7 @@ Or search for [RMC.Numerics](https://www.nuget.org/packages/RMC.Numerics/) in th
2222

2323
## Documentation
2424

25-
**[User Guide and API Documentation](docs/index.md)** Comprehensive documentation with code examples and mathematical explanations.
25+
**[User Guide and API Documentation](docs/index.md)** - Comprehensive documentation with code examples and mathematical explanations.
2626

2727
| Section | Topics |
2828
|---------|--------|

codemeta.json

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"@context": "https://doi.org/10.5063/schema/codemeta-2.0",
33
"@type": "SoftwareSourceCode",
4-
"name": "Numerics",
4+
"name": "Numerics: A .NET Library for Numerical Computing, Statistical Analysis, and Risk Assessment",
5+
"alternateName": "Numerics",
56
"description": "A free and open-source .NET library providing numerical methods, probability distributions, statistical analysis, and Bayesian inference tools for quantitative risk assessment in water resources engineering.",
6-
"version": "2.0.0",
7+
"version": "2.1.1",
78
"dateCreated": "2023-09-28",
8-
"dateModified": "2026-03-08",
9+
"dateModified": "2026-06-17",
910
"license": "https://spdx.org/licenses/0BSD",
1011
"codeRepository": "https://github.com/USACE-RMC/Numerics",
1112
"issueTracker": "https://github.com/USACE-RMC/Numerics/issues",
@@ -40,43 +41,47 @@
4041
"@id": "https://orcid.org/0000-0002-4651-9890",
4142
"affiliation": {
4243
"@type": "Organization",
43-
"name": "U.S. Army Corps of Engineers, Risk Management Center"
44+
"name": "U.S. Army Corps of Engineers, Risk Management Center, Lakewood, Colorado, USA"
4445
}
4546
},
4647
{
4748
"@type": "Person",
4849
"givenName": "Woodrow L.",
4950
"familyName": "Fields",
51+
"@id": "https://orcid.org/0009-0008-7454-5552",
5052
"affiliation": {
5153
"@type": "Organization",
52-
"name": "U.S. Army Corps of Engineers, Risk Management Center"
54+
"name": "U.S. Army Corps of Engineers, Risk Management Center, Lakewood, Colorado, USA"
5355
}
5456
},
5557
{
5658
"@type": "Person",
5759
"givenName": "Julian",
5860
"familyName": "Gonzalez",
61+
"@id": "https://orcid.org/0009-0009-9058-7653",
5962
"affiliation": {
6063
"@type": "Organization",
61-
"name": "U.S. Army Corps of Engineers, Risk Management Center"
64+
"name": "U.S. Army Corps of Engineers, Risk Management Center, Lakewood, Colorado, USA"
6265
}
6366
},
6467
{
6568
"@type": "Person",
6669
"givenName": "Sadie",
6770
"familyName": "Niblett",
71+
"@id": "https://orcid.org/0009-0008-8588-4816",
6872
"affiliation": {
6973
"@type": "Organization",
70-
"name": "U.S. Army Corps of Engineers, Risk Management Center"
74+
"name": "U.S. Army Corps of Engineers, Risk Management Center, Lakewood, Colorado, USA"
7175
}
7276
},
7377
{
7478
"@type": "Person",
7579
"givenName": "Brennan",
7680
"familyName": "Beam",
81+
"@id": "https://orcid.org/0009-0003-0515-3727",
7782
"affiliation": {
7883
"@type": "Organization",
79-
"name": "U.S. Army Corps of Engineers, Hydrologic Engineering Center"
84+
"name": "U.S. Army Corps of Engineers, Hydrologic Engineering Center, Davis, California, USA"
8085
}
8186
},
8287
{
@@ -86,7 +91,7 @@
8691
"@id": "https://orcid.org/0000-0002-2164-0301",
8792
"affiliation": {
8893
"@type": "Organization",
89-
"name": "Fariborz Maseeh Department of Mathematics and Statistics, Portland State University"
94+
"name": "Fariborz Maseeh Department of Mathematics and Statistics, Portland State University, Portland, Oregon, USA"
9095
}
9196
}
9297
],

0 commit comments

Comments
 (0)