Skip to content

Instantly share code, notes, and snippets.

@patwooky
Last active March 6, 2025 05:51
Show Gist options
  • Save patwooky/a44a3ac5e86833e198d667cf36323829 to your computer and use it in GitHub Desktop.
Save patwooky/a44a3ac5e86833e198d667cf36323829 to your computer and use it in GitHub Desktop.
One Percent Every Day
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

One Percent Improvement Every Day

python 3.11

I came across the above phrase

Given a very small starting number, and incrementing it by 1% how many days does it take to get to the 100% mark? I am setting out to create an increment chart.

For more information on this concept see: Marginal gains philosophy

From the code, I generated 5 graphs, each with different starting values from 0.0001% to 1%.

Here are the charts in ascending order of starting values.

Increment Chart

Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment