{
  "eval_id": 3,
  "eval_name": "orm-agent-sqlalchemy",
  "skill": "wiki-orm-agent",
  "prompt": "Detect and map the ORM entities in this Python project that uses SQLAlchemy with PostgreSQL. The project has a single models.py file declaring multiple entities that inherit from a shared declarative Base.",
  "assertions": [
    {"text": "Every class that inherits from the declarative Base is identified as an entity", "passed": null, "evidence": null},
    {"text": "Each entity's table_name matches its own __tablename__ assignment (R3 per-class windowing)", "passed": null, "evidence": null},
    {"text": "relationship() declarations have type AND target_entity populated (T1)", "passed": null, "evidence": null},
    {"text": "ForeignKey() declarations resolve to a target table name (not 'table.column') (T1)", "passed": null, "evidence": null},
    {"text": "detected-entities.json serializes each relationship as {type, target_entity} (T2, not a bare kind string)", "passed": null, "evidence": null},
    {"text": "Mermaid erDiagram has edges between real tables (users↔orders, users↔roles) with NO _rel placeholders", "passed": null, "evidence": null},
    {"text": "mermaid_lint passes", "passed": null, "evidence": null}
  ]
}
