text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
Build an elite-grade solution in the domain of compilers for scenario: job scheduler.
Primary language: sql.
Difficulty: expert.
Constraints: make the interface contract explicit, document performance characteristics, design for backward compatibility and migrations.
Component: component_fowbymz.
Assume 50k RPS and p99... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of databases for scenario: analytics pipeline.
Primary language: rust.
Difficulty: medium.
Constraints: make the interface contract explicit, document performance characteristics, include invariants and failure modes, avoid undefined behavior and data races.
Component: 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: Fix a bug and add tests.
File: cb1lkgf.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: System domain: payments platform
Stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Cross-layer incident: dead-letter queue replay
Task type: schema_cont... | 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 |
Refactor an existing codebase in gaming to support idempotent payments cleanly.
Target platform: ML (scikit + batch).
Requirements: propose new modules/layers, dependency boundaries, and migration plan.
Constraints: must be easy to extend, must include type hints where applicable, must include tests, must include docum... | 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: qqxiq57ziu_.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement a concurrent Python solution for report generation.
Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests.
Constraints: must include type hints, must be memory-efficient, must include tests, must provide clear error messages.
Difficulty: hard. Handle empty inputs and ... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of ml systems for scenario: edge sync.
Primary language: bash.
Difficulty: expert.
Constraints: include invariants and failure modes, design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize.
Component: component_ofszjvy.
Assume schema ... | WithinUsAI/Elite_GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f86328(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 `m40904.py` and `test_m40904.py`.
*** Begin Patch
*** Update File: m40904.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C36827:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m56679.py` and `test_m56679.py`.
```python
# m56679.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: im1gyza.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Design CI/CD for a enterprise SaaS service delivering multi-tenant isolation.
Target platform: ML (scikit + batch).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must be production-ready, must be secure-by-default, must include documentation/comments, must be performant un... | WithinUsAI/GOD_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C76921:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m05917.py` and `test_m05917.py`.
```python
# m05917.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of distributed systems for scenario: multi-tenant SaaS.
Primary language: go.
Difficulty: medium.
Constraints: make the interface contract explicit, include invariants and failure modes, provide rollout and rollback guidance, include tests or verification strategy, avoid unde... | WithinUsAI/Elite_GOD_Coder_100k |
Improve typing and robustness of a Python module used for event dispatching.
Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests.
Constraints: must be easy to extend, must provide clear error messages, must include docstrings, must include type hints.
Difficulty: medium. Suppor... | WithinUsAI/python_GOD_coder_100k |
Design CI/CD for a logistics service delivering search + pagination.
Target platform: web (React + TypeScript).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must include clear error handling, must be production-ready, must avoid global state, must be observable (logs/metr... | WithinUsAI/GOD_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C35779:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m71983.py` and `test_m71983.py`.
```python
# m71983.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: uw_wj... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement webhooks for a customer support product.
Target platform: backend (Go).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must include clear error handling, must be observable (logs/metrics/traces), must be production-ready.
Difficulty: expert. Assume PII must be protected.
... | 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: 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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f05281(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 `m72183.py` and `test_m72183.py`.
*** Begin Patch
*** Update File: m72183.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 domain: payments platform
Implementation stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker
Software delivery problem: multi-tenant acces... | WithinUsAI/GOD_Coder_Complete_DataSet |
Optimize while preserving behavior and order.
```python
def f89736(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m84248.py` with types and O(n) average.
```python
# m84248.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: 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: m2y2qqurz04.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f76681(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m82383.py` with types and O(n) average.
```python
# m82383.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: JavaScript
Framework/tooling: Express
Domain: team dashboard
Logic challenge: N+1 query explosion
Task type: edge_case_hardening
Difficulty: hard
R... | 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: Optimize while preserving behavior.
File: o13p3... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: static_analyzer
Scenario: real-time notification hub
Domain focus: cryptography engineering (defensive)
Primary language: bash
Difficulty: expert
Scale/SLO: p99 < 50ms
Component: component_jctwsuiq
Constraints: explicit contracts and invariants, include performance model and limits, include verification stra... | 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: Project domain: observability collector
Implementation stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Software delivery problem: log redaction failure
Task typ... | 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 |
Build an elite-grade solution in the domain of compilers for scenario: feature flagging.
Primary language: python.
Difficulty: medium.
Constraints: assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races, document performance characteristics, make the interface contract explicit.
Compone... | 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: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions
Cross-layer incident: slow cold start
Task type: full_s... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix the bug and add pytest tests.
```python
def f03851(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 `m57693.py` and `test_m57693.py`.
*** Begin Patch
*** Update File: m57693.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: Rust, Axum, SQLx, Redis, Tokio, Docker
Language: Bash
Dependency challenge: JWT refresh token rotation
Task type: lockfile_repair
Difficulty: h... | 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: team dashboard
Implementation stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Software delivery problem: migration ordering failure
... | 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 stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Language: Bash
Dependency challenge: streaming timeout handling
Task type: version_conflict_re... | 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: Language: SQL
Framework/tooling: MySQL
Domain: model serving gateway
Logic challenge: migration ordering failure
Task type: security_logic_interaction
Difficu... | 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: g6l1aa3q.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: static_analyzer
Scenario: real-time notification hub
Domain focus: consensus & replication
Primary language: python
Difficulty: expert
Scale/SLO: 50 TB/day ingestion
Component: component_gaowvcjn
Constraints: include test vectors and fuzz strategy, include backward compatibility and migration plan, include d... | 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: w6v_fn9lpyxc.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: qsiq__aejwjk.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: mechanized_spec
Scenario: rate limit gateway
Domain focus: observability platforms
Primary language: lean
Difficulty: hard
Scale/SLO: p99 < 50ms
Component: component_hyufuanb
Constraints: include performance model and limits, assume adversarial inputs; validate everything, include failure modes and recovery,... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: mechanized_spec
Scenario: rate limit gateway
Domain focus: real-time scheduling
Primary language: lean
Difficulty: hard
Scale/SLO: 10k RPS peak
Component: component_utukjvsp
Constraints: assume adversarial inputs; validate everything, explicit contracts and invariants, include verification strategy, include ... | WithinUsAI/Omega_Genesis_Coder_100k |
Add a clear docstring and type hints to this function:
```python
def f59066(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f59066(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: 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: System domain: developer platform
Stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Cross-layer incident: path traversal on downloads
Task type: obser... | WithinUsAI/GOD_Coder_Complete_DataSet |
Add a clear docstring and type hints to this function:
```python
def f35815(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f35815(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of gpu compute for scenario: document indexing.
Primary language: rust.
Difficulty: expert.
Constraints: avoid undefined behavior and data races, make the interface contract explicit, include tests or verification strategy, provide rollout and rollback guidance, include invar... | WithinUsAI/Elite_GOD_Coder_100k |
Write a thorough test suite for a Python component used for metrics aggregation.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must include tests, must include type hints, must include docstrings.
Difficulty: expert. Provide helpful exceptions with actionable messages.
Deliverab... | 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: Python
Framework/tooling: Celery
Domain: reporting engine
Logic challenge: JWT refresh token rotation
Task type: misleading_symptom_debug
Difficulty... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write pytest tests for `f68085`.
```python
def f68085(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m81155 import f68085
def test_known():
assert f68085(3,4) == 25
def test_zero():
assert f68085(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Improve typing and robustness of a Python module used for configuration loading.
Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests.
Constraints: must provide clear error messages, must include type hints.
Difficulty: easy. Provide helpful exceptions with actionable messages.
... | WithinUsAI/python_GOD_coder_100k |
Fix the bug and add pytest tests.
```python
def f38458(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 `m05494.py` and `test_m05494.py`.
*** Begin Patch
*** Update File: m05494.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: JavaScript
Framework/tooling: Vite
Domain: notification service
Logic challenge: unsafe deserialization
Task type: misleading_symptom_debug
Difficul... | 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: Optimize while preserving behavior.
File: mixts... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f30544(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 `m75792.py` and `test_m75792.py`.
*** Begin Patch
*** Update File: m75792.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Design CI/CD for a calendar/scheduling service delivering search + pagination.
Target platform: backend (Python FastAPI).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must be production-ready, must avoid global state, must include tests, must include type hints where appl... | WithinUsAI/GOD_Coder_100k |
Write a thorough test suite for a Python component used for validation.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must be memory-efficient, must be streaming-friendly.
Difficulty: easy. Support both Windows and POSIX paths correctly.
Deliverable: production-ready reference s... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of edge/IoT for scenario: document indexing.
Primary language: bash.
Difficulty: expert.
Constraints: design for backward compatibility and migrations, include invariants and failure modes, provide rollout and rollback guidance.
Component: component_hxvucdl.
Assume partial ne... | 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: Go
Framework/tooling: Gin
Domain: team dashboard
Logic challenge: async cancellation bug
Task type: cross_stack_outage_fix
Difficulty: expert
Retur... | 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 stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker
Language: TypeScript
Dependency challenge: streaming timeout handling
Task type: lockfile_repair
... | 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: Language: Go
Framework/tooling: Fiber
Domain: artifact registry
Logic challenge: idempotent retry design
Task type: transaction_integrity_fix
Difficulty: hard... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: tla_state_machine
Scenario: multi-tenant event ingestion
Domain focus: observability platforms
Primary language: tla+
Difficulty: hard
Scale/SLO: 100k RPS peak
Component: component_lttgieyo
Constraints: include security threat model (defensive only), avoid data races and undefined behavior, assume adversaria... | 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: trelgqla6.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: nh_r0nge.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor a Python module used for task scheduling into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must include docstrings, must provide clear error messages, must include tests.
Difficulty: medium. Ensure the API is testable v... | WithinUsAI/python_GOD_coder_100k |
Fix the bug and add pytest tests.
```python
def f57058(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 `m65294.py` and `test_m65294.py`.
*** Begin Patch
*** Update File: m65294.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: co2l62pxc.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: tla_state_machine
Scenario: real-time notification hub
Domain focus: formal verification
Primary language: tla+
Difficulty: expert
Scale/SLO: 1M msgs/min
Component: component_gzsdinap
Constraints: include test vectors and fuzz strategy, include deterministic replay plan, avoid data races and undefined behavi... | 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: Language: SQL
Framework/tooling: MySQL
Domain: observability collector
Logic challenge: multi-tenant access leak
Task type: misleading_symptom_debug
Difficult... | WithinUsAI/GOD_Coder_Complete_DataSet |
Optimize while preserving behavior and order.
```python
def f47132(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m63876.py` with types and O(n) average.
```python
# m63876.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: yc4sgz.py
```pyt... | 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: EF Core
Domain: job scheduler
Logic challenge: async cancellation bug
Task type: concurrency_fix
Difficulty: medium
Return a ... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix the bug and add pytest tests.
```python
def f06902(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 `m00986.py` and `test_m00986.py`.
*** Begin Patch
*** Update File: m00986.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: a537e09.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: distributed_algorithm
Scenario: real-time notification hub
Domain focus: compiler toolchains
Primary language: python
Difficulty: expert+
Scale/SLO: 99.99% availability
Component: component_gfpqubis
Constraints: include deterministic replay plan, include security threat model (defensive only), include test 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: ity4g6o.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f36868(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 `m48124.py` and `test_m48124.py`.
*** Begin Patch
*** Update File: m48124.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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix a subtle bug in a Python module used for event dispatching.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must provide clear error messages, must avoid global state, stdlib-only.
Difficulty: easy. Ensure the API is testable via dependency injection.
Delive... | WithinUsAI/python_GOD_coder_100k |
Add a clear docstring and type hints to this function:
```python
def f99641(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f99641(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: Fix a bug and add tests.
File: a6ov61.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Provision infrastructure for a gaming workload providing search + pagination.
Target platform: backend (Go).
Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling.
Constraints: must be performant under load, must be easy to extend, must be production-ready, must be secure-by-default, must i... | 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: i5_u84s6g6ya.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: Project stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions
Language: JavaScript
Dependency challenge: CI failures after dependency upgrade
... | 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: Rust, Axum, SQLx, Redis, Tokio, Docker
Software delivery problem: N+1 query explosion
Task type: rollback_s... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write pytest tests for `f62891`.
```python
def f62891(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m80413 import f62891
def test_known():
assert f62891(3,4) == 25
def test_zero():
assert f62891(0,0) == 0
def test_property_nonne... | 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: Rust, Axum, SQLx, Redis, Tokio, Docker
Language: Go
Dependency challenge: multi-tenant access leak
Task type: cve_dependency_remediation
Diffic... | 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: notification service
Implementation stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker
Software delivery problem: migration order... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of edge/IoT for scenario: event ingestion.
Primary language: python.
Difficulty: expert.
Constraints: make the interface contract explicit, include invariants and failure modes, include tests or verification strategy, document performance characteristics.
Component: component... | 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: y3nkx... | 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: feature flag service
Primary language: Bash
Framework/tooling: jq
Reported problem: invalid rollback sequence
Task type: performance_patch
... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of high-performance services for scenario: payment processing.
Primary language: go.
Difficulty: medium.
Constraints: provide rollout and rollback guidance, design for backward compatibility and migrations, make the interface contract explicit, document performance characteri... | 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: tvsul... | 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: t25thm8xibl.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C09973:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m46921.py` and `test_m46921.py`.
```python
# m46921.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix a subtle bug in a Python module used for time series.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must be streaming-friendly, must be memory-efficient.
Difficulty: hard. Include a small CLI example if relevant.
Deliverable: production-ready reference sol... | WithinUsAI/python_GOD_coder_100k |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.