text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
Fix the bug and add pytest tests.
```python
def f83399(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 `m69057.py` and `test_m69057.py`.
*** Begin Patch
*** Update File: m69057.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: robust_e2e_testing
Scenario: edge sync
Domain focus: real-time scheduling
Primary language: python
Difficulty: expert
Scale/SLO: 50 TB/day ingestion
Component: component_nlfpigtz
Constraints: include failure modes and recovery, include deterministic replay plan, assume adversarial inputs; validate everything... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: gpu_serving_pipeline
Scenario: payment ledger
Domain focus: cryptography engineering (defensive)
Primary language: sql
Difficulty: expert+
Scale/SLO: 1M msgs/min
Component: component_qdbzevbv
Constraints: avoid data races and undefined behavior, include test vectors and fuzz strategy, include backward compat... | WithinUsAI/Omega_Genesis_Coder_100k |
Fix the bug and add pytest tests.
```python
def f46254(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 `m92322.py` and `test_m92322.py`.
*** Begin Patch
*** Update File: m92322.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: Optimize while preserving behavior.
File: wa8qh... | 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: Go
Framework/tooling: Gin
Domain: team dashboard
Logic challenge: rate-limit bypass
Task type: performance_bottleneck_patch
Difficulty: hard
Return... | 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: kxf902cy3muv.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: kgxncaxqk.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: auth service
Primary language: Go
Framework/tooling: sqlc
Reported problem: streaming timeout handling
Task type: test_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: Language: Bash
Framework/tooling: curl
Domain: search service
Logic challenge: unsafe deserialization
Task type: multi_service_security_patch
Difficulty: hard... | WithinUsAI/GOD_Coder_Complete_DataSet |
Debug and fix a subtle production bug related to analytics pipeline in a IoT telemetry service.
Target platform: ML (scikit + batch).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must include documentation/comments, must be secure-by-default, must be easy to extend.
Difficult... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f14455(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 `m02065.py` and `test_m02065.py`.
*** Begin Patch
*** Update File: m02065.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: search service
Implementation stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker
Software delivery problem: optimistic locking conflict
Task... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix the bug and add pytest tests.
```python
def f48429(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 `m78347.py` and `test_m78347.py`.
*** Begin Patch
*** Update File: m78347.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of compilers for scenario: inventory & ordering.
Primary language: typescript.
Difficulty: expert.
Constraints: include invariants and failure modes, avoid undefined behavior and data races, assume untrusted inputs; validate and sanitize, design for backward compatibility and... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: robust_e2e_testing
Scenario: time-series metrics store
Domain focus: cryptography engineering (defensive)
Primary language: typescript
Difficulty: expert
Scale/SLO: multi-region active-active
Component: component_xknwsygm
Constraints: include deterministic replay plan, assume adversarial inputs; validate eve... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of ml systems for scenario: job scheduler.
Primary language: rust.
Difficulty: medium.
Constraints: include invariants and failure modes, document performance characteristics, design for backward compatibility and migrations, make the interface contract explicit.
Component: c... | WithinUsAI/Elite_GOD_Coder_100k |
Refactor a Python module used for log processing into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must be memory-efficient, must be streaming-friendly.
Difficulty: easy. Handle empty inputs and malformed records gracefully.
De... | 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: txa66... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: ml_system_design
Scenario: edge sync
Domain focus: model checking
Primary language: go
Difficulty: hard
Scale/SLO: p99 < 50ms
Component: component_rdzmjvbj
Constraints: include verification strategy, explicit contracts and invariants, include deterministic replay plan, include failure modes and recovery, inc... | WithinUsAI/Omega_Genesis_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C04920:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m38840.py` and `test_m38840.py`.
```python
# m38840.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 |
Design CI/CD for a content moderation service delivering search + pagination.
Target platform: mobile (iOS Swift).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must include tests, must include documentation/comments, must be easy to extend, must be observable (logs/metric... | WithinUsAI/GOD_Coder_100k |
Task type: static_analyzer
Scenario: identity and access
Domain focus: model checking
Primary language: python
Difficulty: hard
Scale/SLO: 100k RPS peak
Component: component_mfahpdfw
Constraints: explicit contracts and invariants, include performance model and limits, include failure modes and recovery, include verific... | WithinUsAI/Omega_Genesis_Coder_100k |
Create a comprehensive test plan and automated tests for offline-first sync in a logistics product.
Target platform: mobile (iOS Swift).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must be secure-by-default, must be performant under load, must include type hints whe... | 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 |
Build an elite-grade solution in the domain of gpu compute for scenario: job scheduler.
Primary language: go.
Difficulty: expert.
Constraints: document performance characteristics, assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance, make the interface contract explicit.
Component: com... | WithinUsAI/Elite_GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f30710(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 `m61530.py` and `test_m61530.py`.
*** Begin Patch
*** Update File: m61530.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f03499(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f03499(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: Language: SQL
Framework/tooling: MySQL
Domain: job scheduler
Logic challenge: timezone bug in reporting
Task type: edge_case_hardening
Difficulty: hard
Retur... | WithinUsAI/GOD_Coder_Complete_DataSet |
Implement event-driven workflows for a content moderation product.
Target platform: ML (scikit + batch).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must include documentation/comments, must be easy to extend, must avoid global state.
Difficulty: expert. Include rollback strategy... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f22745(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 `m17535.py` and `test_m17535.py`.
*** Begin Patch
*** Update File: m17535.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f30002(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 `m04286.py` and `test_m04286.py`.
*** Begin Patch
*** Update File: m04286.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C71448:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m05496.py` and `test_m05496.py`.
```python
# m05496.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: ke2ry7wdf.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: tla_state_machine
Scenario: streaming ETL
Domain focus: stream processing
Primary language: tla+
Difficulty: hard
Scale/SLO: 10k RPS peak
Component: component_wsdcceiu
Constraints: include test vectors and fuzz strategy, include failure modes and recovery, include security threat model (defensive only), assu... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of databases for scenario: rate limiting gateway.
Primary language: go.
Difficulty: hard.
Constraints: document performance characteristics, include tests or verification strategy, avoid undefined behavior and data races, make the interface contract explicit, assume untrusted... | WithinUsAI/Elite_GOD_Coder_100k |
Create a small, production-ready Python package for telemetry ingestion.
Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml.
Constraints: must include tests, must include type hints, must be streaming-friendly.
Difficulty: easy. Include a small CLI example if relevant.
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: Project stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker
Language: Python
Dependency challenge: CI failures after dependency upgrade
Task type:... | 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: Rust
Framework/tooling: Tokio
Domain: team dashboard
Logic challenge: N+1 query explosion
Task type: multi_file_migration_repair
Difficulty: hard
R... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write a thorough test suite for a Python component used for log processing.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: stdlib-only, must provide clear error messages.
Difficulty: easy. Provide helpful exceptions with actionable messages.
Deliverable: API + reference implement... | 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: dhhhitg5.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: JavaScript
Framework/tooling: Playwright
Domain: benchmark harness
Logic challenge: partial checkpoint corruption
Task type: backwards_compatible_re... | WithinUsAI/GOD_Coder_Complete_DataSet |
Add a clear docstring and type hints to this function:
```python
def f15373(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f15373(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 |
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: wh_rwau4wuv.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 |
Provision infrastructure for a fintech workload providing A/B experimentation.
Target platform: ML (scikit + batch).
Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling.
Constraints: must be easy to extend, must include tests, must include type hints where applicable.
Difficulty: hard. As... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f81431(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 `m11633.py` and `test_m11633.py`.
*** Begin Patch
*** Update File: m11633.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f07526(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m58218.py` with types and O(n) average.
```python
# m58218.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: Optimize while preserving behavior.
File: egcl4... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: tla_state_machine
Scenario: identity and access
Domain focus: runtime systems
Primary language: tla+
Difficulty: expert
Scale/SLO: 100k RPS peak
Component: component_ifsijdxr
Constraints: include performance model and limits, avoid data races and undefined behavior, assume adversarial inputs; validate everyt... | 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 |
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: clfukq94d.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor a Python module used for configuration loading into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must avoid global state, must be easy to extend.
Difficulty: medium. Handle empty inputs and malformed records gracefully.... | WithinUsAI/python_GOD_coder_100k |
Create a comprehensive test plan and automated tests for A/B experimentation in a content moderation product.
Target platform: backend (Python FastAPI).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must be performant under load, must be secure-by-default, must includ... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of gpu compute for scenario: job scheduler.
Primary language: rust.
Difficulty: hard.
Constraints: avoid undefined behavior and data races, make the interface contract explicit, include invariants and failure modes, assume untrusted inputs; validate and sanitize, include test... | WithinUsAI/Elite_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: must provide clear error messages, must include type hints, must handle Windows paths safely.
Difficulty: expert. Provide helpful exceptions with actionable me... | WithinUsAI/python_GOD_coder_100k |
Refactor an existing codebase in calendar/scheduling to support real-time notifications cleanly.
Target platform: backend (Node.js).
Requirements: propose new modules/layers, dependency boundaries, and migration plan.
Constraints: must be production-ready, must be easy to extend, must include clear error handling.
Diff... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f06851(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 `m86693.py` and `test_m86693.py`.
*** Begin Patch
*** Update File: m86693.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Debug and fix a subtle production bug related to offline-first sync in a fraud detection service.
Target platform: web (React + TypeScript).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must include tests, must be secure-by-default, must be performant under load, must include... | WithinUsAI/GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: C++
Framework/tooling: STL
Domain: artifact registry
Logic challenge: memory leak in AST cache
Task type: multi_service_security_patch
Difficulty: e... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix a subtle bug in a Python module used for log processing.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must avoid global state, stdlib-only, must be easy to extend.
Difficulty: expert. Support both Windows and POSIX paths correctly.
Deliverable: API + refe... | WithinUsAI/python_GOD_coder_100k |
Create a comprehensive test plan and automated tests for event-driven workflows in a IoT telemetry product.
Target platform: web (React + TypeScript).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must include documentation/comments, must include type hints where appl... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of edge/IoT for scenario: chat messaging.
Primary language: rust.
Difficulty: medium.
Constraints: include tests or verification strategy, make the interface contract explicit, include invariants and failure modes, document performance characteristics, design for backward com... | 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: zcqj4... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: supply_chain_security
Scenario: payment ledger
Domain focus: GPU serving
Primary language: sql
Difficulty: expert+
Scale/SLO: p99 < 50ms
Component: component_fccrfbzz
Constraints: avoid data races and undefined behavior, include performance model and limits, include failure modes and recovery, include test v... | WithinUsAI/Omega_Genesis_Coder_100k |
Optimize while preserving behavior and order.
```python
def f66491(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m95213.py` with types and O(n) average.
```python
# m95213.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f15629(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f15629(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C97190:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m53630.py` and `test_m53630.py`.
```python
# m53630.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: GNU coreutils
Domain: auth service
Logic challenge: slow cold start
Task type: algorithmic_correctness
Difficulty: hard
Ret... | WithinUsAI/GOD_Coder_Complete_DataSet |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: coci5o7_.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: Fix a bug and add tests.
File: b0kv1ekh.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of compilers for scenario: rate limiting gateway.
Primary language: typescript.
Difficulty: medium.
Constraints: provide rollout and rollback guidance, design for backward compatibility and migrations, avoid undefined behavior and data races, include tests or verification str... | 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: ntnmmpr.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: static_analyzer
Scenario: edge sync
Domain focus: query planning
Primary language: sql
Difficulty: expert+
Scale/SLO: 100k RPS peak
Component: component_wesoembb
Constraints: include performance model and limits, include test vectors and fuzz strategy, include verification strategy, include failure modes and... | WithinUsAI/Omega_Genesis_Coder_100k |
Design a small, production-grade Python API for telemetry ingestion.
Requirements: define data models and interfaces, implement reference version, include tests.
Constraints: must include type hints, must include docstrings.
Difficulty: expert. Handle empty inputs and malformed records gracefully.
Deliverable: API + r... | WithinUsAI/python_GOD_coder_100k |
Debug and fix a subtle production bug related to file uploads in a IoT telemetry service.
Target platform: ML (scikit + batch).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must include tests, must be production-ready, must include type hints where applicable.
Difficulty: exp... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of networking for scenario: inventory & ordering.
Primary language: sql.
Difficulty: medium.
Constraints: make the interface contract explicit, include tests or verification strategy, avoid undefined behavior and data races, document performance characteristics, provide rollo... | 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: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Software delivery problem: CI failures after dep... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: static_analyzer
Scenario: rate limit gateway
Domain focus: fault injection & chaos engineering
Primary language: rust
Difficulty: expert
Scale/SLO: 1M msgs/min
Component: component_isxkvtrc
Constraints: explicit contracts and invariants, include verification strategy, include failure modes and recovery, incl... | 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: JavaScript
Framework/tooling: Express
Domain: notification service
Logic challenge: JWT refresh token rotation
Task type: state_machine_patch
Diffic... | 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: m3ap75np84.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: C#
Framework/tooling: EF Core
Domain: search service
Logic challenge: mismatched API contract
Task type: performance_bottleneck_patch
Difficulty: ha... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: inventory & ordering.
Primary language: typescript.
Difficulty: expert.
Constraints: provide rollout and rollback guidance, include tests or verification strategy, avoid undefined behavior and data races.
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: Fix a bug and add tests.
File: blqa9kvq.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor a Python module used for ETL pipelines into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must be memory-efficient, must be easy to extend, stdlib-only.
Difficulty: medium. Avoid quadratic behavior on large inputs.
Deli... | WithinUsAI/python_GOD_coder_100k |
Task type: compiler_frontend
Scenario: identity and access
Domain focus: compiler toolchains
Primary language: python
Difficulty: expert
Scale/SLO: multi-region active-active
Component: component_pdzlrrfh
Constraints: include deterministic replay plan, include backward compatibility and migration plan, include verifica... | WithinUsAI/Omega_Genesis_Coder_100k |
Fix the bug and add pytest tests.
```python
def f07680(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 `m58240.py` and `test_m58240.py`.
*** Begin Patch
*** Update File: m58240.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of networking for scenario: time-series metrics.
Primary language: typescript.
Difficulty: hard.
Constraints: provide rollout and rollback guidance, include tests or verification strategy, document performance characteristics, include invariants and failure modes.
Component: ... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of databases for scenario: document indexing.
Primary language: go.
Difficulty: medium.
Constraints: include invariants and failure modes, assume untrusted inputs; validate and sanitize, design for backward compatibility and migrations.
Component: component_olfqmte.
Assume co... | 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: opevr... | 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: Go
Framework/tooling: Gin
Domain: team dashboard
Logic challenge: partial checkpoint corruption
Task type: concurrency_fix
Difficulty: hard
Return ... | 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: System domain: payments platform
Stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Cross-layer incident: race condition on worker shutdown
Task type: observabilit... | 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: edwcw... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C89266:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m91482.py` and `test_m91482.py`.
```python
# m91482.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: System domain: artifact registry
Stack: Airflow, dbt, DuckDB, MinIO, pytest
Cross-layer incident: path traversal on downloads
Task type: schema_contract_align... | 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.