import { Badge } from "@/components/ui/badge" import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card" import { AlertTriangle, CheckCircle, Activity, ArrowUpRight } from "lucide-react" async function getData() { // In a real app, this would be an API call or DB query // For the prototype, we load the JSON generated by the python engine // Simulating fetch delay await new Promise(resolve => setTimeout(resolve, 100)) // Use environment variable with localhost fallback for development const apiUrl = process.env.LATENT_API_URL || 'http://localhost:3000' const res = await fetch(`${apiUrl}/data.json`, { cache: 'no-store' }) if (!res.ok) throw new Error('Failed to fetch data') return res.json() } export default async function Dashboard() { const signals = await getData() return (
Epistemic Divergence Monitor // Pharma Sector
Semaglutide, Tirzepatide, Liraglutide
Posts analyzed (Last 30d)
Semaglutide shows a 0.88 divergence on "Gastroparesis". Signal is absent from FDA label but high volume in Tier 5 sources.