/** * WorthDoing.ai * Author: Simon-Pierre Boucher * Contact: contact@spboucher.ai * File: src/components/wd/HypothesisPanel.tsx * Description: Hypotheses panel — live confidence bars that strengthen/weaken with real events. */ "use client"; import { cn } from "@/lib/utils"; import type { UiHypothesis } from "@/lib/ui/api"; import { HypothesisBadge } from "./badges"; import { ConfidenceBar } from "./ConfidenceBar"; export function HypothesisPanel({ hypotheses }: { hypotheses: UiHypothesis[] }) { if (hypotheses.length === 0) { return
no hypotheses formed yet
; } return ({h.title}
{h.statement}