Comprehensive Chinese lunar calendar library with Solar calendar conversion and traditional Chinese calendar features.
79
{
"context": "Evaluates how well the solution uses lunar_python to build the human-readable solar/lunar summary described in the spec, including conversions, cyclical data, NaYin, zodiac animals, weekdays, and Western zodiac. Scoring only considers correct and direct use of the library APIs, not general code quality.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Calendar creation",
"description": "Creates Gregorian inputs with Solar.fromYmd/fromYmdHms and lunar inputs with Lunar.fromYmd/fromYmdHms, converting between them via getLunar/getSolar instead of manual calendars or custom tables.",
"max_score": 15
},
{
"name": "Weekday lookup",
"description": "Derives weekday names from Solar.getWeek/getWeekInChinese (or equivalent Solar weekday helpers) rather than recomputing weekday math.",
"max_score": 5
},
{
"name": "Western zodiac",
"description": "Uses Solar.getXingZuo to obtain the Western zodiac sign for the Gregorian date instead of hand-coded range checks.",
"max_score": 10
},
{
"name": "GanZhi cycles",
"description": "Populates year/month/day/time stem-branch labels via Lunar.getYearInGanZhi, Lunar.getMonthInGanZhi, Lunar.getDayInGanZhi, and Lunar.getTimeInGanZhi (or LunarTime.getGanZhi) rather than manual concatenation.",
"max_score": 20
},
{
"name": "NaYin set",
"description": "Retrieves NaYin for year, month, day, and time through Lunar.getYearNaYin, Lunar.getMonthNaYin, Lunar.getDayNaYin, and Lunar.getTimeNaYin without recreating NaYin tables.",
"max_score": 20
},
{
"name": "Year animal",
"description": "Pulls the Chinese zodiac animal from Lunar.getYearShengXiao (or related getter) instead of embedding custom mappings.",
"max_score": 10
},
{
"name": "Lunar text",
"description": "Uses Lunar.getMonthInChinese, Lunar.getDayInChinese, and leap-month awareness from the library to render the lunar date text rather than constructing Chinese numerals manually.",
"max_score": 10
},
{
"name": "Value reuse",
"description": "Builds both standard and compact outputs from the same library-derived values (no duplicate calculations or hardcoded fallbacks that bypass lunar_python).",
"max_score": 10
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-lunar-pythondocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10