<commit_before># leeps-challenge

Programming problem for application to UCSC LEEPS Lab Programmer position.

## Overview

This project is a web page written in HTML5, CSS, Javascript. It shows some programming ability, but is also largely a demonstration of my awareness that good design is important. I tried to make the page very user friendly with large, orgizational decisions intended to keep the page layout from being overwhelming. Also, on a smaller scale I did things like bind the spacebar to the start/pause button and hide the mathematical payoff function for users not interested in the comlpexities behind the demo. This is not the pinnacle of my programming ability, but I feel those touches are some of the most important to making this webpage objectively user-friendly.


## Acknowledgements
This project uses the following frameworks/libraries:
* jQuery
* jQuery UI
* Bootstrap (3)
  * This project is adapted from [Start Bootstrap](http://startbootstrap.com/)'s [Landing Page](http://startbootstrap.com/template-overviews/landing-page/) template.
    * The template is used in accordance with the its [license](http://www.apache.org/licenses/LICENSE-2.0).
    * The template uses several more libraries that were not mentioned here for brevity. For more info, see the template documentation.
* Flot
  * This library is used to plot the data in a line graph.
* jQuery UI Slider Pips
  * This project is used to generate, customize, and interact with the slider bar where the user enters their guess.

All images included are used in accordance with their licences.
* The bottom banner image (Autumn leaves) is from [Stocksnap.io](https://stocksnap.io/photo/2751159434) where it was uploaded by <NAME>.
  * The image is under a Creative Commons CCO license.


## Features implemented

#### Requirements
1. A value that varies stochastically over time, bounded between 0 and 1.
2. A user selected value between 0 and 1.
3. Calculate the user's payoff using the following function: profit = (1 - (UserValue - StochasticValue)<sup>2</sup>)
4. Implement the ability to start, stop and reset the random process.
5. Implement some user interface to select the user value, and see current profit (but default hide stochastic value).
6. Track and show cumulative profits over time.

#### Extras
* Plot time series of user values
* Plot times series of stochastic values.
* Plot current and/or total payoffs.

<commit_msg>README update 4<commit_after># leeps-challenge

Programming problem for application to UCSC LEEPS Lab Programmer position.

## Overview

This project is a web page written in HTML5, CSS, Javascript. It shows some of my programming ability, but is also largely a demonstration of my design sense. I tried to make the page user friendly with large, orgizational decisions intended to keep the page layout from being overwhelming. Also, on a smaller scale I did things like bind the spacebar to the start/pause button for convenience and hide the mathematical payoff function for users not interested in the complexities behind the demo. This is not the pinnacle of my programming ability, but I feel those touches are some of the most important to making this webpage objectively user-friendly.


## Acknowledgements
This project uses the following frameworks/libraries:
* jQuery
* jQuery UI
* Bootstrap (3)
  * This project is adapted from [Start Bootstrap](http://startbootstrap.com/)'s [Landing Page](http://startbootstrap.com/template-overviews/landing-page/) template.
    * The template is used in accordance with the its [license](http://www.apache.org/licenses/LICENSE-2.0).
    * The template uses several more libraries that were not mentioned here for brevity. For more info, see the template documentation.
* Flot
  * This library is used to plot the data in a line graph.
* jQuery UI Slider Pips
  * This project is used to generate, customize, and interact with the slider bar where the user enters their guess.
  * More information can be found [here](https://github.com/simeydotme/jQuery-ui-Slider-Pips).

All images included are used in accordance with their licences.
* The bottom banner image (Autumn leaves) is from [Stocksnap.io](https://stocksnap.io/photo/2751159434) where it was uploaded by <NAME>.
  * The image is under a Creative Commons CCO license.


## Features implemented

#### Requirements
1. A value that varies stochastically over time, bounded between 0 and 1.
2. A user selected value between 0 and 1.
3. Calculate the user's payoff using the following function: profit = (1 - (UserValue - StochasticValue)<sup>2</sup>)
4. Implement the ability to start, stop and reset the random process.
5. Implement some user interface to select the user value, and see current profit (but default hide stochastic value).
6. Track and show cumulative profits over time.

#### Extras
* Plot time series of user values
* Plot times series of stochastic values.
* Plot current and/or total payoffs.


{'fraction_non_alphanumeric': 0.06281559280953343, 'fraction_numerical': 0.010704908099373864, 'mean_word_length': 4.359307359307359, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 3, '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': '1103877', 'n_tokens_mistral': 1293, 'n_tokens_neox': 1212, 'n_words': 687}