{"id":28381091,"url":"https://github.com/humancompatibleai/ranking-challenge-perspective","last_synced_at":"2025-06-24T21:31:19.576Z","repository":{"id":255421044,"uuid":"820620353","full_name":"HumanCompatibleAI/ranking-challenge-perspective","owner":"HumanCompatibleAI","description":"Prosocial Ranking Challenge Perspective Ranker","archived":false,"fork":false,"pushed_at":"2024-11-26T02:47:31.000Z","size":587,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-30T03:40:14.560Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HumanCompatibleAI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-06-26T20:57:50.000Z","updated_at":"2024-12-18T05:08:49.000Z","dependencies_parsed_at":"2024-11-06T22:18:51.814Z","dependency_job_id":null,"html_url":"https://github.com/HumanCompatibleAI/ranking-challenge-perspective","commit_stats":null,"previous_names":["humancompatibleai/ranking-challenge-perspective"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HumanCompatibleAI/ranking-challenge-perspective","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanCompatibleAI%2Franking-challenge-perspective","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanCompatibleAI%2Franking-challenge-perspective/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanCompatibleAI%2Franking-challenge-perspective/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanCompatibleAI%2Franking-challenge-perspective/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HumanCompatibleAI","download_url":"https://codeload.github.com/HumanCompatibleAI/ranking-challenge-perspective/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanCompatibleAI%2Franking-challenge-perspective/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261759084,"owners_count":23205492,"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":"2025-05-30T03:38:01.285Z","updated_at":"2025-06-24T21:31:19.563Z","avatar_url":"https://github.com/HumanCompatibleAI.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prosocial Ranking Challenge Perspective Ranker\n\nTo install deps:\n```bash\npoetry install\n```\n\nTo start in dev:    \n```bash\npoetry run uvicorn perspective_ranker:app --reload\n```\n\nTo test:\n```bash\npoetry run pytest\n```\n\nTo build and deploy:\n\n- commit changes to rc-release branch\n- then run\n```\ndocker buildx bake --set '*.platform=linux/amd64' -f docker-compose.yml --no-cache --load\ncd ../ranking-challenge-submission\npoetry run python push_to_ecr.py --team perspective\n```\n- manual \"update service\" on prod-prc-perspective-app-service in AWS\n- PERSPECTIVE_API_KEY and PERSPECTIVE_HOST need to be set in ECS task definition\n\n## API Key\n\nYou'll need a Perspective API key, which should be in the `PERSPECTIVE_API_KEY` environment variable. You can put it in `.env` for local use.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumancompatibleai%2Franking-challenge-perspective","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhumancompatibleai%2Franking-challenge-perspective","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumancompatibleai%2Franking-challenge-perspective/lists"}