<commit_before># Test Script

* [Quick Start](#quick-start)
* [Description](#description)
* [Testing Commands](#Testing Commands)
* [Command Summary](#command-summary)

## Quick Start

0. Ensure you have Java version `1.8.0_60` or later installed in your Computer.<br>
   > Having any Java 8 version is not enough. <br>
   This app will not work with earlier versions of Java 8.
1. Type the command in the command box and press <kbd>Enter</kbd> to execute it. <br>
   e.g. typing **`help`** and pressing <kbd>Enter</kbd> will open the help window. 
2. To open the SampleData, type **`open`** and press <kbd>Enter</kbd>. Then choose the saved location of SampleData, which should end with *src\test\data\ManualTesting\SampleData.xml*
3. Some example commands you can try:
   * **`list`** : lists all activities
   * **`add`**` CS2103 T7A1 d/6 Oct 2016 p/2 r/5 Oct 2016 1800 t/teamC2` : 
     adds an activity named `CS2103 T7A1` to the Lifekeeper.
   * **`delete`**` 3` : deletes the 3rd activity shown in the current list
   * **`exit`** : exits the app
4. Refer to the [Description](#description) section below for details of the LifeKeeper.<br>


## Description


0. Each card in the bottom left panel is a task added to the LifeKeeper.
1. The LifeKeeper supports three types of entries:
* `Activity`
* `Task`
* `Event`
2. Activity is a floating task which must have a valid `NAME` and optional `[REMINDER]`.<br>
3. Task is a task which must have a valid `NAME` and either `[DUEDATE]` or [PRIORITY]`. `[REMINDER]` can also be entered together with the rest.<br>
4. Event is a task which must have a valid `NAME` and `[STARTTIME]` and optional `[ENDTIME]`. `[REMINDER]` can also be entered together with the rest.<br>
5. All task types can have optional `[TAG]`, each task accepts multiple tags. `Tags` are shown with `[]`. <br>
6. Colours of the background of the cards indicate the status of the task. 
* `Green: Task or Activity that is completed or Event that has passed. A text 'Completed' is shown to notify user of the completion of the task`
* `Yellow: Task with duedate that is due within three days. A text `Task Deadline Approaching` is also shown to notify user of the approaching deadline.`
* `Red: Task with a duedate that has passed and yet not marked as done. A text `Task Overdue` is also shown to reminder user of overdued task.`
* `White: The default colour indicating all other types of tasks.`
7. <img src="src/main/resources/images/priority3.png" width="15"> shown on the right side of the card indicates the important or priority of the task. There are four levels of priority 0, 1, 2, 3 which are indicated by the number of exclamation marks shown. Priority is only applicable to task but not activity or event. 


## Testing Commands

#### Testing Command: `help`

> Help window pops up
 
#### Testing Command: `add activity`

> A new activity is added to the top of the list with name `Activity` and `Reminder: -`.

#### Testing Command: `add buy food r/12-12-2016 1800 t/Family`

> A new activity is added to the top of the list with name `buy food`, tag `[Family]` and reminder `Reminder: Mon, Dec 12, 2016 6:00PM`.
> For all tasks with reminder, the reminder will automatically pop up at the scheduled time when the app is open.

#### Testing Command: `add do IE 3101 Tutorial d/today p/3 t/IE3101`

> A new task is added to the top of the list with name `do IE 3101 Tutorial`, duedate ` Due on (Today's Date) 11:59PM`, tag `[IE3101]` and <img src="src/main/resources/images/priority3.png" width="15">
> The colour of the background of the card will also turn yellow with the text `Task Deadline Approaching` shown on the right of the card.
<commit_msg>Edited the manual testing doc<commit_after># Test Script

* [Quick Start](#quick-start)
* [Description](#description)
* [Testing Commands](#Testing Commands)
* [Command Summary](#command-summary)

## Quick Start

0. Ensure you have Java version `1.8.0_60` or later installed in your Computer.<br>
   > Having any Java 8 version is not enough. <br>
   This app will not work with earlier versions of Java 8.
1. Type the command in the command box and press <kbd>Enter</kbd> to execute it. <br>
   e.g. typing **`help`** and pressing <kbd>Enter</kbd> will open the help window. 
2. To open the SampleData, type **`open`** and press <kbd>Enter</kbd>. Then choose the saved location of SampleData, which should end with *src\test\data\ManualTesting\SampleData.xml*
3. Some example commands you can try:
   * **`list`** : lists all activities
   * **`add`**` CS2103 T7A1 d/6 Oct 2016 p/2 r/5 Oct 2016 1800 t/teamC2` : 
     adds an activity named `CS2103 T7A1` to the Lifekeeper.
   * **`delete`**` 3` : deletes the 3rd activity shown in the current list
   * **`exit`** : exits the app
4. Refer to the [Description](#description) section below for details of the LifeKeeper.<br>


## Description

0. Each card in the bottom left panel is a task added to the LifeKeeper.
1. The LifeKeeper supports three types of entries:
* `Activity`
* `Task`
* `Event`
2. Activity is a floating task which must have a valid `NAME` and optional `[REMINDER]`.<br>
3. Task is a task which must have a valid `NAME` and either `[DUEDATE]` or [PRIORITY]`. `[REMINDER]` can also be entered together with the rest.<br>
4. Event is a task which must have a valid `NAME` and `[STARTTIME]` and optional `[ENDTIME]`. `[REMINDER]` can also be entered together with the rest.<br>
5. All task types can have optional `[TAG]`, each task accepts multiple tags. `Tags` are shown with `[]`. <br>
6. Colours of the background of the cards indicate the status of the task. 
* `Green: Task or Activity that has been marked as done, or an Event that has passed. A text 'Completed' or 'Event Over' is shown to notify user of the status of the task/event`
* `Yellow: Task with a deadline within three days. A text `Task Deadline Approaching` is also shown to notify user of the approaching deadline.`
* `Red: Task with a duedate that has passed and yet not marked as done. A text `Task Overdue` is also shown to reminder user of the overdue task.`
* `Blue`: Events that are ongoing. This is defined as an event with a start time before the current time, and an end time after the current time. A text `Event Ongoing` is shown to notify the user of the event status.
* `White: The default colour indicating all other types of tasks.`
7. <img src="src/main/resources/images/priority3.png" width="15"> shown on the right side of the card indicates the important or priority of the task. There are four levels of priority 0, 1, 2, 3 which are indicated by the number of exclamation marks shown. Priority is only applicable to task but not activity or event. 

## Loading saved data
* Method 1
1. Go to File > Open.
2. Navigate to the folder src > test > data > ManualTesting.
3. Choose the file SampleData.xml and click 'Open'.

* Method 2
1. Type open src/test/data/ManualTesting/SampleData.xml to load the sample data.

## Testing Commands

#### Testing Command: `help`

> Help window pops up
 
#### Testing Command: `add activity`

> A new activity is added to the top of the list with name `Activity` and `Reminder: -`.

#### Testing Command: `add buy food r/12-12-2016 1800 t/Family`

> A new activity is added to the top of the list with name `buy food`, tag `[Family]` and reminder `Reminder: Mon, Dec 12, 2016 6:00PM`.
> For all tasks with reminder, the reminder will automatically pop up at the scheduled time when the app is open.

#### Testing Command: `add do IE 3101 Tutorial d/today p/3 t/IE3101`

> A new task is added to the top of the list with name `do IE 3101 Tutorial`, duedate ` Due on (Today's Date) 11:59PM`, tag `[IE3101]` and <img src="src/main/resources/images/priority3.png" width="15">
> The colour of the background of the card will also turn yellow with the text `Task Deadline Approaching` shown on the right of the card.

{'fraction_non_alphanumeric': 0.09813617344998098, 'fraction_numerical': 0.026626093571700267, 'mean_word_length': 4.037037037037037, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 53, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '120558', 'n_tokens_mistral': 2474, 'n_tokens_neox': 2304, 'n_words': 1213}