{
  "eval_id": 1,
  "eval_name": "orm-agent-spring-boot-jpa",
  "skill": "wiki-orm-agent",
  "prompt": "Detect and map the ORM entities in this Spring Boot project that uses JPA with PostgreSQL",
  "assertions": [
    {
      "text": "Both User AND Order are identified as @Entity classes — detected-entities.json lists class_name: 'User' and class_name: 'Order'",
      "passed": null,
      "evidence": null
    },
    {
      "text": "@Table(name) maps to table names 'users' and 'orders' respectively; User also carries schema='public' from @Table(schema=\"public\")",
      "passed": null,
      "evidence": null
    },
    {
      "text": "@OneToMany and @ManyToOne relationships are captured — detected-entities.json includes at least one one_to_many and one many_to_one relationship",
      "passed": null,
      "evidence": null
    },
    {
      "text": "Every relationship in detected-entities.json has a non-empty target_entity that names another extracted class — no blank target_entity strings",
      "passed": null,
      "evidence": null
    },
    {
      "text": "Mermaid erDiagram references real extracted tables at both endpoints — no '<table>_rel' placeholder, no phantom nodes",
      "passed": null,
      "evidence": null
    },
    {
      "text": "Mermaid erDiagram contains an edge between 'users' and 'orders' (either ||--o{ or }o--||) and uses 'users' and 'orders' as literal node names",
      "passed": null,
      "evidence": null
    },
    {
      "text": "Generated markdown has frontmatter with type='entity' and orm_profile='jpa'",
      "passed": null,
      "evidence": null
    },
    {
      "text": "mermaid_lint.js reports no syntax issues on the generated page",
      "passed": null,
      "evidence": null
    }
  ]
}
