Skip to content

Add reproducible pred CLI commands to paper examples#724

Merged
GiggleLiu merged 9 commits intomainfrom
jg/refactor-example
Mar 21, 2026
Merged

Add reproducible pred CLI commands to paper examples#724
GiggleLiu merged 9 commits intomainfrom
jg/refactor-example

Conversation

@GiggleLiu
Copy link
Copy Markdown
Contributor

Summary

  • Add pred-commands() Typst helper that renders styled CLI command blocks in the paper
  • Retrofit all ~79 model entries and ~29 rule entries with pred create/solve/evaluate and pred create/reduce/solve/evaluate pipelines
  • Update authoring skills (write-model-in-paper, write-rule-in-paper, add-model, add-rule) with instructions for the new pattern
  • Update final-review skill to remove redundant CLI section from issue comments (now in PDF)
  • Remove unused CLI functions to fix compiler warnings

Test plan

  • make paper compiles successfully
  • Spot-checked pred commands from the paper (MIS, MVC, SAT, TSP, MVC→MIS round-trip)
  • Verified only additions — no existing content removed (728 insertions, 0 deletions in paper)
  • No compiler warnings

🤖 Generated with Claude Code

GiggleLiu and others added 7 commits March 21, 2026 15:24
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.62%. Comparing base (a4e05bd) to head (46f59c6).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #724   +/-   ##
=======================================
  Coverage   97.62%   97.62%           
=======================================
  Files         403      403           
  Lines       50112    50112           
=======================================
  Hits        48923    48923           
  Misses       1189     1189           

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

# Conflicts:
#	problemreductions-cli/src/commands/create.rs
@GiggleLiu GiggleLiu merged commit 5ecba36 into main Mar 21, 2026
5 checks passed
@GiggleLiu GiggleLiu deleted the jg/refactor-example branch April 12, 2026 00:53
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.

1 participant