Skip to content

Add Julia script to generate test model files#9

Merged
rafabench merged 1 commit intomasterfrom
add-model-generator
Mar 12, 2026
Merged

Add Julia script to generate test model files#9
rafabench merged 1 commit intomasterfrom
add-model-generator

Conversation

@rafabench
Copy link
Copy Markdown
Owner

Summary

  • Add test/generate_models.jl that programmatically generates all model files in test/models/ using MathOptInterface
  • Replaces hand-crafted data files with a reproducible generation pipeline
  • Regenerated model files produce identical test results (all 121 tests pass)

Run with: julia --project=. test/generate_models.jl

🤖 Generated with Claude Code

test/generate_models.jl programmatically builds all model files in
test/models/ using MathOptInterface, replacing hand-crafted data files
with a reproducible generation pipeline.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@rafabench rafabench merged commit 0fb41a6 into master Mar 12, 2026
7 checks passed
@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.66%. Comparing base (7a1aace) to head (03d6ddc).
⚠️ Report is 2 commits behind head on master.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master       #9   +/-   ##
=======================================
  Coverage   72.66%   72.66%           
=======================================
  Files          10       10           
  Lines         578      578           
=======================================
  Hits          420      420           
  Misses        158      158           

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

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.

2 participants