René's URL Explorer Experiment


Title: [mypy] Annotates other/scoring_algorithm by spazm · Pull Request #5621 · TheAlgorithms/Python · GitHub

Open Graph Title: [mypy] Annotates other/scoring_algorithm by spazm · Pull Request #5621 · TheAlgorithms/Python

X Title: [mypy] Annotates other/scoring_algorithm by spazm · Pull Request #5621 · TheAlgorithms/Python

Description: All Algorithms implemented in Python. Contribute to TheAlgorithms/Python development by creating an account on GitHub.

Open Graph Description: Describe your change: Adds type annotations to other/scoring_algorithm Adds slight improvements to code. Before % git checkout master Switched to branch 'master' Your branch is up to date ...

X Description: Describe your change: Adds type annotations to other/scoring_algorithm Adds slight improvements to code. Before % git checkout master Switched to branch 'master' Your branch is up ...

Opengraph URL: https://github.com/TheAlgorithms/Python/pull/5621

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:eb550cfd-0342-88cb-8367-b0e71505fed6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA776:10E0D:2FDFA0C:3115ED0:6A591738
html-safe-noncec29d731c71e45da57c6d5786fec79199ea4131770a085d5ccf0d31770c7bf4d6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzc2OjEwRTBEOjJGREZBMEM6MzExNUVEMDo2QTU5MTczOCIsInZpc2l0b3JfaWQiOiI3NTI5MDQxMjgwNDE0MzI0NTM2IiwicmVnaW9uX2VkZ2UiOiJzZWEiLCJyZWdpb25fcmVuZGVyIjoic2VhIn0=
visitor-hmac118e941b27c93fb4c01adb9b2bc2d829e40bce36e776207bb7a371236d4cf4d6
hovercard-subject-tagpull_request:767058136
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/TheAlgorithms/Python/5621/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4205686daba3b0e9ca4b347a7c78d71ecec32c51e2ce2169171885fc6f4dcccd/TheAlgorithms/Python/pull/5621
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4205686daba3b0e9ca4b347a7c78d71ecec32c51e2ce2169171885fc6f4dcccd/TheAlgorithms/Python/pull/5621
og:image:altDescribe your change: Adds type annotations to other/scoring_algorithm Adds slight improvements to code. Before % git checkout master Switched to branch 'master' Your branch is up to date ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamespazm
hostnamegithub.com
expected-hostnamegithub.com
Nonede7b53b927e5bfbf02672a5b2960bf82d1608d91c6d7888039c826ebf8d4ca76
turbo-cache-controlno-cache
go-importgithub.com/TheAlgorithms/Python git https://github.com/TheAlgorithms/Python.git
octolytics-dimension-user_id20487725
octolytics-dimension-user_loginTheAlgorithms
octolytics-dimension-repository_id63476337
octolytics-dimension-repository_nwoTheAlgorithms/Python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id63476337
octolytics-dimension-repository_network_root_nwoTheAlgorithms/Python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release020f8e5d3a42ae1a22d3f297198ccfca124edd1d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/TheAlgorithms/Python/pull/5621#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F5621
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F5621
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=TheAlgorithms%2FPython
Reloadhttps://github.com/TheAlgorithms/Python/pull/5621
Reloadhttps://github.com/TheAlgorithms/Python/pull/5621
Reloadhttps://github.com/TheAlgorithms/Python/pull/5621
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/5621
TheAlgorithms https://github.com/TheAlgorithms
Pythonhttps://github.com/TheAlgorithms/Python
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/5621
Notifications https://github.com/login?return_to=%2FTheAlgorithms%2FPython
Fork 50.9k https://github.com/login?return_to=%2FTheAlgorithms%2FPython
Star 223k https://github.com/login?return_to=%2FTheAlgorithms%2FPython
Code https://github.com/TheAlgorithms/Python
Issues 141 https://github.com/TheAlgorithms/Python/issues
Pull requests 876 https://github.com/TheAlgorithms/Python/pulls
Discussions https://github.com/TheAlgorithms/Python/discussions
Actions https://github.com/TheAlgorithms/Python/actions
Projects https://github.com/TheAlgorithms/Python/projects
Wiki https://github.com/TheAlgorithms/Python/wiki
Security and quality 0 https://github.com/TheAlgorithms/Python/security
Insights https://github.com/TheAlgorithms/Python/pulse
Code https://github.com/TheAlgorithms/Python
Issues https://github.com/TheAlgorithms/Python/issues
Pull requests https://github.com/TheAlgorithms/Python/pulls
Discussions https://github.com/TheAlgorithms/Python/discussions
Actions https://github.com/TheAlgorithms/Python/actions
Projects https://github.com/TheAlgorithms/Python/projects
Wiki https://github.com/TheAlgorithms/Python/wiki
Security and quality https://github.com/TheAlgorithms/Python/security
Insights https://github.com/TheAlgorithms/Python/pulse
poyeahttps://github.com/poyea
TheAlgorithms:masterhttps://github.com/TheAlgorithms/Python/tree/master
spazm:mypy-fix-other-scoring_algorithmhttps://github.com/spazm/Python/tree/mypy-fix-other-scoring_algorithm
Conversationhttps://github.com/TheAlgorithms/Python/pull/5621
Commits6 (6)https://github.com/TheAlgorithms/Python/pull/5621/commits
Checkshttps://github.com/TheAlgorithms/Python/pull/5621/checks
Files changedhttps://github.com/TheAlgorithms/Python/pull/5621/files
[mypy] Annotates other/scoring_algorithmhttps://github.com/TheAlgorithms/Python/pull/5621#top
poyeahttps://github.com/poyea
TheAlgorithms:masterhttps://github.com/TheAlgorithms/Python/tree/master
spazm:mypy-fix-other-scoring_algorithmhttps://github.com/spazm/Python/tree/mypy-fix-other-scoring_algorithm
https://github.com/spazm
spazmhttps://github.com/spazm
Oct 27, 2021https://github.com/TheAlgorithms/Python/pull/5621#issue-1036994648
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/5621
#4052https://github.com/TheAlgorithms/Python/issues/4052
CONTRIBUTING.mdhttps://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md
type hintshttps://docs.python.org/3/library/typing.html
doctestshttps://docs.python.org/3/library/doctest.html
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/5621
spazmhttps://github.com/spazm
October 26, 2021 22:23https://github.com/TheAlgorithms/Python/pull/5621#commits-pushed-96e19bb
https://github.com/spazm
scoring_algorithm: Moves doctest into function docstring so it will b…https://github.com/TheAlgorithms/Python/pull/5621/commits/96e19bbd1c5e087662867a716bef6db95972ff0c
96e19bbhttps://github.com/TheAlgorithms/Python/pull/5621/commits/96e19bbd1c5e087662867a716bef6db95972ff0c
https://github.com/spazm
[mypy] annotates other/scoring_algorithmhttps://github.com/TheAlgorithms/Python/pull/5621/commits/67b33311923f19d7e6fc48d0681de6a3118beb68
67b3331https://github.com/TheAlgorithms/Python/pull/5621/commits/67b33311923f19d7e6fc48d0681de6a3118beb68
https://github.com/spazm
[mypy] renames temp var to unique value to work around mypy issue in …https://github.com/TheAlgorithms/Python/pull/5621/commits/825e4e98b200c1de274dd891216ef34bb6af176b
825e4e9https://github.com/TheAlgorithms/Python/pull/5621/commits/825e4e98b200c1de274dd891216ef34bb6af176b
https://github.com/spazm
scoring_algorithm: uses enumeration instead of manual indexing on loo…https://github.com/TheAlgorithms/Python/pull/5621/commits/c50e70342a783469fd4cfabe0e57dcf746a64d83
c50e703https://github.com/TheAlgorithms/Python/pull/5621/commits/c50e70342a783469fd4cfabe0e57dcf746a64d83
https://github.com/spazm
scoring_algorithm: sometimes we look before we leap.https://github.com/TheAlgorithms/Python/pull/5621/commits/add94e8cef0384e719b94531af141ac92608f9e8
add94e8https://github.com/TheAlgorithms/Python/pull/5621/commits/add94e8cef0384e719b94531af141ac92608f9e8
awaiting reviews https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22awaiting%20reviews%22
enhancement https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3Aenhancement
tests are failing https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22tests%20are%20failing%22
Oct 27, 2021https://github.com/TheAlgorithms/Python/pull/5621#event-5524897979
https://github.com/spazm
clean-up: runs black to fix formattinghttps://github.com/TheAlgorithms/Python/pull/5621/commits/44cbdb0748da8ebd93ea0e929df127063334fc1f
44cbdb0https://github.com/TheAlgorithms/Python/pull/5621/commits/44cbdb0748da8ebd93ea0e929df127063334fc1f
tests are failing https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22tests%20are%20failing%22
Oct 27, 2021https://github.com/TheAlgorithms/Python/pull/5621#event-5525183386
[mypy] Fixes typing errors in other/dpll #5648 https://github.com/TheAlgorithms/Python/pull/5648
[mypy] Fixes Fisher Yates shuffle and extends annotations #5653 https://github.com/TheAlgorithms/Python/pull/5653
[mypy] Fixes and annotates other/least_recently_used #5656 https://github.com/TheAlgorithms/Python/pull/5656
https://github.com/poyea
poyeahttps://github.com/poyea
Oct 29, 2021 https://github.com/TheAlgorithms/Python/pull/5621#pullrequestreview-792631586
View reviewed changes https://github.com/TheAlgorithms/Python/pull/5621/files/44cbdb0748da8ebd93ea0e929df127063334fc1f
poyeahttps://github.com/poyea
https://github.com/TheAlgorithms/Python/pull/5621#pullrequestreview-792631586
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/5621
awaiting reviews https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22awaiting%20reviews%22
Oct 29, 2021https://github.com/TheAlgorithms/Python/pull/5621#event-5538308001
https://github.com/poyea
poyeahttps://github.com/poyea
0fc24e8https://github.com/TheAlgorithms/Python/commit/0fc24e86296c613f5aa24015518a9f187a2cdbb6
Oct 29, 2021https://github.com/TheAlgorithms/Python/pull/5621#event-5538308143
https://github.co/hiddenchars
https://github.com/TheAlgorithms/Python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F5621
https://github.com/poyea
poyea https://github.com/poyea
https://github.com/TheAlgorithms/Python/pull/5621/files/44cbdb0748da8ebd93ea0e929df127063334fc1f
enhancement https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3Aenhancement
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/5621
https://github.com/spazm
https://github.com/poyea
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.