<commit_before>SolidusAdminInsights
==============

Dashboard for querying and viewing you solidus store's metrics. Use SolidusEventTracker to capture the metrics

Installation
------------

Add solidus_admin_insights to your Gemfile:

```ruby
gem 'solidus_admin_insights', github: 'vinsol/solidus_admin_insights'
```

Bundle your dependencies and run the installation generator:

```shell
bundle
bundle exec rails g solidus_admin_insights:install
```

Testing
-------

First bundle your dependencies, then run `rake`. `rake` will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using `rake test_app`.

```shell
bundle
bundle exec rake
```
<commit_msg>added solidus event tracker in installation steps<commit_after>SolidusAdminInsights
==============

Dashboard for querying and viewing you solidus store's metrics. Use SolidusEventTracker to capture the metrics

Installation
------------

Ensure [SolidusEventTracker](https://github.com/vinsol/solidus_events_tracker) is installed.


Add solidus_admin_insights to your Gemfile:

```ruby
gem 'solidus_admin_insights', github: 'vinsol/solidus_admin_insights'
```

Bundle your dependencies and run the installation generator:

```shell
bundle
bundle exec rails g solidus_admin_insights:install
```

Testing
-------

First bundle your dependencies, then run `rake`. `rake` will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using `rake test_app`.

```shell
bundle
bundle exec rake
```

{'fraction_non_alphanumeric': 0.10502864417568428, 'fraction_numerical': 0.0, 'mean_word_length': 4.977186311787072, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2508645', 'n_tokens_mistral': 458, 'n_tokens_neox': 429, 'n_words': 176}