<commit_before>pydy-viz
========

Exploration of visualization for PyDy systems.

Installation
============

Probably easiest to install the main dependencies from your package manager,
e.g.:

$ apt-get python-numpy python-matplotlib

Download the source and then install with setuptools (this will pull in the
latest version of SymPy).

$ python setup.py install

Tests
=====

The Python tests require nose:


$ pip install nose coverage

nosetests -v --with-coverage --cover-package=pydy_viz

or run

bin/test

after nose is installed.<commit_msg>Updated readme for JS Tests<commit_after>pydy-viz
========

Exploration of visualization for PyDy systems.

Installation
============

Probably easiest to install the main dependencies from your package manager,
e.g.:

$ apt-get python-numpy python-matplotlib

Download the source and then install with setuptools (this will pull in the
latest version of SymPy).

$ python setup.py install

Tests
=====

The Python tests require nose:


$ pip install nose coverage

nosetests -v --with-coverage --cover-package=pydy_viz

or run

bin/test

after nose is installed.

For Javascript testing, Jasmine and blanket.js(code coverage) is used.
It is supplied with the source, 
to run Javascript tests ..
Go to directory pydy_viz/static/js
run a simple HTTP Server in python(some cross browser issues with blanket.js)

$ python -m SimpleHTTPServer

and visit http://localhost:8000/SpecRunner.html

in a webgl compliant browser.
{'fraction_non_alphanumeric': 0.08997955010224949, 'fraction_numerical': 0.0027266530334014998, 'mean_word_length': 4.377289377289378, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4276534', 'n_tokens_mistral': 438, 'n_tokens_neox': 418, 'n_words': 177}