Evalua Javiera’s rating system lets students assess a teacher across three distinct pedagogical dimensions using a four-point qualitative scale. After selecting a teacher on the previous screen, the student arrives atDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/groupTwoisTheBest/evaJav/llms.txt
Use this file to discover all available pages before exploring further.
/calificaElProfesor, where a single form collects one rating per category. All three ratings must be filled before the form can be submitted. Once submitted, the combined rating object is persisted to browser localStorage and the student is forwarded to the confirmation certificate.
Rating Categories
The rating form intemplates/calification_plataform.html defines three evaluation categories. Each is rendered as an HTML <select> element:
| Category | Label in UI | Element id |
|---|---|---|
| Topic explanation | Explicación del tema | explicationsTopics |
| Attitude | Actitudinal | actitudinal |
| Class activities | Actividades de clase | classActivity |
Four-Point Scale
Every category offers the same four options in ascending order of quality:| Value | Meaning |
|---|---|
Malo | Poor |
Regular | Average |
Bien | Good |
Excelente | Excellent |
""), which the validation check uses to detect that the student has not yet made a selection.
Teacher Name Display
Before the student sees the rating form,static/js/cal_plataform.js reads the teacher name that was saved during the previous step and injects it into the page:
<legend id="Selectormestro"> element inside the form is updated so the student always has a clear on-screen reminder of which teacher they are currently evaluating.
Saving Ratings to localStorage
When the student clicks Enviar, thesubmit event listener on the calification form in static/js/cal_plataform.js runs the following logic:
- Serialises the three ratings into a JSON string.
- Writes the string to localStorage under the key
calification. - Navigates the browser to
/Agradecimiento(the confirmation certificate page).
alert('Por favor, selecciona una nota para cada casilla.') fires and no data is saved.
All ratings are stored as a single JSON object in localStorage under the key
calification. The object has the shape { exp, act, cls }, where each property holds the string value chosen by the student (e.g., "Bien", "Excelente"). Because localStorage is scoped to the browser origin, ratings are not transmitted to or persisted on the server.