<commit_before>Quill-Grammar
=============

To Develop on this project:

* Make a fork
* `npm install`
* `gem install sass`
* `gulp`

To Deploy this project:

Assuming, you are developing

* `gulp --env=prod`
* firebase deploy

Routes
======

* `/cms` - Admins can CRUD Categories, Rules, Rule Questions
* `/activities` - Teachers and Admins can see activities, make new ones, and edit existing ones. The list of activities is a link to play the activity.
* `/play/sw/:id` - Play the given id of the sentence writing activity.
<commit_msg>Add some firebase data notes<commit_after>Quill-Grammar
=============

To Develop on this project:

* Make a fork
* `npm install`
* `gem install sass`
* `gulp`

To Deploy this project:

Assuming, you are developing

* `gulp --env=prod`
* firebase deploy

Routes
======

* `/cms` - Admins can CRUD Categories, Rules, Rule Questions
* `/activities` - Teachers and Admins can see activities, make new ones, and edit existing ones. The list of activities is a link to play the activity.
* `/play/sw/:id` - Play the given id of the sentence writing activity.
* `/` - Will let you iterate over all rule questions.

Firebase Data
=============

The Firebase Data is relational. It has been migrated from CSV dumps from the older
Postgresql database. In [this repo](https://github.com/empirical-org/grammar-csv-import)
there are scripts to build the necessary JSON objects.

The entity lists are Firebase Objects. With known keys, this make it easier for a
browser to load only the elements it needs.

The data is split according to make importing and exporting JSON files to the Firebase
data store during the early development phase.

{'fraction_non_alphanumeric': 0.10497900419916016, 'fraction_numerical': 0.0, 'mean_word_length': 4.116564417177914, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3883435', 'n_tokens_mistral': 497, 'n_tokens_neox': 480, 'n_words': 230}