# Hints, solutions and their penalties

> Add step-by-step hints, solution steps and related videos to an EduBase question for practice, and set how many points each one costs the participant.

An EduBase question can help participants who get stuck in practice: hints that nudge them one step at a time, a worked solution shown step by step, and related videos. Each kind of help can cost part of the question's points, so a participant who solves the question alone scores more than one who needed help.

Help is for practice only. Exams, homework and championships never show hints, solutions or videos.

## Add hints and solution steps

1. Open the question in the editor, choose **more options**, and choose **expand** under **Hints**.
2. Under **Hints**, choose **Add hints to this question**, and write the first hint under **Step-by-step**. Choose **+** for each further hint. Participants get them in this order, one at a time.
3. Under **Solution**, choose **Add solution steps to this question**, and write the steps the same way. A solution can have an **Image** as well.
4. For each, set the **Penalty** (see below).
5. Save the question.

![The Hints section of the question editor: two hints, the second with a LaTeX formula, Penalty For every step with Points (%) 10; two solution steps with parameters in curly brackets, no image, and Penalty Only once, regardless of used steps with Points (%) 40](https://help.edubase.net/assets/screens/questions/hints-and-solutions/01-editor.webp)
/// caption
**Question editor → more options → Hints**
///

Hints and solution steps can use the question's [parameters](https://help.edubase.net/questions/parameterized/) in curly brackets, so the worked solution shows the participant's own numbers, and [LaTeX formulas](https://help.edubase.net/questions/media-and-math/#formulas-in-latex).

In the demo, a practice question on z-scores has two hints, the second with the formula, and a two-step solution that works through the participant's own numbers.

**Related videos** link EduBase videos to the question by their ID. This part of the section appears for accounts with the advanced question editor, and on questions that already have videos.

## How much help costs

| **Penalty** | Deduction |
|---|---|
| **Default (once, 20%)** for hints, **Default (once, 40%)** for solutions and videos | 20% or 40% of the points, once, however many steps were used. |
| **Only once, regardless of used steps** | The percentage under **Points (%)**, once. |
| **For every step** | The percentage under **Points (%)** for each step used. Not for videos. |
| **None** | Nothing. |

Deductions apply only to an answer that earns points, and only one of them counts per question: the solution's if the participant opened a solution step, otherwise the videos', otherwise the hints'. In the demo question, worth 2 points, a correct answer after both hints scores 2 × (1 − 2 × 10%) = 1.6 points; after a solution step it scores 2 × (1 − 40%) = 1.2 points, whatever hints were used. A score never goes below zero.

## What participants see

In practice, **I'm stuck, please help** shows the next hint and **Show solution** the next solution step. The progress bars show how many steps are open; buttons turn pale when nothing is left. **Related videos** opens the videos.

![A practice question with both hints opened under Help (2 / 2), the second with the rendered formula, and the first of two solution steps under Solution (1 / 2) with the participant's own numbers](https://help.edubase.net/assets/screens/questions/hints-and-solutions/02-participant.webp)
/// caption
**Question editor → try → I'm stuck, please help, Show solution**
///

A Quiz set can switch help off for all its questions: in the Quiz set's settings, **Additional settings → Help (hints, videos, solution steps)**.

## In an upload or over the API

| Field | Holds |
|---|---|
| `HINT` | The hints, separated by `&&&` |
| `SOLUTION` | The solution steps, separated by `&&&` |
| `HINT_PENALTY`, `SOLUTION_PENALTY` | `NONE`, `ONCE:N` or `PER-HELP:N`, where N is the percentage |
| `VIDEO_PENALTY` | `NONE` or `ONCE:N` |

Write the percentage as a number without the % sign, such as `PER-HELP:10`: on the current version, `ONCE:40%` is read as a deduction of the whole score. The API's `POST /question` takes the same values in `hint`, `solution`, `hint_penalty` and `solution_penalty`. See [The EDU text format](https://help.edubase.net/questions/edu-format/).

## Limits

- Hints, solutions and videos appear only in practice, never in exams, homework or championships.
- When a participant used the AI chat on a question, the chat's own deduction applies instead of these.

## Related

- [Tolerance, partial credit, penalties, rubrics and skills](https://help.edubase.net/questions/scoring/)
- [Navigation and test modes](https://help.edubase.net/quiz-sets/modes/)
- [Practice mode, self-check and attempt caps](https://help.edubase.net/quiz-sets/practice/)
- [Give every participant different numbers](https://help.edubase.net/questions/parameterized/)
- [Create a question](https://help.edubase.net/questions/create/)
