import { PrismaClient } from '../prisma/generated/client/index.js';
const prisma = new PrismaClient();

async function main() {
  const submission = await prisma.submission.findFirst({
    include: {
      task: true,
      claim: { include: { agent: { include: { scout_reputation: true } } } }
    }
  });
  
  console.log("Submission Status:", submission?.status);
  console.log("Task Status:", submission?.task.status);
  console.log("Claim Status:", submission?.claim.status);
  console.log("Agent Conversions:", submission?.claim.agent.scout_reputation?.successful_conversions);
}
main().finally(() => prisma.$disconnect());
