Skip to content

Conversation

@leburgel
Copy link
Contributor

Small tweak to the optimtest to perform less function evaluations (2/3 of the amount it currently performs). This is quite handy when testing things for which evaluations are expensive.

@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 0% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.38%. Comparing base (e476e82) to head (61a67b0).

Files with missing lines Patch % Lines
src/OptimKit.jl 0.00% 13 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
+ Coverage   82.06%   82.38%   +0.32%     
==========================================
  Files           5        5              
  Lines         513      511       -2     
==========================================
  Hits          421      421              
+ Misses         92       90       -2     

☔ 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.

a1 = alpha[i]
a2 = alpha[i + 1]
f1, = fg(retract(x, d, a1)[1])
f2, = fg(retract(x, d, a2)[1])
Copy link
Owner

Choose a reason for hiding this comment

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

That was indeed pretty stupid in the original design.

@Jutho
Copy link
Owner

Jutho commented Oct 20, 2025

Thanks. This is indeed a much more sensible approach.

@Jutho Jutho merged commit e861492 into Jutho:master Oct 20, 2025
12 checks passed
@leburgel leburgel deleted the lb/optimtest_tweak branch October 20, 2025 21:18
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.

3 participants