tessl install tessl/pypi-lunar-python@1.4.0Comprehensive 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%
{
"context": "Evaluates whether the solution uses lunar_python’s seasonal tradition APIs to populate ShuJiu, Fu (sanfu), WuHou pentads, and YueXiang moon phases for given Gregorian dates. Scoring focuses solely on correct package calls and extracting the right fields from returned objects for the normalized report.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Date anchoring",
"description": "Creates calendar instances via lunar_python (e.g., Solar.fromYmd(...).getLunar() or Lunar.fromYmd(...)) rather than manual date math before fetching seasonal details.",
"max_score": 20
},
{
"name": "ShuJiu info",
"description": "Uses Lunar.getShuJiu() and reads ShuJiu.getName()/getIndex() to fill the winter-count name and 1-based day index when present, returning null otherwise.",
"max_score": 20
},
{
"name": "Sanfu info",
"description": "Uses Lunar.getFu() and reads Fu.getName()/getIndex() (or toFullString parsed) to produce the dog-days period label and day index, omitting the field when no Fu period applies.",
"max_score": 20
},
{
"name": "WuHou lookup",
"description": "Retrieves the pentad phrase through Lunar.getWuHou() (or Lunar.getHou() if mapped) and surfaces it unchanged in the report for the requested date.",
"max_score": 20
},
{
"name": "Moon phase",
"description": "Populates the moon-phase string directly from Lunar.getYueXiang(), ensuring the report carries the package’s phase text (e.g., 望/朔/上弦/下弦).",
"max_score": 20
}
]
}