text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
Fix the bug and add pytest tests.
```python
def f02620(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 `m14660.py` and `test_m14660.py`.
*** Begin Patch
*** Update File: m14660.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f61933(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f61933(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f39203(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 `m77029.py` and `test_m77029.py`.
*** Begin Patch
*** Update File: m77029.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: ml_system_design
Scenario: streaming ETL
Domain focus: high-frequency trading systems (safe engineering)
Primary language: typescript
Difficulty: expert
Scale/SLO: 50 TB/day ingestion
Component: component_balsaxor
Constraints: include test vectors and fuzz strategy, include security threat model (defensive o... | WithinUsAI/Omega_Genesis_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C07094:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m08238.py` and `test_m08238.py`.
```python
# m08238.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: Repository domain: job scheduler
Primary language: Python
Framework/tooling: Pydantic
Reported problem: websocket reconnect storm
Task type: performance_patch... | 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: nnnim7h7henh.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: mechanized_spec
Scenario: edge sync
Domain focus: edge robotics (safe)
Primary language: lean
Difficulty: expert+
Scale/SLO: p99 < 50ms
Component: component_txlzflte
Constraints: include deterministic replay plan, include performance model and limits, include verification strategy, explicit contracts and inv... | 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 |
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: nn043... | 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: GitHub Actions, Docker Compose, Kubernetes, Terraform
Language: Python
Dependency challenge: rate-limit bypass
Task type: migration_patch
Diffi... | WithinUsAI/GOD_Coder_Complete_DataSet |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C14985:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m08845.py` and `test_m08845.py`.
```python
# m08845.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement role-based access control for a content moderation product.
Target platform: mobile (iOS Swift).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must include documentation/comments, must be performant under load, must avoid global state, must include type hints where applic... | WithinUsAI/GOD_Coder_100k |
Implement a mobile feature for enterprise SaaS: event-driven workflows.
Target platform: mobile.
Requirements: offline-safe behavior, UI state handling, and tests.
Constraints: must be secure-by-default, must include tests, must be easy to extend.
Difficulty: medium. Assume PII must be protected.
Output: actionable im... | WithinUsAI/GOD_Coder_100k |
Fix a subtle bug in a Python module used for telemetry ingestion.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must include type hints, stdlib-only, must be streaming-friendly.
Difficulty: easy. Ensure the API is testable via dependency injection.
Deliverable... | WithinUsAI/python_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: Java
Framework/tooling: JUnit
Domain: benchmark harness
Logic challenge: gRPC retry storm
Task type: distributed_debug
Difficulty: hard
Return a ri... | 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: JavaScript
Framework/tooling: Vite
Domain: data pipeline
Logic challenge: websocket reconnect storm
Task type: cross_stack_outage_fix
Difficulty: ha... | WithinUsAI/GOD_Coder_Complete_DataSet |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C87741:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m99057.py` and `test_m99057.py`.
```python
# m99057.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: Repository domain: repo automation
Primary language: SQL
Framework/tooling: MySQL
Reported problem: broken pagination cursor
Task type: performance_patch
Diff... | 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: xiehef5lea4.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of sre/observability for scenario: edge sync.
Primary language: rust.
Difficulty: medium.
Constraints: design for backward compatibility and migrations, document performance characteristics, avoid undefined behavior and data races, assume untrusted inputs; validate and saniti... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: storage_engine
Scenario: document indexing pipeline
Domain focus: constraint solving
Primary language: sql
Difficulty: hard
Scale/SLO: 100k RPS peak
Component: component_wpegywvh
Constraints: include performance model and limits, include failure modes and recovery, include deterministic replay plan, include ... | WithinUsAI/Omega_Genesis_Coder_100k |
Fix the bug and add pytest tests.
```python
def f71635(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 `m38805.py` and `test_m38805.py`.
*** Begin Patch
*** Update File: m38805.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: compiler_backend_ir
Scenario: time-series metrics store
Domain focus: zero-downtime migrations
Primary language: cpp
Difficulty: expert+
Scale/SLO: 100k RPS peak
Component: component_lgobbesj
Constraints: include security threat model (defensive only), explicit contracts and invariants, include test vectors ... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of gpu compute for scenario: multi-tenant SaaS.
Primary language: rust.
Difficulty: expert.
Constraints: document performance characteristics, provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize.
Component: component_bwecedq.
Assume schema ch... | WithinUsAI/Elite_GOD_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C54706:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m50362.py` and `test_m50362.py`.
```python
# m50362.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of operating systems for scenario: rate limiting gateway.
Primary language: python.
Difficulty: medium.
Constraints: provide rollout and rollback guidance, include tests or verification strategy, assume untrusted inputs; validate and sanitize.
Component: component_jstxmct.
As... | WithinUsAI/Elite_GOD_Coder_100k |
Add a clear docstring and type hints to this function:
```python
def f96060(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f96060(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | 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: data pipeline
Stack: Airflow, dbt, DuckDB, MinIO, pytest
Cross-layer incident: JWT refresh token rotation
Task type: deploy_runtime_patch
Diffi... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix a subtle bug in a Python module used for telemetry ingestion.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must be easy to extend, must include tests, must include type hints.
Difficulty: hard. Ensure the API is testable via dependency injection.
Delivera... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of stream processing for scenario: edge sync.
Primary language: rust.
Difficulty: medium.
Constraints: assume untrusted inputs; validate and sanitize, include tests or verification strategy, provide rollout and rollback guidance, design for backward compatibility and migratio... | WithinUsAI/Elite_GOD_Coder_100k |
Implement audit logs for a social media product.
Target platform: backend (Python FastAPI).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must avoid global state, must be performant under load, must be secure-by-default.
Difficulty: expert. Assume GDPR-style deletion requests must ... | WithinUsAI/GOD_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C34182:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m18014.py` and `test_m18014.py`.
```python
# m18014.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: Optimize while preserving behavior.
File: zbk3q... | 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: team dashboard
Stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Cross-layer incident: CI failures after dependency upgrade
Task type: schema_contr... | 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: xfhv2m3um0.py
``... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: secure_architecture
Scenario: document indexing pipeline
Domain focus: edge robotics (safe)
Primary language: typescript
Difficulty: hard
Scale/SLO: 1M msgs/min
Component: component_hlmbhmnw
Constraints: include security threat model (defensive only), include performance model and limits, include failure mod... | 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: p21jg633hxb.py
`... | 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: Axum
Domain: auth service
Logic challenge: mismatched API contract
Task type: edge_case_hardening
Difficulty: hard
Return a... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: secure_architecture
Scenario: feature-flag evaluation
Domain focus: consensus & replication
Primary language: typescript
Difficulty: expert
Scale/SLO: p99 < 150ms
Component: component_zicimuoz
Constraints: include performance model and limits, include backward compatibility and migration plan, avoid data rac... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of edge/IoT for scenario: document indexing.
Primary language: rust.
Difficulty: medium.
Constraints: assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races, document performance characteristics.
Component: component_dwfvmiy.
Assume schema cha... | WithinUsAI/Elite_GOD_Coder_100k |
Write pytest tests for `f13208`.
```python
def f13208(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m44744 import f13208
def test_known():
assert f13208(3,4) == 25
def test_zero():
assert f13208(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of ml systems for scenario: document indexing.
Primary language: rust.
Difficulty: expert.
Constraints: make the interface contract explicit, document performance characteristics, design for backward compatibility and migrations, include invariants and failure modes, avoid un... | WithinUsAI/Elite_GOD_Coder_100k |
Design a production system for fraud detection supporting background jobs.
Target platform: mobile (iOS Swift).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must be observable (logs/metrics/traces), must be easy to extend, must be performant under load.
Difficulty: hard. A... | WithinUsAI/GOD_Coder_100k |
Fix a subtle bug in a Python module used for validation.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must be easy to extend, must avoid global state, must be memory-efficient.
Difficulty: medium. Avoid quadratic behavior on large inputs.
Deliverable: product... | WithinUsAI/python_GOD_coder_100k |
Implement a web feature for enterprise SaaS: role-based access control.
Target platform: web (React + TypeScript).
Requirements: accessible UI, API integration, and tests.
Constraints: must be production-ready, must include tests, must be easy to extend.
Difficulty: hard. Include rollback strategy.
Output: design + im... | WithinUsAI/GOD_Coder_100k |
Task type: smt_constraint_model
Scenario: rate limit gateway
Domain focus: formal verification
Primary language: smtlib
Difficulty: expert+
Scale/SLO: 10k RPS peak
Component: component_ucllpmir
Constraints: include performance model and limits, avoid data races and undefined behavior, explicit contracts and invariants,... | WithinUsAI/Omega_Genesis_Coder_100k |
Design CI/CD for a social media service delivering real-time notifications.
Target platform: backend (Go).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must avoid global state, must be production-ready, must include tests, must include type hints where applicable, must be... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f01245(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 `m43035.py` and `test_m43035.py`.
*** Begin Patch
*** Update File: m43035.py
@@
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 stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions
Language: Go
Dependency challenge: N+1 query explosion
Task type: version_confli... | 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: tjbk6q6c.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: Language: YAML
Framework/tooling: Docker Compose
Domain: artifact registry
Logic challenge: gRPC retry storm
Task type: transaction_integrity_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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f20746(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m88678.py` with types and O(n) average.
```python
# m88678.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f51658(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 `m93094.py` and `test_m93094.py`.
*** Begin Patch
*** Update File: m93094.py
@@
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: Bash
Framework/tooling: GNU coreutils
Domain: observability collector
Logic challenge: websocket reconnect storm
Task type: backwards_compatible_red... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: network_protocol
Scenario: multi-tenant event ingestion
Domain focus: GPU serving
Primary language: bash
Difficulty: hard
Scale/SLO: 1M msgs/min
Component: component_lphwxglt
Constraints: include failure modes and recovery, include performance model and limits, avoid data races and undefined behavior, includ... | 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: n7rwt66qu.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C06761:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m23597.py` and `test_m23597.py`.
```python
# m23597.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f14450(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f14450(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement a concurrent Python solution for caching layer.
Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests.
Constraints: must be streaming-friendly, must include type hints, must provide clear error messages, stdlib-only.
Difficulty: medium. Support both Windows and POSIX ... | 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 |
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 |
Task type: smt_constraint_model
Scenario: graph query service
Domain focus: GPU serving
Primary language: smtlib
Difficulty: expert+
Scale/SLO: 10k RPS peak
Component: component_aosxipzx
Constraints: include verification strategy, include failure modes and recovery, avoid data races and undefined behavior, include dete... | 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: ekfsvywur.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: lockfree_primitive
Scenario: rate limit gateway
Domain focus: consensus & replication
Primary language: rust
Difficulty: hard
Scale/SLO: 1M msgs/min
Component: component_uaxudlne
Constraints: include verification strategy, include deterministic replay plan, include failure modes and recovery, include perform... | WithinUsAI/Omega_Genesis_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: Repository domain: model serving gateway
Primary language: Bash
Framework/tooling: sed
Reported problem: build reproducibility failure
Task type: code_review_... | WithinUsAI/GOD_Coder_Complete_DataSet |
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: auth service
Implementation stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker
Software delivery problem: timezone bug in reporti... | WithinUsAI/GOD_Coder_Complete_DataSet |
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: observability collector
Implementation stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Software delivery problem: memory leak in AST c... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of networking for scenario: rate limiting gateway.
Primary language: rust.
Difficulty: hard.
Constraints: provide rollout and rollback guidance, include invariants and failure modes, include tests or verification strategy, make the interface contract explicit, design for back... | 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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C32720:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m79440.py` and `test_m79440.py`.
```python
# m79440.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: Fix a bug and add tests.
File: lmrmy19yo.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: johj4xgup.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f32661(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 `m47523.py` and `test_m47523.py`.
*** Begin Patch
*** Update File: m47523.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: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f29319(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m75617.py` with types and O(n) average.
```python
# m75617.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: storage_engine
Scenario: real-time notification hub
Domain focus: cryptography engineering (defensive)
Primary language: python
Difficulty: expert
Scale/SLO: 99.99% availability
Component: component_grrtsrte
Constraints: include security threat model (defensive only), include test vectors and fuzz strategy, ... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: runtime_gc
Scenario: rate limit gateway
Domain focus: static analysis
Primary language: rust
Difficulty: hard
Scale/SLO: 99.99% availability
Component: component_hvqefvsr
Constraints: include test vectors and fuzz strategy, avoid data races and undefined behavior, include performance model and limits, includ... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of stream processing for scenario: edge sync.
Primary language: bash.
Difficulty: expert.
Constraints: make the interface contract explicit, include tests or verification strategy, design for backward compatibility and migrations, provide rollout and rollback guidance.
Compon... | 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 |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: YAML
Framework/tooling: Terraform
Domain: artifact registry
Logic challenge: gRPC retry storm
Task type: multi_service_security_patch
Difficulty: ex... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: document indexing.
Primary language: go.
Difficulty: expert.
Constraints: design for backward compatibility and migrations, include tests or verification strategy, make the interface contract explicit.
Component: component_ahp... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: distributed_algorithm
Scenario: document indexing pipeline
Domain focus: observability platforms
Primary language: rust
Difficulty: expert
Scale/SLO: 99.99% availability
Component: component_arpjhzlr
Constraints: include failure modes and recovery, assume adversarial inputs; validate everything, include dete... | WithinUsAI/Omega_Genesis_Coder_100k |
Debug and fix a subtle production bug related to audit logs in a document processing service.
Target platform: infra (Docker + Kubernetes).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must be performant under load, must avoid global state, must be easy to extend, must be obs... | WithinUsAI/GOD_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C60398:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m04646.py` and `test_m04646.py`.
```python
# m04646.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: oi9m6at.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of ml systems for scenario: document indexing.
Primary language: go.
Difficulty: medium.
Constraints: include invariants and failure modes, design for backward compatibility and migrations, provide rollout and rollback guidance, document performance characteristics, assume un... | 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 domain: feature flag service
Implementation stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Software delivery problem: transaction boundary bu... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix a subtle bug in a Python module used for file synchronization.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: stdlib-only, must be easy to extend, must include tests.
Difficulty: hard. Handle empty inputs and malformed records gracefully.
Deliverable: corre... | 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: Fix a bug and add tests.
File: esz0gv.py
```pyt... | 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: dd57rj556.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Design a production system for fintech supporting offline-first sync.
Target platform: backend (Go).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must include tests, must be secure-by-default, must be production-ready, must include clear error handling.
Difficulty: hard. A... | 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: Fix a bug and add tests.
File: c97hqb6.py
```py... | 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: Repository domain: notification service
Primary language: Rust
Framework/tooling: Serde
Reported problem: optimistic locking conflict
Task type: performance_p... | 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: t4e6ogs9o1.py
``... | 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: Tokio
Domain: team dashboard
Logic challenge: race condition on worker shutdown
Task type: misleading_symptom_debug
Difficul... | WithinUsAI/GOD_Coder_Complete_DataSet |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.