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 Engine >= 24.0.6
  • Docker Compose >= 2.21.0 (included in Docker Desktop 4.25+)

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 >= 24.0.6 with Compose plugin
  • User added to docker group: sudo usermod -aG docker $USER (log out and back in after)

Verify Docker Setup

# Check Docker Engine version (need >= 24.0.6)
docker version --format '{{.Client.Version}}'

# Check Docker Compose version (need >= 2.21.0)
docker compose version --short

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

If your Docker Compose version is too old, update Docker Desktop or install the latest compose plugin:

# Linux: Update compose plugin
sudo apt-get update && sudo apt-get install docker-compose-plugin

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.24.tar.gz (169.9 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.24-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hte_cli-0.1.24.tar.gz
Algorithm Hash digest
SHA256 ccf6d70102e4ce2fa242c99133e1758bdae445e77791bc05665c2de7b0d9a446
MD5 b2d5d57563b1de43dc8677e55eb3619f
BLAKE2b-256 1dff33655dacdbd8e99cb2f5fb922f14309eb181de3b5f23892727712fe53d22

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for hte_cli-0.1.24-py3-none-any.whl
Algorithm Hash digest
SHA256 75cfd13923947444e07c5a6f81180ecc9b4382647c4a6cd1ac640bd4433daf00
MD5 b50f119e5f84d72ec7deb3fa583a8386
BLAKE2b-256 a4f798240b0ad6953c8249a730fb45d50c239675fb49438ddd2fef07e67dccac

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