{"id":29708898,"url":"https://github.com/ianchanning/micrograd-js","last_synced_at":"2025-07-23T19:08:03.407Z","repository":{"id":298110961,"uuid":"998670757","full_name":"ianchanning/micrograd-js","owner":"ianchanning","description":"Karpathy's micrograd in JS + Property Type tests","archived":false,"fork":false,"pushed_at":"2025-06-26T14:26:31.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-26T15:28:29.775Z","etag":null,"topics":["ai","autograd","javascript","micrograd","property-based-testing"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ianchanning.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-09T04:12:06.000Z","updated_at":"2025-06-26T14:25:09.000Z","dependencies_parsed_at":"2025-06-09T13:54:56.390Z","dependency_job_id":null,"html_url":"https://github.com/ianchanning/micrograd-js","commit_stats":null,"previous_names":["ianchanning/micrograd-js"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ianchanning/micrograd-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianchanning%2Fmicrograd-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianchanning%2Fmicrograd-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianchanning%2Fmicrograd-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianchanning%2Fmicrograd-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ianchanning","download_url":"https://codeload.github.com/ianchanning/micrograd-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianchanning%2Fmicrograd-js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266737770,"owners_count":23976395,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","autograd","javascript","micrograd","property-based-testing"],"created_at":"2025-07-23T19:08:02.850Z","updated_at":"2025-07-23T19:08:03.394Z","avatar_url":"https://github.com/ianchanning.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Micrograd in JavaScript\n\nThis is reimplementing Andrej Karpathy's [micrograd][2] in JavaScript. I'm sure its been done elsewhere, but I like the idea of implementing it.\n\n\u003e Implementing it myself from scratch was the most important\n\u003e\n\u003e — Andrej Karpathy talking to Andrew Ng (2018) [[1][1]]\n\n## Install\n\n```sh\nnpm install\nnpm test\n```\n\nLook at the `engine.test.js`. I've added property-based testing to show the power of including property-based testing with AI tools.\n\nSince that we have the tests, we can abuse these to bring about a more Scheme like code base. An experiment with Gemini pro as the architect and Gemini flash as the coder locally in Aider.\n\nIts mostly generated by AI, except for (the WIP) `engine-experiment.js` which is me following along with his video.\n\n[1]: https://www.youtube.com/watch?v=_au3yw46lcg\n[2]: https://www.youtube.com/watch?v=VMj-3S1tku0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fianchanning%2Fmicrograd-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fianchanning%2Fmicrograd-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fianchanning%2Fmicrograd-js/lists"}