# Third-Party Notices and Licenses

This document records third-party software components and licenses used by the Koyomi Days Vietnamese Giỗ research prototype (`koyomidays/src/pages/vn-gio/` and `koyomidays/engine/`).

---

## 1. Astronomy Engine (Python)

- **Package**: `astronomy-engine`
- **Version**: `2.1.19` (pinned)
- **Author**: Don Cross <cosinekitty@gmail.com>
- **Source**: https://github.com/cosinekitty/astronomy / PyPI
- **Distribution**: PyPI package `astronomy-engine==2.1.19`
- **Wheel SHA-256 (Pinned)**: `232ba7dd2bbf42225c48be6721b676e8c6c079dbd4588d2781dfa68adcb6f67f`
- **Installation**: Installed via pip with hash check (`pip install astronomy-engine==2.1.19 --hash=sha256:232ba7dd...`). Binary wheel is omitted from git repository.
- **Engine Script**: `koyomidays/engine/lunar_engine.py`
- **Engine Script SHA-256**: `2d4b1bf9b4fc7ccee985d365a389839808782397909c153bd0091f0a6c1137dd`
- **License**: MIT License

### License Text

```
MIT License

Copyright (c) 2019-2022 Don Cross <cosinekitty@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```

### Provenance and Intellectual Property Boundary

- The calculation engine is independently authored using only `astronomy-engine 2.1.19` primitives (new moon phase search, December solstice, and solar longitude roots).
- **No code, tables, coefficients, or ports from Ho Ngoc Duc (HND) are used.**
- Baseline validation (G2): Engine output at UTC+8 was verified against official Hong Kong Observatory (HKO) tables 2026-01-01 through 2030-12-31 (1,826/1,826 days match, 0 mismatch).
- Vietnamese UTC+7 output is theoretical independent astronomical calculation and currently marked unverified against official Vietnamese state tables.

---

## 2. Hong Kong Observatory Astronomical Calendars (Test Fixture)

- **Source**: Hong Kong Observatory (香港天文台), The Government of the Hong Kong Special Administrative Region
- **URL**: https://www.hko.gov.hk/tc/gts/time/calendar/text/files/T{year}c.txt
- **Years**: 2026–2030 (Gregorian-to-Lunar Conversion Tables)
- **Directory**: `koyomidays/engine/bench/`
- **Usage**: Committed test fixtures for G2 engine benchmark verification (UTC+8).
