{"id":16096399,"url":"https://github.com/robopuff/rating","last_synced_at":"2025-09-11T08:40:08.155Z","repository":{"id":15839605,"uuid":"78854691","full_name":"robopuff/rating","owner":"robopuff","description":"An implementation of rating systems (Elo)","archived":false,"fork":false,"pushed_at":"2022-03-29T08:27:40.000Z","size":29,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-11T20:50:08.170Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robopuff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-13T14:08:26.000Z","updated_at":"2022-03-29T08:27:37.000Z","dependencies_parsed_at":"2022-07-22T23:20:15.631Z","dependency_job_id":null,"html_url":"https://github.com/robopuff/rating","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/robopuff%2Frating","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robopuff%2Frating/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robopuff%2Frating/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robopuff%2Frating/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robopuff","download_url":"https://codeload.github.com/robopuff/rating/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247398309,"owners_count":20932709,"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-10-09T17:13:58.027Z","updated_at":"2025-04-05T20:29:50.592Z","avatar_url":"https://github.com/robopuff.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rating\n\n## Elo\n\n[![Build Status](https://travis-ci.org/robopuff/rating.svg?branch=master)](https://travis-ci.org/robopuff/rating)\n[![Coverage Status](https://coveralls.io/repos/github/robopuff/rating/badge.svg?branch=master)](https://coveralls.io/github/robopuff/rating?branch=master)\n\nBased on Elo rating system, adapted to use over arrays\n\n```php\n$elo = new Elo();\n$results = $elo-\u003eratePair(1500, 1500, Elo::RESULT_WON_A);\n// $results = [1508, 1492];\n```\n\n```php\n$elo = new Elo();\n$results = $elo-\u003erateArray([\n    // Place on the grid =\u003e Current rating\n    0 =\u003e 1500, //1st place\n    1 =\u003e 1500, //2nd place\n    2 =\u003e 1500  //3rd place\n    // ... Nth place\n]);\n// $results = [\n//     0 =\u003e 1510,\n//     1 =\u003e 1502,\n//     2 =\u003e 1494,\n//     n =\u003e ...\n// ];\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobopuff%2Frating","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobopuff%2Frating","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobopuff%2Frating/lists"}