René's URL Explorer Experiment


Title: test: strengthen suffix boundary and state-isolation tests for PermutationinString (Issue #30) by 9808Tarun · Pull Request #68 · S-AI-Projects/TheAlgorithms-JavaScript · GitHub

Open Graph Title: test: strengthen suffix boundary and state-isolation tests for PermutationinString (Issue #30) by 9808Tarun · Pull Request #68 · S-AI-Projects/TheAlgorithms-JavaScript

X Title: test: strengthen suffix boundary and state-isolation tests for PermutationinString (Issue #30) by 9808Tarun · Pull Request #68 · S-AI-Projects/TheAlgorithms-JavaScript

Description: Description Strengthened the regression test suite for PermutationinString in Dynamic-Programming/Sliding-Window/PermutationinString.js to catch off-by-one sliding window suffix boundary defects while preserving existing behavior and state isolation. Related Issue Fixes: #30 Type of Change Bug Fix New Feature UI/UX Improvement Performance Improvement Tests Documentation Refactoring / Maintenance CI/CD Changes Made Tested smallest valid inputs (("", "") -> true and ("a", "a") -> true, precondition lines 10, 11, 16, 25, 44) and ordinary inputs (("ab", "eidbaooo") -> true and ("ab", "eidboaoo") -> false, lines 52, 57). Added suffix boundary regression tests (("a", "ba") -> true and ("ab", "cba") -> true) in Dynamic-Programming/Sliding-Window/test/PermutationinString.test.js that detect an off-by-one mistake at line 26 (while (end < s2.length - 1) mutated to s2.length - 2). Verified boolean return type and state isolation across repeated calls with fresh equivalent inputs. Created work/R50-T030/check.py to execute Vitest in non-watch mode, verify mutant detection on a temporary copy without leaving mutations in the codebase, and record fixture results and tool versions. Screenshots / Recordings N/A Testing Executed python3 work/R50-T030/check.py locally (verified original passes and line 26 boundary mutant fails). Verified Vitest passes for Dynamic-Programming/Sliding-Window/test/PermutationinString.test.js. 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 N/A

Open Graph Description: Description Strengthened the regression test suite for PermutationinString in Dynamic-Programming/Sliding-Window/PermutationinString.js to catch off-by-one sliding window suffix boundary defects wh...

X Description: Description Strengthened the regression test suite for PermutationinString in Dynamic-Programming/Sliding-Window/PermutationinString.js to catch off-by-one sliding window suffix boundary defects wh...

Opengraph URL: https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68

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:11b6bd7f-120e-fc87-6aa0-964095059550
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id964A:3DD488:324BDA5:3FF2907:6B01D764
html-safe-nonce2e275dbb12c446bb1e7b96c010955605069f27d3ee902b478f893008235c9253
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjRBOjNERDQ4ODozMjRCREE1OjNGRjI5MDc6NkIwMUQ3NjQiLCJ2aXNpdG9yX2lkIjoiNTczMzc5MjI4MTIzNjk4NTcwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5de46a183db11ca9d034728befff9d161b64fe88c4017b10bf80582fc8d3db0d
hovercard-subject-tagpull_request:5281685755
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-JavaScript/pull/68/files
twitter:imagehttps://avatars.githubusercontent.com/u/354872792?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/354872792?s=400&v=4
og:image:altDescription Strengthened the regression test suite for PermutationinString in Dynamic-Programming/Sliding-Window/PermutationinString.js to catch off-by-one sliding window suffix boundary defects wh...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/S-AI-Projects/TheAlgorithms-JavaScript git https://github.com/S-AI-Projects/TheAlgorithms-JavaScript.git
octolytics-dimension-user_id351892385
octolytics-dimension-user_loginS-AI-Projects
octolytics-dimension-repository_id1444142713
octolytics-dimension-repository_nwoS-AI-Projects/TheAlgorithms-JavaScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id97086543
octolytics-dimension-repository_parent_nwoTheAlgorithms/JavaScript
octolytics-dimension-repository_network_root_id97086543
octolytics-dimension-repository_network_root_nwoTheAlgorithms/JavaScript
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FS-AI-Projects%2FTheAlgorithms-JavaScript%2Fpull%2F68%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-JavaScript%2Fpull%2F68%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-JavaScript
Reloadhttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/files
Reloadhttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/files
Reloadhttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/files
S-AI-Projectshttps://github.com/S-AI-Projects
TheAlgorithms-JavaScripthttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript
Codehttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript
Issues50 (50)https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/issues
Pull requests30 (30)https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pulls
Actionshttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/actions
Projectshttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/projects
Security and qualityhttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/security
Insightshttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/insights
Sign up for GitHub https://github.com/signup?return_to=%2FS-AI-Projects%2FTheAlgorithms-JavaScript%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-JavaScript%2Fissues%2Fnew%2Fchoose
9808Tarunhttps://github.com/9808Tarun
S-AI-Projects:masterhttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/tree/master
9808Tarun:student/e26b07f0633/R50-T030https://github.com/9808Tarun/TheAlgorithms-JavaScript/tree/student/e26b07f0633/R50-T030
Conversation 0 https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68
Commits 1 https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/commits
Checks 0 https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/checks
Files changed https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/files
Please reload this pagehttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/files
test: strengthen suffix boundary and state-isolation tests for PermutationinString (Issue #30) https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/files#top
Show all changes 1 commit https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/files
2b4b094 test: strengthen suffix boundary and state-isolation tests for Permut… Nov 12, 2026 https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/commits/2b4b09402ba543476df27f41081e54d28147eea5
Clear filters https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/files
Please reload this pagehttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/files
Please reload this pagehttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/files
PermutationinString.test.js https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/files#diff-6285077968f7cc2aa31056528a5cb18341f0ee8c09aa000ccc77119b6dec613e
check.py https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/files#diff-a0fb98b62560a6f42b1663c6a26a31a71ef0ef3018c68db2523aa3c2fa701d02
fixture_results.json https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/files#diff-7a0ef99d99c692176529a6a8a56eaaa2bc9498015721e132cc92501d4f889656
test_output.log https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/files#diff-72a69b558aab2abb7ae048d9bc71120229c35c4541ab9e0858a90867db8c44aa
versions.json https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/files#diff-7a28b88a7a7970b1a80a7d6f5a50c0431081fa56cb0e3791465cd2284364d432
Dynamic-Programming/Sliding-Window/test/PermutationinString.test.jshttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/files#diff-6285077968f7cc2aa31056528a5cb18341f0ee8c09aa000ccc77119b6dec613e
View file https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/blob/2b4b09402ba543476df27f41081e54d28147eea5/Dynamic-Programming/Sliding-Window/test/PermutationinString.test.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/{{ revealButtonHref }}
work/R50-T030/check.pyhttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/files#diff-a0fb98b62560a6f42b1663c6a26a31a71ef0ef3018c68db2523aa3c2fa701d02
View file https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/blob/2b4b09402ba543476df27f41081e54d28147eea5/work/R50-T030/check.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/{{ revealButtonHref }}
work/R50-T030/fixture_results.jsonhttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/files#diff-7a0ef99d99c692176529a6a8a56eaaa2bc9498015721e132cc92501d4f889656
View file https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/blob/2b4b09402ba543476df27f41081e54d28147eea5/work/R50-T030/fixture_results.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/{{ revealButtonHref }}
work/R50-T030/test_output.loghttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/files#diff-72a69b558aab2abb7ae048d9bc71120229c35c4541ab9e0858a90867db8c44aa
View file https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/blob/2b4b09402ba543476df27f41081e54d28147eea5/work/R50-T030/test_output.log
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/{{ revealButtonHref }}
work/R50-T030/versions.jsonhttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/files#diff-7a28b88a7a7970b1a80a7d6f5a50c0431081fa56cb0e3791465cd2284364d432
View file https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/blob/2b4b09402ba543476df27f41081e54d28147eea5/work/R50-T030/versions.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/68/{{ 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.