https://github.com/rocity/enhance-confidence
Charting enhancements
https://github.com/rocity/enhance-confidence
Last synced: over 1 year ago
JSON representation
Charting enhancements
- Host: GitHub
- URL: https://github.com/rocity/enhance-confidence
- Owner: rocity
- Created: 2021-05-16T14:27:15.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-09T11:05:23.000Z (about 5 years ago)
- Last Synced: 2025-02-02T22:32:39.589Z (over 1 year ago)
- Language: Python
- Size: 19.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Enhancing Simulator with fancy result plotting
This code simulates accessory enhancing without crons.
It saves how many successful/failed attempts happened for each level.
## Stack
- Python3
- Sqlite3
## Requirements:
- [Pipenv](https://pipenv.pypa.io/en/latest/install/#pragmatic-installation-of-pipenv)
## Installation
1. `$ pipenv install`
## How to use
In `main.py`:
1. Update the config by uncommenting the line with `runner.simulate(100)`. Change the `100` to a number you want. This is how many simulations the code will run.
2. Run the code to simulate: `$ python main.py`
3. After the simulation finishes, you can view the results by **commenting** the `runner.simulate(100)` line and **uncommenting** the `runner.analyze()` line.
4. Run the code again to show result report: `$ python main.py`
*note: the simulator saves the result data into a `.sqlite3` file that serves as the database for the program.