Skip to content

Add benchmark CLI and moderated community uploads - #96

Closed
ashhart wants to merge 6 commits into
mainfrom
codex/community-benchmark-cli
Closed

ashhart wants to merge 6 commits into
mainfrom
codex/community-benchmark-cli

Conversation

@ashhart

@ashhart ashhart commented Sep 29, 2026 •

Copy link
Copy Markdown
Owner

Changes

  • Add tensorfold benchmark MODEL with packaged community-v1 fixtures, managed loopback serving, explicit download permission, cache isolation, warm-up, repeated sampled/greedy requests, and cancellation cleanup.
  • Save strict portable JSON receipts, retain failed/early-ended attempts, and separate client stream-delivery rates from server-reported rates.
  • Detect Mac/CUDA hardware and cached model revisions without serial numbers, hostnames, GPU UUIDs, private paths or generated text.
  • Add inspect, suites, token login/logout and opt-in publishing, with explicit consent, public checkpoint checks, verified HTTPS and no authenticated redirects.
  • Add the moderated upload API and benchmark board under community/worker, backed by SQLite Durable Object storage with an optional D1 handler.
  • Present results in a compact desktop table with sidebar filters and mobile result rows; use separate CLI/upload dialogs, measurement-first receipt details and the existing GitHub/X navigation.
  • Require scoped contributor tokens, recompute summaries, enforce atomic upload quotas, support immutable retries and withdrawal, and keep all new results pending review.

Verification

  • New model-free benchmark tests cover SSE framing/buffering/reasoning, failures, receipt validation, private-model rejection, credential handling, lifecycle and cancellation.
  • Existing hub and CUDA CLI tests pass alongside the new tests; two hardware-dependent cases are skipped.
  • Eight Worker tests execute the actual SQLite migration and route SQL, covering moderation, ownership, quotas, retry behavior, public-model lookup, the browser validator and storage adapter.
  • Packaged wheel includes all ten benchmark modules and exposes the installed command.
  • A real M5 Max run using public Qwen3.5-9B 4-bit completed every sample in the default 20-measurement suite.
  • The real Mac receipt was uploaded through the CLI to the live receiver, retained privately for review, retried idempotently, and confirmed inaccessible through the public results API before approval.
  • Local Worker end-to-end verification also exercised approval, public retrieval, withdrawal and cleanup.
  • Desktop/mobile board checks passed without JavaScript errors or document overflow.

Scope and limits

This is the initial single-request benchmark protocol, not the full future concurrency/cache/capacity suite. Community data remains self-reported. Contributor token issuance is administrator-controlled; GitHub sign-in is not claimed. Attached servers carry unknown hardware/revisions and remain unranked. No real CUDA GPU benchmark ran for this change.

The receiver is deployed at https://tensorfold.dev/benchmarks using the existing Cloudflare login, without adding D1 OAuth permissions. The normal install script still installs main; this CLI is available on the benchmark branch until merged.

Publication review

Reviewed the complete candidate tree, baseline history and outgoing commit, including image provenance and hidden-file classification. No confirmed unresolved privacy/Almas/secret findings remain in this branch scope. Three scanner matches are specifically reviewed synthetic token digests in tests; local Wrangler metadata, credentials and generated build/cache files are excluded. This is a snapshot-specific review, not a blanket privacy guarantee.

@ashhart ashhart closed this Oct 4, 2026
@ashhart
ashhart deleted the codex/community-benchmark-cli branch October 4, 2026 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant