Normalize commutative operations
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
La issue individua la normalizzazione commutativa come obiettivo e cita =, + e i corpi di funzioni con arità multiple; inizia individuando la logica di normalizzazione esistente del representer e la sua gestione di queste forme. Definisci un ordine standard deterministico e verifica che le permutazioni equivalenti producano un’unica rappresentazione, preservando al contempo lo stesso feedback rivolto agli studenti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
It never ceases to amaze me how many unique solution approaches there are even with all the normalizations we're doing. It's like ice cream flavors. 31 flavors sounds like a lot, but that can be achieved with like 5 or 6 basic flavors and their permutations.
After spending some time analyzing its results, the next "low-hanging fruit" seems to be:
Identifying which operations are commutative, and presenting them in some standard order.
At first glance it seems like we're scraping the bottom of the barrel, so to speak. But because of the way the possible permutations are composed, even the smallest thing can drastically reduce the number of unique representations, which practically translates to having fewer approaches to add feedback to to be displayed to the same number of students.
For example, a solution to the lasagna exercise might have: (+ (num-layers 2) 5), and another might have (+ 5 (num-layers 2)). Having to repeat the same feedback on every combination becomes tedious.
Commutative operations which can be normalized
=+- multi-arity function bodies
. . .
Again, these seem very minor, but the path to making the representer more effective lies in making these incremental improvements
- Lingua principale
- Clojure
- Stelle
- 2
- Fork
- 7
- Merge medio
- 6h 7m
- PR unite (30g)
- 2
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di exercism/clojure-representer
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
Tutte le issue di exercism/clojure-representer
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
NoahTheDuke/splint#56 ·
-
Permissioned transactions fetch each entity once per tx-step, producing huge permission-check queriesForse già presa @verveguy l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 Mezza giornata Idoneità per principianti 84/100
clojure-lsp/clojure-lsp#2502 ·
I maintainer di solito rispondono entro 1 giorno
-
Sessions are never closedAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100