# Scoring with Maximum Scores and Randomization

Let us take an example where questions are organized into groups with [maximum scores](/speechace-speaking-test/speechace-workspaces-create-manage-and-share-speaking-assessments/creating-assessments/create-new-custom-assessments/custom-assessment-configurations/weights-max-scores-timers.md) and [randomization](/speechace-speaking-test/speechace-workspaces-create-manage-and-share-speaking-assessments/creating-assessments/create-new-custom-assessments/custom-assessment-configurations/question-groups-and-randomization/random-order-of-questions.md). The test creator has created two groups of questions: **Pronunciation group** and **Fluency group** with maximum scores of 9.0 and 5.5 respectively.

<figure><img src="/files/Rzwv0GgVT33bJh4fNlj1" alt=""><figcaption></figcaption></figure>

The above configuration not only specifies the maximum possible score for a question but also caps the maximum possible score for the assessment. In the below paragraphs, we explain the logic behind each of these calculations.

**Maximum possible score for the assessment**\
\
The maximum possible score is determined by averaging the maximum scores of all selected questions (of all groups) as below:

Aggregate Maximum Score = Sum of (`Questions to score in each group` x `max score per group`) / `total questions to score across groups`

For this example, if two questions are randomly selected from the **Pronunciation** group (with a max score of 9.0) and one question from the **Fluency** group (with a max score of 5.5), the **Aggregate Maximum Score** for this assessment will be 7.8 out of 9.0, as shown in the calculation below:

$$
\[(2*9.0)+(1*5.5)/(2+1)=7.8
$$

No attempt for this assessment will have a score > 7.8.

#### Scoring an attempt

When an attempt is made on the assessment, the score for each question is capped by its group's  maximum score. The overall attempt score is then calculated by taking a simple average of the score for each question as below:

Score = Sum of (`Question scores`) / `total questions to score`&#x20;

As an example, if the Speechace scores for the two **Pronunciation** questions are 8.0 and 8.6, and the one **Fluency** question is 5.5 (all out of 9.0), the final assessment score will be 7.4 out of 9.0 as per the calculation below:

$$
(8.0+8.6+5.5)/3=7.4
$$


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://speaking-test-docs.speechace.com/speechace-speaking-test/speechace-workspaces-create-manage-and-share-speaking-assessments/creating-assessments/scoring-logic/scoring-with-maximum-scores-and-randomization.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
