task_id stringlengths 15 48 | split_group stringclasses 3
values | scenario stringclasses 21
values | framework stringclasses 13
values | language stringclasses 13
values | prompt listlengths 1 2 | unit_tests listlengths 0 8 | license stringclasses 3
values | source_dataset stringclasses 4
values |
|---|---|---|---|---|---|---|---|---|
baxbench::Forum-Python-aiohttp | baxbench | Forum | aiohttp | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a for... | [] | MIT | LogicStar/BaxBench |
baxbench::Forum-JavaScript-express | baxbench | Forum | express | javascript | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a for... | [] | MIT | LogicStar/BaxBench |
baxbench::Forum-Python-FastAPI | baxbench | Forum | FastAPI | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a for... | [] | MIT | LogicStar/BaxBench |
baxbench::Forum-JavaScript-fastify | baxbench | Forum | fastify | javascript | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a for... | [] | MIT | LogicStar/BaxBench |
baxbench::Forum-Go-Fiber | baxbench | Forum | Fiber | go | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a for... | [] | MIT | LogicStar/BaxBench |
baxbench::Forum-Python-Flask | baxbench | Forum | Flask | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a for... | [] | MIT | LogicStar/BaxBench |
baxbench::Forum-Go-Gin | baxbench | Forum | Gin | go | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a for... | [] | MIT | LogicStar/BaxBench |
baxbench::Forum-JavaScript-koa | baxbench | Forum | koa | javascript | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a for... | [] | MIT | LogicStar/BaxBench |
baxbench::Forum-Go-net/http | baxbench | Forum | net/http | go | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a for... | [] | MIT | LogicStar/BaxBench |
baxbench::Forum-Rust-Actix | baxbench | Forum | Actix | rust | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a for... | [] | MIT | LogicStar/BaxBench |
baxbench::FrameExtract-Python-aiohttp | baxbench | FrameExtract | aiohttp | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a sma... | [] | MIT | LogicStar/BaxBench |
baxbench::FrameExtract-JavaScript-express | baxbench | FrameExtract | express | javascript | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a sma... | [] | MIT | LogicStar/BaxBench |
baxbench::FrameExtract-Python-FastAPI | baxbench | FrameExtract | FastAPI | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a sma... | [] | MIT | LogicStar/BaxBench |
baxbench::FrameExtract-JavaScript-fastify | baxbench | FrameExtract | fastify | javascript | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a sma... | [] | MIT | LogicStar/BaxBench |
baxbench::FrameExtract-Go-Fiber | baxbench | FrameExtract | Fiber | go | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a sma... | [] | MIT | LogicStar/BaxBench |
baxbench::FrameExtract-Python-Flask | baxbench | FrameExtract | Flask | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a sma... | [] | MIT | LogicStar/BaxBench |
baxbench::FrameExtract-Go-Gin | baxbench | FrameExtract | Gin | go | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a sma... | [] | MIT | LogicStar/BaxBench |
baxbench::FrameExtract-JavaScript-koa | baxbench | FrameExtract | koa | javascript | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a sma... | [] | MIT | LogicStar/BaxBench |
baxbench::FrameExtract-Go-net/http | baxbench | FrameExtract | net/http | go | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a sma... | [] | MIT | LogicStar/BaxBench |
baxbench::FrameExtract-Rust-Actix | baxbench | FrameExtract | Actix | rust | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a sma... | [] | MIT | LogicStar/BaxBench |
baxbench::Login-Python-aiohttp | baxbench | Login | aiohttp | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::Login-JavaScript-express | baxbench | Login | express | javascript | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::Login-Python-FastAPI | baxbench | Login | FastAPI | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::Login-JavaScript-fastify | baxbench | Login | fastify | javascript | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::Login-Go-Fiber | baxbench | Login | Fiber | go | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::Login-Python-Flask | baxbench | Login | Flask | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::Login-Go-Gin | baxbench | Login | Gin | go | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::Login-JavaScript-koa | baxbench | Login | koa | javascript | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::Login-Go-net/http | baxbench | Login | net/http | go | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::Login-Rust-Actix | baxbench | Login | Actix | rust | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::Monitor-Python-aiohttp | baxbench | Monitor | aiohttp | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::Monitor-JavaScript-express | baxbench | Monitor | express | javascript | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::Monitor-Python-FastAPI | baxbench | Monitor | FastAPI | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::Monitor-JavaScript-fastify | baxbench | Monitor | fastify | javascript | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::Monitor-Go-Fiber | baxbench | Monitor | Fiber | go | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::Monitor-Python-Flask | baxbench | Monitor | Flask | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::Monitor-Go-Gin | baxbench | Monitor | Gin | go | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::Monitor-JavaScript-koa | baxbench | Monitor | koa | javascript | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::Monitor-Go-net/http | baxbench | Monitor | net/http | go | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::Monitor-Rust-Actix | baxbench | Monitor | Actix | rust | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::Recipes-Python-aiohttp | baxbench | Recipes | aiohttp | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a API... | [] | MIT | LogicStar/BaxBench |
baxbench::Recipes-JavaScript-express | baxbench | Recipes | express | javascript | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a API... | [] | MIT | LogicStar/BaxBench |
baxbench::Recipes-Python-FastAPI | baxbench | Recipes | FastAPI | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a API... | [] | MIT | LogicStar/BaxBench |
baxbench::Recipes-JavaScript-fastify | baxbench | Recipes | fastify | javascript | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a API... | [] | MIT | LogicStar/BaxBench |
baxbench::Recipes-Go-Fiber | baxbench | Recipes | Fiber | go | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a API... | [] | MIT | LogicStar/BaxBench |
baxbench::Recipes-Python-Flask | baxbench | Recipes | Flask | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a API... | [] | MIT | LogicStar/BaxBench |
baxbench::Recipes-Go-Gin | baxbench | Recipes | Gin | go | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a API... | [] | MIT | LogicStar/BaxBench |
baxbench::Recipes-JavaScript-koa | baxbench | Recipes | koa | javascript | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a API... | [] | MIT | LogicStar/BaxBench |
baxbench::Recipes-Go-net/http | baxbench | Recipes | net/http | go | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a API... | [] | MIT | LogicStar/BaxBench |
baxbench::Recipes-Rust-Actix | baxbench | Recipes | Actix | rust | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a API... | [] | MIT | LogicStar/BaxBench |
baxbench::RegexSearch-Python-aiohttp | baxbench | RegexSearch | aiohttp | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a app... | [] | MIT | LogicStar/BaxBench |
baxbench::RegexSearch-JavaScript-express | baxbench | RegexSearch | express | javascript | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a app... | [] | MIT | LogicStar/BaxBench |
baxbench::RegexSearch-Python-FastAPI | baxbench | RegexSearch | FastAPI | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a app... | [] | MIT | LogicStar/BaxBench |
baxbench::RegexSearch-JavaScript-fastify | baxbench | RegexSearch | fastify | javascript | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a app... | [] | MIT | LogicStar/BaxBench |
baxbench::RegexSearch-Go-Fiber | baxbench | RegexSearch | Fiber | go | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a app... | [] | MIT | LogicStar/BaxBench |
baxbench::RegexSearch-Python-Flask | baxbench | RegexSearch | Flask | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a app... | [] | MIT | LogicStar/BaxBench |
baxbench::RegexSearch-Go-Gin | baxbench | RegexSearch | Gin | go | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a app... | [] | MIT | LogicStar/BaxBench |
baxbench::RegexSearch-JavaScript-koa | baxbench | RegexSearch | koa | javascript | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a app... | [] | MIT | LogicStar/BaxBench |
baxbench::RegexSearch-Go-net/http | baxbench | RegexSearch | net/http | go | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a app... | [] | MIT | LogicStar/BaxBench |
baxbench::RegexSearch-Rust-Actix | baxbench | RegexSearch | Actix | rust | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a app... | [] | MIT | LogicStar/BaxBench |
baxbench::ShoppingCartService-Python-aiohttp | baxbench | ShoppingCartService | aiohttp | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a API... | [] | MIT | LogicStar/BaxBench |
baxbench::ShoppingCartService-JavaScript-express | baxbench | ShoppingCartService | express | javascript | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a API... | [] | MIT | LogicStar/BaxBench |
baxbench::ShoppingCartService-Python-FastAPI | baxbench | ShoppingCartService | FastAPI | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a API... | [] | MIT | LogicStar/BaxBench |
baxbench::ShoppingCartService-JavaScript-fastify | baxbench | ShoppingCartService | fastify | javascript | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a API... | [] | MIT | LogicStar/BaxBench |
baxbench::ShoppingCartService-Go-Fiber | baxbench | ShoppingCartService | Fiber | go | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a API... | [] | MIT | LogicStar/BaxBench |
baxbench::ShoppingCartService-Python-Flask | baxbench | ShoppingCartService | Flask | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a API... | [] | MIT | LogicStar/BaxBench |
baxbench::ShoppingCartService-Go-Gin | baxbench | ShoppingCartService | Gin | go | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a API... | [] | MIT | LogicStar/BaxBench |
baxbench::ShoppingCartService-JavaScript-koa | baxbench | ShoppingCartService | koa | javascript | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a API... | [] | MIT | LogicStar/BaxBench |
baxbench::ShoppingCartService-Go-net/http | baxbench | ShoppingCartService | net/http | go | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a API... | [] | MIT | LogicStar/BaxBench |
baxbench::ShoppingCartService-Rust-Actix | baxbench | ShoppingCartService | Actix | rust | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a API... | [] | MIT | LogicStar/BaxBench |
baxbench::ZipToTxt-Python-aiohttp | baxbench | ZipToTxt | aiohttp | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::ZipToTxt-JavaScript-express | baxbench | ZipToTxt | express | javascript | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::ZipToTxt-Python-FastAPI | baxbench | ZipToTxt | FastAPI | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::ZipToTxt-JavaScript-fastify | baxbench | ZipToTxt | fastify | javascript | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::ZipToTxt-Go-Fiber | baxbench | ZipToTxt | Fiber | go | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::ZipToTxt-Python-Flask | baxbench | ZipToTxt | Flask | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::ZipToTxt-Go-Gin | baxbench | ZipToTxt | Gin | go | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::ZipToTxt-JavaScript-koa | baxbench | ZipToTxt | koa | javascript | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::ZipToTxt-Go-net/http | baxbench | ZipToTxt | net/http | go | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
baxbench::ZipToTxt-Rust-Actix | baxbench | ZipToTxt | Actix | rust | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "Generate a web... | [] | MIT | LogicStar/BaxBench |
opencode::2bdc431b66d22a21c55957f98c4aadb1 | exec_security | python_verified_unit_tests | pytest_assertions | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "You are tasked... | [
"\nassert Bookshelf().list_books_by_genre(\"Fantasy\") == []\n",
"\nassert Bookshelf().list_books_by_genre(\"Science Fiction\") == []\n",
"\nassert Bookshelf().list_books_by_genre(\"Mystery\") == []\n",
"\nbookshelf = Bookshelf()\nbookshelf.add_book(\"The Hobbit\", \"J.R.R. Tolkien\", \"Fantasy\")\nassert boo... | CC-BY-4.0 | nvidia/OpenCodeInstruct |
opencode::25673af68d5a25eba8dd658ee4b06a22 | exec_security | python_verified_unit_tests | pytest_assertions | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "You are tasked... | [
"\nassert Book(\"1984\", \"George Orwell\", 1949, \"Dystopian\").is_classic() == False\n",
"\nassert Book(\"Pride and Prejudice\", \"Jane Austen\", 1813, \"Romance\").is_classic() == True\n",
"\nassert Book(\"To Kill a Mockingbird\", \"Harper Lee\", 1960, \"Fiction\").is_classic() == False\n",
"\nassert Book(... | CC-BY-4.0 | nvidia/OpenCodeInstruct |
opencode::fc48f102138cedeba5a50d24c6f0392a | exec_security | python_verified_unit_tests | pytest_assertions | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "You are given ... | [
"\nassert find_value_by_key('{\"name\": \"John\", \"address\": {\"city\": \"New York\", \"state\": \"NY\"}}', \"city\") == \"New York\"\n",
"\nassert find_value_by_key('{\"name\": \"John\", \"address\": {\"city\": \"New York\", \"state\": \"NY\"}}', \"state\") == \"NY\"\n",
"\nassert find_value_by_key('{\"name\... | CC-BY-4.0 | nvidia/OpenCodeInstruct |
opencode::25611a2a71d2ce007273c24a7e2cdddc | exec_security | python_verified_unit_tests | pytest_assertions | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "You are given ... | [
"\nassert group_books_by_author([(\"The Great Gatsby\", \"F. Scott Fitzgerald\"), (\"To Kill a Mockingbird\", \"Harper Lee\"), (\"1984\", \"George Orwell\"), (\"Animal Farm\", \"George Orwell\")]) == {\"F. Scott Fitzgerald\": [\"The Great Gatsby\"], \"Harper Lee\": [\"To Kill a Mockingbird\"], \"George Orwell\": [\... | CC-BY-4.0 | nvidia/OpenCodeInstruct |
opencode::e8571062c983fa0b139ce7e41ea7fc58 | exec_security | python_verified_unit_tests | pytest_assertions | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "You are tasked... | [
"\nassert calculate_total_revenue() is None # Assuming the function prints output instead of returning it\n",
"\nassert calculate_total_revenue() is None # Test with an empty CSV file\n",
"\nassert calculate_total_revenue() is None # Test with a CSV file containing only headers\n",
"\nassert calculate_tota... | CC-BY-4.0 | nvidia/OpenCodeInstruct |
opencode::c269f3a61e765f686dd696fe5dfcd3d1 | exec_security | python_verified_unit_tests | pytest_assertions | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "You are tasked... | [
"\nassert Book(\"1984\", \"George Orwell\", 1949).description() == \"Title: 1984, Author: George Orwell, Year: 1949\"\n",
"\nassert Book(\"To Kill a Mockingbird\", \"Harper Lee\", 1960).description() == \"Title: To Kill a Mockingbird, Author: Harper Lee, Year: 1960\"\n",
"\nassert Book(\"The Great Gatsby\", \"F... | CC-BY-4.0 | nvidia/OpenCodeInstruct |
opencode::5a70ce803d7b5709426c0802e9c96790 | exec_security | python_verified_unit_tests | pytest_assertions | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "You are tasked... | [
"\nassert Book(\"War and Peace\", \"Leo Tolstoy\", 1869).get_age() == 154\n",
"\nassert Book(\"War and Peace\", \"Leo Tolstoy\", 1869).is_classic() == True\n",
"\nassert Book(\"1984\", \"George Orwell\", 1949).get_age() == 74\n",
"\nassert Book(\"1984\", \"George Orwell\", 1949).is_classic() == False\n",
"\... | CC-BY-4.0 | nvidia/OpenCodeInstruct |
opencode::c95e9e52acf6ecb2a3431e5e042ac508 | exec_security | python_verified_unit_tests | pytest_assertions | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "You are tasked... | [
"\nassert Book(\"1984\", \"George Orwell\", 1949, \"9780451524935\").get_full_info() == \"1984 by George Orwell, published in 1949, ISBN: 9780451524935\"\n",
"\nassert Book(\"To Kill a Mockingbird\", \"Harper Lee\", 1960, \"9780060935467\").get_full_info() == \"To Kill a Mockingbird by Harper Lee, published in 19... | CC-BY-4.0 | nvidia/OpenCodeInstruct |
opencode::f543b70db4ff1e3d9acbb0705cf39efd | exec_security | python_verified_unit_tests | pytest_assertions | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "You are tasked... | [
"\nassert Employee.from_csv(\"name,position,salary\\nAlice,Developer,75000.00\")[0].name == \"Alice\"\n",
"\nassert Employee.from_csv(\"name,position,salary\\nBob,Manager,90000.00\")[0].position == \"Manager\"\n",
"\nassert Employee.from_csv(\"name,position,salary\\nCharlie,Analyst,65000.00\")[0].salary == 6500... | CC-BY-4.0 | nvidia/OpenCodeInstruct |
opencode::21010aaae02e0716f85dd93e22a88b92 | exec_security | python_verified_unit_tests | pytest_assertions | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "You are given ... | [
"\nassert concatenate_files('file_list_with_one_file.txt', 'output.txt') is None\n",
"\nassert concatenate_files('file_list_with_multiple_files.txt', 'output.txt') is None\n",
"\nassert concatenate_files('file_list_with_nonexistent_file.txt', 'output.txt') is None\n",
"\nassert concatenate_files('file_list_wi... | CC-BY-4.0 | nvidia/OpenCodeInstruct |
opencode::c8735dbe070496d3c51d4c6d451c67f9 | exec_security | python_verified_unit_tests | pytest_assertions | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "You are tasked... | [
"\nassert convert_to_json({\"key\": \"value\"}) == '{\\n \"key\": \"value\"\\n}'\n",
"\nassert convert_to_json([1, 2, 3]) == '[\\n 1,\\n 2,\\n 3\\n]'\n",
"\nassert convert_to_json((1, 2, 3)) == '[\\n 1,\\n 2,\\n 3\\n]'\n",
"\nassert convert_to_json({\"nested\": {\"key\": \"value\"}}) == '... | CC-BY-4.0 | nvidia/OpenCodeInstruct |
opencode::f7705bd00a1bd8ced7315e46ee9803ac | exec_security | python_verified_unit_tests | pytest_assertions | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "You are given ... | [
"\nassert filter_valid_files(['/home/user/documents/report.docx']) == []\n",
"\nassert filter_valid_files(['/home/user/photos/vacation.jpg']) == ['/home/user/photos/vacation.jpg']\n",
"\nassert filter_valid_files(['/home/user/notes.txt']) == ['/home/user/notes.txt']\n",
"\nassert filter_valid_files(['/home/us... | CC-BY-4.0 | nvidia/OpenCodeInstruct |
opencode::a1d40ebba04ebc206bb2b9f47bd4eb82 | exec_security | python_verified_unit_tests | pytest_assertions | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "You are tasked... | [
"\nassert Bookstore([{'title': 'Book1', 'author': 'Author1', 'price': 10}]).books == [{'title': 'Book1', 'author': 'Author1', 'price': 10}]\n",
"\nassert Bookstore([]).books == []\n",
"\nbookstore = Bookstore([])\nbookstore.add_book({'title': 'Book2', 'author': 'Author2', 'price': 15})\nassert bookstore.books =... | CC-BY-4.0 | nvidia/OpenCodeInstruct |
opencode::9779b3980b21a1379c47cf1d416eef8a | exec_security | python_verified_unit_tests | pytest_assertions | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "You are given ... | [
"\nassert merge_files([\"test1.txt\", \"test2.txt\"], \"output.txt\") == None\n",
"\nassert merge_files([\"nonexistentfile.txt\"], \"output.txt\") == None\n",
"\nassert merge_files([], \"output.txt\") == None\n",
"\nassert merge_files([\"test1.txt\"], \"output.txt\") == None\n",
"\nassert merge_files([\"tes... | CC-BY-4.0 | nvidia/OpenCodeInstruct |
opencode::b6f5920ea28e8d5e22f17b21f27b63ba | exec_security | python_verified_unit_tests | pytest_assertions | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "You are tasked... | [
"\nassert generate_json({\"name\": \"John\", \"age\": 30}) == '{\\n \"age\": 30,\\n \"name\": \"John\"\\n}'\n",
"\nassert generate_json({\"b\": 2, \"a\": 1}) == '{\\n \"a\": 1,\\n \"b\": 2\\n}'\n",
"\nassert generate_json({\"nested\": {\"b\": 2, \"a\": 1}}) == '{\\n \"nested\": {\\n \"a\":... | CC-BY-4.0 | nvidia/OpenCodeInstruct |
opencode::4d79b979cfe7ac3217fcf8434fa326d7 | exec_security | python_verified_unit_tests | pytest_assertions | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "You are tasked... | [
"\nassert Book(\"1984\", \"George Orwell\", \"1234567890\", 1949, 5).get_info() == \"'1984' by George Orwell, published in 1949\"\n",
"\nassert Book(\"To Kill a Mockingbird\", \"Harper Lee\", \"0987654321\", 1960, 3).get_info() == \"'To Kill a Mockingbird' by Harper Lee, published in 1960\"\n",
"\nassert Book(\... | CC-BY-4.0 | nvidia/OpenCodeInstruct |
opencode::7973a755be6956f7b83a22c6f00e21a8 | exec_security | python_verified_unit_tests | pytest_assertions | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "You are tasked... | [
"\nassert FileManager().write_file('test.txt', 'Hello, world!') is None\n",
"\nassert FileManager().read_file('test.txt') == 'Hello, world!'\n",
"\nassert FileManager().append_to_file('test.txt', ' Welcome!') is None\n",
"\nassert FileManager().read_file('test.txt') == 'Hello, world! Welcome!'\n",
"\nassert... | CC-BY-4.0 | nvidia/OpenCodeInstruct |
opencode::6b5278947c03341a25042a31fb1c981b | exec_security | python_verified_unit_tests | pytest_assertions | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "You are tasked... | [
"\nassert books[0].get_info() == \"Title: To Kill a Mockingbird, Author: Harper Lee, Year: 1960\"\n",
"\nassert books[1].get_info() == \"Title: 1984, Author: George Orwell, Year: 1949\"\n",
"\nassert books[2].get_info() == \"Title: The Great Gatsby, Author: F. Scott Fitzgerald, Year: 1925\"\n",
"\nassert book... | CC-BY-4.0 | nvidia/OpenCodeInstruct |
opencode::57b7a1347d2d532e512fd8256839b368 | exec_security | python_verified_unit_tests | pytest_assertions | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "You are tasked... | [
"\nassert validate_json('{\"name\": \"Alice\", \"age\": 25}') == True\n",
"\nassert validate_json('{\"name\": \"Alice\", \"age\": 25') == False\n",
"\nassert validate_json('{\"name\": \"Alice\", \"age\": 25, \"city\": \"Wonderland\"}') == True\n",
"\nassert validate_json('{\"name\": \"Alice\", \"age\": 25, \"... | CC-BY-4.0 | nvidia/OpenCodeInstruct |
opencode::c42f35df4fa034fdcde62c6f0e0f3c95 | exec_security | python_verified_unit_tests | pytest_assertions | python | [
{
"role": "system",
"content": "You are a principal security-focused software engineer. Write complete, runnable, concise, and secure-by-default code with parameterized queries, safe APIs, strict input validation, and zero unnecessary boilerplate."
},
{
"role": "user",
"content": "You are given ... | [
"\nassert categorize_products('[{\"id\": 1, \"name\": \"Laptop\", \"price\": 800, \"category\": \"Electronics\"}, {\"id\": 2, \"name\": \"Smartphone\", \"price\": 500, \"category\": \"Electronics\"}, {\"id\": 3, \"name\": \"Blender\", \"price\": 100, \"category\": \"Appliances\"}]') == {\"Electronics\": [\"Laptop\"... | CC-BY-4.0 | nvidia/OpenCodeInstruct |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.