Skip to content

Commit 3bcded3

Browse files
committed
Create a new version based on the latest tag
1 parent 99884b4 commit 3bcded3

370 files changed

Lines changed: 13666 additions & 1369 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/libraries/adaptive-vlat.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44

55

6-
A-VLAT is a short, adaptive visualization literacy test, which is built upon the existing static assessments VLAT.
6+
A-VLAT is a short, adaptive visualization literacy test, which are built upon the existing static assessments VLAT.
77

8-
This library contains a sequence of the full A-VLAT questionnaire.
8+
This library contains a sequence of the full A-VLAT questionnaire.
99

1010
The component `VlatTrial` in this library is part of the sequence and should not be used alone.
1111

docs/typedoc/globals.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
- [LikertResponse](interfaces/LikertResponse.md)
2222
- [LongTextResponse](interfaces/LongTextResponse.md)
2323
- [MarkdownComponent](interfaces/MarkdownComponent.md)
24-
- [MatrixResponse](interfaces/MatrixResponse.md)
24+
- [MatrixCheckboxResponse](interfaces/MatrixCheckboxResponse.md)
25+
- [MatrixRadioResponse](interfaces/MatrixRadioResponse.md)
2526
- [NumberOption](interfaces/NumberOption.md)
2627
- [NumericalResponse](interfaces/NumericalResponse.md)
2728
- [ParsedStringOption](interfaces/ParsedStringOption.md)
@@ -60,6 +61,7 @@
6061
- [InheritedComponent](type-aliases/InheritedComponent.md)
6162
- [InputRules](type-aliases/InputRules.md)
6263
- [InterruptionBlock](type-aliases/InterruptionBlock.md)
64+
- [MatrixResponse](type-aliases/MatrixResponse.md)
6365
- [Response](type-aliases/Response.md)
6466
- [SkipConditions](type-aliases/SkipConditions.md)
6567
- [Styles](type-aliases/Styles.md)

docs/typedoc/index.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# Reference Documentation
22

3-
## General reVISit
3+
## General reVISit
44

5-
- [GlobalConfig](interfaces/GlobalConfig.md) — The GlobalConfig is used to generate the list of available studies in the UI.
5+
- [GlobalConfig](interfaces/GlobalConfig.md) — The GlobalConfig is used to generate the list of available studies in the UI.
66

77
## Data Formats
88

99
- [ParticipantData](interfaces/ParticipantData.md) – The ParticipantData is a JSON object that includes data for a participant in your study. This is how the data is stored in the database and how it will download with the JSON downloader.
10-
- [StoredAnswer](interfaces/StoredAnswer.md) - The StoredAnswer object is a data structure describing the participants interaction with an individual component. It is used by ParticipantData to store individual answers.
10+
- [StoredAnswer](interfaces/StoredAnswer.md) - The StoredAnswer object is a data structure describing the participant's interaction with an individual component. It is used by ParticipantData to store individual answers.
1111

1212
## reVISit Spec
1313

14-
- [StudyConfig](interfaces/StudyConfig.md) – The StudyConfig interface is used to define the properties of a study configuration. This is a JSON object with four main components: the StudyMetadata, the UIConfig, the Components, and the Sequence.
14+
- [StudyConfig](interfaces/StudyConfig.md) – The StudyConfig interface is used to define the properties of a study configuration. This is a JSON object with four main components: the StudyMetadata, the UIConfig, the Components, and the Sequence.
1515
- [StudyMetadata](interfaces/StudyMetadata.md) – A top-level property of the `StudyConfig`. The study metadata defines elements such as the study title, authors, and description.
1616
- [UIConfig](interfaces/UIConfig.md) – A top-level property of the `StudyConfig`, defining the appearance of the study.
1717

@@ -21,7 +21,7 @@ For other components of the reVISit spec see [Components](#components) and [Sequ
2121

2222
Components contain study-specific content. See the [How does it Work](https://revisit.dev/docs/getting-started/how-does-it-work) guide for an introduction.
2323

24-
The different component types:
24+
The different component types:
2525
- [ImageComponent](interfaces/ImageComponent.md)
2626
- [MarkdownComponent](interfaces/MarkdownComponent.md)
2727
- [QuestionnaireComponent](interfaces/QuestionnaireComponent.md)
@@ -32,7 +32,7 @@ The different component types:
3232

3333
## Responses
3434

35-
Responses allow study designers to collect responses from participants Responses are included on administrative forms, such as consent or training, but most importantly as a response to a stimulus.
35+
Responses allow study designers to collect responses from participants. Responses are included on administrative forms, such as consent or training, but most importantly as a response to a stimulus.
3636

3737
- [Response](type-aliases/Response.md)
3838
- [ReactiveResponse](interfaces/ReactiveResponse.md)
@@ -44,30 +44,30 @@ Responses are provided as form elements. See the [example](https://revisit.dev/s
4444

4545
ReVISit supports the following form elements:
4646

47-
The BaseResponse contains generic fields that all form elements share:
47+
The BaseResponse contains generic fields that all form elements share:
4848
- [BaseResponse](interfaces/BaseResponse.md)
4949

50-
You can ask for text responses:
50+
You can ask for text responses:
5151
- [LongTextResponse](interfaces/LongTextResponse.md)
5252
- [ShortTextResponse](interfaces/ShortTextResponse.md)
5353

54-
Numerical responses via fields or sliders:
54+
Numerical responses via fields or sliders:
5555
- [NumericalResponse](interfaces/NumericalResponse.md)
5656
- [SliderResponse](interfaces/SliderResponse.md)
5757

58-
Choices of items via checkboxes, drop-downs, or buttons:
58+
Choices of items via checkboxes, drop-downs, or buttons:
5959
- [CheckboxResponse](interfaces/CheckboxResponse.md)
6060
- [RadioResponse](interfaces/RadioResponse.md)
6161
- [DropdownResponse](interfaces/DropdownResponse.md)
6262
- [ButtonsResponse](interfaces/ButtonsResponse.md)
6363

64-
Likert-style rating scales:
64+
Likert-style rating scales:
6565
- [LikertResponse](interfaces/LikertResponse.md)
6666

6767
Matrix-style options that can be used for numerical or categorical responses:
6868
- [MatrixResponse](interfaces/MatrixResponse.md)
6969

70-
You can specify numerical and textual responses through those interfaces:
70+
You can specify numerical and textual responses through those interfaces:
7171
- [NumberOption](interfaces/NumberOption.md)
7272
- [StringOption](interfaces/StringOption.md)
7373

@@ -86,7 +86,7 @@ Sequencing determines the order in which components appear.
8686

8787
Interruptions augment the sequence with components that are inserted either randomly or deterministically. These might be for breaks or attention checks.
8888

89-
- [DeterministicInterruption](interfaces/DeterministicInterruption.md)
89+
- [DeterministicInterruption](interfaces/DeterministicInterruption.md)
9090
- [RandomInterruption](interfaces/RandomInterruption.md)
9191
- [InterruptionBlock](type-aliases/InterruptionBlock.md)
9292

docs/typedoc/interfaces/Answer.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
# Answer
22

3-
Defined in: [parser/types.ts:870](https://github.com/revisit-studies/study/blob/317436dc2065f4bc80347c4bd7250d4444518b6d/src/parser/types.ts#L870)
3+
Defined in: [parser/types.ts:927](https://github.com/revisit-studies/study/blob/0246def09f8a8d3a9193428f2d57948507c787cd/src/parser/types.ts#L927)
44

55
The Answer interface is used to define the properties of an answer. Answers are used to define the correct answer for a task. These are generally used in training tasks or if skip logic is required based on the answer.
66

77
Answers are used to defined correct answers for a task. These are generally used in training tasks or if skip logic is required based on the answer. The answer field is used to define the correct answer to the question. The acceptableLow and acceptableHigh fields are used to define a range of acceptable answers (these are currently only used for training). For example, if the correct answer is 5, and the acceptableLow is 4 and the acceptableHigh is 6, then any answer between 4 and 6 will be considered correct.
88

99
Here's an example of how to use the Answer interface to define the correct answer to a question:
1010

11-
```js
11+
```json
1212
{
13-
"type": "markdown",
14-
"path": "<study-name>/assets/question.md",
15-
"response": [
16-
{
17-
"id": "response1",
18-
"prompt": "What is 2 + 2?",
19-
"location": "belowStimulus",
20-
"type": "numerical"
21-
}
22-
],
23-
"correctAnswer": [{
24-
"id": "response1",
25-
"answer": 4
26-
}]
27-
}
13+
"type": "markdown",
14+
"path": "<study-name>/assets/question.md",
15+
"response": [
16+
{
17+
"id": "response1",
18+
"prompt": "What is 2 + 2?",
19+
"location": "belowStimulus",
20+
"type": "numerical"
21+
}
22+
],
23+
"correctAnswer": [{
24+
"id": "response1",
25+
"answer": 4
26+
}]
27+
}
2828
```
2929

3030
In this example, the correct answer to the question "What is 2 + 2?" is 4. If the participant answers 4, they will be considered correct. If they answer anything other than 4, they will be considered incorrect.
@@ -33,7 +33,7 @@ In this example, the correct answer to the question "What is 2 + 2?" is 4. If th
3333

3434
| Property | Type | Description | Defined in |
3535
| ------ | ------ | ------ | ------ |
36-
| <a id="acceptablehigh"></a> `acceptableHigh?` | `number` | The acceptable high value for the answer. This is used to define a range of acceptable answers. | [parser/types.ts:879](https://github.com/revisit-studies/study/blob/317436dc2065f4bc80347c4bd7250d4444518b6d/src/parser/types.ts#L879) |
37-
| <a id="acceptablelow"></a> `acceptableLow?` | `number` | The acceptable low value for the answer. This is used to define a range of acceptable answers. | [parser/types.ts:877](https://github.com/revisit-studies/study/blob/317436dc2065f4bc80347c4bd7250d4444518b6d/src/parser/types.ts#L877) |
38-
| <a id="answer"></a> `answer` | `any` | The correct answer to the question. | [parser/types.ts:875](https://github.com/revisit-studies/study/blob/317436dc2065f4bc80347c4bd7250d4444518b6d/src/parser/types.ts#L875) |
39-
| <a id="id"></a> `id` | `string` | The id of the answer. This is used to identify the answer in the data file. | [parser/types.ts:872](https://github.com/revisit-studies/study/blob/317436dc2065f4bc80347c4bd7250d4444518b6d/src/parser/types.ts#L872) |
36+
| <a id="acceptablehigh"></a> `acceptableHigh?` | `number` | The acceptable high value for the answer. This is used to define a range of acceptable answers. | [parser/types.ts:936](https://github.com/revisit-studies/study/blob/0246def09f8a8d3a9193428f2d57948507c787cd/src/parser/types.ts#L936) |
37+
| <a id="acceptablelow"></a> `acceptableLow?` | `number` | The acceptable low value for the answer. This is used to define a range of acceptable answers. | [parser/types.ts:934](https://github.com/revisit-studies/study/blob/0246def09f8a8d3a9193428f2d57948507c787cd/src/parser/types.ts#L934) |
38+
| <a id="answer"></a> `answer` | `any` | The correct answer to the question. | [parser/types.ts:932](https://github.com/revisit-studies/study/blob/0246def09f8a8d3a9193428f2d57948507c787cd/src/parser/types.ts#L932) |
39+
| <a id="id"></a> `id` | `string` | The id of the answer. This is used to identify the answer in the data file. | [parser/types.ts:929](https://github.com/revisit-studies/study/blob/0246def09f8a8d3a9193428f2d57948507c787cd/src/parser/types.ts#L929) |

0 commit comments

Comments
 (0)