or run

npx @tessl/cli init
Log in

Version

Files

tile.json

rubric.jsonevals/scenario-7/

{
  "context": "This evaluation assesses how effectively an engineer uses the openapi-types package to work with OpenAPI metadata and documentation type definitions. The focus is on proper usage of InfoObject, ContactObject, LicenseObject, ServerObject, ExternalDocumentationObject, and TagObject types.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "InfoObject usage",
      "description": "Correctly uses OpenAPIV3.InfoObject type for the return value of buildApiInfo. The implementation properly constructs an object with required fields (title, description, version) and optional fields (contact, license, termsOfService) that conform to the InfoObject type definition.",
      "max_score": 25
    },
    {
      "name": "ContactObject integration",
      "description": "Correctly uses OpenAPIV3.ContactObject type or inline contact type when handling contact information. The implementation properly constructs contact objects with optional name, url, and email fields that integrate correctly with InfoObject.contact property.",
      "max_score": 15
    },
    {
      "name": "LicenseObject integration",
      "description": "Correctly uses OpenAPIV3.LicenseObject type or inline license type when handling license information. The implementation properly constructs license objects with required name field and optional url field that integrate correctly with InfoObject.license property.",
      "max_score": 15
    },
    {
      "name": "ServerObject usage",
      "description": "Correctly uses OpenAPIV3.ServerObject type for the return value of buildServerConfig. The implementation properly constructs an object with required url field and optional description field that conform to the ServerObject type definition.",
      "max_score": 15
    },
    {
      "name": "ExternalDocumentationObject usage",
      "description": "Correctly uses OpenAPIV3.ExternalDocumentationObject type for the return value of buildExternalDocs. The implementation properly constructs an object with required url field and optional description field that conform to the ExternalDocumentationObject type definition.",
      "max_score": 15
    },
    {
      "name": "TagObject usage",
      "description": "Correctly uses OpenAPIV3.TagObject type for the return value of buildTag. The implementation properly constructs an object with required name field, optional description field, and optional externalDocs field (of type ExternalDocumentationObject) that conform to the TagObject type definition.",
      "max_score": 15
    }
  ]
}