{"id":16359751,"url":"https://github.com/jmsv/ruhacking","last_synced_at":"2025-12-31T14:30:18.060Z","repository":{"id":95749808,"uuid":"120089504","full_name":"jmsv/ruhacking","owner":"jmsv","description":"filmder // University of Reading Hackathon","archived":false,"fork":false,"pushed_at":"2018-02-04T11:38:04.000Z","size":328,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-29T17:34:11.396Z","etag":null,"topics":["hackathon"],"latest_commit_sha":null,"homepage":"https://jamesevickery.github.io/ruhacking/splash","language":"Python","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/jmsv.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":"2018-02-03T12:34:01.000Z","updated_at":"2021-12-03T17:27:47.000Z","dependencies_parsed_at":"2023-05-21T21:30:33.751Z","dependency_job_id":null,"html_url":"https://github.com/jmsv/ruhacking","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/jmsv%2Fruhacking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmsv%2Fruhacking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmsv%2Fruhacking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmsv%2Fruhacking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmsv","download_url":"https://codeload.github.com/jmsv/ruhacking/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239727035,"owners_count":19687096,"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":["hackathon"],"created_at":"2024-10-11T02:09:34.378Z","updated_at":"2025-12-31T14:30:18.015Z","avatar_url":"https://github.com/jmsv.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ruhacking\nUniversity of Reading Hackathon - 20180203\n\nFilm recocmendation service which looks for people who think like you and suggests the films they like. Featuring a Tinderfied UI.\nExample of methods:\nTwo users are created and rate films similarly, so the films that 'you' has liked that 'me' has not seen are reccomended.\nAlso intended to reccomend the optimum film for a group to watch (party of more than 1 where the avg predicted grade would be maximised).\n\nPython 3.5.2 (default, Nov 23 2017, 16:37:01) \n[GCC 5.4.0 20160609] on linux\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n\u003e\u003e\u003e from swipe_populater import *\n\u003e\u003e\u003e me = User()\n\u003e\u003e\u003e you = User()\n\u003e\u003e\u003e json_film_by_no(1)\n'{\"Length\": \"121\", \"Year\": \"2014\", \"TrailerURL\": \"http://www.youtube.com/watch?v=d96cjJhvlMA\", \"Cast\": \"Chris Pratt, Vin Diesel, Bradley Cooper, Zoe Saldana\", \"Genre\": \"Action,Adventure,Sci-Fi\", \"Description\": \"A group of intergalactic criminals are forced to work together to stop a fanatical warrior from taking control of the universe.\", \"Title\": \"Guardians of the Galaxy\"}'\n\u003e\u003e\u003e me.seen_rate(1,3)\n\u003e\u003e\u003e you.seen_rate(1,3)\n\u003e\u003e\u003e alignment(me,you)\nIntersection:  1\n1.0\n\u003e\u003e\u003e films[55]\n['55', 'The Dark Knight', 'Action,Crime,Drama', 'When the menace known as the Joker wreaks havoc and chaos on the people of Gotham, the Dark Knight must come to terms with one of the greatest psychological tests of his ability to fight injustice.', 'Christopher Nolan', 'Christian Bale, Heath Ledger, Aaron Eckhart,Michael Caine', '2008', '152', '9', '1791916', '533.32', '82']\n\u003e\u003e\u003e me.seen_rate(55,2)\n\u003e\u003e\u003e you.seen_rate(55,4)\n\u003e\u003e\u003e alignment(me,you)\nIntersection:  2\n0.75\n\u003e\u003e\u003e you.seen_rate(175,5)\n\u003e\u003e\u003e you.seen_rate(225,4)\n\u003e\u003e\u003e you.seen_rate(250,2)\n\u003e\u003e\u003e films[175]\n['175', 'Frozen', 'Animation,Adventure,Comedy', 'When the newly crowned Queen Elsa accidentally uses her power to turn things into ice to curse her home in infinite winter, her sister, Anna, teams up with a mountain man, his playful reindeer, and a snowman to change the weather condition.', 'Chris Buck', 'Kristen Bell, Idina Menzel, Jonathan Groff, Josh Gad', '2013', '102', '7.5', '451894', '400.74', '74']\n\u003e\u003e\u003e films[225]\n['225', \"We're the Millers\", 'Comedy,Crime', 'A veteran pot dealer creates a fake family as part of his plan to move a huge shipment of weed into the U.S. from Mexico.', 'Rawson Marshall Thurber', 'Jason Sudeikis, Jennifer Aniston, Emma Roberts, Ed Helms', '2013', '110', '7', '334867', '150.37', '44']\n\u003e\u003e\u003e films[250]\n['250', 'The Intouchables', 'Biography,Comedy,Drama', 'After he becomes a quadriplegic from a paragliding accident, an aristocrat hires a young man from the projects to be his caregiver.', 'Olivier Nakache', 'François Cluzet, Omar Sy, Anne Le Ny, Audrey Fleurot', '2011', '112', '8.6', '557965', '13.18', '57']\n\u003e\u003e\u003e get_aligned_recs(me,you)\n[175, 225]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmsv%2Fruhacking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmsv%2Fruhacking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmsv%2Fruhacking/lists"}