<commit_before>ChecklistDSL
============

Turns simple lists into webforms. Created in preparation for the NHShackday2012.

Setting Up
++++++++++

In the root directory of this project simply run::

    $ pip install -U requirements.txt

I prefer to do this in a virtualenv. If you don't know what a virtualenv is,
don't worry about it, simply prepend sudo to the command and enter your
password when asked so the software can install.

The DSL
+++++++

Here's what it should look like:

```
= A Heading =

// A comment that isn't rendered.

Some explanatory text at the start of the list.

This can be several paragraphs.

[] A single item in a checklist

Each item immediately below belongs to this comment.
[] Item 1
[] Item 2
[] Item 3

The following items are OR'd (rather than AND'd).
() Item 1
() Item 2
() Item 3

The following items have case insensitive roles assigned to them.
[] {doctor, nurse} Check the machine that goes ping.
[] {patient} Give consent.
[] {surgeon} Make the incision.
[] {cleaner} Tidy up the gore.
```<commit_msg>Updated README.rst<commit_after>ChecklistDSL
============

Turns simple lists into webforms. Created in preparation for the NHShackday2012.

Setting Up
++++++++++

In the root directory of this project simply run::

    $ pip install -U requirements.txt

I prefer to do this in a virtualenv. If you don't know what a virtualenv is,
don't worry about it, simply prepend sudo to the command and enter your
password when asked so the software can install.

The DSL
+++++++

Here's what it should look like:

```
    = A Heading =

    // A comment that isn't rendered.

    Some explanatory text at the start of the list.

    This can be several paragraphs.

    [] A single item in a checklist

    Each item immediately below belongs to this comment.
    [] Item 1
    [] Item 2
    [] Item 3

    The following items are OR'd (rather than AND'd).
    () Item 1
    () Item 2
    () Item 3

    The following items have case insensitive roles assigned to them.
    [] {doctor, nurse} Check the machine that goes ping.
    [] {patient} Give consent.
    [] {surgeon} Make the incision.
    [] {cleaner} Tidy up the gore.
```
{'fraction_non_alphanumeric': 0.0954356846473029, 'fraction_numerical': 0.009220839096357769, 'mean_word_length': 3.3313373253493013, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '439987', 'n_tokens_mistral': 662, 'n_tokens_neox': 593, 'n_words': 315}