{"library":{"repo":"farazeid/craftax-mojo","description":"Craftax-Classic (symbolic) ported to Mojo/MAX; throughput vs JAX on CPU, Apple GPU and NVIDIA GPUs","created_at":"2026-11-18T19:29:24Z","first_seen":"2026-11-20T19:11:48Z","found_by":"search / language","stars":0,"forks":0,"license":"","size_kb":1724,"commits":30,"mojo_lines":3965,"mojo_files":19,"tooling":"uv","packaging":"none","mojo_version":"1.2.0","version_source":"lock","version_file":"","version_estimate":"1.2","version_estimate_source":"date","topics":[],"stats_as_of":"2026-11-23","open_issues":0,"watchers":0,"archived":false,"state":"ok","renamed_to":"","aliases":[],"declared_deps":6,"depends_on":[],"used_by":[],"used_by_forks":[],"second_degree":[],"dependencies":["craftax","flax","jax","numpy","optax","pytest"],"category":"games"},"migrations":[{"at":"2026-11-18T19:29:12Z","sha":"f261e56057a93e10a1857adefcad3ce0d9c198de","kind":"mojo_version","from":"","to":"1.2.0"},{"at":"2026-11-18T19:29:12Z","sha":"f261e56057a93e10a1857adefcad3ce0d9c198de","kind":"tooling","from":"none","to":"uv"}],"commits":[{"at":"2026-11-18T19:29:12Z","sha":"f261e56057a93e10a1857adefcad3ce0d9c198de","mojo_lines":0,"tooling":"uv","mojo_version":"1.2.0","subject":"chore: scaffold uv project with Mojo/MAX, JAX and pinned Craftax","type":"version","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T19:29:12Z","sha":"74ffa0b8ac3c4cfe2be69826b148f8c4f782f60a","mojo_lines":453,"tooling":"uv","mojo_version":"1.2.0","subject":"feat(env): mirror Craftax-Classic constants and define flat state layout","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T19:29:12Z","sha":"265001c58218ec1e0fd81e4cd84490aef4039ae7","mojo_lines":585,"tooling":"uv","mojo_version":"1.2.0","subject":"feat(env): add replayable random-number interface","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T19:29:12Z","sha":"6c1b9eb2edac9ea1f0b961f3349a7119bda2c709","mojo_lines":777,"tooling":"uv","mojo_version":"1.2.0","subject":"feat(env): port world generation and fractal Perlin noise","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T19:29:12Z","sha":"0b2e6abad7f91db82526c37dd6405f191389a67c","mojo_lines":1430,"tooling":"uv","mojo_version":"1.2.0","subject":"feat(env): port craftax_step game logic","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T19:29:12Z","sha":"9e38e450d50e10f9b3522150ed180322c4cf47be","mojo_lines":1496,"tooling":"uv","mojo_version":"1.2.0","subject":"feat(env): port symbolic observation renderer","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T19:29:12Z","sha":"49db7d3e0d2ec2032b6efa20f3fdcecdae147712","mojo_lines":1814,"tooling":"uv","mojo_version":"1.2.0","subject":"feat(vec): batched auto-reset stepping on CPU and GPU, with Python bindings","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T19:29:12Z","sha":"bafd163ebf221fe62ce09acc71ebc7094662eacc","mojo_lines":1814,"tooling":"uv","mojo_version":"1.2.0","subject":"test(parity): replay JAX's random draws and compare every transition","type":"test","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T19:44:20Z","sha":"e621099d9b35dd9c08950520fcd69438d63f5d4f","mojo_lines":2096,"tooling":"uv","mojo_version":"1.2.0","subject":"feat(bench): random-policy throughput benchmarks for Mojo and JAX","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T19:47:08Z","sha":"dd4f3376e22259c0a4e4caaf82ae65f51216ef07","mojo_lines":2195,"tooling":"uv","mojo_version":"1.2.0","subject":"perf(worldgen): evaluate each noise field once per cell","type":"perf","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T19:51:53Z","sha":"c290bb3ce89693ee5c07c76b62880c1f3378c5e0","mojo_lines":2548,"tooling":"uv","mojo_version":"1.2.0","subject":"perf(gpu): defer resets to a block-cooperative reset kernel","type":"perf","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T19:53:00Z","sha":"c4770155554c554a963713f7f0e124511323cfdb","mojo_lines":2559,"tooling":"uv","mojo_version":"1.2.0","subject":"perf(cpu): skip the thread pool for small batches","type":"perf","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T20:00:34Z","sha":"d0f96b4fa00adbb0021b19bef9421720d71eca3d","mojo_lines":2563,"tooling":"uv","mojo_version":"1.2.0","subject":"fix(build): compile without FMA contraction for cross-device reproducibility","type":"fix","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T20:00:34Z","sha":"4e82a5381e0b27eb708cc88113db8674c2a76c23","mojo_lines":2563,"tooling":"uv","mojo_version":"1.2.0","subject":"build(docker): benchmark image and sweep script for the FLAIR nodes","type":"chore","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T20:09:28Z","sha":"acc5e380b3b849d146108969d9450c2bd3c32edb","mojo_lines":2580,"tooling":"uv","mojo_version":"1.2.0","subject":"perf(env): rejection-sample mob spawn cells before the exact scan","type":"perf","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T20:10:33Z","sha":"b809fc669932219341c5abe54630528fc0c3bb3b","mojo_lines":2580,"tooling":"uv","mojo_version":"1.2.0","subject":"test(parity): compare native-RNG statistics against JAX","type":"test","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T20:20:36Z","sha":"ce231a46c5ed50bcb2ff480e8fe9b8e1b16249e7","mojo_lines":2684,"tooling":"uv","mojo_version":"1.2.0","subject":"fix(worldgen): device-independent sin/cos for gradient tables","type":"fix","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T20:24:17Z","sha":"5a0f6d13a95da6928cef10b22264439d0649d1fb","mojo_lines":2684,"tooling":"uv","mojo_version":"1.2.0","subject":"docs(results): phase 1 throughput sweeps on M4 Pro and L40S","type":"docs","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T20:54:29Z","sha":"09db1ec263748dbd6b338c806cbd98678e9980a3","mojo_lines":2684,"tooling":"uv","mojo_version":"1.2.0","subject":"feat(train): end-to-end jitted PPO in JAX","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T20:54:29Z","sha":"f7574fd22902b0bf9fe44580cbac7f7d34b4cc53","mojo_lines":3605,"tooling":"uv","mojo_version":"1.2.0","subject":"feat(train): end-to-end PPO on the GPU in Mojo","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T20:54:29Z","sha":"937e51122aa50049b3d0c9f9df4348196835cfc8","mojo_lines":3703,"tooling":"uv","mojo_version":"1.2.0","subject":"test(train): check one Mojo PPO update and GAE against jax.grad + optax","type":"test","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T21:23:06Z","sha":"00abaade2dc2caab565bed774f37f85499c0a8bc","mojo_lines":3703,"tooling":"uv","mojo_version":"1.2.0","subject":"build(docker): let Mojo find cuBLAS in the CUDA 12 wheels","type":"chore","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T21:23:06Z","sha":"bdbc2401dcf6767895539c3baf031e08d490b479","mojo_lines":3703,"tooling":"uv","mojo_version":"1.2.0","subject":"test(train): check clipping + Adam against a float64 reference","type":"test","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T21:23:06Z","sha":"94a3b577c239eca36766c2f08a772ef38e320e73","mojo_lines":3893,"tooling":"uv","mojo_version":"1.2.0","subject":"perf(train): batch actor/critic GEMMs and call cuBLAS directly","type":"perf","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T21:25:21Z","sha":"014faa89c6cca2d832934dd66fddeca161e94692","mojo_lines":3895,"tooling":"uv","mojo_version":"1.2.0","subject":"perf(gpu): store maps env-major in the GPU layout too","type":"perf","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T22:11:23Z","sha":"d473e4965bdaa68ed43acc1a0db26b3ba928b987","mojo_lines":3895,"tooling":"uv","mojo_version":"1.2.0","subject":"perf(bench): default to one-warp GPU blocks; re-run M4 Pro sweep","type":"perf","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T22:11:23Z","sha":"9e5edb4cee6cfa70a4d6f54c21c1bb2bd43cc0ec","mojo_lines":3965,"tooling":"uv","mojo_version":"1.2.0","subject":"docs(results): phase 2 end-to-end PPO on an L40S","type":"docs","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T22:11:23Z","sha":"2e7e043e56e7649ba21990b26e49fe032bf96f4b","mojo_lines":3965,"tooling":"uv","mojo_version":"1.2.0","subject":"docs: describe the end-to-end PPO comparison","type":"docs","secondary":[],"typed_by":"rules"},{"at":"2026-11-18T22:12:39Z","sha":"0746d78c1a9d204a15426c85ccfc0f2a06271c09","mojo_lines":3965,"tooling":"uv","mojo_version":"1.2.0","subject":"docs(results): re-run L40S environment sweep on the final code","type":"docs","secondary":[],"typed_by":"rules"},{"at":"2026-11-20T19:11:47Z","sha":"e2d1845bad5b46e66723f1c23067d203afd37c97","mojo_lines":3965,"tooling":"uv","mojo_version":"1.2.0","subject":"docs(readme): lead with throughput and training figures","type":"docs","secondary":[],"typed_by":"rules"}],"activity":[],"releases":[],"issues":{"open_issues":0,"closed_issues":0,"open_prs":0,"merged_prs":0,"closed_prs":0,"recent_open_issues":[],"recent_prs":[]},"contributors":{"total":2,"months":[{"month":"2026-11","active":2,"new":2}]},"over_time":{"lines_of_mojo":3965,"commits":{"total":30,"months":[{"month":"2026-11","commits":30,"cumulative":30}]},"issues":null},"similar":[{"repo":"grimo-ir/rune","score":0.82676595},{"repo":"BradLarson/mojo-operation-template","score":0.8205827},{"repo":"RiverDave/gpu-mojo","score":0.8201263},{"repo":"mak8427/Mojo_GPU_Programming","score":0.8110823},{"repo":"amarbaro/mojo-imkit","score":0.80807537}],"similar_from":{"model":"bge-small-en-v1.5","model_rev":"bbddccb7d85cc5e6","snapshot":3454761910736014829,"categories_version":1}}