From 4d4a6b436a34437d3e3f59f03949d8e8e99a7acb Mon Sep 17 00:00:00 2001 From: Raul Galdeano Pazos <101328916+TheWinterCoderDev@users.noreply.github.com> Date: Sun, 22 Nov 2026 20:48:32 +0100 Subject: [PATCH 1/4] Add MATLAB CI workflow for numerical tests This workflow sets up a MATLAB CI pipeline to run numerical linear algebra tests on push and pull request events. Signed-off-by: Raul Galdeano Pazos <101328916+TheWinterCoderDev@users.noreply.github.com> --- .github/workflows/matlab-ci.yml | 45 +++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/matlab-ci.yml diff --git a/.github/workflows/matlab-ci.yml b/.github/workflows/matlab-ci.yml new file mode 100644 index 0000000..a9ba3d3 --- /dev/null +++ b/.github/workflows/matlab-ci.yml @@ -0,0 +1,45 @@ + +name: MATLAB CI + +on: + push: + branches: + - main + - 'release/**' + - 'refactor/**' + + pull_request: + branches: + - main + + workflow_dispatch: + +permissions: + contents: read + +jobs: + numerical-validation: + + name: Numerical Linear Algebra Tests + runs-on: ubuntu-latest + timeout-minutes: 30 + + steps: + + - name: Checkout repository + uses: actions/checkout@v7 + with: + persist-credentials: false + + - name: Set up MATLAB + uses: matlab-actions/setup-matlab@v3 + with: + release: R2025b + + - name: Run unit tests + uses: matlab-actions/run-tests@v3 + with: + source-folder: src + select-by-folder: tests + strict: true + output-detail: detailed From 4bac08e190e60782489acee9af35c1d1003acc3a Mon Sep 17 00:00:00 2001 From: Raul Galdeano Pazos <101328916+TheWinterCoderDev@users.noreply.github.com> Date: Sun, 22 Nov 2026 20:53:33 +0100 Subject: [PATCH 2/4] Add initial changelog for MATLAB Survival Toolbox Documented notable changes and future development plans for the MATLAB Survival Toolbox. Signed-off-by: Raul Galdeano Pazos <101328916+TheWinterCoderDev@users.noreply.github.com> --- CHANGELOG.md | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..85bc36c --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,58 @@ + +# Changelog + +All notable changes to MATLAB Survival Toolbox +will be documented in this file. + +The project aims to follow Semantic Versioning. + +## [0.1.0] - Unreleased + +### Added + +- Modular numerical linear algebra module. +- Forward substitution solver. +- Backward substitution solver. +- Gaussian elimination with partial pivoting. +- Input validation and error handling. +- Six automated MATLAB unit tests. +- Reproducible linear system example. +- GitHub Actions continuous integration. +- Technical documentation for numerical methods. +- MATLAB-specific .gitignore configuration. + +### Changed + +- Modernized repository structure. +- Updated README documentation. +- Standardized function naming conventions. +- Established a development and release workflow. + +### Legacy + +- Preserved original academic MATLAB scripts + under the legacy/ directory. + +### Known Limitations + +- Educational and research use only. +- No formal numerical stability guarantees. +- No condition number diagnostics. +- Limited test coverage. +- Not certified for safety-critical engineering + applications. + +## Future Development + +### v0.2.0 — Nonlinear Equations + +- Bisection method. +- Newton-Raphson method. +- Secant method. +- Review of the legacy Whittaker implementation. + +### v0.3.0 — Numerical Approximation + +- Polynomial interpolation. +- Taylor series. +- Numerical differentiation and integration. From 7cff02818149702ee3fd715934464a79b20bbd96 Mon Sep 17 00:00:00 2001 From: Raul Galdeano Pazos <101328916+TheWinterCoderDev@users.noreply.github.com> Date: Sun, 22 Nov 2026 20:53:49 +0100 Subject: [PATCH 3/4] Create linear_algebra.md Signed-off-by: Raul Galdeano Pazos <101328916+TheWinterCoderDev@users.noreply.github.com> --- docs/linear_algebra.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 docs/linear_algebra.md diff --git a/docs/linear_algebra.md b/docs/linear_algebra.md new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/docs/linear_algebra.md @@ -0,0 +1 @@ + From 64c3a28a6e1e8349e44f7124008c77296b604a93 Mon Sep 17 00:00:00 2001 From: Raul Galdeano Pazos <101328916+TheWinterCoderDev@users.noreply.github.com> Date: Sun, 22 Nov 2026 20:54:54 +0100 Subject: [PATCH 4/4] Create SECURITY.md for security policy and reporting Added a security policy document outlining supported versions, vulnerability reporting, and responsible disclosure. Signed-off-by: Raul Galdeano Pazos <101328916+TheWinterCoderDev@users.noreply.github.com> --- SECURITY.md | 62 ++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 50 insertions(+), 12 deletions(-) diff --git a/SECURITY.md b/SECURITY.md index 034e848..25919cc 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -1,21 +1,59 @@ + # Security Policy ## Supported Versions -Use this section to tell people about which versions of your project are -currently being supported with security updates. +MATLAB Survival Toolbox is an independently maintained +educational open-source project. + +Security maintenance is provided on a best-effort basis. -| Version | Supported | -| ------- | ------------------ | -| 5.1.x | :white_check_mark: | -| 5.0.x | :x: | -| 4.0.x | :white_check_mark: | -| < 4.0 | :x: | +| Version | Supported | +|---|---| +| 0.1.x | Yes | +| Legacy implementations | No | ## Reporting a Vulnerability -Use this section to tell people how to report a vulnerability. +Please report security vulnerabilities privately +using GitHub Private Vulnerability Reporting. + +Do not disclose sensitive security issues through +public GitHub Issues. + +A vulnerability report should include: + +- Description of the security issue. +- Affected version or commit. +- Steps required to reproduce it. +- Potential security impact. +- Suggested mitigation, if available. + +Reports will be reviewed on a best-effort basis. + +No guaranteed response or remediation time is provided. + +## Numerical Correctness + +Numerical inaccuracies and algorithmic defects +should normally be reported through GitHub Issues. + +If a numerical defect also creates a security risk, +please use private vulnerability reporting. + +## Engineering Disclaimer + +This software is intended for educational and +research purposes. + +It is not certified for production, industrial, +structural or safety-critical engineering applications. + +All numerical results must be independently verified +before being used in real engineering projects. + +## Responsible Disclosure -Tell them where to go, how often they can expect to get an update on a -reported vulnerability, what to expect if the vulnerability is accepted or -declined, etc. +Please allow a reasonable opportunity to investigate +and resolve reported vulnerabilities before +public disclosure.