CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/pypi-lunar-python

tessl install tessl/pypi-lunar-python@1.4.0

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

Agent Success

Agent success rate when using this tile

79%

Improvement

Agent success rate improvement when using this tile compared to baseline

0.9x

Baseline

Agent success rate without this tile

88%

rubric.jsonevals/scenario-7/

{
  "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
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/lunar-python@1.4.x
tile.json