Implement index progression calculation and UI improvements#136
Implement index progression calculation and UI improvements#136Copilot wants to merge 6 commits intoindex-progressionfrom
Conversation
Deploying rainbow with
|
| Latest commit: |
eaf01ae
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://7494635a.rainbow-ctx.pages.dev |
| Branch Preview URL: | https://copilot-fix-index-progressio.rainbow-ctx.pages.dev |
577be0b to
221ad50
Compare
Co-authored-by: Amund211 <14028449+Amund211@users.noreply.github.com>
Co-authored-by: Amund211 <14028449+Amund211@users.noreply.github.com>
Co-authored-by: Amund211 <14028449+Amund211@users.noreply.github.com>
Co-authored-by: Amund211 <14028449+Amund211@users.noreply.github.com>
6870934 to
12ec583
Compare
|
@copilot Fix the rendering so that we don't display fractions in the index unless you have < 1 index, in which case we can show 1 fractional digit. Fix the TODO on the right to display progress per day broken down including actual progress, stars per day, long-time fkdr finals per day and final deaths per day. (just like the fkdr display only including stars per day as well e.g. |
Co-authored-by: Amund211 <14028449+Amund211@users.noreply.github.com>
Fixed in commit eaf01ae. The index stat now:
Screenshot showing AlgaeBluwum's index progression with the new functionality: |

The index stat (fkdr² × stars) was not implemented, causing 13 test failures. Index progression is complex because both fkdr and stars change over time, creating a cubic equation with potentially multiple roots.
Implementation
d(index)/dt = starsPerDay × fkdr² + 2 × stars × fkdr × d(fkdr)/dtto determine if index is increasing/decreasingExample
Test fixes
Math.abs(Infinity - Infinity)is NaN)UI Improvements
Conditional decimal rendering: Index values display 1 decimal place when < 1 (e.g., "0.1"), and no decimals when ≥ 1 (e.g., "199,759")
Progress breakdown display: Implemented detailed progress per day breakdown showing:
Example:
114.19/day (0.60 stars/day, 13.91 long-time FKDR, 33.45 finals/day, 2.41 final deaths/day)Screenshot
Index progression display showing new decimal rendering and progress breakdown:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.