Skip to content

Commit 0ee3bce

Browse files
committed
update metric
1 parent 91e4a52 commit 0ee3bce

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

src/features/2.metrics.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Metric is used to allow admin configuring custom metrics for an assessment to se
1717
* `scalar` : can only be linked to a radio button choice question of an assessment
1818
* `aggregation` defines how to calculate the result. It has the following valid value: (when the `data_type` is `scalar`)
1919
* `average` : the result will be the average `weight` of the answers for this question
20+
* `average_rate` : the result will be the average `weight` of the answers / max `weight` for this question
2021
* `sum` : the result will be the sum of the `weight` of the answers for this question
2122
* `count` : the result will be the count of the user that has answered that question
2223
* `filters` : the filters applied to this metric
@@ -80,11 +81,15 @@ Each combination of data source and data type represents a different metric calc
8081
</tr>
8182

8283
<tr>
83-
<td rowspan="5">question</td>
84-
<td rowspan="5">scalar</td>
84+
<td rowspan="6">question</td>
85+
<td rowspan="6">scalar</td>
8586
<td>average</td>
8687
<td>The average value of the weight of the question choice</td>
87-
<td rowspan="4">circle number,<br/>card,<br/>table</td>
88+
<td rowspan="5">circle number,<br/>card,<br/>table</td>
89+
</tr>
90+
<tr>
91+
<td>average_rate</td>
92+
<td>The average weight / max weight</td>
8893
</tr>
8994
<tr>
9095
<td>sum</td>

0 commit comments

Comments
 (0)