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: hpk6q... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project domain: data pipeline
Implementation stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Software delivery problem: streaming timeout handling
Task type: te... | 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: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Language: JavaScript
Dependency challenge: schema drift during deployment
Task type: contain... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write pytest tests for `f46140`.
```python
def f46140(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m78020 import f46140
def test_known():
assert f46140(3,4) == 25
def test_zero():
assert f46140(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: 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: Repository domain: team dashboard
Primary language: Rust
Framework/tooling: SQLx
Reported problem: streaming timeout handling
Task type: security_patch
Diffic... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix the bug and add pytest tests.
```python
def f69516(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 `m52788.py` and `test_m52788.py`.
*** Begin Patch
*** Update File: m52788.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C89302:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m22254.py` and `test_m22254.py`.
```python
# m22254.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: perf_microarchitecture
Scenario: graph query service
Domain focus: compiler toolchains
Primary language: rust
Difficulty: expert+
Scale/SLO: 10k RPS peak
Component: component_wypshxuj
Constraints: assume adversarial inputs; validate everything, include performance model and limits, avoid data races and undef... | WithinUsAI/Omega_Genesis_Coder_100k |
Fix the bug and add pytest tests.
```python
def f49846(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 `m49978.py` and `test_m49978.py`.
*** Begin Patch
*** Update File: m49978.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: runtime_gc
Scenario: multi-tenant event ingestion
Domain focus: observability platforms
Primary language: rust
Difficulty: expert
Scale/SLO: multi-region active-active
Component: component_jzsqycve
Constraints: include failure modes and recovery, explicit contracts and invariants, include security threat mod... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of realtime systems for scenario: event ingestion.
Primary language: sql.
Difficulty: medium.
Constraints: include tests or verification strategy, make the interface contract explicit, avoid undefined behavior and data races.
Component: component_ljusjop.
Assume cold-start an... | 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 |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of distributed systems for scenario: job scheduler.
Primary language: rust.
Difficulty: expert.
Constraints: include invariants and failure modes, assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance, make the interface contract explicit.
Comp... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of distributed systems for scenario: job scheduler.
Primary language: go.
Difficulty: medium.
Constraints: assume untrusted inputs; validate and sanitize, document performance characteristics, make the interface contract explicit.
Component: component_njajrgg.
Assume partial ... | WithinUsAI/Elite_GOD_Coder_100k |
Design and implement an algorithm for ETL pipelines.
Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests.
Constraints: must include tests, must handle Windows paths safely.
Difficulty: easy. Avoid quadratic behavior on large inputs.
Deliverable: implementation + tests.
P... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of high-performance services for scenario: edge sync.
Primary language: python.
Difficulty: hard.
Constraints: avoid undefined behavior and data races, design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize.
Component: component_izthj... | WithinUsAI/Elite_GOD_Coder_100k |
Build a data pipeline for a document processing product around search + pagination.
Target platform: data (SQL + Python).
Requirements: schema, ingestion, validation, backfills, and tests.
Constraints: must avoid global state, must be easy to extend, must include clear error handling, must be observable (logs/metrics/t... | WithinUsAI/GOD_Coder_100k |
Refactor a Python module used for metrics aggregation into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must be streaming-friendly, stdlib-only, must avoid global state.
Difficulty: easy. Provide helpful exceptions with actionab... | WithinUsAI/python_GOD_coder_100k |
Improve typing and robustness of a Python module used for ETL pipelines.
Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests.
Constraints: must include tests, must be streaming-friendly, must include type hints, must avoid global state.
Difficulty: expert. Include a small CLI e... | WithinUsAI/python_GOD_coder_100k |
Task type: secure_architecture
Scenario: edge sync
Domain focus: real-time scheduling
Primary language: typescript
Difficulty: hard
Scale/SLO: 99.99% availability
Component: component_njinyijx
Constraints: include security threat model (defensive only), include failure modes and recovery, explicit contracts and invaria... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: ml_system_design
Scenario: graph query service
Domain focus: secure enclaves (defensive)
Primary language: rust
Difficulty: expert+
Scale/SLO: p99 < 150ms
Component: component_gsfxrvjs
Constraints: include performance model and limits, avoid data races and undefined behavior, include test vectors and fuzz st... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: tla_state_machine
Scenario: edge sync
Domain focus: network protocols
Primary language: tla+
Difficulty: expert
Scale/SLO: p99 < 150ms
Component: component_hbvrisbw
Constraints: include backward compatibility and migration plan, include test vectors and fuzz strategy, include verification strategy, include s... | WithinUsAI/Omega_Genesis_Coder_100k |
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 handle Windows paths safely, must be easy to extend, stdlib-only.
Difficulty: hard. Include a small CLI example if relevant... | WithinUsAI/python_GOD_coder_100k |
Implement a mobile feature for calendar/scheduling: role-based access control.
Target platform: mobile.
Requirements: offline-safe behavior, UI state handling, and tests.
Constraints: must be observable (logs/metrics/traces), must include tests, must include type hints where applicable.
Difficulty: hard. Assume untrust... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of stream processing for scenario: feature flagging.
Primary language: go.
Difficulty: medium.
Constraints: design for backward compatibility and migrations, avoid undefined behavior and data races, make the interface contract explicit, include invariants and failure modes, d... | 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: Bash
Framework/tooling: curl
Domain: team dashboard
Logic challenge: unsafe deserialization
Task type: performance_bottleneck_patch
Difficulty: hard... | WithinUsAI/GOD_Coder_Complete_DataSet |
Optimize a Python workflow for telemetry ingestion.
Requirements: provide an optimized implementation and a small benchmark harness.
Constraints: must provide clear error messages, must be memory-efficient, must include docstrings, must include type hints.
Difficulty: easy. Ensure the API is testable via dependency inj... | WithinUsAI/python_GOD_coder_100k |
Task type: distributed_algorithm
Scenario: graph query service
Domain focus: formal verification
Primary language: typescript
Difficulty: expert
Scale/SLO: multi-region active-active
Component: component_tjqpmete
Constraints: explicit contracts and invariants, avoid data races and undefined behavior, include backward c... | WithinUsAI/Omega_Genesis_Coder_100k |
Optimize while preserving behavior and order.
```python
def f08156(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m58308.py` with types and O(n) average.
```python
# m58308.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Improve typing and robustness of a Python module used for caching layer.
Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests.
Constraints: must be streaming-friendly, must handle Windows paths safely.
Difficulty: medium. Provide helpful exceptions with actionable messages.
Del... | WithinUsAI/python_GOD_coder_100k |
Write pytest tests for `f35747`.
```python
def f35747(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m90821 import f35747
def test_known():
assert f35747(3,4) == 25
def test_zero():
assert f35747(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f49804(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f49804(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: omvhq... | WithinUsAI/Royal_Ghost_Coder_501k |
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 be easy to extend, must be streaming-friendly, must provide clear error messages.
Difficulty: easy. Avoid quadratic behavior on large inputs.
D... | 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: payments platform
Stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker
Cross-layer incident: broken pagination cursor
Task type: cac... | 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: hkds8glt9.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 |
Build an elite-grade solution in the domain of databases for scenario: multi-tenant SaaS.
Primary language: python.
Difficulty: expert.
Constraints: avoid undefined behavior and data races, include invariants and failure modes, make the interface contract explicit, provide rollout and rollback guidance.
Component: comp... | 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 |
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 |
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: observability collector
Logic challenge: broken pagination cursor
Task type: performance_bottleneck_patch... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: static_analyzer
Scenario: multi-tenant event ingestion
Domain focus: edge robotics (safe)
Primary language: bash
Difficulty: expert
Scale/SLO: 100k RPS peak
Component: component_vvhjhtes
Constraints: include verification strategy, explicit contracts and invariants, include deterministic replay plan, include ... | WithinUsAI/Omega_Genesis_Coder_100k |
Write secure, defensive Python code for rate limiting.
Requirements: input validation, safe file handling, prevent path traversal, include tests.
Constraints: must include type hints, must include tests, stdlib-only.
Difficulty: medium. Support both Windows and POSIX paths correctly.
Deliverable: production-ready refe... | 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: document processing API
Stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Cross-layer incident: monorepo toolchain skew
Task type: obse... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write pytest tests for `f15449`.
```python
def f15449(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m02207 import f15449
def test_known():
assert f15449(3,4) == 25
def test_zero():
assert f15449(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix a subtle bug in a Python module used for telemetry ingestion.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must avoid global state, must include tests, must include docstrings.
Difficulty: easy. Include a small CLI example if relevant.
Deliverable: API + ... | 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: jcmtufv40vo.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of distributed systems for scenario: edge sync.
Primary language: python.
Difficulty: expert.
Constraints: design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize, include tests or verification strategy, make the interface contract exp... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of gpu compute for scenario: feature flagging.
Primary language: bash.
Difficulty: expert.
Constraints: assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races, include invariants and failure modes, include tests or verification strategy, make ... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: network_protocol
Scenario: document indexing pipeline
Domain focus: model checking
Primary language: python
Difficulty: expert+
Scale/SLO: 100k RPS peak
Component: component_ilpudpup
Constraints: assume adversarial inputs; validate everything, include test vectors and fuzz strategy, include backward compatib... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: static_analyzer
Scenario: edge sync
Domain focus: large-scale ML systems
Primary language: go
Difficulty: expert+
Scale/SLO: multi-region active-active
Component: component_rlxpjuru
Constraints: avoid data races and undefined behavior, explicit contracts and invariants, include performance model and limits, ... | WithinUsAI/Omega_Genesis_Coder_100k |
Add a clear docstring and type hints to this function:
```python
def f60852(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f60852(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: Project stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions
Language: Java
Dependency challenge: gRPC retry storm
Task type: container_runti... | 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: Language: TypeScript
Framework/tooling: Node.js
Domain: feature flag service
Logic challenge: gRPC retry storm
Task type: multi_file_migration_repair
Difficul... | 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: observability collector
Stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Cross-layer incident: build reproducibility failure
Task t... | 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: testify
Domain: payments platform
Logic challenge: build reproducibility failure
Task type: multi_service_security_patch
Diffi... | 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 include docstrings, must be memory-efficient, must be streaming-friendly.
Difficulty: medium. Support both Windows and POSIX paths correctly.
Delive... | WithinUsAI/python_GOD_coder_100k |
Write pytest tests for `f17992`.
```python
def f17992(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m16856 import f17992
def test_known():
assert f17992(3,4) == 25
def test_zero():
assert f17992(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: Go
Framework/tooling: net/http
Domain: data pipeline
Logic challenge: websocket reconnect storm
Task type: algorithmic_correctness
Difficulty: mediu... | 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: feature flag service
Implementation stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Software delivery problem: stale cache invali... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix a subtle bug in a Python module used for configuration loading.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must provide clear error messages, must be easy to extend.
Difficulty: expert. Ensure the API is testable via dependency injection.
Deliverable: A... | 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: tyalzr.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement a concurrent Python solution for CLI tooling.
Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests.
Constraints: must avoid global state, must include docstrings, must provide clear error messages.
Difficulty: medium. 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: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f03076(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f03076(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix a subtle bug in a Python module used for data modeling.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must provide clear error messages, must be streaming-friendly, must include type hints.
Difficulty: easy. Support both Windows and POSIX paths correctly.
... | 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: data pipeline
Logic challenge: slow cold start
Task type: algorithmic_correctness
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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Design CI/CD for a healthtech service delivering real-time notifications.
Target platform: backend (Python FastAPI).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must be performant under load, must include documentation/comments, must include tests, must be secure-by-defa... | WithinUsAI/GOD_Coder_100k |
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, stdlib-only.
Difficulty: easy. Ensure the API is testable via dependency injection.
Deliverable: API + reference implementation ... | 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: d5b1k293.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: Java
Framework/tooling: Hibernate
Domain: auth service
Logic challenge: JWT refresh token rotation
Task type: monorepo_toolchain_recovery
Difficulty... | WithinUsAI/GOD_Coder_Complete_DataSet |
Provision infrastructure for a gaming workload providing analytics pipeline.
Target platform: backend (Python FastAPI).
Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling.
Constraints: must be performant under load, must include clear error handling, must avoid global state.
Difficulty: ... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of ml systems for scenario: job scheduler.
Primary language: typescript.
Difficulty: expert.
Constraints: design for backward compatibility and migrations, provide rollout and rollback guidance, avoid undefined behavior and data races, assume untrusted inputs; validate and sa... | WithinUsAI/Elite_GOD_Coder_100k |
Write a thorough test suite for a Python component used for telemetry ingestion.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must handle Windows paths safely, must be easy to extend, must provide clear error messages.
Difficulty: expert. Avoid quadratic behavior on large inputs... | 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: ll07f4qhi75.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: qmudq... | WithinUsAI/Royal_Ghost_Coder_501k |
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, must include type hints, must be memory-efficient.
Difficulty: expert. Support both Windows and POSIX paths correctly.
Deliverab... | WithinUsAI/python_GOD_coder_100k |
Optimize while preserving behavior and order.
```python
def f42480(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m34640.py` with types and O(n) average.
```python
# m34640.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of stream processing for scenario: edge sync.
Primary language: python.
Difficulty: medium.
Constraints: include tests or verification strategy, make the interface contract explicit, design for backward compatibility and migrations, provide rollout and rollback guidance, avoi... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: kernel_syscall_design
Scenario: document indexing pipeline
Domain focus: cryptography engineering (defensive)
Primary language: c
Difficulty: expert
Scale/SLO: p99 < 150ms
Component: component_ldouhqfh
Constraints: include verification strategy, avoid data races and undefined behavior, include deterministic ... | 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 stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker
Language: C#
Dependency challenge: transaction boundary bug
Task type: container_runtime_fix
Diff... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix the bug and add pytest tests.
```python
def f85550(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 `m83650.py` and `test_m83650.py`.
*** Begin Patch
*** Update File: m83650.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Debug and fix a subtle production bug related to audit logs in a fraud detection service.
Target platform: backend (Go).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must avoid global state, must be easy to extend, must be secure-by-default.
Difficulty: medium. Assume strict ... | 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: Optimize while preserving behavior.
File: d2l16... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
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: k4s7agmzr.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: storage_engine
Scenario: edge sync
Domain focus: model checking
Primary language: go
Difficulty: hard
Scale/SLO: 50 TB/day ingestion
Component: component_bbnozhpv
Constraints: include deterministic replay plan, avoid data races and undefined behavior, include failure modes and recovery, include performance m... | 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: j3su15ou9i7.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: network_protocol
Scenario: rate limit gateway
Domain focus: fault injection & chaos engineering
Primary language: go
Difficulty: expert+
Scale/SLO: p99 < 50ms
Component: component_elmnsupm
Constraints: include deterministic replay plan, explicit contracts and invariants, include backward compatibility and mi... | WithinUsAI/Omega_Genesis_Coder_100k |
Refactor a Python module used for rate limiting into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must be memory-efficient, must include type hints, must include tests.
Difficulty: hard. Support both Windows and POSIX paths corr... | WithinUsAI/python_GOD_coder_100k |
Create a comprehensive test plan and automated tests for search + pagination in a enterprise SaaS product.
Target platform: ML (scikit + batch).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must be performant under load, must be observable (logs/metrics/traces), must... | WithinUsAI/GOD_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Perform a code review for a IoT telemetry PR implementing offline-first sync.
Target platform: CI (GitHub Actions).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must include type hints where applicable, must be production-ready, must avoid global state.
Difficult... | WithinUsAI/GOD_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.