{{define "description"}} # Rank **The `rank` command generates a ranking of results based on participant answers.** With the `rank` command, it is possible to generate a ranking of results based on the answers provided by participants. The command accepts on standard input either a JSON ready for display or the result of a filter applied to the answers that needs to be processed through a `tengo` script to conform to the JSON schema. ## Example Filtra le risposte date dai partecipanti al test "Math Test" e produce una classifica dei punteggi assegnando +1 punto per ogni risposta esatta fornita. ``` probo filter responses -i data/filters/math_test.jq | probo rank -s data/scripts/score.tengo ``` {{end}}