Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/net-tech/test-track
A Discord bot with benchmarking and eval capabilities.
https://github.com/net-tech/test-track
Last synced: 3 days ago
JSON representation
A Discord bot with benchmarking and eval capabilities.
- Host: GitHub
- URL: https://github.com/net-tech/test-track
- Owner: net-tech
- License: mit
- Created: 2023-03-23T11:44:03.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-02T18:35:37.000Z (5 days ago)
- Last Synced: 2024-11-02T19:25:29.050Z (5 days ago)
- Language: TypeScript
- Homepage:
- Size: 1.39 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Test track
A Discord bot with benchmarking and eval capabilities.
## Commands
### `eval` (text command)
Evaluates JavaScript code.
### `/benchmark` (slash command)
Opens a model which accepts two code inputs and runs them against each other. The results are displayed once the benchmark is complete.
## Running the bot
A docker file is provided however not tested. We recommend you run this on a VPS and keep the process alive using a process manager such as PM2.
1. Copy the `.env.example` file to `.env` and fill in the values.
2. Run `pnpm install` to install the dependencies. If you do not have yarn
installed, run `npm install -g pnpm` to install it.
3. Build the project using `pnpm build`.
4. Start the bot using `pnpm start`. If you are using PM2, run `pm2 start
dist/index.js --time --name test-track`.