Skip to content

[T-112a] Trials list and experiment detail: design table with per-cell progress #180

Closed

Description

@CodewithJha

Task T-112a · Milestone M8 — Dashboard · Size S · Priority P1 · Epic #8

Implements FR-DSH-006

Branch feat/t-112a-trials-list-and-experiment-detail — one task = one branch = one PR (doc 32 §6)

Summary

Implement features/trials/list and detail: experiments table, design table (strategies × seeds × budget) with progress per cell and links to child campaigns.

Context / motivation

US-010: compare strategies.

Scope

In scope

  • Live progress via SSE bridge.

Out of scope

  • Creating experiments from the UI (CLI/API only in v1).

Implementation guidance

  • features/trials/list/TrialsPage.tsx: experiments StatTable (name, strategies, seeds, budget, status, progress); creating experiments points to the CLI docs (v1 scope).
  • features/trials/detail/ExperimentPage.tsx: design table strategies × seeds with per-cell status icons (done/running/failed) linking to child campaign consoles; overall progress.
  • Standards: respect the layering contracts (doc 16 §2) and conventions in doc 34; no hard-coded tunables — thresholds/defaults come from typed settings (doc 27); no magic numbers (ruff PLR2004); public APIs typed (mypy strict) and documented.

Acceptance criteria

  • Fixture experiment renders; cells link to campaigns.
  • Cells link to the correct campaign ids.
  • Feature flag trials hides the section.
  • Tests listed below added and green in CI; coverage of new code meets the gate in doc 18 §3.
  • Docs, config reference and CHANGELOG Unreleased updated where behaviour, keys or interfaces changed.
  • Definition of Done (doc 32 §3) satisfied.

Tests required

  • features/trials/*.test.tsx.

Dependencies

Blocked by: #165 (T-085d), #167 (T-086b)

Blocks: #181 (T-112b)

Parallelization notes

Files / paths owned by this task — avoid editing other paths; shared files (pyproject.toml entry points, cli/main.py, api/routers/__init__.py, router.tsx, docker/compose.yaml, ci.yml) are append-only:

  • web/src/features/trials/list/**
  • web/src/features/trials/detail/**

Parallel with T-112b.

Definition of Done

Per doc 32 §3 and AGENTS.md §5: lint, format, mypy strict and import-linter green; tests added and passing; docs updated; PR template completed with Closes #<this issue>; Conventional Commit messages referencing T-112a (doc 16 §6); commits authored only by the repository owner identity (AGENTS.md §4); CI green; reviewer checklist (doc 32 §5.1) satisfied.

References

Design docs: doc 13 §3.7 · doc 19 §4

Requirements: FR-DSH-006 (traceability: doc 28)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:dashboardReact web dashboardarea:experimentsExperiment runner and EXP-xx protocolsmilestone:M8M8 — Dashboardpriority:P1Required for milestone exitsize:S<= 1 daytaskChild task of a milestone epictype:featureNew functionality

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions