Let readers choose among reduction paths when more than one reaches a target

Open
#399 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript
Domain
frontend, web-dev

Research direction

Start by tracing how the Reduction Type dropdown builds and selects a path for the chosen target, then inspect the reduction sweep cases in #386 and the related loading and failed state issues #388 and #390. Add a way to choose among valid paths while keeping the current first-option path as the default, and show the selected path's steps. Done when readers can choose an alternative route and see which steps are drawn.

Written by the indexing model from the issue text.

Description

enhancement

For each reduction target, Redux_GUI offers only one way to get there. When the target is more than one step away, the reduction path is built from the first option at each step, and the reader can't pick another route.

Why it matters

When that one route is broken, the reduction picture fails, even if another route would work. The reduction sweep (Oct 19) found this for:

  • Graph Coloring → Clique, Vertex Cover and others, which go through SAT → 3SAT and run past 60 s (#386, ReduxISU/Redux#823);
  • Exact Cover / Hitting Set → Partition, which goes through Subset Sum and returns 500 (ReduxISU/Redux#927).

Wanted

  • When more than one path or reduction type reaches the chosen target, let the reader choose. For example, list the alternative paths in the Reduction Type dropdown, or add a step-by-step picker. Default to the current first-option path.
  • Show the chosen path's steps, so it's clear what is being drawn.

Found during the #388 reduction sweep. Related: #388 / #390 (Loading and Failed states).

Dominant language
JavaScript
Stars
3
Forks
18
Avg merge
1d 15h
Merged PRs (30d)
27

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • Ships a Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ReduxISU/Redux_GUI

All issues in ReduxISU/Redux_GUI

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.