CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-supabase--supabase-js

Isomorphic JavaScript client for Supabase providing authentication, database, real-time, storage, and edge functions capabilities.

89

0.95x
Overview
Eval results
Files

rubric.jsonevals/scenario-2/

{
  "context": "This criteria evaluates how effectively the engineer uses @supabase/supabase-js comparison operators to filter database queries. The assessment focuses on proper usage of .eq(), .gt(), .gte(), .lt(), and .lte() methods in various filtering scenarios.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Equality filtering",
      "description": "Uses .eq() method correctly for exact match queries (getProductsByRating, getProductsByPrice, getOutOfStockProducts)",
      "max_score": 20
    },
    {
      "name": "Greater-than filtering",
      "description": "Uses .gt() method correctly for exclusive threshold queries (getProductsAbovePrice, getProductsWithStockAbove)",
      "max_score": 20
    },
    {
      "name": "Less-than filtering",
      "description": "Uses .lt() method correctly for exclusive upper bound queries (getLowRatedProducts)",
      "max_score": 15
    },
    {
      "name": "Less-than-or-equal filtering",
      "description": "Uses .lte() method correctly for inclusive upper bound queries (getProductsBelowOrAtPrice)",
      "max_score": 15
    },
    {
      "name": "Greater-than-or-equal filtering",
      "description": "Uses .gte() method correctly for inclusive lower bound queries (getHighlyRatedProducts, getProductsInPriceRange)",
      "max_score": 15
    },
    {
      "name": "Query chaining",
      "description": "Properly chains multiple comparison operators for range queries (getProductsInPriceRange uses both .gte() and .lte())",
      "max_score": 10
    },
    {
      "name": "Basic query structure",
      "description": "Uses correct query structure with .from('products').select() before applying filters",
      "max_score": 5
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-supabase--supabase-js

tile.json