{"id":18555395,"url":"https://github.com/bearloga/wmf-android-suggested-edits","last_synced_at":"2025-05-15T13:09:52.044Z","repository":{"id":146996677,"uuid":"184598243","full_name":"bearloga/wmf-android-suggested-edits","owner":"bearloga","description":"Jupyter-based dashboard for release of Suggested Edits feature on Wikipedia app for Android","archived":false,"fork":false,"pushed_at":"2020-02-05T19:56:37.000Z","size":21069,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-17T11:26:03.426Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bearloga.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-02T14:43:52.000Z","updated_at":"2024-07-18T14:58:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"92bb6e19-49e9-4c37-8cb5-8eaaa7b82374","html_url":"https://github.com/bearloga/wmf-android-suggested-edits","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bearloga%2Fwmf-android-suggested-edits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bearloga%2Fwmf-android-suggested-edits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bearloga%2Fwmf-android-suggested-edits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bearloga%2Fwmf-android-suggested-edits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bearloga","download_url":"https://codeload.github.com/bearloga/wmf-android-suggested-edits/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254346622,"owners_count":22055809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T21:26:25.738Z","updated_at":"2025-05-15T13:09:52.007Z","avatar_url":"https://github.com/bearloga.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Daily report of Suggested Edits v2 release on Android\n\n## Setup\n\n### Python dependencies\n\nFirst, we need to make sure the Jupyter notebook will be run and converted to HTML correctly:\n\n```bash\npip install -U pip setuptools nbconvert ipython ipykernel \\\n  jupyter jupyter-core jupyter-console jupyter-core jupyter-client jupyterlab\n```\n\nThen, we need to install MediaWiki utilities for obtaining the revert rate of title descriptions and image captions:\n\n```bash\npip install -U mwoauth mwtypes mwapi mwreverts\n```\n\n### R dependencies\n\nFollowing [these instructions](https://irkernel.github.io/installation/) for installing the R kernel and registering it with Jupyter:\n\n```R\ninstall.packages(\"IRkernel\")\nIRkernel::installspec()\n```\n\nThen the packages required for producing the report:\n\n```R\ninstall.packages(c(\n  \"RMySQL\", \"DBI\", \"tidyverse\", \"import\", \"knitr\", \"remotes\",\n  \"reticulate\", # for using MediaWiki Python utils\n  \"ratelimitr\", # for throttling MW API calls\n  \"RcppRoll\",   # for smoothing using rolling average\n  \"hrbrthemes\"  # for pretty plots\n))\nremotes::install_github(\"wikimedia/wikimedia-discovery-wmf\")\nremotes::install_github(\"wikimedia/wikimedia-discovery-polloi\")\nremotes::install_github(\"thomasp85/patchwork\")\n```\n\n## Scheduling\n\nOn **notebook1004.eqiad.wmnet** `mkdir /srv/published-datasets/wikipedia-android-app-reports` if one does not already exist.\n\nThen `crontab -e`:\n\n```\n0 5 * * * bash /path/to/update_publish_notebook.sh\n```\n\nto have the script be executed every day at 5AM UTC (for example).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbearloga%2Fwmf-android-suggested-edits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbearloga%2Fwmf-android-suggested-edits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbearloga%2Fwmf-android-suggested-edits/lists"}