<commit_before># MLFQ Visualization

An interactive visualization tool for teaches operating systems students the Multilevel feeback queue scheduling algorithm


# Build instructions

## Prerequisites
- Nodejs 7.x.x or higher (https://nodejs.org/en/download/current/)
- npm (should come with node)
- webpack: `npm install -g webpack` (version doesn't matter)
- Windows or Linux (should work on OSX, but we haven't tested)

Install dependencies by running  

```
$ npm install
```

in the mlfq-viz directory

## Bundling script, css, and html

To create a build, run the following command in the mlfq-viz folder:

```
webpack
```

This will bundle and transpile resources outputing them in the dist folder. To allow webpack to watch source files and continuously rebuild each time a change is made, add a `-w` flag after the webpack command: `webpack -w`  

## Running a simple webserver and testing

mlfq-viz does not rely on any backend logic, however it is handy to have an HTTP server running to serve files in the dist folder.  
<commit_msg>fixup! Improve build instructions<commit_after># MLFQ Visualization

An interactive visualization tool for teaches operating systems students the Multilevel feeback queue scheduling algorithm


# Build instructions

## Prerequisites
- Nodejs 7.x.x or higher (https://nodejs.org/en/download/current/)
- npm (should come with node)
- webpack: `npm install -g webpack` (version doesn't matter) (sudo or admin privledges required)
- Windows or Linux (should work on OSX, but we haven't tested)

Install dependencies by running  

```
$ npm install
```

in the mlfq-viz directory

## Bundling script, css, and html

To create a build, run the following command in the mlfq-viz folder:

```
webpack
```

This will bundle and transpile resources outputing them in the dist folder. To allow webpack to watch source files and continuously rebuild each time a change is made, add a `-w` flag after the webpack command: `webpack -w`  

## Running a simple webserver and testing

mlfq-viz does not rely on any backend logic, however it is handy to have an HTTP server running to serve files in the dist folder.  

{'fraction_non_alphanumeric': 0.06756756756756757, 'fraction_numerical': 0.0009319664492078285, 'mean_word_length': 4.249388753056235, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '389117', 'n_tokens_mistral': 615, 'n_tokens_neox': 576, 'n_words': 302}