CtrlK
BlogDocsLog inGet started
Tessl Logo

vitron-ai/themis

Reference tile for Themis, a Node.js and TypeScript unit test framework designed for AI coding agents. Covers unit-test authoring, Jest/Vitest migration, agent-readable failure output with repair hints, and first-class integrations for Claude Code, Cursor, and generic agents.

96

2.69x
Quality

94%

Does it follow best practices?

Impact

97%

2.69x

Average score across 10 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

criteria.jsonevals/scenario-8/

{
  "context": "Tests whether the agent uses the correct Themis construct for each module (intent for the multi-step pipeline, test for the pure function), structures intent blocks with the proper ordered phases, includes the triple-slash reference directive in TypeScript files, and avoids Jest/Vitest primitives.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Triple-slash reference in pipeline test",
      "description": "document-parser.test.ts contains `/// <reference types=\"@vitronai/themis/globals\" />` as the first line",
      "max_score": 12
    },
    {
      "name": "Triple-slash reference in utility test",
      "description": "normalize-text.test.ts contains `/// <reference types=\"@vitronai/themis/globals\" />` as the first line",
      "max_score": 12
    },
    {
      "name": "intent() for DocumentParser",
      "description": "document-parser.test.ts uses `intent(...)` (not `test(...)`) for the DocumentParser pipeline test block",
      "max_score": 14
    },
    {
      "name": "test() for normalizeText",
      "description": "normalize-text.test.ts uses `test(...)` (not `intent(...)`) for the normalizeText check",
      "max_score": 14
    },
    {
      "name": "intent has context phase",
      "description": "The intent block in document-parser.test.ts includes a `context(...)` phase (or legacy `arrange(...)`)",
      "max_score": 8
    },
    {
      "name": "intent has run phase",
      "description": "The intent block in document-parser.test.ts includes a `run(...)` phase (or legacy `act(...)`)",
      "max_score": 8
    },
    {
      "name": "intent has assert/verify phase",
      "description": "The intent block in document-parser.test.ts includes an `assert(...)` or `verify(...)` phase",
      "max_score": 8
    },
    {
      "name": "No Jest/Vitest APIs in test files",
      "description": "Neither test file uses `describe(`, `it(`, `expect(`, or imports from `jest`, `@jest/globals`, `vitest`, or `@vitest/globals`",
      "max_score": 12
    },
    {
      "name": "Reference directive explained",
      "description": "AUTHORING_NOTES.md mentions the triple-slash reference directive and explains it provides global type access for Themis constructs",
      "max_score": 12
    }
  ]
}

tile.json