Repository navigation
Verify and Snippets
ao3575911 edited this page Oct 30, 2026
·
1 revision
langsuite verify hello.py # language from extension; exit 1 if it fails
echo 'main = putStrLn "hi"' | langsuite v - --lang haskell --expect hi
langsuite verify --toolchainsNeeds Docker. 20 toolchains, each pinned by image digest:
$ langsuite verify --toolchains
lang toolchain image digest timeout
python Python 3.12 python:3.12-alpine sha256:e6dae589c1c0… 10s
javascript Node.js 22 node:22-alpine sha256:fe4f6d74e203… 10s
typescript Deno 2.1 denoland/deno:alpine-2.1.4 sha256:bbbc64e254c4… 20s
ruby Ruby 3.3 ruby:3.3-alpine sha256:24ea89e81035… 10s
...
| Limit | Value |
|---|---|
| Network | None |
| Root filesystem | Read-only |
| User | Non-root, all capabilities dropped |
| Memory | 256 MB |
| Processes | 64 |
| CPU | 1 |
| Timeout | 10 s (20 s for Deno) |
| Images | Pulled by digest; a local tag pointing elsewhere is refused |
Results are cached by code hash and get an evidence id (vr-…) that findings cite.
langsuite snippet fizzbuzz --lang python,rust
langsuite snippet --tasks # tasks in your pack
langsuite snippet --fetch # fetch default tasks into your data dirFizzBuzz · python ✓ verified
for i in range(1, 101):
if i % 15 == 0:
print("FizzBuzz")
A snippet is verified only when it ran and, for tasks with a fixed answer, the output matched. Without Docker every snippet says unverified. Rosetta Code solutions are share-alike and always shown with their attribution line. In Telegram, code runs are off until a group admin sends /settings coderuns on.
langsuite 1.0.0 RC · Repository · Docs site · @langsuite_bot · Discussions · Report an issue · Code MIT
Use
Concepts
- Knowledge Base and Sources
- Similarity and Methodology
- Verify and Snippets
- Official Docs Q&A
- Workspaces and Findings
Platform
Help