<commit_before>Formulus
========

> “If debugging is the process of removing software bugs,
>  then programming must be the process of putting them
>  in.”  
> –- <NAME>

The application is available at:
[https://mpetruska.github.io/formulus/](https://mpetruska.github.io/formulus/)  
(by the courtesy of [GitHub Pages](https://pages.github.com/))

This project is created for the purpose of helping you creating
simple shareable calculations (and not only because the humble
author enjoys working with [PureScript](http://www.purescript.org/)).

Creating calculations
---------------------

<img src="https://raw.githubusercontent.com/mpetruska/formulus/master/screenshots/tutorial_001.jpg" width="500" />

<img src="https://raw.githubusercontent.com/mpetruska/formulus/master/screenshots/tutorial_002.jpg" width="500" />

<img src="https://raw.githubusercontent.com/mpetruska/formulus/master/screenshots/tutorial_003.png" width="500" />

<img src="https://raw.githubusercontent.com/mpetruska/formulus/master/screenshots/tutorial_004.png" width="500" />

<img src="https://raw.githubusercontent.com/mpetruska/formulus/master/screenshots/tutorial_005.jpg" width="500" />

<img src="https://raw.githubusercontent.com/mpetruska/formulus/master/screenshots/tutorial_006.jpg" width="500" />

Only the four basic mathematical operations (and parentheses) are
recognized by the formula parser at the moment.

How to share your calculations
------------------------------

Once your worksheet is ready all the components that make up the
calculation (inputs and calculations) are encoded in the fragment
identifier of the url
(e.g. `#!i:km:km:2500.0,i:litres%20per%20100%20km:c:7.5,c:total%20consumption:total:km*c%2F100.0:1`).
All you need to do is to copy or bookmark the whole url
(e.g. [https://mpetruska.github.io/formulus/#!i:km:km:2500.0,i:litres%20per%20100%20km:c:7.5,c:total%20consumption:total:km*c%2F100.0:1](https://mpetruska.github.io/formulus/#!i:km:km:2500.0,i:litres%20per%20100%20km:c:7.5,c:total%20consumption:total:km*c%2F100.0:1)),
opening the link in a browser
makes the application re-load the worksheet. Be aware that the
current values of the input fields are also encoded.

Feature requests and bugs
-------------------------

Please report the here:
[https://github.com/mpetruska/formulus/issues](https://github.com/mpetruska/formulus/issues)
<commit_msg>updates README with min and max<commit_after>Formulus
========

> “If debugging is the process of removing software bugs,
>  then programming must be the process of putting them
>  in.”  
> –- <NAME>

The application is available at:
[https://mpetruska.github.io/formulus/](https://mpetruska.github.io/formulus/)  
(by the courtesy of [GitHub Pages](https://pages.github.com/))

This project is created for the purpose of helping you creating
simple shareable calculations (and not only because the humble
author enjoys working with [PureScript](http://www.purescript.org/)).

Creating calculations
---------------------

<img src="https://raw.githubusercontent.com/mpetruska/formulus/master/screenshots/tutorial_001.jpg" width="500" />

<img src="https://raw.githubusercontent.com/mpetruska/formulus/master/screenshots/tutorial_002.jpg" width="500" />

<img src="https://raw.githubusercontent.com/mpetruska/formulus/master/screenshots/tutorial_003.png" width="500" />

<img src="https://raw.githubusercontent.com/mpetruska/formulus/master/screenshots/tutorial_004.png" width="500" />

<img src="https://raw.githubusercontent.com/mpetruska/formulus/master/screenshots/tutorial_005.jpg" width="500" />

<img src="https://raw.githubusercontent.com/mpetruska/formulus/master/screenshots/tutorial_006.jpg" width="500" />

Operations:
- negation (`-` prefix)
- mathematical base operators (`+`, `-`, `*`, `/`)
- "min" and "max" as binary functions (form: `min(x, y)` and `max(x, y)`)

How to share your calculations
------------------------------

Once your worksheet is ready all the components that make up the
calculation (inputs and calculations) are encoded in the fragment
identifier of the url
(e.g. `#!i:km:km:2500.0,i:litres%20per%20100%20km:c:7.5,c:total%20consumption:total:km*c%2F100.0:1`).
All you need to do is to copy or bookmark the whole url
(e.g. [https://mpetruska.github.io/formulus/#!i:km:km:2500.0,i:litres%20per%20100%20km:c:7.5,c:total%20consumption:total:km*c%2F100.0:1](https://mpetruska.github.io/formulus/#!i:km:km:2500.0,i:litres%20per%20100%20km:c:7.5,c:total%20consumption:total:km*c%2F100.0:1)),
opening the link in a browser
makes the application re-load the worksheet. Be aware that the
current values of the input fields are also encoded.

Feature requests and bugs
-------------------------

Please report the here:
[https://github.com/mpetruska/formulus/issues](https://github.com/mpetruska/formulus/issues)

{'fraction_non_alphanumeric': 0.16988577362409138, 'fraction_numerical': 0.044859813084112146, 'mean_word_length': 4.587006960556844, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 25, 'https://': 26, 'lorem ipsum': 0, 'www.': 2, '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': '433724', 'n_tokens_mistral': 1770, 'n_tokens_neox': 1607, 'n_words': 360}