fix(report): project annual sections and thicken dasha reading

完整数据版第二轮。年运章写出资料包里已有的节,没有数据的不新算。大运解释补回可能段落。瑜伽作用不再断言寿命。术语替换不进标识符。罗睺和计都不写守护第未列出宫。未合入 staging。
This commit is contained in:
jesse-ux
2026-10-08 22:30:32 +08:00
committed by Jesse_Chen
parent 25d067bf12
commit b8eef75871
14 changed files with 1148 additions and 165 deletions
+11
View File
@@ -670,6 +670,17 @@ def solar_return_full_report(
# 9. 综合总结
result['summary'] = _make_sr_summary(result)
# Keep the longitudes and chart already calculated above so the report
# pack can print them. This does not recompute the return.
if not degraded:
result['planet_lons'] = {
name: float(value)
for name, value in planet_lons.items()
if isinstance(value, (int, float)) and not isinstance(value, bool)
}
chart = sr.get('chart') if isinstance(sr, dict) else None
if isinstance(chart, dict):
result['chart'] = chart
return result