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-8/

{
  "context": "Evaluates whether the solution uses lunar_python's HolidayUtil to build an override-aware holiday/workday schedule. Checks that official data, runtime patches, and navigation are driven by the package APIs instead of custom calendars.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Official fetch",
      "description": "Populates the baseline calendar via HolidayUtil.getHolidays(year) or HolidayUtil.getHoliday(...) rather than hardcoding holiday/workday dates.",
      "max_score": 25
    },
    {
      "name": "Override patching",
      "description": "Applies runtime adjustments with HolidayUtil.fix(...) and/or HolidayUtil.fixWorkday(...) to rename days or flip workday/holiday status before computing outputs.",
      "max_score": 25
    },
    {
      "name": "Holiday objects",
      "description": "Uses Holiday objects returned by the package (e.g., from getHolidays/getHoliday) and reads getName(), isWork(), and getTarget() for labels, workday flags, and anchor mapping instead of custom structures.",
      "max_score": 20
    },
    {
      "name": "Workday checks",
      "description": "Determines workday/holiday status through HolidayUtil.isWorkday(...) or Holiday.isWork() when evaluating day status and overrides.",
      "max_score": 15
    },
    {
      "name": "Next workday",
      "description": "Finds the next working date using package-aware navigation (HolidayUtil.nextWorkday(...) where available, or iterating dates with Solar/Solar.next + HolidayUtil.isWorkday) so patched rules drive navigation.",
      "max_score": 15
    }
  ]
}

Version

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