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

Aperta
#399 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
frontend, web-dev

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
JavaScript
Stelle
3
Fork
18
Merge medio
1g 15h
PR unite (30g)
27

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Include un Dockerfile o un file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ReduxISU/Redux_GUI

Tutte le issue di ReduxISU/Redux_GUI

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.