Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Improve rating of difficulty

Aperta
#512 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
cpp
Ambito
content

Direzione di ricerca

Inizia da config.json e rivedi i valori di difficoltà esistenti insieme alle descrizioni degli esercizi menzionate nell’issue. Chiarisci se le valutazioni sono relative o legate a un livello di apprendimento definito, quindi raggiungi un consenso sulle discrepanze proposte prima di aggiornare i metadati; il lavoro è completato quando la scala e le valutazioni riviste sono concordate e riportate in modo coerente in config.json.

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

Descrizione

config.json assigns a "difficulty" to each exercise.
Here they are:

1
    hello-world
    leap
    luhn
    space-age
    two-fer
2
    collatz-conjecture
    gigasecond
    grains
    pangram
    raindrops
    reverse-string
    secret-handshake
3
    acronym
    allergies
    armstrong-numbers
    atbash-cipher
    binary
    difference-of-squares
    etl
    grade-school
    hamming
    hexadecimal
    isogram
    matching-brackets
    nucleotide-count
    pascals-triangle
    protein-translation
    rna-transcription
    scrabble-score
    sum-of-multiples
    triangle
    trinary
4
    all-your-base
    binary-search
    robot-simulator
5
    anagram
    bob
    clock
    meetup
    nth-prime
    phone-number
    prime-factors
    queen-attack
    robot-name
    series
    sieve
    word-count
6
    circular-buffer
    complex-numbers
7
    beer-song
    crypto-square
    food-chain
    roman-numerals
10
    binary-search-tree
    say

IMHO some of those ratings are wildly off, e.g.:

  • luhn is definitely more difficult than hello-world, leap, or two-fer
  • I've mentored space-age several hundred times. Many students struggle with that exercise because they member functions have to be const-qualified and they have to choose a type that can represent the age in seconds for all tests.
  • pangram and isogram are very similar, IMHO they are equally difficult.
    (The only thing that makes isogram a little bit tricky is that the description doesn't restrict the characters to ASCII so one has to be careful not to call std::isalpha() or std::tolower() with a char.)
  • Are beer-song and food-chain really that complicated? (Frankly, I never understood the appeal of those exercises.)

I'm sure you can easily spot some more discrepancies.

And a more general question: Are the difficulties rated in comparison to each other or do those ratings have some meaning (e.g. 1=for beginners who just wrote their first hello-world, 4=for those who feel comfortable writing classes and functions, 7=complex tasks with multiple requirements)?

Lingua principale
C++
Stelle
291
Fork
244
Merge medio
17m
PR unite (30g)
1

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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 exercism/cpp

Tutte le issue di exercism/cpp

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.