René's URL Explorer Experiment


Title: [R23-T039] Add Burkes dithering doctests and CI notes by RajPatil1424 · Pull Request #80 · S-AI-Projects/TheAlgorithms-Python · GitHub

Open Graph Title: [R23-T039] Add Burkes dithering doctests and CI notes by RajPatil1424 · Pull Request #80 · S-AI-Projects/TheAlgorithms-Python

X Title: [R23-T039] Add Burkes dithering doctests and CI notes by RajPatil1424 · Pull Request #80 · S-AI-Projects/TheAlgorithms-Python

Description: Description Adds focused doctests and the missing input_img type hint for Burkes dithering. The new processing example uses a tiny in-memory NumPy image, so it does not depend on an image file. It also documents why this module is currently skipped by CI and proposes a Python 3.12 job to cover the image-processing tree. Related Issue Fixes: #41 Type of Change Bug Fix New Feature UI/UX Improvement Performance Improvement Tests Documentation Refactoring / Maintenance CI/CD Changes Made Annotated Burkes.__init__(input_img) as np.ndarray. Added doctests for invalid maximum threshold and for process() on a 2x2 RGB NumPy array, asserting the resulting pixels. Added work/R23-T039/CI_NOTES.md plus before/after Python 3.12 test output and the interpreter-constraint note. Screenshots / Recordings Not applicable; this change has no UI. Testing uv run --no-project --python 3.12 --with numpy --with opencv-python-headless --with pytest --with pytest-cov pytest digital_image_processing/dithering/burkes.py --cov=digital_image_processing/dithering --cov-report=term-missing -v — 3 passed; 84% coverage for burkes.py. uvx ruff check digital_image_processing/dithering/burkes.py — passed. The exact requested uv run --python 3.12 ... command cannot run under the repository's requires-python = ">=3.15"; adding --no-project runs the requested checks with Python 3.12. The failure and successful output are recorded under work/R23-T039/. Checklist I have tested my changes locally. I have added or updated tests, if needed. I have updated documentation, if needed. I have followed the project's coding guidelines. I have run the relevant tests and checks. I have addressed previous review feedback, if applicable. Additional Notes The existing Python 3.15t workflow skips digital_image_processing/ because OpenCV does not yet provide a cp315t wheel. The proposed interim solution is a separate GIL-enabled Python 3.12 job using opencv-python-headless; no workflow change is included here. The upstream/R23-T039 branch on the personal fork contains only the code change, without the work/ evidence.

Open Graph Description: Description Adds focused doctests and the missing input_img type hint for Burkes dithering. The new processing example uses a tiny in-memory NumPy image, so it does not depend on an image file. It ...

X Description: Description Adds focused doctests and the missing input_img type hint for Burkes dithering. The new processing example uses a tiny in-memory NumPy image, so it does not depend on an image file. It ...

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

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:92795aa8-136e-5702-0034-42c756ef0b2e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD5CE:32484B:17BA16:20BCE2:6AFE0619
html-safe-noncecce438039a4c9b30ce841c3f77b8a9cd319ac63bb6c52c14209d7be595ed5858
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUNFOjMyNDg0QjoxN0JBMTY6MjBCQ0UyOjZBRkUwNjE5IiwidmlzaXRvcl9pZCI6Ijc3ODk2NzY1ODk0NTk3MTczNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca3f3ca5349bfa0e279a22bbf194101bd693c4d4c517a8d93b605505a609a0fda
hovercard-subject-tagpull_request:5338293064
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/80/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 focused doctests and the missing input_img type hint for Burkes dithering. The new processing example uses a tiny in-memory NumPy image, so it does not depend on an image file. It ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None86d46ece7c3d9b0562692f81a135cb55ad6a1c82c93ab1ac874d2f1b46b28958
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
release5c18e6799976b7bc2f21178024289bb98edbcc85
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/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%2F80%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%2F80%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/80/files
Reloadhttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/files
Reloadhttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/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-T039https://github.com/RajPatil1424/TheAlgorithms-Python/tree/student/e26b07f0759/R23-T039
Conversation 1 https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80
Commits 2 https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/commits
Checks 0 https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/checks
Files changed https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/files
Please reload this pagehttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/files
[R23-T039] Add Burkes dithering doctests and CI notes https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/files#top
Show all changes 2 commits https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/files
3bf80a1 test: add Burkes dithering doctests RajPatil1424 Nov 16, 2026 https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/commits/3bf80a10fbd90f21d1ee294ca7f5547492963cda
86badb5 docs: add R23-T039 CI evidence RajPatil1424 Nov 16, 2026 https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/commits/86badb52ec32f59d6aa6e3a780602e5fc2846b4e
Clear filters https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/files
Please reload this pagehttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/files
Please reload this pagehttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/files
burkes.py https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/files#diff-1696b01d3b048d1fdd2730e3b6a79bbeb9688630a1690f1c1f54fc74b5e5d35f
CI_NOTES.md https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/files#diff-d9a53e26385b150ad69d084730d71376e733ad296b375ab4af4c03c5199d12f6
python312-after.txt https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/files#diff-481bb996f688a09b31b186c2637db01110cbf5e20fc9c4a2e0612c6c64a4a788
python312-before.txt https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/files#diff-a5445bbed2ce373d877156a52f314d084405bb437fa837700e3aeb2fbd53a293
python312-command-incompatibility.txt https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/files#diff-7e4e06707494e49283a52d59bc49ab2886ec2ce582930c12af5f8eb517ac3e2a
digital_image_processing/dithering/burkes.pyhttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/files#diff-1696b01d3b048d1fdd2730e3b6a79bbeb9688630a1690f1c1f54fc74b5e5d35f
View file https://github.com/S-AI-Projects/TheAlgorithms-Python/blob/86badb52ec32f59d6aa6e3a780602e5fc2846b4e/digital_image_processing/dithering/burkes.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/{{ revealButtonHref }}
https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/files#diff-1696b01d3b048d1fdd2730e3b6a79bbeb9688630a1690f1c1f54fc74b5e5d35f
https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/files#diff-1696b01d3b048d1fdd2730e3b6a79bbeb9688630a1690f1c1f54fc74b5e5d35f
https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/files#diff-1696b01d3b048d1fdd2730e3b6a79bbeb9688630a1690f1c1f54fc74b5e5d35f
https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/files#diff-1696b01d3b048d1fdd2730e3b6a79bbeb9688630a1690f1c1f54fc74b5e5d35f
work/R23-T039/CI_NOTES.mdhttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/files#diff-d9a53e26385b150ad69d084730d71376e733ad296b375ab4af4c03c5199d12f6
View file https://github.com/S-AI-Projects/TheAlgorithms-Python/blob/86badb52ec32f59d6aa6e3a780602e5fc2846b4e/work/R23-T039/CI_NOTES.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/{{ revealButtonHref }}
work/R23-T039/python312-after.txthttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/files#diff-481bb996f688a09b31b186c2637db01110cbf5e20fc9c4a2e0612c6c64a4a788
View file https://github.com/S-AI-Projects/TheAlgorithms-Python/blob/86badb52ec32f59d6aa6e3a780602e5fc2846b4e/work/R23-T039/python312-after.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/{{ revealButtonHref }}
work/R23-T039/python312-before.txthttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/files#diff-a5445bbed2ce373d877156a52f314d084405bb437fa837700e3aeb2fbd53a293
View file https://github.com/S-AI-Projects/TheAlgorithms-Python/blob/86badb52ec32f59d6aa6e3a780602e5fc2846b4e/work/R23-T039/python312-before.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/{{ revealButtonHref }}
work/R23-T039/python312-command-incompatibility.txthttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/files#diff-7e4e06707494e49283a52d59bc49ab2886ec2ce582930c12af5f8eb517ac3e2a
View file https://github.com/S-AI-Projects/TheAlgorithms-Python/blob/86badb52ec32f59d6aa6e3a780602e5fc2846b4e/work/R23-T039/python312-command-incompatibility.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/80/{{ 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.