text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Repository domain: benchmark harness
Primary language: YAML
Framework/tooling: Terraform
Reported problem: multi-tenant access leak
Task type: security_patch
... | WithinUsAI/GOD_Coder_Complete_DataSet |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C74538:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m13426.py` and `test_m13426.py`.
```python
# m13426.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Build a data pipeline for a enterprise SaaS product around search + pagination.
Target platform: data (SQL + Python).
Requirements: schema, ingestion, validation, backfills, and tests.
Constraints: must avoid global state, must include documentation/comments, must be observable (logs/metrics/traces), must include tests... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of stream processing for scenario: time-series metrics.
Primary language: python.
Difficulty: expert.
Constraints: design for backward compatibility and migrations, make the interface contract explicit, assume untrusted inputs; validate and sanitize.
Component: component_neml... | WithinUsAI/Elite_GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f98556(n: int) -> int:
# sum 1..n inclusive
if n < 0: raise ValueError
total = 0
for k in range(n): # BUG
total += k
return total
```
Return unified diffs for `m85508.py` and `test_m85508.py`.
*** Begin Patch
*** Update File: m85508.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: r7oo83o5j3.py
``... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f05455(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m15065.py` with types and O(n) average.
```python
# m15065.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: Rust
Framework/tooling: cargo test
Domain: reporting engine
Logic challenge: migration ordering failure
Task type: cross_stack_outage_fix
Difficulty... | WithinUsAI/GOD_Coder_Complete_DataSet |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f78373(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f78373(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor an existing codebase in customer support to support audit logs cleanly.
Target platform: backend (Node.js).
Requirements: propose new modules/layers, dependency boundaries, and migration plan.
Constraints: must be easy to extend, must be observable (logs/metrics/traces), must include type hints where applicabl... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: event ingestion.
Primary language: go.
Difficulty: medium.
Constraints: design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance, avoid undefined b... | WithinUsAI/Elite_GOD_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: ds45b... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Language: TypeScript
Dependency challenge: transaction boundary bug
Task type: version_confl... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of ml systems for scenario: time-series metrics.
Primary language: python.
Difficulty: medium.
Constraints: provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize, include tests or verification strategy, include invariants and failure modes.
Com... | WithinUsAI/Elite_GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: System domain: payments platform
Stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Cross-layer incident: async cancellation bug
Task type: schema_contract_alignme... | WithinUsAI/GOD_Coder_Complete_DataSet |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: C++
Framework/tooling: CMake
Domain: observability collector
Logic challenge: broken pagination cursor
Task type: parser_validation_logic
Difficulty... | WithinUsAI/GOD_Coder_Complete_DataSet |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: n3z0_03wlgou.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of gpu compute for scenario: analytics pipeline.
Primary language: typescript.
Difficulty: hard.
Constraints: assume untrusted inputs; validate and sanitize, document performance characteristics, include invariants and failure modes.
Component: component_zvswfsu.
Assume cold-... | WithinUsAI/Elite_GOD_Coder_100k |
Write pytest tests for `f02039`.
```python
def f02039(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m14577 import f02039
def test_known():
assert f02039(3,4) == 25
def test_zero():
assert f02039(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of operating systems for scenario: edge sync.
Primary language: go.
Difficulty: medium.
Constraints: document performance characteristics, assume untrusted inputs; validate and sanitize, include invariants and failure modes, provide rollout and rollback guidance, include test... | WithinUsAI/Elite_GOD_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Debug and fix a subtle production bug related to idempotent payments in a customer support service.
Target platform: web (React + TypeScript).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must include documentation/comments, must include tests, must include clear error handli... | WithinUsAI/GOD_Coder_100k |
Task type: network_protocol
Scenario: real-time notification hub
Domain focus: query planning
Primary language: bash
Difficulty: expert+
Scale/SLO: 99.99% availability
Component: component_rbdbdtzq
Constraints: include failure modes and recovery, include security threat model (defensive only), explicit contracts and in... | WithinUsAI/Omega_Genesis_Coder_100k |
Implement a concurrent Python solution for configuration loading.
Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests.
Constraints: must include docstrings, must handle Windows paths safely.
Difficulty: easy. Support both Windows and POSIX paths correctly.
Deliverable: imple... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of stream processing for scenario: chat messaging.
Primary language: sql.
Difficulty: hard.
Constraints: avoid undefined behavior and data races, include invariants and failure modes, provide rollout and rollback guidance, design for backward compatibility and migrations, doc... | WithinUsAI/Elite_GOD_Coder_100k |
Design and implement an algorithm for ETL pipelines.
Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests.
Constraints: must include tests, must handle Windows paths safely, must avoid global state, must be memory-efficient.
Difficulty: hard. Avoid quadratic behavior on la... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of gpu compute for scenario: chat messaging.
Primary language: python.
Difficulty: medium.
Constraints: include tests or verification strategy, make the interface contract explicit, provide rollout and rollback guidance, avoid undefined behavior and data races.
Component: com... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of ml systems for scenario: job scheduler.
Primary language: go.
Difficulty: hard.
Constraints: make the interface contract explicit, include tests or verification strategy, document performance characteristics.
Component: component_pocmary.
Assume cold-start and memory limit... | WithinUsAI/Elite_GOD_Coder_100k |
Implement a concurrent Python solution for telemetry ingestion.
Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests.
Constraints: must be memory-efficient, must provide clear error messages.
Difficulty: easy. Ensure the API is testable via dependency injection.
Deliverable: ... | WithinUsAI/python_GOD_coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: aw36k... | WithinUsAI/Royal_Ghost_Coder_501k |
Build a data pipeline for a fintech product around idempotent payments.
Target platform: data (SQL + Python).
Requirements: schema, ingestion, validation, backfills, and tests.
Constraints: must include type hints where applicable, must avoid global state, must be observable (logs/metrics/traces), must be secure-by-def... | WithinUsAI/GOD_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: r1gslhb.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix a subtle bug in a Python module used for data modeling.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must be easy to extend, must provide clear error messages, stdlib-only.
Difficulty: medium. Handle empty inputs and malformed records gracefully.
Delivera... | WithinUsAI/python_GOD_coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: System domain: developer platform
Stack: Airflow, dbt, DuckDB, MinIO, pytest
Cross-layer incident: optimistic locking conflict
Task type: full_stack_bug_fix
D... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: compiler_frontend
Scenario: edge sync
Domain focus: edge robotics (safe)
Primary language: go
Difficulty: expert+
Scale/SLO: p99 < 50ms
Component: component_kqsmihuw
Constraints: assume adversarial inputs; validate everything, include performance model and limits, include deterministic replay plan, include v... | WithinUsAI/Omega_Genesis_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: g_b7mfok.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project domain: payments platform
Implementation stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker
Software delivery problem: N+1 query explosio... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build a data pipeline for a social media product around offline-first sync.
Target platform: data (SQL + Python).
Requirements: schema, ingestion, validation, backfills, and tests.
Constraints: must avoid global state, must include type hints where applicable, must be secure-by-default.
Difficulty: hard. Assume strict ... | WithinUsAI/GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: Go
Framework/tooling: net/http
Domain: auth service
Logic challenge: slow cold start
Task type: multi_file_migration_repair
Difficulty: hard
Return... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: gpu_serving_pipeline
Scenario: rate limit gateway
Domain focus: secure enclaves (defensive)
Primary language: python
Difficulty: expert+
Scale/SLO: p99 < 50ms
Component: component_jnyrchci
Constraints: explicit contracts and invariants, include failure modes and recovery, include verification strategy, inclu... | WithinUsAI/Omega_Genesis_Coder_100k |
Optimize while preserving behavior and order.
```python
def f14125(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m44875.py` with types and O(n) average.
```python
# m44875.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project domain: reporting engine
Implementation stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Software delivery problem: memory leak in AST cache
... | WithinUsAI/GOD_Coder_Complete_DataSet |
Implement event-driven workflows for a social media product.
Target platform: infra (Docker + Kubernetes).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must include type hints where applicable, must be performant under load, must include tests, must include documentation/comments.... | WithinUsAI/GOD_Coder_100k |
Refactor a Python module used for telemetry ingestion into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: stdlib-only, must include type hints, must be streaming-friendly, must avoid global state.
Difficulty: easy. Avoid quadratic... | WithinUsAI/python_GOD_coder_100k |
Design CI/CD for a healthtech service delivering A/B experimentation.
Target platform: infra (Terraform).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must include tests, must be production-ready, must include clear error handling.
Difficulty: medium. Assume GDPR-style de... | WithinUsAI/GOD_Coder_100k |
Task type: ml_system_design
Scenario: real-time notification hub
Domain focus: cryptography engineering (defensive)
Primary language: typescript
Difficulty: expert+
Scale/SLO: 10k RPS peak
Component: component_lxepmydy
Constraints: include backward compatibility and migration plan, avoid data races and undefined behavi... | WithinUsAI/Omega_Genesis_Coder_100k |
Write a thorough test suite for a Python component used for task scheduling.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must avoid global state, must include docstrings, must handle Windows paths safely.
Difficulty: medium. Support both Windows and POSIX paths correctly.
Deli... | WithinUsAI/python_GOD_coder_100k |
Implement webhooks for a content moderation product.
Target platform: ML (scikit + batch).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must include clear error handling, must be production-ready, must avoid global state, must include tests.
Difficulty: hard. Assume mobile clients... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f23885(n: int) -> int:
# sum 1..n inclusive
if n < 0: raise ValueError
total = 0
for k in range(n): # BUG
total += k
return total
```
Return unified diffs for `m60555.py` and `test_m60555.py`.
*** Begin Patch
*** Update File: m60555.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement a web feature for content moderation: audit logs.
Target platform: web (React + TypeScript).
Requirements: accessible UI, API integration, and tests.
Constraints: must include documentation/comments, must include clear error handling, must include type hints where applicable, must be production-ready, must be... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f14176(n: int) -> int:
# sum 1..n inclusive
if n < 0: raise ValueError
total = 0
for k in range(n): # BUG
total += k
return total
```
Return unified diffs for `m59168.py` and `test_m59168.py`.
*** Begin Patch
*** Update File: m59168.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of distributed systems for scenario: time-series metrics.
Primary language: rust.
Difficulty: hard.
Constraints: make the interface contract explicit, avoid undefined behavior and data races, document performance characteristics.
Component: component_bqpmmlf.
Assume cold-star... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of distributed systems for scenario: document indexing.
Primary language: rust.
Difficulty: medium.
Constraints: avoid undefined behavior and data races, design for backward compatibility and migrations, include tests or verification strategy, include invariants and failure m... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: compiler_frontend
Scenario: graph query service
Domain focus: static analysis
Primary language: python
Difficulty: hard
Scale/SLO: 10k RPS peak
Component: component_uitqqdnd
Constraints: avoid data races and undefined behavior, explicit contracts and invariants, include verification strategy, include test ve... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: robust_e2e_testing
Scenario: time-series metrics store
Domain focus: data lineage & governance
Primary language: sql
Difficulty: expert
Scale/SLO: 1M msgs/min
Component: component_ckcoknnh
Constraints: include test vectors and fuzz strategy, include security threat model (defensive only), include determinist... | WithinUsAI/Omega_Genesis_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: distributed_algorithm
Scenario: rate limit gateway
Domain focus: zero-downtime migrations
Primary language: python
Difficulty: expert+
Scale/SLO: p99 < 150ms
Component: component_shvwrvtk
Constraints: include deterministic replay plan, include verification strategy, explicit contracts and invariants, include... | WithinUsAI/Omega_Genesis_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f62474(n: int) -> int:
# sum 1..n inclusive
if n < 0: raise ValueError
total = 0
for k in range(n): # BUG
total += k
return total
```
Return unified diffs for `m51782.py` and `test_m51782.py`.
*** Begin Patch
*** Update File: m51782.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Build a data pipeline for a developer tooling product around caching.
Target platform: data (SQL + Python).
Requirements: schema, ingestion, validation, backfills, and tests.
Constraints: must include type hints where applicable, must include documentation/comments, must be easy to extend.
Difficulty: medium. Include r... | WithinUsAI/GOD_Coder_100k |
Optimize while preserving behavior and order.
```python
def f27931(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m61133.py` with types and O(n) average.
```python
# m61133.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f41283(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m34469.py` with types and O(n) average.
```python
# m34469.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: yudwlnl3mw9.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: wujwnd5c.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of networking for scenario: document indexing.
Primary language: rust.
Difficulty: expert.
Constraints: avoid undefined behavior and data races, design for backward compatibility and migrations, include tests or verification strategy.
Component: component_cgtsugu.
Assume cold... | WithinUsAI/Elite_GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions
Language: Python
Dependency challenge: race condition on worker shutdown
Task ty... | WithinUsAI/GOD_Coder_Complete_DataSet |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: uesa2s5lq2u.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of realtime systems for scenario: chat messaging.
Primary language: go.
Difficulty: hard.
Constraints: make the interface contract explicit, design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize, include tests or verification strateg... | WithinUsAI/Elite_GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: Rust
Framework/tooling: SQLx
Domain: data pipeline
Logic challenge: slow cold start
Task type: algorithmic_correctness
Difficulty: hard
Return a ri... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix the bug and add pytest tests.
```python
def f70462(n: int) -> int:
# sum 1..n inclusive
if n < 0: raise ValueError
total = 0
for k in range(n): # BUG
total += k
return total
```
Return unified diffs for `m10066.py` and `test_m10066.py`.
*** Begin Patch
*** Update File: m10066.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: mwoq8o1ifmna.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: lcd3alx8m5w4.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project domain: document processing API
Implementation stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Software delivery problem: multi-tenant acces... | WithinUsAI/GOD_Coder_Complete_DataSet |
Optimize while preserving behavior and order.
```python
def f66719(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m23817.py` with types and O(n) average.
```python
# m23817.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: query_optimizer
Scenario: graph query service
Domain focus: network protocols
Primary language: sql
Difficulty: expert
Scale/SLO: 1M msgs/min
Component: component_eptltqwz
Constraints: include test vectors and fuzz strategy, avoid data races and undefined behavior, include verification strategy, include secu... | WithinUsAI/Omega_Genesis_Coder_100k |
Write secure, defensive Python code for caching layer.
Requirements: input validation, safe file handling, prevent path traversal, include tests.
Constraints: must provide clear error messages, must be streaming-friendly.
Difficulty: medium. Provide helpful exceptions with actionable messages.
Deliverable: production-... | WithinUsAI/python_GOD_coder_100k |
Task type: gpu_serving_pipeline
Scenario: streaming ETL
Domain focus: network protocols
Primary language: go
Difficulty: hard
Scale/SLO: multi-region active-active
Component: component_islkygio
Constraints: include test vectors and fuzz strategy, assume adversarial inputs; validate everything, include performance model... | WithinUsAI/Omega_Genesis_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C60402:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m96954.py` and `test_m96954.py`.
```python
# m96954.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: ekt1yh.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of realtime systems for scenario: event ingestion.
Primary language: go.
Difficulty: hard.
Constraints: document performance characteristics, assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance.
Component: component_oppnsgv.
Assume cold-start... | WithinUsAI/Elite_GOD_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C69637:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m13049.py` and `test_m13049.py`.
```python
# m13049.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: Rust
Framework/tooling: SQLx
Domain: job scheduler
Logic challenge: streaming timeout handling
Task type: monorepo_toolchain_recovery
Difficulty: ex... | WithinUsAI/GOD_Coder_Complete_DataSet |
Design CI/CD for a IoT telemetry service delivering background jobs.
Target platform: CI (GitHub Actions).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must be easy to extend, must avoid global state, must include tests, must include type hints where applicable, must be s... | WithinUsAI/GOD_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f23191(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f23191(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: bkwaj... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: static_analyzer
Scenario: rate limit gateway
Domain focus: formal verification
Primary language: python
Difficulty: expert+
Scale/SLO: 50 TB/day ingestion
Component: component_rbzxvibd
Constraints: include performance model and limits, include verification strategy, include deterministic replay plan, include... | WithinUsAI/Omega_Genesis_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: qfeuf... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of realtime systems for scenario: chat messaging.
Primary language: python.
Difficulty: medium.
Constraints: include tests or verification strategy, include invariants and failure modes, design for backward compatibility and migrations, provide rollout and rollback guidance, ... | WithinUsAI/Elite_GOD_Coder_100k |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.