GitHub 提交日报 · 2026-02-01

自动汇总 2026-02-01 当天 hummingg 在 GitHub 上的提交。

hummingg/ai-coding

  • feat(freedom): Enhance asset duration calculator with advanced features
    • Major improvements to the wealth freedom calculator:
    • Remove financial freedom multiple concept, focus on sustainability analysis
    • Add custom annual return rate and inflation rate parameters
    • Calculate real return rate using Fisher equation: (1+r)/(1+i)-1
    • Display asset duration in years with one decimal precision
    • Add yearly balance forecast showing asset trajectory over time
    • Support negative expenses to model income scenarios
    • Update UI labels: “支出设置” → “收支设置”
    • Change result display from progress tracking to sustainability analysis
    • Show “可永续使用” when annual income covers expenses
    • Technical changes:
    • New calculateYearsToDeplete() method with compound interest formula
    • New calculateYearlyBalances() method for year-by-year projections
    • Input type changed from “digit” to “number” to support negative values
    • Enhanced validation to accept either monthly or yearly expense data
    • Display net income vs net expense based on calculation results
    • Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com