<commit_before>ld-activity-spike
=================

This is a spike for [LEDITA](https://github.com/arpetti/LEDITA).

The purpose is to investigate how to render the Activities for a Learning Design using Angular.

Before going through the work of creating a real service to generate the Activities, this project defines a sample object model in [activity.json](app/data/activity.json). This allows for investigating what is the optimal object model to support the desired html.

## Setup Instructions

* Clone repo

* cd to project root and run ```node web-server.js```

* Open browser url [http://localhost:8000/app/index.html](http://localhost:8000/app/index.html)

## Change Data

* Edit [activity.json](app/data/activity.json) to see how changes in the data may affect the html.

Data was inspired from this [course outline](sample course outline: https://scs.senecac.on.ca/course/hwd101)

* If in doubt about whether changes to the json file are valid, run it through the [linter](http://jsonlint.com/)

## Change Rendering

* Edit [activity-view.html](app/partials/activity-view.html) to create a different view<commit_msg>fix url in readme<commit_after>ld-activity-spike
=================

This is a spike for [LEDITA](https://github.com/arpetti/LEDITA).

The purpose is to investigate how to render the Activities for a Learning Design using Angular.

Before going through the work of creating a real service to generate the Activities, this project defines a sample object model in [activity.json](app/data/activity.json). This allows for investigating what is the optimal object model to support the desired html.

## Setup Instructions

* Clone repo

* cd to project root and run ```node web-server.js```

* Open browser url [http://localhost:8000/app/index.html](http://localhost:8000/app/index.html)

## Change Data

* Edit [activity.json](app/data/activity.json) to see how changes in the data may affect the html.

Data was inspired from this [course outline](https://scs.senecac.on.ca/course/hwd101)

* If in doubt about whether changes to the json file are valid, run it through the [linter](http://jsonlint.com/)

## Change Rendering

* Edit [activity-view.html](app/partials/activity-view.html) to create a different view
{'fraction_non_alphanumeric': 0.1111111111111111, 'fraction_numerical': 0.009817045961624275, 'mean_word_length': 4.619047619047619, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '275417', 'n_tokens_mistral': 645, 'n_tokens_neox': 614, 'n_words': 255}