René's URL Explorer Experiment


Title: R50-T005: Make verification repeatable for newGeneration (ConwaysGameOfLife.js) [Cellular-Automata/ConwaysGameOfLife.js] by stavansomaiya · Pull Request #103 · S-AI-Projects/TheAlgorithms-JavaScript · GitHub

Open Graph Title: R50-T005: Make verification repeatable for newGeneration (ConwaysGameOfLife.js) [Cellular-Automata/ConwaysGameOfLife.js] by stavansomaiya · Pull Request #103 · S-AI-Projects/TheAlgorithms-JavaScript

X Title: R50-T005: Make verification repeatable for newGeneration (ConwaysGameOfLife.js) [Cellular-Automata/ConwaysGameOfLife.js] by stavansomaiya · Pull Request #103 · S-AI-Projects/TheAlgorithms-JavaScript

Description: Description Task R50-T005 · task 5 of 10 · Deterministic execution Issue #5 · Make verification repeatable for newGeneration Student Stavan Somaiya · URN e26b07f1064 File → function Cellular-Automata/ConwaysGameOfLife.js → newGeneration (line 14 at the pinned commit, line 24 after this PR) Pinned source TheAlgorithms/JavaScript @ 5c39e87 · ConwaysGameOfLife.js#L14 Branch stavansomaiya:student/e26b07f1064/R50-T005 → S-AI-Projects:master (one commit on 5c39e87) Outcome The function is already pure, so no dependency seam was needed. The implementation is unchanged. Summary newGeneration in Cellular-Automata/ConwaysGameOfLife.js is already pure: no time, randomness, I/O, network, UI or module state. So no dependency seam was introduced, and therefore no new parameter that would need a default. Instead this adds repeatability and input-isolation regression tests and documents the contract. Files changed File Lines What changed Cellular-Automata/ConwaysGameOfLife.js +10 / −0 JSDoc stating the determinism / isolation contract (no logic change) Cellular-Automata/test/ConwaysGameOfLife.test.js +79 / −0 8 repeatability and input-isolation tests work/R50-T005/ (8 files) evidence check.py runner, README.md write-up, evidence.mjs, results.json and logs; coursework only, kept out of any upstream PR Related Issue Fixes: #5 This PR covers only R50-T005. Each of the 10 tasks has its own branch, commit and PR; see All 10 tasks under Additional Notes. Type of Change Bug Fix New Feature UI/UX Improvement Performance Improvement Tests Documentation Refactoring / Maintenance CI/CD Changes Made Cellular-Automata/test/ConwaysGameOfLife.test.js: covers: smallest inputs: [] → [] and [[1]] → [[0]]; an ordinary glider step, with the expected grid worked out by hand; the input is unchanged after the call; a deeply frozen input is accepted (strict mode would throw on any write); the output shares no rows with the input; the same fixture gives the same result twice from fresh copies; a later call is unaffected by an earlier call on another input whose result was then tampered with. Cellular-Automata/ConwaysGameOfLife.js: JSDoc stating determinism, no external dependencies, no mutation, non-wrapping edges, and the params and return value. No logic change. work/R50-T005/: check.py and evidence.mjs, which also scans the real source (comments removed) for time, randomness, I/O, globals, imports and module-level variables and finds none. Plus results. Screenshots / Recordings There is no UI, so the recording is the terminal output of a fresh run on 23 Nov 2026. The run used a clean checkout of this branch with a new npm ci from the lockfile. The output is copied verbatim; only the temporary checkout path is replaced by a label. Focused tests: npx vitest run … --reporter=verbose, 9/9 passed $ npx vitest run Cellular-Automata/test/ConwaysGameOfLife.test.js --reporter=verbose RUN v1.2.1 ✓ Cellular-Automata/test/ConwaysGameOfLife.test.js > newGeneration > should produce the next generation according to the rules ✓ Cellular-Automata/test/ConwaysGameOfLife.test.js > newGeneration is deterministic and isolates its input > smallest valid input: an empty grid gives an empty grid ✓ Cellular-Automata/test/ConwaysGameOfLife.test.js > newGeneration is deterministic and isolates its input > smallest non-empty grid: a lone live cell dies ✓ Cellular-Automata/test/ConwaysGameOfLife.test.js > newGeneration is deterministic and isolates its input > ordinary input: one glider step ✓ Cellular-Automata/test/ConwaysGameOfLife.test.js > newGeneration is deterministic and isolates its input > does not modify the input grid ✓ Cellular-Automata/test/ConwaysGameOfLife.test.js > newGeneration is deterministic and isolates its input > accepts a deeply frozen grid, so it never writes to its input ✓ Cellular-Automata/test/ConwaysGameOfLife.test.js > newGeneration is deterministic and isolates its input > returns a new grid that shares no rows with the input ✓ Cellular-Automata/test/ConwaysGameOfLife.test.js > newGeneration is deterministic and isolates its input > same input twice in fresh state gives the same result ✓ Cellular-Automata/test/ConwaysGameOfLife.test.js > newGeneration is deterministic and isolates its input > an earlier call with another input cannot change a later result Test Files 1 passed (1) Tests 9 passed (9) Automated check: python3 work/R50-T005/check.py, exit 0 $ python3 work/R50-T005/check.py [PASS] smallest valid input: empty grid input: [] expected: [] actual: [] source: ConwaysGameOfLife.js:24-25 loops over cells.length (0 rows) [PASS] smallest non-empty grid: lone cell dies input: [[1]] expected: [[0]] actual: [[0]] source: ConwaysGameOfLife.js:6 rule 3, live cell with 0 neighbours dies [PASS] ordinary input: glider step input: [[0, 1, 0, 0, 0], [0, 0, 1, 0, 0], [1, 1, 1, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0]] expected: [[0, 0, 0, 0, 0], [1, 0, 1, 0, 0], [0, 1, 1, 0, 0], [0, 1, 0, 0, 0], [0, 0, 0, 0, 0]] actual: [[0, 0, 0, 0, 0], [1, 0, 1, 0, 0], [0, 1, 1, 0, 0], [0, 1, 0, 0, 0], [0, 0, 0, 0, 0]] source: ConwaysGameOfLife.js:4-5 rules 1 and 2 [PASS] input grid unchanged after call input: [[0, 1, 0, 0, 0], [0, 0, 1, 0, 0], [1, 1, 1, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0]] expected: [[0, 1, 0, 0, 0], [0, 0, 1, 0, 0], [1, 1, 1, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0]] actual: [[0, 1, 0, 0, 0], [0, 0, 1, 0, 0], [1, 1, 1, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0]] source: ConwaysGameOfLife.js:43 cells are only read [PASS] output shares no rows with input input: "glider" expected: {"sameGrid": false, "sharedRows": 0} actual: {"sameGrid": false, "sharedRows": 0} source: ConwaysGameOfLife.js:25,27 new arrays are created [PASS] glider run twice, then again after another input (result tampered) input: "glider x3" expected: [[[0, 0, 0, 0, 0], [1, 0, 1, 0, 0], [0, 1, 1, 0, 0], [0, 1, 0, 0, 0], [0, 0, 0, 0, 0]], [[0, 0, 0, 0, 0], [1, 0, 1, 0, 0], [0, 1, 1, 0, 0], [0, 1, 0, 0, 0], [0, 0, 0, 0, 0]], [[0, 0, 0, 0, 0], [1, 0, 1, 0, 0], [0, 1, 1, 0, 0], [0, 1, 0, 0, 0], [0, 0, 0, 0, 0]]] actual: [[[0, 0, 0, 0, 0], [1, 0, 1, 0, 0], [0, 1, 1, 0, 0], [0, 1, 0, 0, 0], [0, 0, 0, 0, 0]], [[0, 0, 0, 0, 0], [1, 0, 1, 0, 0], [0, 1, 1, 0, 0], [0, 1, 0, 0, 0], [0, 0, 0, 0, 0]], [[0, 0, 0, 0, 0], [1, 0, 1, 0, 0], [0, 1, 1, 0, 0], [0, 1, 0, 0, 0], [0, 0, 0, 0, 0]]] source: ConwaysGameOfLife.js:24 no module-level state [PASS] external dependencies found by scanning the source (comments removed) input: "Date, Math, performance, process, require, import, fetch, console, timers, globals" expected: [] actual: [] source: ConwaysGameOfLife.js:24-54 body uses only its parameter and local variables [PASS] module-level variables (shared state between calls) input: "top-level let/var/const declarations" expected: [] actual: [] source: ConwaysGameOfLife.js: only an exported function is declared [PASS] deeply frozen input is accepted (no write is attempted) input: "Object.freeze(glider)" expected: [[0, 0, 0, 0, 0], [1, 0, 1, 0, 0], [0, 1, 1, 0, 0], [0, 1, 0, 0, 0], [0, 0, 0, 0, 0]] actual: [[0, 0, 0, 0, 0], [1, 0, 1, 0, 0], [0, 1, 1, 0, 0], [0, 1, 0, 0, 0], [0, 0, 0, 0, 0]] source: ConwaysGameOfLife.js:43 cells are only read [KILLED] mutant writes the next state back into the input grid: ' nextGenerationRow.push(cellIsAlive ? 1 : 0)\n' -> ' nextGenerationRow.push(cellIsAlive ? 1 : 0)\n if (i > 0) cells[i - 1][j] = nextGeneration[i - 1][j]\n' failed: newGeneration should produce the next generation according to the rules failed: newGeneration is deterministic and isolates its input ordinary input: one glider step failed: newGeneration is deterministic and isolates its input does not modify the input grid failed: newGeneration is deterministic and isolates its input accepts a deeply frozen grid, so it never writes to its input failed: newGeneration is deterministic and isolates its input same input twice in fresh state gives the same result failed: newGeneration is deterministic and isolates its input an earlier call with another input cannot change a later result focused tests: 9/9 passed (node_modules/.bin/vitest run Cellular-Automata/test/ConwaysGameOfLife.test.js --reporter=json --outputFile=work/R50-T005/vitest-focused.raw.json) npm test: 11978/11978 passed (npm test -- --reporter=json --outputFile=work/R50-T005/vitest-full.raw.json) R50-T005: all checks passed (exit 0) Testing Automated check: python3 work/R50-T005/check.py installs from the lockfile and runs the focused tests. It then prints input / expected / actual for every fixture row, runs each deliberate mutant in a temporary copy, and finally runs the repository test script in non-watch mode. It exits non-zero if any assertion or step fails, and records every command in commands.log. To reproduce: git fetch https://github.com/stavansomaiya/TheAlgorithms-JavaScript.git student/e26b07f1064/R50-T005 git checkout FETCH_HEAD python3 work/R50-T005/check.py Recorded results (committed in results.json; tool versions in versions.txt): Check Command Result Install from lockfile npm ci --ignore-scripts --no-audit --no-fund ✅ exit 0 Focused tests vitest run Cellular-Automata/test/ConwaysGameOfLife.test.js ✅ 9/9 passed Fixture evidence (input / expected / actual / source line) node work/R50-T005/evidence.mjs ✅ 9/9 rows match Mutant (temporary copy): writes the next state back into the input grid applied by check.py ✅ caught by does not modify the input grid Repository test script, non-watch npm test (vitest run) ✅ 11978/11978 passed Code style npm run check-style (Prettier) ✅ passes Spelling (CI settings) codespell ✅ no new findings Acceptance criteria → evidence: # Done when (quoted from #5) Evidence in this PR 1 The checked behavior is tied to newGeneration in Cellular-Automata/ConwaysGameOfLife.js; every assertion has an explicit expected value. ✅ Every test compares with a literal grid: [], [[0]], the hand-computed 5×5 glider step and [[1, 1], [1, 1]]. 2 Use the smallest valid input and one ordinary input for newGeneration from Cellular-Automata/ConwaysGameOfLife.js. Write the literal inputs and independently calculated expected outputs in the tests before editing the implementation. The check must name the source line establishing each precondition. ✅ Smallest [] → [] (and [[1]] → [[0]]). Ordinary: one glider step, worked out cell by cell from rules 1–3 (lines 4–6). Preconditions cite source lines: new arrays at lines 25 and 27, input only read at line 43, result returned at line 53. 3 Existing supported behavior and the public interface are preserved unless a failing regression demonstrates and documents a defect. ✅ No logic change (JSDoc only). The existing test passes, and the full suite passes (11978/11978). 4 The focused test works without live network access, a real user account or GUI interaction. ✅ Plain Node + Vitest; no network, account or GUI. Repeatability: same input twice in fresh state gives the same result and an earlier call with another input cannot change a later result. evidence.mjs scans the real source and finds no time, randomness, I/O, global or import dependency. 5 Any introduced dependency parameter has a default preserving current callers. ✅ No dependency parameter was introduced. The function is already pure (the source scan above is the evidence), so existing callers are unaffected. Evidence files: check.py · README.md (contract, fixture, baseline, findings) · evidence.mjs · results.json · vitest-focused.json 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. (No review feedback yet.) Additional Notes All checks run in plain Node/Vitest, with no network, user account or GUI. Sensitivity check: a temporary copy that writes the computed state back into cells fails does not modify the input grid. Negative control for the dependency scan: adding Math.random() to a copy makes the scan report ["Math"]. Scope: the PR changes only Cellular-Automata/ConwaysGameOfLife.js, its test file and work/R50-T005/. work/R50-T005/ is coursework evidence and would be removed from any later upstream PR. All 10 tasks (one PR each) Task Issue Branch Pull request R50-T001: Lock down the contract of setBit #1 R50-T001 #99 R50-T002: Define the supported boundaries of checkKeywordValidity #2 R50-T002 #100 R50-T003: Cross-check getParentPosition #3 R50-T003 #101 R50-T004: Test an invariant of swap #4 R50-T004 #102 R50-T005: Make verification repeatable for newGeneration #5 R50-T005 #103 (this PR) R50-T006: Simplify one responsibility in countLetters #6 R50-T006 #104 R50-T007: Publish a runnable example for DisjointSetTreeNode #7 R50-T007 #105 R50-T008: Cover the failure behavior of TrieNode #8 R50-T008 #106 R50-T009: Measure the work done by fibonacci #9 R50-T009 #107 R50-T010: Strengthen the tests of OpenKnightTour #10 R50-T010 #108

Open Graph Description: Description Task R50-T005 · task 5 of 10 · Deterministic execution Issue #5 · Make verification repeatable for newGeneration Student Stavan Somaiya · URN e26b07f1064 File → function ...

X Description: Description Task R50-T005 · task 5 of 10 · Deterministic execution Issue #5 · Make verification repeatable for newGeneration Student Stavan Somaiya · URN e26b07f1064 File → function ...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

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:944615f8-7dfb-6ebe-90d3-8c02d59662fd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id86CE:3EE41D:8C974E:C4A00D:6B06DAD7
html-safe-nonce8ced00cd9dd0b1ba87db44d35336e99278e2910b7ab29cc198224d8507515753
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkNFOjNFRTQxRDo4Qzk3NEU6QzRBMDBEOjZCMDZEQUQ3IiwidmlzaXRvcl9pZCI6IjQ4OTU0NzMxMzI0NDc5MTQ3MTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6a5368921fd6d30223bfd2f707df13e32d119601ac0509d21b22cff39c61387c
hovercard-subject-tagpull_request:5450914043
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/103/files
twitter:imagehttps://avatars.githubusercontent.com/u/175632707?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/175632707?s=400&v=4
og:image:altDescription Task R50-T005 · task 5 of 10 · Deterministic execution Issue #5 · Make verification repeatable for newGeneration Student Stavan Somaiya · URN e26b07f1064 File → function ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None06cadd0061c549662a50be90eb5baba7608f00f521574931eec01db0deb9e636
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
release6953c712585a8d7406b7695e48fffcb670fd241d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/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%2F103%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%2F103%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/103/files
Reloadhttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/files
Reloadhttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/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 requests50 (50)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
stavansomaiyahttps://github.com/stavansomaiya
S-AI-Projects:masterhttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/tree/master
stavansomaiya:student/e26b07f1064/R50-T005https://github.com/stavansomaiya/TheAlgorithms-JavaScript/tree/student/e26b07f1064/R50-T005
Conversation 0 https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103
Commits 1 https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/commits
Checks 0 https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/checks
Files changed https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/files
Please reload this pagehttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/files
R50-T005: Make verification repeatable for newGeneration (ConwaysGameOfLife.js) [Cellular-Automata/ConwaysGameOfLife.js] https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/files#top
Show all changes 1 commit https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/files
30dfca4 test(ConwaysGameOfLife): lock down determinism and input isolation of… stavansomaiya Nov 23, 2026 https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/commits/30dfca4c3362815ed7e0babcd80dac40f614bf9f
Clear filters https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/files
Please reload this pagehttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/files
Please reload this pagehttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/files
ConwaysGameOfLife.js https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/files#diff-82bf0e3b6909bce9ed4327df53cef2e4566eec06b01af425f93a87839cba71ef
ConwaysGameOfLife.test.js https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/files#diff-f3994c5d32d9447570cb6d64636d862831f3c5dbb395d37e618b8f68a7d6d036
README.md https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/files#diff-ba32ef977ca1eb4a7d23056b72f5a3a87051b74d9f7b05b82eea254f50d9ff73
check.py https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/files#diff-9e6b345111c61606af83c002d9c155e321e54bc230013bfff158d83c85b6de77
commands.log https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/files#diff-c83e76b01e48f89a9da37c26a4ed8079a9e55c5d4a638b6eee5a824628c996f3
evidence.mjs https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/files#diff-fb46b1f678cb4abb99b03d2bf7523f5d73abf3a620f98640be45624fcf11cb4b
results.json https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/files#diff-fe4a911c95330057c286fd79f67edd9d8ac95fbb33665cfa70b8fcfd7c5b3368
task.json https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/files#diff-be6e73d6664d5e0af8fdcf5f816f5e97aa7cc0d2c0b15eb7c7d70e4159fcafb5
versions.txt https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/files#diff-32d6ae04ea584735125922bc64c1e7f3d7f52752461045c414a5adbaabbe0aba
vitest-focused.json https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/files#diff-2f9051189fae48644effaf99dba769fd1ae54dab6189156056809b3af1e89872
Cellular-Automata/ConwaysGameOfLife.jshttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/files#diff-82bf0e3b6909bce9ed4327df53cef2e4566eec06b01af425f93a87839cba71ef
View file https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/blob/30dfca4c3362815ed7e0babcd80dac40f614bf9f/Cellular-Automata/ConwaysGameOfLife.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/{{ revealButtonHref }}
https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/files#diff-82bf0e3b6909bce9ed4327df53cef2e4566eec06b01af425f93a87839cba71ef
https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/files#diff-82bf0e3b6909bce9ed4327df53cef2e4566eec06b01af425f93a87839cba71ef
Cellular-Automata/test/ConwaysGameOfLife.test.jshttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/files#diff-f3994c5d32d9447570cb6d64636d862831f3c5dbb395d37e618b8f68a7d6d036
View file https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/blob/30dfca4c3362815ed7e0babcd80dac40f614bf9f/Cellular-Automata/test/ConwaysGameOfLife.test.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/{{ revealButtonHref }}
https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/files#diff-f3994c5d32d9447570cb6d64636d862831f3c5dbb395d37e618b8f68a7d6d036
work/R50-T005/README.mdhttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/files#diff-ba32ef977ca1eb4a7d23056b72f5a3a87051b74d9f7b05b82eea254f50d9ff73
View file https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/blob/30dfca4c3362815ed7e0babcd80dac40f614bf9f/work/R50-T005/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/{{ revealButtonHref }}
Please reload this pagehttps://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/103/files
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.