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

{
  "context": "Evaluates whether the solution builds daily auspiciousness guidance by leaning on lunar_python's solar-to-lunar conversion and almanac helpers for directions, clashes, and activity recommendations. Checks that optional time-of-day refinement also relies on the library instead of manual tables.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Date conversion",
      "description": "Solar input is converted using lunar_python (e.g., Solar.fromYmd or Lunar.fromSolar) and optional times are mapped via Solar.fromYmdHms plus LunarTime.fromYmdHms to anchor all lookups on library data rather than manual calendars.",
      "max_score": 20
    },
    {
      "name": "Tai Sui",
      "description": "Tai Sui direction and description come directly from Lunar.getPositionTaiSui() and Lunar.getPositionTaiSuiDesc() without hardcoded tables.",
      "max_score": 20
    },
    {
      "name": "Deity directions",
      "description": "Joy, Yang Gui, Yin Gui, Fortune, and Wealth directions are populated via Lunar.getPositionXi(), Lunar.getPositionYangGui(), Lunar.getPositionYinGui(), Lunar.getPositionFu(sect=2), and Lunar.getPositionCai(sect=2).",
      "max_score": 20
    },
    {
      "name": "Clash info",
      "description": "Clash target and harmful direction are sourced using Lunar.getChong(), Lunar.getChongShengXiao(), and Lunar.getSha() rather than inferred manually.",
      "max_score": 15
    },
    {
      "name": "Day activities",
      "description": "Daily auspicious and inauspicious activities are fetched from Lunar.getYi() and Lunar.getJi(), ensuring outputs mirror the library's Almanac guidance.",
      "max_score": 15
    },
    {
      "name": "Time activities",
      "description": "When a time is provided, time-specific yi/ji lists are derived from LunarTime.fromYmdHms(...).getYi()/getJi() and surfaced separately from day-level guidance.",
      "max_score": 10
    }
  ]
}

Version

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