wikiedudashboard

https://github.com/wikieducationfoundation/wikiedudashboard

Ruby

Wiki Education Foundation's Wikipedia course dashboard system

WizardTimelineManager#shorten_timeline_by_one_week

Find the two consecutive weeks with the lowest total weight, and combine
then into a single week. This assumes at least two weeks in the timeline.

Source | Google | Stack overflow

Edit

git clone [email protected]:wikieducationfoundation/wikiedudashboard.git

cd wikiedudashboard

open lib/wizard_timeline_manager.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-WizardTimelineManager-shorten_timeline_by_one_week-for-pr


# Commit to git

git add lib/wizard_timeline_manager.rbgit commit -m "better docs for WizardTimelineManager#shorten_timeline_by_one_week"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-WizardTimelineManager-shorten_timeline_by_one_week-for-pr

hub pull-request


# Celebrate!