Skip to content

Add numerical experiment code for the paper#194

Merged
odow merged 2 commits intomasterfrom
od/paper
Apr 8, 2026
Merged

Add numerical experiment code for the paper#194
odow merged 2 commits intomasterfrom
od/paper

Conversation

@odow
Copy link
Copy Markdown
Member

@odow odow commented Apr 7, 2026

julia> function count_lines(file)
           count = 0
           in_docstring = false
           for line in readlines(file)
               line = strip(line)
               if startswith(line, "\"\"\"")
                   in_docstring = !in_docstring
                   continue
               elseif isempty(line) || startswith(line, "#") || in_docstring
                   continue
               end
               count += 1
           end
           return count
       end
count_lines (generic function with 1 method)

julia> for file in readdir("src/algorithms"; join = true)
           println(file => count_lines(file))
       end
"src/algorithms/Chalmet.jl" => 112
"src/algorithms/Dichotomy.jl" => 95
"src/algorithms/DominguezRios.jl" => 220
"src/algorithms/EpsilonConstraint.jl" => 101
"src/algorithms/Hierarchical.jl" => 92
"src/algorithms/KirlikSayin.jl" => 141
"src/algorithms/Lexicographic.jl" => 111
"src/algorithms/RandomWeighting.jl" => 61
"src/algorithms/Sandwiching.jl" => 3
"src/algorithms/TambyVanderpooten.jl" => 231

julia> count_lines("ext/MultiObjectiveAlgorithmsPolyhedraExt.jl")
128

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.77%. Comparing base (0e80722) to head (4f57abe).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #194   +/-   ##
=======================================
  Coverage   99.77%   99.77%           
=======================================
  Files          12       12           
  Lines        1307     1307           
=======================================
  Hits         1304     1304           
  Misses          3        3           

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

@odow odow changed the title DNMY: paper experiments Add numerical experiment code for the paper Apr 8, 2026
@odow odow merged commit 70cb3fd into master Apr 8, 2026
7 checks passed
@odow odow deleted the od/paper branch April 8, 2026 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant