For the first design cycle, we will concentrate on the Build use case as it is the most risky use case due to the use of emerging technologies.
| Use case: | Build |
| Actors: | Expert |
| Purpose: | Create and fill a structured matcher with expert knowledge. |
| Overview: | An expert builds a structured matcher tree by building individual simple matcher and adding them to tree structure. During the building of the simple matcher, the expert creates and arranges the questions in a manner that represents his knowledge. |
| Type: | primary and essential |
| Cross References: | Functions 1, 2, 7 |
| Actor Actions | System Response |
|---|---|
| 1. The Expert starts the program. | 2. Creates a structured matcher with one empty simple matcher as it's root. |
| 3. The Expert can a) Create and attach a new simple matcher to an existing simple matcher. See section Create a simple matcher. b) Populate an existing simple matcher. See section Populate a simple matcher. |
See the pertinent sections for system response. |
| 4. The Expert saves the structured matcher. | Saves the structured matcher to persistent storage. |
| Actor Actions | System Response |
|---|---|
| 1. The Expert selects an existing simple matcher. | 2. Acknowledges the selection. |
| 3. Issues command to create a new simple matcher. | 4. Prompts for a name for the new simple matcher. |
| 5. Enters a new simple matcher name. | 5. Creates a new simple matcher and links it to the selected simple matcher. |
| 6. Updates the visual representation. |
| Actor Actions | System Response |
|---|---|
| 1. The Expert can a) Add a column (question) to the simple matcher. See section Add a question to a simple matcher. b) Add a row to the simple matcher. See section Add a row to a simple matcher. c) Edit any cell in the simple matcher. See section Edit a cell in a simple matcher. |
See the pertinent sections for system response. |
| Actor Actions | System Response |
|---|---|
| 1. The Expert issues the command to add a new question to the simple matcher. | 2. Prompts the expert to select an existing question (if any) or to create a new one by entering the title, body and type of the question. |
| 3. Selects an existing question or enters the prompted information. | 4. Saves the new question if one was created and links the question to the simple matcher. |
| 5. Updates the visual representation of the simple matcher by adding a new column to it with the title of the question as its header. |
| Actor Actions | System Response |
|---|---|
| 1. The Expert issues the command to add a new row to the simple matcher. | 2. Inserts a new row into the simple matcher. |
| 3. Updates the visual representation of the simple matcher by adding a new row to it with default values in it's cells according to the number and type of existing columns. |
| Actor Actions | System Response |
|---|---|
| 1. The Expert selects a cell for editing. | 2. Depending on the type of information that cell contains, present the appropriate editing interface. |
| 3. Edits the value(s) in the cell and indicate done editing. | 4. Updates the contents and the visual representation of the cell. |