Skip to main content

Human Time-to-Completion Evaluation CLI

Project description

hte-cli

Human Time-to-Completion Evaluation CLI - A tool for running assigned cybersecurity tasks with timing and result tracking.

Installation

# Recommended (pipx)
pipx install hte-cli

# Or with pip
pip install hte-cli

Quick Start

  1. Login (get credentials from your coordinator):

    hte-cli auth login
    
  2. View your assigned tasks:

    hte-cli tasks list
    
  3. Run a task:

    hte-cli tasks run
    

Commands

  • hte-cli auth login - Authenticate with the API
  • hte-cli auth status - Check authentication status
  • hte-cli tasks list - List your pending tasks
  • hte-cli tasks run [TASK_ID] - Run a task (defaults to highest priority)
  • hte-cli tasks pull-images - Pre-pull Docker images for upcoming tasks
  • hte-cli version - Show version info

System Requirements

All Platforms

  • Python 3.11+
  • Docker with Docker Compose v2

Windows

  • Docker Desktop with WSL2 backend enabled
  • WSL2 installed and configured (Microsoft docs)

macOS

  • Docker Desktop (Intel or Apple Silicon)
  • Note: Apple Silicon (M1/M2/M3) runs x86 containers via emulation - expect slightly slower performance

Linux

  • Docker Engine 20.10+
  • User added to docker group: sudo usermod -aG docker $USER (log out and back in after)

Verify Docker Setup

# Check Docker is running
docker --version

# Check Docker Compose v2
docker compose version

# Test container can start
docker run --rm hello-world

Configuration

Set HTE_API_URL environment variable to use a custom API endpoint:

export HTE_API_URL="http://your-server.com/api/v1/cli"

Support

For issues, contact your study coordinator or open an issue at: https://github.com/sean-peters-au/lyptus-mono


Developer Notes

This CLI is a thin wrapper with no consequential research decisions. It:

  • Wraps Inspect AI's human_cli agent for task execution
  • Syncs results to the backend API
  • Handles authentication via OAuth-style code exchange

The research-relevant code lives elsewhere:

  • Task sampling: scripts/sample_tasks_for_trials.py
  • Scoring criteria: src/human_ttc_eval/datasets/*/
  • Methodology: docs/methodology/human-expert-methodology-guide.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hte_cli-0.1.7.tar.gz (163.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hte_cli-0.1.7-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file hte_cli-0.1.7.tar.gz.

File metadata

  • Download URL: hte_cli-0.1.7.tar.gz
  • Upload date:
  • Size: 163.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.6

File hashes

Hashes for hte_cli-0.1.7.tar.gz
Algorithm Hash digest
SHA256 2777691669dc0c97519ccfd8da9067c16d0a0587524d21ded0dea925daa33062
MD5 999f109fd1cba364751d442afe7045bd
BLAKE2b-256 7df322234f50bdc19c64d7b90c2fa9eefdc4a5be55a5ff14098a3b79bf19d381

See more details on using hashes here.

File details

Details for the file hte_cli-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: hte_cli-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.6

File hashes

Hashes for hte_cli-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a4f1f5e7191fd80472ce0479631f9117dc706fbb6fb2e54d68cdb0a27237f264
MD5 f9914ef4a0fab215a15dcd17030ef3ed
BLAKE2b-256 ce5d528ea6b4d8778a17fb7782d15497d801b686200a8f4efff6d5f0c3eefe88

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page