Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add acceptable, neg_pred, not_desc and small_step statuses to get_status#128

Merged
tmigot merged 1 commit intoJuliaSmoothOptimizers:mainJuliaSmoothOptimizers/SolverCore.jl:mainfrom
MaxenceGollier:get_statusMaxenceGollier/SolverCore.jl:get_statusCopy head branch name to clipboard
Feb 11, 2026
Merged

Add acceptable, neg_pred, not_desc and small_step statuses to get_status#128
tmigot merged 1 commit intoJuliaSmoothOptimizers:mainJuliaSmoothOptimizers/SolverCore.jl:mainfrom
MaxenceGollier:get_statusMaxenceGollier/SolverCore.jl:get_statusCopy head branch name to clipboard

Conversation

@MaxenceGollier
Copy link
Copy Markdown
Contributor

@MaxenceGollier MaxenceGollier commented Feb 6, 2026

Related issues

Closes #127

Checklist

  • I am following the contributing guidelines
  • Tests are passing
  • Lint workflow is passing
  • Docs were updated and workflow is passing

Copilot AI review requested due to automatic review settings February 6, 2026 16:39
@MaxenceGollier
Copy link
Copy Markdown
Contributor Author

@tmigot, can you review when you have some time ?

Thank you!

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request addresses issue #127 by adding support for four missing statuses (acceptable, neg_pred, not_desc, and small_step) to the get_status function. These statuses were already defined in the STATUSES dictionary but were not accessible as keyword arguments in get_status. The PR also adds a type annotation to the prox_unbounded parameter for consistency with other boolean parameters.

Changes:

  • Added acceptable, neg_pred, not_desc, and small_step as keyword arguments to get_status function
  • Added corresponding status check logic for each new parameter
  • Updated function documentation to describe all new parameters
  • Added type annotation ::Bool to prox_unbounded parameter for consistency
  • Added test coverage for all four new status parameters

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/stats.jl Added four new boolean parameters (acceptable, neg_pred, not_desc, small_step) to get_status function signature, documentation, and control flow logic; added type annotation to prox_unbounded for consistency
test/test-stats.jl Added test cases for the four new status parameters to verify they return the expected status symbols

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tmigot tmigot self-requested a review February 6, 2026 17:02
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.08%. Comparing base (cb02e10) to head (1a454fa).
⚠️ Report is 31 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #128      +/-   ##
==========================================
- Coverage   96.93%   93.08%   -3.86%     
==========================================
  Files           4        4              
  Lines         294      188     -106     
==========================================
- Hits          285      175     -110     
- Misses          9       13       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Member

@tmigot tmigot left a comment

Choose a reason for hiding this comment

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

Thanks @MaxenceGollier for the PR!

@tmigot tmigot merged commit d6acc09 into JuliaSmoothOptimizers:main Feb 11, 2026
49 of 53 checks passed
@MaxenceGollier MaxenceGollier mentioned this pull request Feb 13, 2026
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.

The available statuses do not match the keyword arguments in get_status

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.