text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
Design CI/CD for a fraud detection service delivering A/B experimentation.
Target platform: CI (GitHub Actions).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must avoid global state, must be observable (logs/metrics/traces), must be secure-by-default, must be easy to exte... | 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 domain: data pipeline
Implementation stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions
Software delivery problem: CI failures afte... | 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: Java
Framework/tooling: Gradle
Domain: model serving gateway
Logic challenge: idempotent retry design
Task type: security_logic_interaction
Difficul... | WithinUsAI/GOD_Coder_Complete_DataSet |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: q7b9zjzdd_j.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker
Language: Rust
Dependency challenge: mismatched API contract
Task type: version_confli... | 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: YAML
Framework/tooling: Helm
Domain: document processing API
Logic challenge: stale cache invalidation
Task type: performance_bottleneck_patch
Diffi... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: tla_state_machine
Scenario: multi-tenant event ingestion
Domain focus: network protocols
Primary language: tla+
Difficulty: hard
Scale/SLO: 100k RPS peak
Component: component_iausxuxx
Constraints: avoid data races and undefined behavior, include failure modes and recovery, include security threat model (defe... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: supply_chain_security
Scenario: multi-tenant event ingestion
Domain focus: GPU serving
Primary language: rust
Difficulty: hard
Scale/SLO: multi-region active-active
Component: component_edlylmkj
Constraints: include deterministic replay plan, include verification strategy, include security threat model (defe... | 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: i8uan2ou02o.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement rate limiting for a education product.
Target platform: mobile (iOS Swift).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must include documentation/comments, must be observable (logs/metrics/traces), must be easy to extend.
Difficulty: expert. Include rollback strategy.
... | WithinUsAI/GOD_Coder_100k |
Write pytest tests for `f60788`.
```python
def f60788(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m08684 import f60788
def test_known():
assert f60788(3,4) == 25
def test_zero():
assert f60788(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 handle Windows paths safely, stdlib-only, must include tests.
Difficulty: hard. Guarantee deterministic output ordering.
Deliverable: productio... | 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: x1olidhtp9v2.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker
Language: JavaScript
Dependency challenge: slow cold start
Task type: migration_patch
... | WithinUsAI/GOD_Coder_Complete_DataSet |
Add a clear docstring and type hints to this function:
```python
def f99079(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f99079(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of operating systems for scenario: analytics pipeline.
Primary language: rust.
Difficulty: hard.
Constraints: include invariants and failure modes, make the interface contract explicit, assume untrusted inputs; validate and sanitize, document performance characteristics.
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: Optimize while preserving behavior.
File: hl9ib... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: storage_engine
Scenario: document indexing pipeline
Domain focus: GPU serving
Primary language: bash
Difficulty: expert
Scale/SLO: 10k RPS peak
Component: component_tmtczjug
Constraints: avoid data races and undefined behavior, include backward compatibility and migration plan, include security threat model ... | 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: uyxy7m0.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Design a production system for logistics supporting file uploads.
Target platform: mobile (Android Kotlin).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must be observable (logs/metrics/traces), must include documentation/comments, must be performant under load, must inclu... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f11973(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 `m73139.py` and `test_m73139.py`.
*** Begin Patch
*** Update File: m73139.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: robust_e2e_testing
Scenario: rate limit gateway
Domain focus: stream processing
Primary language: rust
Difficulty: hard
Scale/SLO: multi-region active-active
Component: component_ckurfujh
Constraints: include failure modes and recovery, explicit contracts and invariants, include security threat model (defens... | 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: rnvai... | 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: C++
Framework/tooling: STL
Domain: feature flag service
Logic challenge: N+1 query explosion
Task type: transaction_integrity_fix
Difficulty: hard
... | 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: gsqk8aro.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f48336(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 `m64048.py` and `test_m64048.py`.
*** Begin Patch
*** Update File: m64048.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Write a thorough test suite for a Python component used for ETL pipelines.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must handle Windows paths safely, must include tests, stdlib-only.
Difficulty: easy. Include a small CLI example if relevant.
Deliverable: implementation + te... | WithinUsAI/python_GOD_coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C81048:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m44696.py` and `test_m44696.py`.
```python
# m44696.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of high-performance services for scenario: edge sync.
Primary language: python.
Difficulty: medium.
Constraints: design for backward compatibility and migrations, provide rollout and rollback guidance, include tests or verification strategy, make the interface contract explic... | WithinUsAI/Elite_GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f38223(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 `m76889.py` and `test_m76889.py`.
*** Begin Patch
*** Update File: m76889.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: secure_architecture
Scenario: rate limit gateway
Domain focus: runtime systems
Primary language: typescript
Difficulty: expert
Scale/SLO: p99 < 50ms
Component: component_bschtymb
Constraints: include deterministic replay plan, include failure modes and recovery, avoid data races and undefined behavior, assum... | 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: System domain: reporting engine
Stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions
Cross-layer incident: timezone bug in reporting
Task typ... | WithinUsAI/GOD_Coder_Complete_DataSet |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C46403:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m42031.py` and `test_m42031.py`.
```python
# m42031.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C38881:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m56837.py` and `test_m56837.py`.
```python
# m56837.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: Go
Framework/tooling: sqlc
Domain: data pipeline
Logic challenge: stale cache invalidation
Task type: multi_file_migration_repair
Difficulty: expert... | 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 f34383(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 `m47769.py` and `test_m47769.py`.
*** Begin Patch
*** Update File: m47769.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f08893(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f08893(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f54592(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f54592(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 rate limiting.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must avoid global state, must be streaming-friendly, must include tests.
Difficulty: hard. Include a small CLI example if relevant.
Deliverable: implement... | WithinUsAI/python_GOD_coder_100k |
Add a clear docstring and type hints to this function:
```python
def f30877(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f30877(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f87339`.
```python
def f87339(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m12477 import f87339
def test_known():
assert f87339(3,4) == 25
def test_zero():
assert f87339(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of operating systems for scenario: rate limiting gateway.
Primary language: python.
Difficulty: hard.
Constraints: avoid undefined behavior and data races, document performance characteristics, design for backward compatibility and migrations, assume untrusted inputs; validat... | WithinUsAI/Elite_GOD_Coder_100k |
Improve typing and robustness of a Python module used for time series.
Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests.
Constraints: must include tests, stdlib-only.
Difficulty: medium. Support both Windows and POSIX paths correctly.
Deliverable: API + reference implementa... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: chat messaging.
Primary language: rust.
Difficulty: medium.
Constraints: design for backward compatibility and migrations, include invariants and failure modes, document performance characteristics, provide rollout and rollbac... | 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 stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Language: Java
Dependency challenge: websocket reconnect storm
Task type: container_runtime_fix
Difficul... | WithinUsAI/GOD_Coder_Complete_DataSet |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: 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: k7_72l8vpp9.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement offline-first sync for a healthtech product.
Target platform: backend (Python FastAPI).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must avoid global state, must include documentation/comments, must be secure-by-default.
Difficulty: easy. Assume mobile clients are occas... | 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: ye7bj... | 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: observability collector
Stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker
Cross-layer incident: schema drift during deployment
Task type: fu... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: kernel_syscall_design
Scenario: time-series metrics store
Domain focus: consensus & replication
Primary language: cpp
Difficulty: expert
Scale/SLO: p99 < 50ms
Component: component_ilxmkcbx
Constraints: include failure modes and recovery, include performance model and limits, explicit contracts and invariants... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: smt_constraint_model
Scenario: time-series metrics store
Domain focus: stream processing
Primary language: smtlib
Difficulty: expert+
Scale/SLO: 1M msgs/min
Component: component_kxvbqeoy
Constraints: explicit contracts and invariants, include security threat model (defensive only), include backward compatibi... | 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 |
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: gRPC
Domain: auth service
Logic challenge: dead-letter queue replay
Task type: monorepo_toolchain_recovery
Difficulty: hard
R... | WithinUsAI/GOD_Coder_Complete_DataSet |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: wr_z8e.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f07947(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m15421.py` with types and O(n) average.
```python
# m15421.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: aegtb25wq.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of databases for scenario: chat messaging.
Primary language: go.
Difficulty: medium.
Constraints: assume untrusted inputs; validate and sanitize, make the interface contract explicit, document performance characteristics.
Component: component_wqsbugl.
Assume compliance requir... | 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: TypeScript
Framework/tooling: React
Domain: observability collector
Logic challenge: build reproducibility failure
Task type: parser_validation_logi... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write pytest tests for `f64718`.
```python
def f64718(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m80674 import f64718
def test_known():
assert f64718(3,4) == 25
def test_zero():
assert f64718(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: Optimize while preserving behavior.
File: s3uir... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C72162:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m82474.py` and `test_m82474.py`.
```python
# m82474.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: kn14acfz7l_9.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 |
Task type: storage_engine
Scenario: time-series metrics store
Domain focus: large-scale ML systems
Primary language: sql
Difficulty: expert+
Scale/SLO: multi-region active-active
Component: component_jjtmqlyp
Constraints: include security threat model (defensive only), include verification strategy, include test vector... | WithinUsAI/Omega_Genesis_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project domain: search service
Implementation stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Software delivery problem: timezone bug in reporting
Tas... | WithinUsAI/GOD_Coder_Complete_DataSet |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C00823:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m92371.py` and `test_m92371.py`.
```python
# m92371.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f77229(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f77229(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f70349`.
```python
def f70349(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m52907 import f70349
def test_known():
assert f70349(3,4) == 25
def test_zero():
assert f70349(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Create a comprehensive test plan and automated tests for webhooks in a developer tooling product.
Target platform: CI (GitHub Actions).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must be easy to extend, must include clear error handling, must include documentation/... | WithinUsAI/GOD_Coder_100k |
Optimize while preserving behavior and order.
```python
def f52547(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m93221.py` with types and O(n) average.
```python
# m93221.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Repository domain: developer platform
Primary language: SQL
Framework/tooling: PostgreSQL
Reported problem: N+1 query explosion
Task type: api_endpoint_work
D... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: network_protocol
Scenario: document indexing pipeline
Domain focus: large-scale ML systems
Primary language: sql
Difficulty: expert
Scale/SLO: 1M msgs/min
Component: component_fprezqzm
Constraints: include performance model and limits, include security threat model (defensive only), explicit contracts and in... | 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: b92kjlms9rg.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix a subtle bug in a Python module used for CLI tooling.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must include tests, must avoid global state, must provide clear error messages, must include type hints.
Difficulty: easy. Include a small CLI example if rel... | WithinUsAI/python_GOD_coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C62754:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m74058.py` and `test_m74058.py`.
```python
# m74058.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f55941(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 `m36563.py` and `test_m36563.py`.
*** Begin Patch
*** Update File: m36563.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f62358(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 `m23194.py` and `test_m23194.py`.
*** Begin Patch
*** Update File: m23194.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: jtna41u.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of realtime systems for scenario: chat messaging.
Primary language: python.
Difficulty: hard.
Constraints: avoid undefined behavior and data races, assume untrusted inputs; validate and sanitize, document performance characteristics.
Component: component_xwltdwj.
Assume stric... | WithinUsAI/Elite_GOD_Coder_100k |
Improve typing and robustness of a Python module used for task scheduling.
Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests.
Constraints: must avoid global state, must include docstrings, stdlib-only, must include tests.
Difficulty: expert. Handle empty inputs and malformed ... | 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: a8v2b... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: distributed_algorithm
Scenario: job scheduler
Domain focus: compiler toolchains
Primary language: rust
Difficulty: hard
Scale/SLO: p99 < 150ms
Component: component_tppgysms
Constraints: include deterministic replay plan, include performance model and limits, include security threat model (defensive only), in... | WithinUsAI/Omega_Genesis_Coder_100k |
Design a small, production-grade Python API for report generation.
Requirements: define data models and interfaces, implement reference version, include tests.
Constraints: must be memory-efficient, must include type hints.
Difficulty: medium. Handle empty inputs and malformed records gracefully.
Deliverable: API + re... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of ml systems for scenario: chat messaging.
Primary language: rust.
Difficulty: expert.
Constraints: include tests or verification strategy, make the interface contract explicit, document performance characteristics, provide rollout and rollback guidance.
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: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix a subtle bug in a Python module used for rate limiting.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: stdlib-only, must be easy to extend, must include tests.
Difficulty: expert. Support both Windows and POSIX paths correctly.
Deliverable: corrected code 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: Optimize while preserving behavior.
File: ogjuy... | WithinUsAI/Royal_Ghost_Coder_501k |
Debug and fix a subtle production bug related to idempotent payments in a calendar/scheduling service.
Target platform: backend (Node.js).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must be performant under load, must be easy to extend, must be secure-by-default, must inclu... | WithinUsAI/GOD_Coder_100k |
Perform a code review for a e-commerce PR implementing analytics pipeline.
Target platform: ML (scikit + batch).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must be secure-by-default, must include type hints where applicable, must be observable (logs/metrics/tra... | 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: Fix a bug and add tests.
File: wyenz3z.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Repository domain: notification service
Primary language: Go
Framework/tooling: testify
Reported problem: CI failures after dependency upgrade
Task type: test... | 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: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: ml_system_design
Scenario: job scheduler
Domain focus: large-scale ML systems
Primary language: python
Difficulty: hard
Scale/SLO: 1M msgs/min
Component: component_yasmvbqr
Constraints: include performance model and limits, avoid data races and undefined behavior, include verification strategy, include failu... | WithinUsAI/Omega_Genesis_Coder_100k |
Write a thorough test suite for a Python component used for time series.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must include type hints, must be memory-efficient, must avoid global state, must include docstrings.
Difficulty: expert. Guarantee deterministic output ordering.... | 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: Boost
Domain: repo automation
Logic challenge: websocket reconnect storm
Task type: state_machine_patch
Difficulty: medium
R... | 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.