{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":506654025,"defaultBranch":"main","name":"jaxtyping","ownerLogin":"patrick-kidger","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2022-06-23T13:35:25.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/33688385?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1715189297.0","currentOid":""},"activityList":{"items":[{"before":"46880d2e527217ab65af7511305b62b7c7821336","after":null,"ref":"refs/heads/dependabot/pip/docs/jinja2-3.1.4","pushedAt":"2024-05-08T17:28:17.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"}},{"before":null,"after":"46880d2e527217ab65af7511305b62b7c7821336","ref":"refs/heads/dependabot/pip/docs/jinja2-3.1.4","pushedAt":"2024-05-06T18:20:36.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"},"commit":{"message":"Bump jinja2 from 3.0.3 to 3.1.4 in /docs\n\nBumps [jinja2](https://github.com/pallets/jinja) from 3.0.3 to 3.1.4.\n- [Release notes](https://github.com/pallets/jinja/releases)\n- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)\n- [Commits](https://github.com/pallets/jinja/compare/3.0.3...3.1.4)\n\n---\nupdated-dependencies:\n- dependency-name: jinja2\n dependency-type: direct:production\n...\n\nSigned-off-by: dependabot[bot] ","shortMessageHtmlLink":"Bump jinja2 from 3.0.3 to 3.1.4 in /docs"}},{"before":"51ac630ef02a6653ffb48c0f6a91ea80c9923dcd","after":"0d83ee77e64eca77810a44801e416ed14904bcdd","ref":"refs/heads/main","pushedAt":"2024-04-20T09:25:44.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"},"commit":{"message":"Updated ecosystem again","shortMessageHtmlLink":"Updated ecosystem again"}},{"before":"f83170e01de5f6d2f8e58eaf27a99bcc5f33515d","after":"51ac630ef02a6653ffb48c0f6a91ea80c9923dcd","ref":"refs/heads/main","pushedAt":"2024-04-20T09:18:50.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"},"commit":{"message":"Updated ecosystem","shortMessageHtmlLink":"Updated ecosystem"}},{"before":"07e58de0bdbc75087a77575a6718963802c84a36","after":"f83170e01de5f6d2f8e58eaf27a99bcc5f33515d","ref":"refs/heads/main","pushedAt":"2024-04-17T07:45:57.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"},"commit":{"message":"Define the IPython magic lazily\n\nIPython is quite a chunky package, and importing it unconditionally makes\njaxtyping itself relatively slow to import.","shortMessageHtmlLink":"Define the IPython magic lazily"}},{"before":"696cc5b90f0d997c91e54021b8e58b7f3811f54e","after":"07e58de0bdbc75087a77575a6718963802c84a36","ref":"refs/heads/main","pushedAt":"2024-03-11T19:35:29.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"},"commit":{"message":"Replace ndim with len(shape)","shortMessageHtmlLink":"Replace ndim with len(shape)"}},{"before":"102e499d61471c169277f62eda813bce04e7df65","after":"696cc5b90f0d997c91e54021b8e58b7f3811f54e","ref":"refs/heads/main","pushedAt":"2024-03-08T17:17:50.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"},"commit":{"message":"also require `jaxlib`","shortMessageHtmlLink":"also require jaxlib"}},{"before":"489ebd1788e6c9a06260fc34d20f7f63f31d4902","after":null,"ref":"refs/heads/jax-fix","pushedAt":"2024-03-07T17:28:15.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"}},{"before":"f708d1742b89492206b819c3bf63035d69ddd06e","after":"102e499d61471c169277f62eda813bce04e7df65","ref":"refs/heads/main","pushedAt":"2024-03-07T17:28:08.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"},"commit":{"message":"Fixes #188.","shortMessageHtmlLink":"Fixes #188."}},{"before":null,"after":"489ebd1788e6c9a06260fc34d20f7f63f31d4902","ref":"refs/heads/jax-fix","pushedAt":"2024-03-07T16:46:26.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"},"commit":{"message":"Fixes #188.","shortMessageHtmlLink":"Fixes #188."}},{"before":"c2250098af2da68bad14c3902e74acea59472aac","after":null,"ref":"refs/heads/fix-docs","pushedAt":"2024-03-06T19:34:50.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"}},{"before":"5e2518c591a2e6cc066f4a23e89bfa1b080c55f3","after":"f708d1742b89492206b819c3bf63035d69ddd06e","ref":"refs/heads/main","pushedAt":"2024-03-06T19:34:48.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"},"commit":{"message":"Quick fix for docs not generating correctly since the last jaxtyping release","shortMessageHtmlLink":"Quick fix for docs not generating correctly since the last jaxtyping …"}},{"before":"0568819163f2012f646bae29b4fa942a7a44a0fd","after":"c2250098af2da68bad14c3902e74acea59472aac","ref":"refs/heads/fix-docs","pushedAt":"2024-03-06T19:21:30.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"},"commit":{"message":"Merge branch 'main' into fix-docs","shortMessageHtmlLink":"Merge branch 'main' into fix-docs"}},{"before":"1b3173ac01648dfc3478dfd066eb72061474ff7d","after":"5e2518c591a2e6cc066f4a23e89bfa1b080c55f3","ref":"refs/heads/main","pushedAt":"2024-03-06T19:21:04.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"},"commit":{"message":"Fix _check_shape str formatting for variadics","shortMessageHtmlLink":"Fix _check_shape str formatting for variadics"}},{"before":null,"after":"0568819163f2012f646bae29b4fa942a7a44a0fd","ref":"refs/heads/fix-docs","pushedAt":"2024-03-02T14:55:23.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"},"commit":{"message":"Quick fix for docs not generating correctly since the last jaxtyping release","shortMessageHtmlLink":"Quick fix for docs not generating correctly since the last jaxtyping …"}},{"before":"0fb3181b27e9d518841ab717751a3f685a12e3c2","after":null,"ref":"refs/heads/dev","pushedAt":"2024-02-25T12:07:04.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"}},{"before":"8de8c0bb68c41dbd7d80a6e373eacae1229efe6a","after":"1b3173ac01648dfc3478dfd066eb72061474ff7d","ref":"refs/heads/main","pushedAt":"2024-02-25T12:07:01.000Z","pushType":"pr_merge","commitsCount":7,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"},"commit":{"message":"Bump version","shortMessageHtmlLink":"Bump version"}},{"before":"62b129630ab7c786e0c18bfcd1b16e8d6df76f14","after":"0fb3181b27e9d518841ab717751a3f685a12e3c2","ref":"refs/heads/dev","pushedAt":"2024-02-25T11:55:30.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"},"commit":{"message":"Bump version","shortMessageHtmlLink":"Bump version"}},{"before":"ff3ded32885d1f6d41d796bb56ec4db656a04ee5","after":"62b129630ab7c786e0c18bfcd1b16e8d6df76f14","ref":"refs/heads/dev","pushedAt":"2024-02-20T19:15:40.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"},"commit":{"message":"Adding a test for generator support (#171)\n\n* Add a test for generators\r\n\r\n* Remove output annotations from decorators\r\n\r\nAlso guarded torch imports for better compatibility with\r\nrequirements.txt\r\n\r\n* Add flag to the main meta class to skip the typecheck\r\n\r\n* Return to the old solution\r\n\r\n* Make async tests work\r\n\r\n* Minor adjustments/fixing typos\r\n\r\n* Correct Python path for new tests\r\n\r\n* Remove some jax-dependent code\r\n\r\n* Implement equality for MetaArrays\r\n\r\n* Make all Dim variations frozen dataclasses\r\n\r\n* Shorten AbstractArray methods\r\n\r\n* Final touches\r\n\r\n* Removing get_origin use\r\n\r\n* Update tests with @jaxtyp","shortMessageHtmlLink":"Adding a test for generator support (#171)"}},{"before":"c8764077fedcae51d7e7f9bc85b432c126f3b0ea","after":"ff3ded32885d1f6d41d796bb56ec4db656a04ee5","ref":"refs/heads/dev","pushedAt":"2024-02-18T19:44:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"},"commit":{"message":"No longer imports JAX at all! This is done dynamically when required. See #178","shortMessageHtmlLink":"No longer imports JAX at all! This is done dynamically when required.…"}},{"before":"9c80aa681ac151c97f68048f82589eacdf412681","after":"c8764077fedcae51d7e7f9bc85b432c126f3b0ea","ref":"refs/heads/dev","pushedAt":"2024-02-17T01:34:47.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"},"commit":{"message":"Add int4/uint4 support in jaxtyping. (#174)\n\n* Add int4/uint4 support in jaxtyping.\r\n\r\n* Fix a typo and update api docs.","shortMessageHtmlLink":"Add int4/uint4 support in jaxtyping. (#174)"}},{"before":"be0c58e4065513b843312039db45bb18ba3fd72a","after":null,"ref":"refs/heads/instancecheck_str","pushedAt":"2024-02-17T01:17:08.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"}},{"before":"5c4d06cdae44d381c8a7e951b5b0d832b71ebd67","after":"9c80aa681ac151c97f68048f82589eacdf412681","ref":"refs/heads/dev","pushedAt":"2024-02-17T01:17:05.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"},"commit":{"message":"Added support for beartype 0.17.0's __instancecheck_str__.\n\nRecall that jaxtyping will currently generate rich error messages in precisely one scenario: about the arguments and return types when doing:\n```python\n@jaxtyped(typechecker=beartype)\ndef foo(...): ...\n```\n\nWith this commit we add support for beartype 0.17.0's pseudo-standard `__instancecheck_str__`, which means the following:\n\n1. For those using beartype decorators, the following will *also* generate an informative error message, and moreover it will state exactly why (shape mismatch, dtype mismatch etc):\n ```python\n @jaxtyped(typechecker=None)\n @beartype\n def foo(...): ...\n ```\n (In practice we probably won't recommend the above combination in the docs just to keep things simple.)\n\n2. For those using the beartype import hook together with the jaxtyping import hook, we can probably also check `assert isinstance(x, Float[Array, \"foo\"])` statements with rich error messages. (#153) We'll need to test + document that though. (@jeezrick interested?)\n\n3. For those using plain `assert isinstance(...)` statements without beartype (#167, tagging @reinerp), then they can *also* get rich error messages by doing\n ```python\n tt = Float[Array, \"foo\"]\n assert isinstance(x, tt), tt.__instancecheck_str__(x) + \"\\n\" + print_bindings()\n ```\n which is still a bit long-winded right now but is a step in the right direction.\n\n(CC @leycec for interest.)","shortMessageHtmlLink":"Added support for beartype 0.17.0's __instancecheck_str__."}},{"before":"9c96f094d54becfe9e9bdde3d90212973a6821f8","after":"be0c58e4065513b843312039db45bb18ba3fd72a","ref":"refs/heads/instancecheck_str","pushedAt":"2024-02-17T01:14:58.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"},"commit":{"message":"Added support for beartype 0.17.0's __instancecheck_str__.\n\nRecall that jaxtyping will currently generate rich error messages in precisely one scenario: about the arguments and return types when doing:\n```python\n@jaxtyped(typechecker=beartype)\ndef foo(...): ...\n```\n\nWith this commit we add support for beartype 0.17.0's pseudo-standard `__instancecheck_str__`, which means the following:\n\n1. For those using beartype decorators, the following will *also* generate an informative error message, and moreover it will state exactly why (shape mismatch, dtype mismatch etc):\n ```python\n @jaxtyped(typechecker=None)\n @beartype\n def foo(...): ...\n ```\n (In practice we probably won't recommend the above combination in the docs just to keep things simple.)\n\n2. For those using the beartype import hook together with the jaxtyping import hook, we can probably also check `assert isinstance(x, Float[Array, \"foo\"])` statements with rich error messages. (#153) We'll need to test + document that though. (@jeezrick interested?)\n\n3. For those using plain `assert isinstance(...)` statements without beartype (#167, tagging @reinerp), then they can *also* get rich error messages by doing\n ```python\n tt = Float[Array, \"foo\"]\n assert isinstance(x, tt), tt.__instancecheck_str__(x) + \"\\n\" + print_bindings()\n ```\n which is still a bit long-winded right now but is a step in the right direction.\n\n(CC @leycec for interest.)","shortMessageHtmlLink":"Added support for beartype 0.17.0's __instancecheck_str__."}},{"before":"19b99ca3c9d56e479be8cfb161e9e31182e10d58","after":"5c4d06cdae44d381c8a7e951b5b0d832b71ebd67","ref":"refs/heads/dev","pushedAt":"2024-02-17T01:14:52.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"},"commit":{"message":"Moved print_bindings into storage.py","shortMessageHtmlLink":"Moved print_bindings into storage.py"}},{"before":"782b7688f60d12dba14e0c199759d7687f2756e6","after":"9c96f094d54becfe9e9bdde3d90212973a6821f8","ref":"refs/heads/instancecheck_str","pushedAt":"2024-02-17T01:12:48.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"},"commit":{"message":"Added support for beartype 0.17.0's __instancecheck_str__.\n\nRecall that jaxtyping will currently generate rich error messages in precisely one scenario: about the arguments and return types when doing:\n```python\n@jaxtyped(typechecker=beartype)\ndef foo(...): ...\n```\n\nWith this commit we add support for beartype 0.17.0's pseudo-standard `__instancecheck_str__`, which means the following:\n\n1. For those using beartype decorators, the following will *also* generate an informative error message, and moreover it will state exactly why (shape mismatch, dtype mismatch etc):\n ```python\n @jaxtyped(typechecker=None)\n @beartype\n def foo(...): ...\n ```\n (In practice we probably won't recommend the above combination in the docs just to keep things simple.)\n\n2. For those using the beartype import hook together with the jaxtyping import hook, we can probably also check `assert isinstance(x, Float[Array, \"foo\"])` statements with rich error messages. (#153) We'll need to test + document that though. (@jeezrick interested?)\n\n3. For those using plain `assert isinstance(...)` statements without beartype (#167, tagging @reinerp), then they can *also* get rich error messages by doing\n ```python\n tt = Float[Array, \"foo\"]\n assert isinstance(x, tt), tt.__instancecheck_str__(x) + \"\\n\" + print_bindings()\n ```\n which is still a bit long-winded right now but is a step in the right direction.\n\n(CC @leycec for interest.)","shortMessageHtmlLink":"Added support for beartype 0.17.0's __instancecheck_str__."}},{"before":"5100c96a21c6b9b2575b98d97f81f3bd48b3bb67","after":null,"ref":"refs/heads/print-binding","pushedAt":"2024-02-17T01:12:01.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"}},{"before":"f18de2ce28e9e01beb1b8d4425ecb23e953075aa","after":"19b99ca3c9d56e479be8cfb161e9e31182e10d58","ref":"refs/heads/dev","pushedAt":"2024-02-17T01:11:58.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"},"commit":{"message":"Moved print_bindings into storage.py","shortMessageHtmlLink":"Moved print_bindings into storage.py"}},{"before":null,"after":"f18de2ce28e9e01beb1b8d4425ecb23e953075aa","ref":"refs/heads/dev","pushedAt":"2024-02-17T01:11:17.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"},"commit":{"message":"Added better docs on stringified type annotations","shortMessageHtmlLink":"Added better docs on stringified type annotations"}},{"before":"f18de2ce28e9e01beb1b8d4425ecb23e953075aa","after":"8de8c0bb68c41dbd7d80a6e373eacae1229efe6a","ref":"refs/heads/main","pushedAt":"2024-02-12T15:27:03.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"patrick-kidger","name":"Patrick Kidger","path":"/patrick-kidger","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33688385?s=80&v=4"},"commit":{"message":"Correct pytree path in array.md\n\nCorrect pytree path in array.md","shortMessageHtmlLink":"Correct pytree path in array.md"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEROIKmAA","startCursor":null,"endCursor":null}},"title":"Activity · patrick-kidger/jaxtyping"}