OTAC automatically classifies offense descriptions into standardized categories. You provide a list of offense text strings in a CSV file, and OTAC returns a category for each one.
OTAC runs entirely on your computer. No data are ever sent to the internet. All processing is local and private.
| Requirement | Details |
|---|---|
| Computer | Windows 10 or later, or Mac (any model from 2016 or later) |
| Disk space | At least 6 GB free |
| RAM | At least 8 GB (16 GB recommended) |
| Internet | Required once during setup to download Docker and build OTAC |
| Time | About 20–30 minutes the first time. After that, OTAC starts in under 30 seconds. |
Docker is the technology that runs OTAC. You only need to install it once.
You need to know whether your computer uses an AMD64 (x64) or ARM64 processor. The vast majority of Windows computers — including nearly all office and home desktops and laptops — are AMD64.
How to check:
msinfo32 and press Enter| If System Type says… | Download this version |
|---|---|
x64-based PC | Docker Desktop for Windows — AMD64 |
ARM-based PC | Docker Desktop for Windows — ARM64 |
Tip: If you are unsure, choose AMD64 — it is correct for the vast majority of Windows computers.
| If it says… | Download this version |
|---|---|
| M1, M2, M3, or M4 | Docker Desktop for Mac — Apple Silicon |
| Intel | Docker Desktop for Mac — Intel Chip |
Tip: If your Mac was made in 2021 or later, it almost certainly has Apple Silicon (M1 or newer).
| Your computer | Download link |
|---|---|
| Windows — Intel or AMD Most office computers |
Download for Windows (AMD64) |
| Windows — ARM Newer Surface Pro X, Copilot+ PCs |
Download for Windows (ARM64) |
| Mac — Apple Silicon M1, M2, M3, or M4, made in 2021 or later |
Download for Mac (Apple Silicon) |
| Mac — Intel Made before 2021 |
Download for Mac (Intel) |
Windows:
Docker Desktop Installer.exe)Sign-in prompt: Docker may ask you to sign in or create an account. You do not need to sign in — click Skip or Continue without signing in. Docker Desktop is free to use without an account.
Windows Subsystem for Linux (WSL) warning: If you see a message during installation saying "Windows Subsystem for Linux installation is too old" or similar, open a new Command Prompt and run the command Docker suggests — typically
wsl --update. Press Enter, wait for it to finish, then restart Docker Desktop.
Mac:
.dmg fileSign-in prompt: Docker may ask you to sign in or create an account. You do not need to sign in — click Skip or Continue without signing in. Docker Desktop is free to use without an account.
You should have received a ZIP file called OTAC_Desktop.zip. Extract it to get a folder containing:
OTAC_Desktop/
docker-compose.yml Configuration file (do not edit)
Dockerfile.microsoft Configuration file (do not edit)
requirements-docker.txt Configuration file (do not edit)
otac-0.1.0-py3-none-any.whl OTAC software package (approximately 80 MB)
otac_sample.csv Sample data for testing (100 offenses)
OTAC_USER_GUIDE.html This guide (open in any browser)
Place this folder somewhere easy to find, such as your Desktop or Documents folder.
Choose a simple folder path. Avoid spaces or special characters in the path.
Good:
C:\Users\Jane\Documents\OTAC_DesktopAvoid:
C:\Users\Jane\My Files\OTAC (v2)!
To start or run OTAC, Docker Desktop must be running. Confirm the Docker whale icon is visible in your taskbar (bottom-right) and has stopped animating before continuing.
cd "C:\Users\YourName\Documents\OTAC_Desktop"
Not sure where you saved it? Search for OTAC_Desktop in File Explorer, right-click the folder, choose Properties, and look at the Location field.
docker info and pressing Enter. Docker will print several lines — scroll up in the command window to see if the block of text starts with the word Client:. If it does, Docker is ready. If you see an error, open Docker Desktop, wait for the whale icon to stop animating, and try again.docker compose up --build
First time only: The first build takes 20–30 minutes and requires an internet connection. You will see messages scrolling — this is normal. Do not close the terminal window until the build finishes.
Windows firewall prompt: During the first build, Windows may show a pop-up asking if you want to allow "Docker Desktop Backend" to communicate on public and private networks. Click Allow to continue.
When OTAC is ready, open http://localhost:8501 in your browser.
To start or run OTAC, Docker Desktop must be running. Confirm the Docker whale icon is visible in your menu bar (top-right) and has stopped animating before continuing.
cd ~/Documents/OTAC_Desktop
Not sure where you saved it? Search for OTAC_Desktop in Finder, right-click the folder, and choose Get Info to see the full path.
docker info and pressing Return. Docker will print several lines — scroll up in the Terminal window to see if the block of text starts with the word Client:. If it does, Docker is ready. If you see an error, open Docker Desktop, wait for the whale icon to stop animating, and try again.docker compose up --build
First time only: The first build takes 20–30 minutes and requires an internet connection. You will see messages scrolling — this is normal. Do not close the Terminal window until the build finishes.
When OTAC is ready, open http://localhost:8501 in your browser.
OTAC opens to the Single Coder tab by default. There are two tabs at the top of the page:
| Tab | What it does |
|---|---|
| Single Coder (default) | Type one offense description and OTAC predicts its category instantly — no file upload needed |
| Bulk Coder | Upload a CSV or XLSX file to classify many offenses at once — a table at a time |
Type an offense description into the text box. OTAC will display predicted categories immediately. Use this to test individual offenses or check a single case without preparing a file.
To classify a list of offenses, click the Bulk Coder tab first — the file upload option only appears there.
The OTAC_Desktop folder includes otac_sample.csv with 100 sample offense strings. Open the Bulk Coder tab and upload it to confirm everything is working before using your own data.
When you are finished, stop OTAC to free up memory on your computer.
docker compose down to remove containers and fully free memoryOTAC also stops automatically when you shut down or restart your computer. You do not need to stop it manually before shutting down.
Docker Desktop has not been installed. Follow the instructions in Step 1 to download and install it.
Docker Desktop is installed but not currently open.
Then run docker compose up --build again.
OTAC may still be loading. Wait 30–60 seconds and refresh your browser (press F5 on Windows or Cmd + R on Mac).
docker compose downCommon causes:
OTAC is provided as a free tool. BJS does not provide technical support. For detailed troubleshooting steps and command-line diagnostics, see the Command-Line Reference section of this guide.
This section provides detailed command-line instructions for starting, stopping, and troubleshooting OTAC. Use these steps any time you need more control or clearer error messages.
cmd and press EnterType this command (replace with your actual path):
cd C:\Users\YourName\Desktop\OTAC_Desktop
Press Enter
Example: If your username is "jsmith" and OTAC is on your Desktop:
cd C:\Users\jsmith\Desktop\OTAC_Desktop
Type:
docker info
Press Enter
If you see Docker information: Docker is running. Continue to Step 4.
If you see an error: Docker is not running. Start Docker Desktop:
docker info againType the following and press Enter:
docker compose up --build
The --build flag rebuilds the image if anything has changed. On first run this takes 20–30 minutes. Subsequent runs take under 30 seconds.
Keep the terminal window open. When you see output indicating the server is ready, open http://localhost:8501 in your browser.
docker compose down
Type this command and press Enter, replacing the path with where you extracted OTAC_Desktop:
cd ~/Documents/OTAC_Desktop
docker info
If you see Docker information: Docker is running. Continue to Step 4.
If you see an error: Open Docker Desktop from your Applications folder, wait for the whale icon to stop animating, then try again.
Type the following and press Enter:
docker compose up --build
Keep the Terminal window open. When ready, open http://localhost:8501 in your browser.
docker compose down
To see if OTAC is currently running, open Command Prompt (Windows) or Terminal (Mac) and type:
docker ps
If OTAC is running, you'll see a line with "otac_app" in it.
If OTAC is not running, you'll see only the header line (CONTAINER ID, IMAGE, etc.) with no containers listed.
If OTAC isn't working properly, you can view the logs:
docker compose logs
This shows all the messages from OTAC. Look for lines that say "ERROR" or "FAILED" — these indicate problems.
To see live logs as they happen:
docker compose logs -f
Press Ctrl + C to stop viewing logs.
"docker: command not found" or "'docker' is not recognized"
"Cannot connect to the Docker daemon"
"no configuration file provided"
cd command to navigate to the correct folder"port 8501 is already in use"
docker compose down)No. OTAC runs entirely on your local computer. Your offense data never leaves your machine.
Only during the very first setup (building the Docker image). After that, OTAC works completely offline.
Yes. Copy the entire OTAC_Desktop folder to each computer. Each computer needs Docker Desktop installed, and each will build the Docker image the first time (10–20 minutes per computer).
The version number is in the package filename: otac-0.1.0-py3-none-any.whl — the 0.1.0 is the version.
No. OTAC uses a model that runs on standard CPUs and does not require a graphics card.
| File size | Approximate time |
|---|---|
| 100 rows | 10–30 seconds |
| 1,000 rows | 1–3 minutes |
| 10,000 rows | 10–20 minutes |
Sometimes, but this depends on your network and security settings. If OTAC is running on one computer, another person may be able to access it from the same local network by opening:
http://[that-computer's-IP-address]:8501
However, this may not work on government, corporate, VPN, or managed networks. Firewalls, endpoint security tools, network segmentation, or blocked ports may prevent other computers from connecting.
For most users, the supported setup is to run OTAC locally on their own computer. Do not expose OTAC to a shared network unless your organization's IT or security team has approved that use.
The simplest format is a single-column CSV with just the offense text descriptions — one row per offense. With only one column, OTAC automatically selects it and you can go straight to clicking Compute Predictions.
If your existing data file has multiple columns, that works, too. After uploading, OTAC displays a dropdown listing all text columns — select the one containing the offense descriptions, then click Compute Predictions. Both .csv and .xlsx files are accepted.
No. Docker Desktop will start automatically at login (default behavior), but OTAC itself will not run until you open a terminal, navigate to the OTAC_Desktop folder, and run docker compose up --build.