text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
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: e093i... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: sre_incident_sim
Scenario: document indexing pipeline
Domain focus: network protocols
Primary language: rust
Difficulty: expert+
Scale/SLO: 1M msgs/min
Component: component_rpzndmjm
Constraints: include test vectors and fuzz strategy, include verification strategy, assume adversarial inputs; validate everyth... | WithinUsAI/Omega_Genesis_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C13101:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m31777.py` and `test_m31777.py`.
```python
# m31777.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: Python
Framework/tooling: Django
Domain: search service
Logic challenge: unsafe deserialization
Task type: edge_case_hardening
Difficulty: hard
Ret... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of realtime systems for scenario: inventory & ordering.
Primary language: rust.
Difficulty: medium.
Constraints: include tests or verification strategy, document performance characteristics, provide rollout and rollback guidance, include invariants and failure modes.
Componen... | WithinUsAI/Elite_GOD_Coder_100k |
Write pytest tests for `f13011`.
```python
def f13011(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m87573 import f13011
def test_known():
assert f13011(3,4) == 25
def test_zero():
assert f13011(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: Language: Python
Framework/tooling: pandas
Domain: auth service
Logic challenge: migration ordering failure
Task type: monorepo_toolchain_recovery
Difficulty:... | 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: data pipeline
Implementation stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker
Software delivery problem: partial checkpoint cor... | 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: hh4zbma17y0.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Perform a code review for a gaming PR implementing real-time notifications.
Target platform: mobile (Android Kotlin).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must be observable (logs/metrics/traces), must be production-ready, must include clear error handlin... | WithinUsAI/GOD_Coder_100k |
Provision infrastructure for a content moderation workload providing caching.
Target platform: backend (Go).
Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling.
Constraints: must include documentation/comments, must be performant under load, must include tests, must include clear error h... | 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: oy2d5s7luul.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f06838(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 `m43834.py` and `test_m43834.py`.
*** Begin Patch
*** Update File: m43834.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of ml systems for scenario: inventory & ordering.
Primary language: rust.
Difficulty: hard.
Constraints: avoid undefined behavior and data races, design for backward compatibility and migrations, provide rollout and rollback guidance, make the interface contract explicit.
Com... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: storage_engine
Scenario: time-series metrics store
Domain focus: edge robotics (safe)
Primary language: go
Difficulty: expert
Scale/SLO: 1M msgs/min
Component: component_cskxzvjd
Constraints: include performance model and limits, avoid data races and undefined behavior, assume adversarial inputs; validate ev... | WithinUsAI/Omega_Genesis_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C40069:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m72313.py` and `test_m72313.py`.
```python
# m72313.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: payment processing.
Primary language: bash.
Difficulty: hard.
Constraints: provide rollout and rollback guidance, include invariants and failure modes, assume untrusted inputs; validate and sanitize, include tests or verificat... | 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 |
Build an elite-grade solution in the domain of networking for scenario: payment processing.
Primary language: python.
Difficulty: expert.
Constraints: avoid undefined behavior and data races, include invariants and failure modes, design for backward compatibility and migrations, assume untrusted inputs; validate and sa... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of gpu compute for scenario: inventory & ordering.
Primary language: python.
Difficulty: expert.
Constraints: assume untrusted inputs; validate and sanitize, document performance characteristics, avoid undefined behavior and data races, design for backward compatibility and m... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: network_protocol
Scenario: identity and access
Domain focus: model checking
Primary language: go
Difficulty: hard
Scale/SLO: 100k RPS peak
Component: component_yttioelh
Constraints: include test vectors and fuzz strategy, include performance model and limits, explicit contracts and invariants, assume adversa... | WithinUsAI/Omega_Genesis_Coder_100k |
Create a small, production-ready Python package for parsing.
Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml.
Constraints: must handle Windows paths safely, must include type hints, must be streaming-friendly.
Difficulty: expert. Include a small CLI example if relevant.
Deliver... | 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: vqyba... | WithinUsAI/Royal_Ghost_Coder_501k |
Design and implement an algorithm for telemetry ingestion.
Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests.
Constraints: must include type hints, must provide clear error messages, must be easy to extend.
Difficulty: expert. Handle empty inputs and malformed records g... | 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: System domain: data pipeline
Stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Cross-layer incident: path traversal on downloads
Task type: cache_cons... | WithinUsAI/GOD_Coder_Complete_DataSet |
Design a production system for developer tooling supporting caching.
Target platform: ML (PyTorch + serving).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must include tests, must include type hints where applicable, must be secure-by-default.
Difficulty: expert. Assume GD... | WithinUsAI/GOD_Coder_100k |
Write a thorough test suite for a Python component used for rate limiting.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: stdlib-only, must be memory-efficient.
Difficulty: hard. Guarantee deterministic output ordering.
Deliverable: production-ready reference solution.
```python
... | 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: Project stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Language: Go
Dependency challenge: multi-tenant access leak
Task type: migration_patch
Di... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of gpu compute for scenario: time-series metrics.
Primary language: go.
Difficulty: hard.
Constraints: include invariants and failure modes, provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize, make the interface contract explicit, include te... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: query_optimizer
Scenario: edge sync
Domain focus: real-time scheduling
Primary language: go
Difficulty: hard
Scale/SLO: 10k RPS peak
Component: component_supakwur
Constraints: avoid data races and undefined behavior, include failure modes and recovery, include performance model and limits, include test vecto... | WithinUsAI/Omega_Genesis_Coder_100k |
Add a clear docstring and type hints to this function:
```python
def f52683(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f52683(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: job scheduler
Stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions
Cross-layer incident: N+1 query explosion
Task type: full_s... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of stream processing for scenario: job scheduler.
Primary language: rust.
Difficulty: expert.
Constraints: include invariants and failure modes, design for backward compatibility and migrations, make the interface contract explicit, avoid undefined behavior and data races, pr... | 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: data pipeline
Implementation stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Software delivery problem: CI failures after dependency u... | 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: nw6lwgj_gdjj.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 domain: observability collector
Implementation stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Software delivery problem: websocket recon... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: mechanized_spec
Scenario: payment ledger
Domain focus: kernel primitives
Primary language: lean
Difficulty: expert
Scale/SLO: 100k RPS peak
Component: component_ureviwhi
Constraints: include security threat model (defensive only), include test vectors and fuzz strategy, assume adversarial inputs; validate ev... | 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: z9vt1uw3b.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 domain: model serving gateway
Implementation stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Software delivery problem: multi-tenant access ... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix the bug and add pytest tests.
```python
def f42297(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 `m77471.py` and `test_m77471.py`.
*** Begin Patch
*** Update File: m77471.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of ml systems for scenario: rate limiting gateway.
Primary language: python.
Difficulty: medium.
Constraints: make the interface contract explicit, document performance characteristics, include invariants and failure modes.
Component: component_biiadat.
Assume cold-start and ... | 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: SQL
Framework/tooling: DuckDB
Domain: payments platform
Logic challenge: N+1 query explosion
Task type: misleading_symptom_debug
Difficulty: hard
R... | 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: Repository domain: payments platform
Primary language: Rust
Framework/tooling: Tokio
Reported problem: memory leak in AST cache
Task type: performance_patch
D... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix the bug and add pytest tests.
```python
def f18969(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 `m45567.py` and `test_m45567.py`.
*** Begin Patch
*** Update File: m45567.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement a mobile feature for document processing: caching.
Target platform: mobile.
Requirements: offline-safe behavior, UI state handling, and tests.
Constraints: must be easy to extend, must include documentation/comments, must include type hints where applicable.
Difficulty: easy. Include rollback strategy.
Outpu... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f04625(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 `m86375.py` and `test_m86375.py`.
*** Begin Patch
*** Update File: m86375.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: Rust
Framework/tooling: Axum
Domain: reporting engine
Logic challenge: N+1 query explosion
Task type: performance_bottleneck_patch
Difficulty: hard
... | WithinUsAI/GOD_Coder_Complete_DataSet |
Debug and fix a subtle production bug related to background jobs in a gaming service.
Target platform: infra (Docker + Kubernetes).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must include clear error handling, must be performant under load, must include tests, must be secur... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f98108(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 `m85444.py` and `test_m85444.py`.
*** Begin Patch
*** Update File: m85444.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: b4y75__nabo1.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of networking for scenario: feature flagging.
Primary language: rust.
Difficulty: hard.
Constraints: include tests or verification strategy, design for backward compatibility and migrations, avoid undefined behavior and data races.
Component: component_rxexnpx.
Assume partial... | 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: notification service
Implementation stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Software delivery problem: partial checkpoint corruption
Tas... | 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 |
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 security engineering (defensive) for scenario: analytics pipeline.
Primary language: python.
Difficulty: hard.
Constraints: design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races, make the i... | 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: artifact registry
Implementation stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Software delivery problem: mismatched API contract
... | 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 distributed systems for scenario: time-series metrics.
Primary language: go.
Difficulty: hard.
Constraints: include invariants and failure modes, document performance characteristics, make the interface contract explicit, avoid undefined behavior and data races, include te... | WithinUsAI/Elite_GOD_Coder_100k |
Fix a subtle bug in a Python module used for metrics aggregation.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must include type hints, must provide clear error messages, must avoid global state, must handle Windows paths safely.
Difficulty: hard. Avoid quadra... | 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: b_7ef... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C08997:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m23769.py` and `test_m23769.py`.
```python
# m23769.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: Bash
Framework/tooling: sed
Domain: payments platform
Logic challenge: transaction boundary bug
Task type: backwards_compatible_redesign
Difficulty:... | 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: benchmark harness
Implementation stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions
Software delivery problem: log redactio... | 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: GitHub Actions, Docker Compose, Kubernetes, Terraform
Language: Go
Dependency challenge: timezone bug in reporting
Task type: cve_dependency_re... | 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 |
Fix the bug and add pytest tests.
```python
def f43942(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 `m77706.py` and `test_m77706.py`.
*** Begin Patch
*** Update File: m77706.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement an ML engineering workflow for content moderation focusing on background jobs.
Target platform: ML (training + serving).
Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring.
Constraints: must include clear error handling, must be easy to extend, must avoid global st... | WithinUsAI/GOD_Coder_100k |
Write pytest tests for `f09635`.
```python
def f09635(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m72805 import f09635
def test_known():
assert f09635(3,4) == 25
def test_zero():
assert f09635(0,0) == 0
def test_property_nonne... | 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: d86me6vjknb.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: Optimize while preserving behavior.
File: hb9ta... | 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: curl
Domain: developer platform
Logic challenge: rate-limit bypass
Task type: performance_bottleneck_patch
Difficulty: hard
... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of networking for scenario: payment processing.
Primary language: python.
Difficulty: expert.
Constraints: include invariants and failure modes, document performance characteristics, provide rollout and rollback guidance, make the interface contract explicit.
Component: compo... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of realtime systems for scenario: feature flagging.
Primary language: rust.
Difficulty: hard.
Constraints: avoid undefined behavior and data races, assume untrusted inputs; validate and sanitize, include invariants and failure modes, make the interface contract explicit, prov... | WithinUsAI/Elite_GOD_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C75131:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m98087.py` and `test_m98087.py`.
```python
# m98087.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: Java
Framework/tooling: Gradle
Domain: team dashboard
Logic challenge: CI failures after dependency upgrade
Task type: state_machine_patch
Difficult... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix the bug and add pytest tests.
```python
def f42063(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 `m06009.py` and `test_m06009.py`.
*** Begin Patch
*** Update File: m06009.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: ub_1vbcp4.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 |
Implement a concurrent Python solution for event dispatching.
Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests.
Constraints: must avoid global state, must include docstrings.
Difficulty: hard. Include a small CLI example if relevant.
Deliverable: corrected code and verifi... | 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: bjn_hccj.py
```p... | 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: v03ej... | 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: n0z1aa4h68qx.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: data pipeline
Stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Cross-layer incident: S3-compatible upload inconsistency
Task type: deplo... | 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 |
Task type: static_analyzer
Scenario: feature-flag evaluation
Domain focus: formal verification
Primary language: go
Difficulty: hard
Scale/SLO: multi-region active-active
Component: component_ihvstjvx
Constraints: include verification strategy, include backward compatibility and migration plan, include performance mode... | 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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: runtime_gc
Scenario: real-time notification hub
Domain focus: cryptography engineering (defensive)
Primary language: bash
Difficulty: expert+
Scale/SLO: 10k RPS peak
Component: component_ctfvxiaw
Constraints: include deterministic replay plan, avoid data races and undefined behavior, assume adversarial input... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: gpu_serving_pipeline
Scenario: multi-tenant event ingestion
Domain focus: high-frequency trading systems (safe engineering)
Primary language: rust
Difficulty: expert
Scale/SLO: 99.99% availability
Component: component_ebgmxsmg
Constraints: include backward compatibility and migration plan, include determinis... | WithinUsAI/Omega_Genesis_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 memory-efficient, must include tests.
Difficulty: easy. Include a small CLI example if relevant.
Deliverable: corrected code and verification tests.
... | 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: C++
Framework/tooling: Catch2
Domain: team dashboard
Logic challenge: JWT refresh token rotation
Task type: performance_bottleneck_patch
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 |
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: job scheduler
Implementation stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Software delivery problem: memory leak in AST cache
Tas... | 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: hxcs5... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: compiler_frontend
Scenario: document indexing pipeline
Domain focus: constraint solving
Primary language: sql
Difficulty: expert
Scale/SLO: multi-region active-active
Component: component_skfzjmsd
Constraints: include performance model and limits, include security threat model (defensive only), avoid data ra... | 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: r3bsu... | WithinUsAI/Royal_Ghost_Coder_501k |
Write a thorough test suite for a Python component used for log processing.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must be easy to extend, must include tests.
Difficulty: medium. Guarantee deterministic output ordering.
Deliverable: API + reference implementation + tests.... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of operating systems for scenario: multi-tenant SaaS.
Primary language: python.
Difficulty: hard.
Constraints: assume untrusted inputs; validate and sanitize, design for backward compatibility and migrations, avoid undefined behavior and data races, provide rollout and rollba... | 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 |
Build a data pipeline for a healthtech product around rate limiting.
Target platform: data (SQL + Python).
Requirements: schema, ingestion, validation, backfills, and tests.
Constraints: must be production-ready, must include tests, must be easy to extend, must include clear error handling.
Difficulty: expert. Assume m... | 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: Project stack: Airflow, dbt, DuckDB, MinIO, pytest
Language: Python
Dependency challenge: stale cache invalidation
Task type: lockfile_repair
Difficulty: medi... | 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.