CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-lunar-python

Comprehensive Chinese lunar calendar library with Solar calendar conversion and traditional Chinese calendar features.

79

0.89x
Overview
Eval results
Files

rubric.jsonevals/scenario-10/

{
  "context": "Evaluates how well the solution leverages lunar_python's solar term utilities to report active Jie/Qi terms, navigate neighbors, and build the annual term table. Also checks that Hou/WuHou pentad descriptions come from the package instead of reimplemented calendars.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "JieQi table",
      "description": "Builds the 24-term annual schedule directly from package data (e.g., Lunar.getJieQiTable() or getJieQiList()) instead of manual date lists, preserving package-provided timestamps.",
      "max_score": 25
    },
    {
      "name": "Active term",
      "description": "Uses Lunar.fromYmd/Lunar.fromSolar plus Lunar.getJieQi() with neighboring lookups (getNextJieQi/getPrevJieQi) to surface current/previous/next terms rather than computing boundaries manually.",
      "max_score": 20
    },
    {
      "name": "Typed traversal",
      "description": "Retrieves next/previous Jie or Qi specifically via Lunar.getNextJie/getPrevJie and Lunar.getNextQi/getPrevQi when differentiating term types, not by filtering ad hoc.",
      "max_score": 15
    },
    {
      "name": "Hou/WuHou data",
      "description": "Reports pentad index and description using the built-in phenology helpers (Lunar.getHou() and Lunar.getWuHou() or the equivalent Solar helpers) instead of custom 72-term tables.",
      "max_score": 25
    },
    {
      "name": "JieQi objects",
      "description": "Extracts names and timestamps from package-provided JieQi objects (e.g., via JieQi.getName() and JieQi.getSolar().toYmd()/toYmdHms()) to ensure outputs match library data and ordering.",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-lunar-python

tile.json