Commit 63e818b
fix: CLI QA improvements — creation support, aliases, help, schemas (#189)
Closes #189
- Add CLI creation for 8 previously unsupported problem types:
MaximalIS, BinPacking, PaintShop, MaximumSetPacking,
MinimumSetCovering, BicliqueCover, BMF, ClosestVectorProblem
- Add MaxMatching alias for MaximumMatching
- Fix bare `pred` appending unrelated solve help text (match first line only)
- Fix `pred create <PROBLEM>` exiting 0 when showing help (now exits 2)
- Fix `--timeout` default shown twice in help
- Fix Makefile using wrong flag names (--edges → --graph, --bits-m → --m)
- Align schemas to constructor params (BMF, PaintShop, CircuitSAT)
- Add CLI creation instructions to add-model skill (Step 4.5)
- Add parse_comma_list and parse_edge_pairs utilities
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 92cdd0a commit 63e818b
11 files changed
Lines changed: 351 additions & 49 deletions
File tree
- .claude/skills/add-model
- problemreductions-cli
- src
- commands
- tests
- src/models
- algebraic
- formula
- misc
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
127 | 142 | | |
128 | 143 | | |
129 | 144 | | |
| |||
168 | 183 | | |
169 | 184 | | |
170 | 185 | | |
| 186 | + | |
| 187 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
274 | | - | |
| 273 | + | |
| 274 | + | |
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | | - | |
| 333 | + | |
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| 206 | + | |
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
209 | 210 | | |
210 | 211 | | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
211 | 220 | | |
212 | 221 | | |
213 | 222 | | |
| |||
281 | 290 | | |
282 | 291 | | |
283 | 292 | | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
284 | 326 | | |
285 | 327 | | |
286 | 328 | | |
| |||
315 | 357 | | |
316 | 358 | | |
317 | 359 | | |
318 | | - | |
| 360 | + | |
319 | 361 | | |
320 | 362 | | |
321 | 363 | | |
| |||
367 | 409 | | |
368 | 410 | | |
369 | 411 | | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
370 | 417 | | |
| 418 | + | |
371 | 419 | | |
372 | 420 | | |
373 | 421 | | |
| |||
382 | 430 | | |
383 | 431 | | |
384 | 432 | | |
385 | | - | |
| 433 | + | |
386 | 434 | | |
387 | 435 | | |
388 | 436 | | |
| |||
0 commit comments