CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-fastcore

Python supercharged for fastai development

56

1.36x
Overview
Eval results
Files

rubric.jsonevals/scenario-10/

{
  "context": "This criteria evaluates how well the engineer uses fastcore's advanced caching capabilities, specifically flexicache() with custom eviction policies and timed_cache() for time-based invalidation. The focus is on proper usage of these caching utilities rather than implementing caching from scratch.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses timed_cache",
      "description": "Uses fastcore's timed_cache() decorator or function for implementing time-based cache expiration in fetch_with_cache()",
      "max_score": 30
    },
    {
      "name": "Uses flexicache",
      "description": "Uses fastcore's flexicache() decorator or function for implementing custom eviction policies in fetch_with_policy()",
      "max_score": 30
    },
    {
      "name": "Custom policy implementation",
      "description": "Correctly implements or uses a custom eviction policy function (e.g., time_policy() or mtime_policy()) that is passed to flexicache() and properly evaluates cache entry metadata",
      "max_score": 25
    },
    {
      "name": "Cache statistics tracking",
      "description": "Implements cache hit/miss statistics tracking that correctly counts when cached values are returned versus when fresh data is fetched",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-fastcore

tile.json