pilot_dashboard

package
v1.5.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

README

Dashboard Testing

Test the Pilot Protocol dashboard with seeded data.

Quick Start

./tests/pilot_dashboard/run-dashboard.sh

Dashboard available at: http://127.0.0.1:8080

Press Ctrl+C to stop.

Alternative (Go Test)

go test -v -run TestRunDashboardWithSeed -timeout=0 ./tests/pilot_dashboard

What You Get

  • 10 test nodes with hostnames (ml-gpu-1, webserver-1, etc.)
  • Multiple tags (ml, gpu, webserver, database, etc.)
  • 5 task executor nodes
  • 10 trust relationships between nodes
  • POLO scores ranging from 30 to 150 for reputation testing

Dashboard Features

Filtering
  • Tag filter: Search nodes by tag
  • Tasks only: Show only task executor nodes
  • Online only: Show only online nodes
Sorting
  • By Address (default)
  • By POLO Score (High-Low or Low-High)
  • By Trust Links (High-Low)
  • By Status (Online first)
POLO Score Display
  • Color-coded scores: Green (≥50), Blue (≥0), Gray (<0)
  • Visible in dedicated column for easy comparison

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SeedRegistry

func SeedRegistry(registryAddr string) error

SeedRegistry populates a registry with test nodes, tags, and trust relationships for dashboard testing purposes.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL