René's URL Explorer Experiment


Title: Add FuzzySet operand type hints by RajPatil1424 · Pull Request #76 · S-AI-Projects/TheAlgorithms-Python · GitHub

Open Graph Title: Add FuzzySet operand type hints by RajPatil1424 · Pull Request #76 · S-AI-Projects/TheAlgorithms-Python

X Title: Add FuzzySet operand type hints by RajPatil1424 · Pull Request #76 · S-AI-Projects/TheAlgorithms-Python

Description: Description Adds precise type hints for the other operand accepted by FuzzySet.intersection and FuzzySet.union, matching the class fields used by both implementations. The existing plotting helper already has a complete method signature (plot(self) -> None), so no redundant self annotation was added. Related Issue Fixes: #37 Type of Change Bug Fix New Feature UI/UX Improvement Performance Improvement Tests Documentation Refactoring / Maintenance CI/CD Changes Made Annotated both other parameters as FuzzySet; preserved the existing FuzzySet return types. Saved baseline and post-change ty output in work/R23-T035/ty-before.txt and work/R23-T035/ty-after.txt. Confirmed the plotting helper was already annotated as returning None. Screenshots / Recordings Not applicable; this change has no UI. Testing uv run pytest fuzzy_logic/fuzzy_operations.py — 6 pytest doctest items passed. uv run python -m doctest -v fuzzy_logic/fuzzy_operations.py — all 22 doctest examples passed. uv run --with ruff ruff check fuzzy_logic/fuzzy_operations.py — passed. uv run --python 3.15 --with ty ty check fuzzy_logic/fuzzy_operations.py — no diagnostics for the target file; exits 1 because four existing renamed-rule warnings in pyproject.toml. CI-format ty command (--output-format=github --exit-zero) exits 0 and reports only those same configuration warnings. Checklist I have tested my changes locally. I have added or updated tests, if needed; the existing 22 doctest examples pass and no behavior change required new tests. I have updated documentation, if needed; the requested before/after type-check evidence is included. I have followed the project's coding guidelines. I have run the relevant tests and checks. I have addressed previous review feedback, if applicable; there was no prior feedback on this PR. Additional Notes The four ty warnings refer to renamed rule names in pyproject.toml, not to fuzzy_logic/fuzzy_operations.py. No runtime behavior or dependencies changed.

Open Graph Description: Description Adds precise type hints for the other operand accepted by FuzzySet.intersection and FuzzySet.union, matching the class fields used by both implementations. The existing plotting helper ...

X Description: Description Adds precise type hints for the other operand accepted by FuzzySet.intersection and FuzzySet.union, matching the class fields used by both implementations. The existing plotting helper ...

Opengraph URL: https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:5af23d73-cc5d-7569-1fe9-76efb17b4f95
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDE8C:3B0D29:96B51:D71D5:6AFDF69A
html-safe-nonce557511efe21512bc6145184b7bd6a2480bb7768af1e4a3b8282f814e2b4ed388
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERThDOjNCMEQyOTo5NkI1MTpENzFENTo2QUZERjY5QSIsInZpc2l0b3JfaWQiOiI0MzE2Njc1NzIwMzY2Mzg4ODkxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac29a2de99986508f95fa00b00d5309739b3f5a64523f686a02a5b14ba7f5287d4
hovercard-subject-tagpull_request:5337681729
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/files
twitter:imagehttps://avatars.githubusercontent.com/u/280039229?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/280039229?s=400&v=4
og:image:altDescription Adds precise type hints for the other operand accepted by FuzzySet.intersection and FuzzySet.union, matching the class fields used by both implementations. The existing plotting helper ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneee3343385a977757dd145b28fabf4a119780f2615a5a36c5a89f66c9b3b5616d
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/S-AI-Projects/TheAlgorithms-Python git https://github.com/S-AI-Projects/TheAlgorithms-Python.git
octolytics-dimension-user_id351892385
octolytics-dimension-user_loginS-AI-Projects
octolytics-dimension-repository_id1444141022
octolytics-dimension-repository_nwoS-AI-Projects/TheAlgorithms-Python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id63476337
octolytics-dimension-repository_parent_nwoTheAlgorithms/Python
octolytics-dimension-repository_network_root_id63476337
octolytics-dimension-repository_network_root_nwoTheAlgorithms/Python
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release43ae91995f6e2d5ff7a491f3de438f1f723adeaa
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FS-AI-Projects%2FTheAlgorithms-Python%2Fpull%2F76%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FS-AI-Projects%2FTheAlgorithms-Python%2Fpull%2F76%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=S-AI-Projects%2FTheAlgorithms-Python
Reloadhttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/files
Reloadhttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/files
Reloadhttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/files
S-AI-Projectshttps://github.com/S-AI-Projects
TheAlgorithms-Pythonhttps://github.com/S-AI-Projects/TheAlgorithms-Python
Codehttps://github.com/S-AI-Projects/TheAlgorithms-Python
Issues60 (60)https://github.com/S-AI-Projects/TheAlgorithms-Python/issues
Pull requests39 (39)https://github.com/S-AI-Projects/TheAlgorithms-Python/pulls
Actionshttps://github.com/S-AI-Projects/TheAlgorithms-Python/actions
Projectshttps://github.com/S-AI-Projects/TheAlgorithms-Python/projects
Security and qualityhttps://github.com/S-AI-Projects/TheAlgorithms-Python/security
Insightshttps://github.com/S-AI-Projects/TheAlgorithms-Python/insights
Sign up for GitHub https://github.com/signup?return_to=%2FS-AI-Projects%2FTheAlgorithms-Python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FS-AI-Projects%2FTheAlgorithms-Python%2Fissues%2Fnew%2Fchoose
RajPatil1424https://github.com/RajPatil1424
S-AI-Projects:masterhttps://github.com/S-AI-Projects/TheAlgorithms-Python/tree/master
RajPatil1424:student/e26b07f0759/R23-T035https://github.com/RajPatil1424/TheAlgorithms-Python/tree/student/e26b07f0759/R23-T035
Conversation 1 https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76
Commits 2 https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/commits
Checks 0 https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/checks
Files changed https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/files
Please reload this pagehttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/files
Add FuzzySet operand type hints https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/files#top
Show all changes 2 commits https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/files
92092f0 Add FuzzySet operand type hints RajPatil1424 Nov 16, 2026 https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/commits/92092f03a57ed8c3b9c7cbd26b66ce5b1075b007
1da4ab2 Record ty output evidence for R23-T035 RajPatil1424 Nov 16, 2026 https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/commits/1da4ab20fd5d632b3b71321ee169fc033b574130
Clear filters https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/files
Please reload this pagehttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/files
Please reload this pagehttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/files
fuzzy_operations.py https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/files#diff-999c5341fbc02b02bf2c930f6a46ae8b6e535b100398edc0f65e8597f12e510f
ty-after.txt https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/files#diff-e0556e215c791283e86eae0197a1cedd1e8df2aa4728187621bf3ff1efd69ced
ty-before.txt https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/files#diff-515d835a0454a43a264109657806b127c5385dc48203724555f88cfa8944a4bd
fuzzy_logic/fuzzy_operations.pyhttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/files#diff-999c5341fbc02b02bf2c930f6a46ae8b6e535b100398edc0f65e8597f12e510f
View file https://github.com/S-AI-Projects/TheAlgorithms-Python/blob/1da4ab20fd5d632b3b71321ee169fc033b574130/fuzzy_logic/fuzzy_operations.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/{{ revealButtonHref }}
https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/files#diff-999c5341fbc02b02bf2c930f6a46ae8b6e535b100398edc0f65e8597f12e510f
https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/files#diff-999c5341fbc02b02bf2c930f6a46ae8b6e535b100398edc0f65e8597f12e510f
https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/files#diff-999c5341fbc02b02bf2c930f6a46ae8b6e535b100398edc0f65e8597f12e510f
https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/files#diff-999c5341fbc02b02bf2c930f6a46ae8b6e535b100398edc0f65e8597f12e510f
work/R23-T035/ty-after.txthttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/files#diff-e0556e215c791283e86eae0197a1cedd1e8df2aa4728187621bf3ff1efd69ced
View file https://github.com/S-AI-Projects/TheAlgorithms-Python/blob/1da4ab20fd5d632b3b71321ee169fc033b574130/work/R23-T035/ty-after.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/{{ revealButtonHref }}
work/R23-T035/ty-before.txthttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/files#diff-515d835a0454a43a264109657806b127c5385dc48203724555f88cfa8944a4bd
View file https://github.com/S-AI-Projects/TheAlgorithms-Python/blob/1da4ab20fd5d632b3b71321ee169fc033b574130/work/R23-T035/ty-before.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/76/{{ revealButtonHref }}
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.