DEDUPED Hot AI repos, turned into use cases Get 5 a day

What you can do with Code as World

Code-as-World is a Python research repo that provides local inference, QuantiPhy evaluation, OpenAI-compatible serving for its VL checkpoints, and a MuJoCo ballistic soccer example for physical reasoning.

Trended earlier

Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk.

3 use cases

  • Score Code as World checkpoints on QuantiPhy validation

    Run the released 4B or 9B model on QuantiPhy videos and get metrics from the official evaluator.

    View prompt
    In the Code-as-World repo at <repo_path>, run `python -m code_as_world.evaluation 4b` against the QuantiPhy validation CSV at <csv_path> and videos at <video_dir>, then run the official QuantiPhy evaluator on outputs/quantiphy. Expect a prediction CSV, a metric summary, and an outputs/quantiphy_metrics result; verify that the prediction CSV row count matches the ground-truth CSV.
  • Serve a Code as World model behind an OpenAI-style API

    Expose the 4B or 9B checkpoint through vLLM so other tools can send video requests to it.

    View prompt
    In the Code-as-World repo at <repo_path>, start the vLLM server for weights/4b with the served model name code-as-world-4b using the flags in the README's OpenAI-compatible serving section. Then send one chat request containing <video_or_frames> and return the model's text reply. Verify that the server lists code-as-world-4b as an available model before sending the request.
  • Run the bundled ballistic soccer MuJoCo simulation

    Render a soccer-kick trajectory from the video-driven abstraction example in a few commands.

    View prompt
    In the Code-as-World repo at <repo_path>, install requirements/simulation.txt and run `python -m code_as_world.simulation` to execute the bundled ballistic soccer case. Expect a rendered video and trajectory in outputs/simulations/; verify both files exist and that the trajectory file is non-empty.

How to use Code as World

  1. Check you have what it needs: Python 3.10 or 3.11; A CUDA host for the checkpoints; git and the hf CLI to clone repos and download weights.
  2. Open MirroS-Lab/Code-as-World on GitHub and read the README and license.
  3. Clone the repo with git clone https://github.com/MirroS-Lab/Code-as-World.git, run cd Code-as-World, create a environment with python -m venv .venv, activate it with source .venv/bin/activate, and install with pip install -r requirements/inference.txt.
  4. Download the 4B checkpoint with hf download MirroS-Lab/Code-as-World-VL-4B --local-dir weights/4b.
  5. Clone the evaluator repo with git clone https://github.com/Paulineli/QuantiPhy.git /path/to/QuantiPhy and download the validation videos with hf download PaulineLi/QuantiPhy-validation --repo-type dataset --local-dir /path/to/QuantiPhy-validation. (inferred, check the README)
  6. Run the evaluation with python -m code_as_world.evaluation 4b --input-csv /path/to/QuantiPhy/quantiphy_validation.csv --video-dir /path/to/QuantiPhy-validation/validation_videos. (inferred, check the README)

These steps come from our top use case, Score Code as World checkpoints on QuantiPhy validation, which also has a copy-paste agent prompt.

Code as World alternatives · Best AI repos for Research

About this repo

  • Who it is forWritten for ML researchers and engineers who want to run the released Code-as-World checkpoints, evaluate them on QuantiPhy, or try the bundled physics simulation.
  • Why it is hot
  • LanguagePython
  • Sourcegithub.com/MirroS-Lab/Code-as-World · Back to Hot repos

Requirements

  • Python 3.10 or 3.11
  • A CUDA host for the checkpoints
  • git and the hf CLI to clone repos and download weights
  • Disk space and network access for the 4B and 9B weights and the QuantiPhy validation videos
Maintain Code as World? Add the Featured on Deduped badge

Paste this into your README:

[![Featured on Deduped](https://dedupedai.com/badge/mirros-lab-code-as-world.svg)](https://dedupedai.com/use-cases/mirros-lab-code-as-world/?ref=badge)

More badge styles and HTML

Questions about Code as World

What is Code as World?

Code-as-World is a Python research repo that provides local inference, QuantiPhy evaluation, OpenAI-compatible serving for its VL checkpoints, and a MuJoCo ballistic soccer example for physical reasoning. It is an open-source project on GitHub: https://github.com/MirroS-Lab/Code-as-World.

Who is Code as World for?

Written for ML researchers and engineers who want to run the released Code-as-World checkpoints, evaluate them on QuantiPhy, or try the bundled physics simulation.

What can I do with Code as World?

3 use cases so far, for example: Score Code as World checkpoints on QuantiPhy validation; Serve a Code as World model behind an OpenAI-style API; Run the bundled ballistic soccer MuJoCo simulation. Each has steps and a copy-paste agent prompt.

What do I need to run Code as World?

Python 3.10 or 3.11; A CUDA host for the checkpoints; git and the hf CLI to clone repos and download weights; Disk space and network access for the 4B and 9B weights and the QuantiPhy validation videos.

What are alternatives to Code as World?

Other hot AI repos in Research: Scientific Agent Skills, Speaker Mem R1, DSH Council, Evo Bot, AI Engineering Course.

Is Code as World safe to run?

Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.