text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
Task type: distributed_algorithm
Scenario: identity and access
Domain focus: real-time scheduling
Primary language: sql
Difficulty: expert+
Scale/SLO: multi-region active-active
Component: component_ajhqfkfv
Constraints: include performance model and limits, assume adversarial inputs; validate everything, include failu... | 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 |
Fix the bug and add pytest tests.
```python
def f00705(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 `m85815.py` and `test_m85815.py`.
*** Begin Patch
*** Update File: m85815.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: Rust
Framework/tooling: cargo test
Domain: repo automation
Logic challenge: log redaction failure
Task type: edge_case_hardening
Difficulty: hard
R... | WithinUsAI/GOD_Coder_Complete_DataSet |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: 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: Repository domain: search service
Primary language: SQL
Framework/tooling: DuckDB
Reported problem: JWT refresh token rotation
Task type: feature_delivery
Dif... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: mechanized_spec
Scenario: multi-tenant event ingestion
Domain focus: observability platforms
Primary language: lean
Difficulty: expert
Scale/SLO: multi-region active-active
Component: component_kxsuxpwr
Constraints: avoid data races and undefined behavior, include security threat model (defensive only), assu... | 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: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f84442(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m69206.py` with types and O(n) average.
```python
# m69206.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Design and implement an algorithm for parsing.
Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests.
Constraints: must include type hints, stdlib-only, must include docstrings, must include tests.
Difficulty: hard. Provide helpful exceptions with actionable messages.
Deli... | WithinUsAI/python_GOD_coder_100k |
Refactor a Python module used for CLI tooling into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must include tests, stdlib-only.
Difficulty: easy. Support both Windows and POSIX paths correctly.
Deliverable: implementation + te... | WithinUsAI/python_GOD_coder_100k |
Fix the bug and add pytest tests.
```python
def f96555(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 `m42365.py` and `test_m42365.py`.
*** Begin Patch
*** Update File: m42365.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: secure_architecture
Scenario: graph query service
Domain focus: static analysis
Primary language: go
Difficulty: expert
Scale/SLO: 100k RPS peak
Component: component_cmajvusf
Constraints: include performance model and limits, avoid data races and undefined behavior, include test vectors and fuzz strategy, in... | 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: benchmark harness
Stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Cross-layer incident: broken pagination cursor
Task type: schema_cont... | WithinUsAI/GOD_Coder_Complete_DataSet |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: 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: zooh9wje.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f72582(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f72582(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f98391(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 `m56913.py` and `test_m56913.py`.
*** Begin Patch
*** Update File: m56913.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f27245(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f27245(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 `f64316`.
```python
def f64316(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m09188 import f64316
def test_known():
assert f64316(3,4) == 25
def test_zero():
assert f64316(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Build a data pipeline for a logistics product around rate limiting.
Target platform: data (SQL + Python).
Requirements: schema, ingestion, validation, backfills, and tests.
Constraints: must be production-ready, must include tests, must include clear error handling, must be performant under load, must include documenta... | WithinUsAI/GOD_Coder_100k |
Improve typing and robustness of a Python module used for data modeling.
Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests.
Constraints: must avoid global state, must be easy to extend.
Difficulty: medium. Ensure the API is testable via dependency injection.
Deliverable: imp... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of ml systems for scenario: document indexing.
Primary language: rust.
Difficulty: hard.
Constraints: avoid undefined behavior and data races, document performance characteristics, include invariants and failure modes, make the interface contract explicit, provide rollout and... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: compiler_backend_ir
Scenario: feature-flag evaluation
Domain focus: data lineage & governance
Primary language: rust
Difficulty: expert+
Scale/SLO: 1M msgs/min
Component: component_ruwjorvk
Constraints: include failure modes and recovery, include test vectors and fuzz strategy, include verification strategy,... | 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: g8t_b... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: gpu_serving_pipeline
Scenario: payment ledger
Domain focus: large-scale ML systems
Primary language: go
Difficulty: expert
Scale/SLO: 100k RPS peak
Component: component_tqouhaau
Constraints: include test vectors and fuzz strategy, explicit contracts and invariants, include performance model and limits, avoid... | 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: yhywo... | 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 |
Perform a code review for a document processing PR implementing file uploads.
Target platform: CI (GitHub Actions).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must be production-ready, must include clear error handling, must include documentation/comments.
Diff... | WithinUsAI/GOD_Coder_100k |
Perform a code review for a gaming PR implementing analytics pipeline.
Target platform: mobile (Android Kotlin).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must include tests, must include documentation/comments, must include clear error handling, must be perfo... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f26982(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 `m32426.py` and `test_m32426.py`.
*** Begin Patch
*** Update File: m32426.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: jcbir... | 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: ASP.NET Core
Domain: data pipeline
Logic challenge: monorepo toolchain skew
Task type: performance_bottleneck_patch
Difficulty... | WithinUsAI/GOD_Coder_Complete_DataSet |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: j_6n9... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C89637:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m53049.py` and `test_m53049.py`.
```python
# m53049.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: e6pma5.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f70781(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f70781(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: network_protocol
Scenario: payment ledger
Domain focus: compiler toolchains
Primary language: sql
Difficulty: expert
Scale/SLO: 1M msgs/min
Component: component_ddyvmjlk
Constraints: assume adversarial inputs; validate everything, include test vectors and fuzz strategy, include security threat model (defensi... | WithinUsAI/Omega_Genesis_Coder_100k |
Optimize while preserving behavior and order.
```python
def f70484(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m67212.py` with types and O(n) average.
```python
# m67212.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Write secure, defensive Python code for ETL pipelines.
Requirements: input validation, safe file handling, prevent path traversal, include tests.
Constraints: must avoid global state, must include tests.
Difficulty: easy. Include a small CLI example if relevant.
Deliverable: implementation + tests.
```python
from __fu... | 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: EF Core
Domain: reporting engine
Logic challenge: transaction boundary bug
Task type: parser_validation_logic
Difficulty: medi... | 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: ec6eliil4teb.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 |
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: mi3hm_59x.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f74435(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f74435(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: b2vyuz77.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of edge/IoT for scenario: rate limiting gateway.
Primary language: rust.
Difficulty: medium.
Constraints: provide rollout and rollback guidance, make the interface contract explicit, assume untrusted inputs; validate and sanitize.
Component: component_fbmooxk.
Assume strict a... | WithinUsAI/Elite_GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: Go
Framework/tooling: Gin
Domain: document processing API
Logic challenge: timezone bug in reporting
Task type: performance_bottleneck_patch
Difficu... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: storage_engine
Scenario: identity and access
Domain focus: static analysis
Primary language: bash
Difficulty: expert
Scale/SLO: 100k RPS peak
Component: component_ikzlcckw
Constraints: avoid data races and undefined behavior, include verification strategy, include failure modes and recovery, include backward... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: compiler_frontend
Scenario: payment ledger
Domain focus: GPU serving
Primary language: rust
Difficulty: hard
Scale/SLO: 100k RPS peak
Component: component_cfcrtvbg
Constraints: assume adversarial inputs; validate everything, include security threat model (defensive only), include test vectors and fuzz strate... | WithinUsAI/Omega_Genesis_Coder_100k |
Design a production system for healthtech supporting audit logs.
Target platform: backend (Go).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must be performant under load, must include tests, must include type hints where applicable, must avoid global state, must be observ... | 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 |
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: auth service
Logic challenge: optimistic locking conflict
Task type: misleading_symptom_debug
Difficul... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: static_analyzer
Scenario: real-time notification hub
Domain focus: network protocols
Primary language: bash
Difficulty: expert
Scale/SLO: multi-region active-active
Component: component_saenhrmy
Constraints: include test vectors and fuzz strategy, explicit contracts and invariants, include failure modes and ... | WithinUsAI/Omega_Genesis_Coder_100k |
Optimize while preserving behavior and order.
```python
def f98281(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m71183.py` with types and O(n) average.
```python
# m71183.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f73341(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 `m24763.py` and `test_m24763.py`.
*** Begin Patch
*** Update File: m24763.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: System domain: notification service
Stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Cross-layer incident: build reproducibility failure
Task type: cache_consist... | WithinUsAI/GOD_Coder_Complete_DataSet |
Design CI/CD for a IoT telemetry service delivering idempotent payments.
Target platform: backend (Node.js).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must be easy to extend, must include tests, must include type hints where applicable.
Difficulty: medium. Assume untru... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of stream processing for scenario: edge sync.
Primary language: python.
Difficulty: expert.
Constraints: assume untrusted inputs; validate and sanitize, document performance characteristics, include tests or verification strategy.
Component: component_xetooyx.
Assume cold-sta... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: runtime_gc
Scenario: rate limit gateway
Domain focus: formal verification
Primary language: go
Difficulty: hard
Scale/SLO: p99 < 50ms
Component: component_ivqmrekb
Constraints: include deterministic replay plan, include failure modes and recovery, include performance model and limits, include backward compat... | 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: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Language: Rust
Dependency challenge: async cancellation bug
Task type: version_conflict_reso... | 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 |
Implement a concurrent Python solution for caching layer.
Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests.
Constraints: must avoid global state, must be memory-efficient, must include tests.
Difficulty: medium. Support both Windows and POSIX paths correctly.
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: Repository domain: data pipeline
Primary language: TypeScript
Framework/tooling: Express
Reported problem: migration ordering failure
Task type: api_endpoint_... | 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: y9t_m... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f02209(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f02209(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 f53305(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f53305(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: g7qbh... | 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: repo automation
Implementation stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Software delivery problem: gRPC retry storm
Task type: ... | WithinUsAI/GOD_Coder_Complete_DataSet |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project domain: auth service
Implementation stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Software delivery problem: transaction boundary bug
Task t... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of realtime systems for scenario: analytics pipeline.
Primary language: go.
Difficulty: medium.
Constraints: make the interface contract explicit, document performance characteristics, include invariants and failure modes, provide rollout and rollback guidance, include tests ... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: network_protocol
Scenario: graph query service
Domain focus: kernel primitives
Primary language: bash
Difficulty: expert+
Scale/SLO: 99.99% availability
Component: component_wznechoc
Constraints: include deterministic replay plan, include test vectors and fuzz strategy, avoid data races and undefined behavio... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of ml systems for scenario: analytics pipeline.
Primary language: go.
Difficulty: hard.
Constraints: document performance characteristics, make the interface contract explicit, include tests or verification strategy.
Component: component_sslggcg.
Assume 50k RPS and p99 < 250m... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of high-performance services for scenario: rate limiting gateway.
Primary language: rust.
Difficulty: expert.
Constraints: avoid undefined behavior and data races, include invariants and failure modes, provide rollout and rollback guidance, include tests or verification strat... | 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: pk44237dsol5.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of stream processing for scenario: document indexing.
Primary language: go.
Difficulty: hard.
Constraints: avoid undefined behavior and data races, assume untrusted inputs; validate and sanitize, include invariants and failure modes, document performance characteristics, incl... | WithinUsAI/Elite_GOD_Coder_100k |
Optimize while preserving behavior and order.
```python
def f85462(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m55066.py` with types and O(n) average.
```python
# m55066.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 rate limiting.
Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests.
Constraints: must include docstrings, stdlib-only, must handle Windows paths safely, must be easy to extend.
Difficulty: hard. Provide helpful exception... | WithinUsAI/python_GOD_coder_100k |
Write a thorough test suite for a Python component used for event dispatching.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must include tests, must be memory-efficient, must be easy to extend.
Difficulty: medium. Guarantee deterministic output ordering.
Deliverable: implementa... | WithinUsAI/python_GOD_coder_100k |
Improve typing and robustness of a Python module used for event dispatching.
Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests.
Constraints: must provide clear error messages, stdlib-only, must include docstrings.
Difficulty: easy. Provide helpful exceptions with actionable m... | WithinUsAI/python_GOD_coder_100k |
Task type: verification_properties
Scenario: graph query service
Domain focus: program synthesis (safe)
Primary language: typescript
Difficulty: expert
Scale/SLO: p99 < 50ms
Component: component_wfhbobal
Constraints: explicit contracts and invariants, avoid data races and undefined behavior, include failure modes and r... | WithinUsAI/Omega_Genesis_Coder_100k |
Optimize while preserving behavior and order.
```python
def f93057(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m56151.py` with types and O(n) average.
```python
# m56151.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: compiler_backend_ir
Scenario: payment ledger
Domain focus: static analysis
Primary language: rust
Difficulty: expert
Scale/SLO: p99 < 50ms
Component: component_hbvuzeia
Constraints: include backward compatibility and migration plan, avoid data races and undefined behavior, include verification strategy, incl... | WithinUsAI/Omega_Genesis_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C86805:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m98985.py` and `test_m98985.py`.
```python
# m98985.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: Project domain: model serving gateway
Implementation stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Software delivery problem: CI failures after... | 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: ce8f1f8e.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: network_protocol
Scenario: payment ledger
Domain focus: real-time scheduling
Primary language: python
Difficulty: expert
Scale/SLO: 100k RPS peak
Component: component_ablajbwy
Constraints: explicit contracts and invariants, assume adversarial inputs; validate everything, include verification strategy, includ... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: network_protocol
Scenario: document indexing pipeline
Domain focus: consensus & replication
Primary language: go
Difficulty: expert+
Scale/SLO: 99.99% availability
Component: component_vwbrbypd
Constraints: assume adversarial inputs; validate everything, include deterministic replay plan, include test vector... | WithinUsAI/Omega_Genesis_Coder_100k |
Refactor an existing codebase in education to support idempotent payments cleanly.
Target platform: mobile (iOS Swift).
Requirements: propose new modules/layers, dependency boundaries, and migration plan.
Constraints: must be secure-by-default, must include type hints where applicable, must include documentation/commen... | 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: Go
Framework/tooling: Gin
Domain: reporting engine
Logic challenge: dead-letter queue replay
Task type: concurrency_fix
Difficulty: medium
Return a... | WithinUsAI/GOD_Coder_Complete_DataSet |
Create a small, production-ready Python package for log processing.
Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml.
Constraints: must be streaming-friendly, stdlib-only, must be memory-efficient.
Difficulty: hard. Guarantee deterministic output ordering.
Deliverable: API + ref... | WithinUsAI/python_GOD_coder_100k |
Refactor an existing codebase in healthtech to support rate limiting cleanly.
Target platform: mobile (Android Kotlin).
Requirements: propose new modules/layers, dependency boundaries, and migration plan.
Constraints: must be production-ready, must include type hints where applicable, must be performant under load.
Dif... | WithinUsAI/GOD_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: alvta4i65c.py
``... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor a Python module used for time series into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must include tests, must include type hints.
Difficulty: hard. Avoid quadratic behavior on large inputs.
Deliverable: API + referen... | WithinUsAI/python_GOD_coder_100k |
Create a small, production-ready Python package for log processing.
Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml.
Constraints: must include docstrings, must be easy to extend.
Difficulty: expert. Guarantee deterministic output ordering.
Deliverable: API + reference implement... | WithinUsAI/python_GOD_coder_100k |
Write pytest tests for `f83803`.
```python
def f83803(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m54829 import f83803
def test_known():
assert f83803(3,4) == 25
def test_zero():
assert f83803(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: System domain: payments platform
Stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Cross-layer incident: rate-limit bypass
Task type: auth_session_... | WithinUsAI/GOD_Coder_Complete_DataSet |
Improve typing and robustness of a Python module used for log processing.
Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests.
Constraints: must include type hints, must be memory-efficient, stdlib-only, must avoid global state.
Difficulty: expert. Include a small CLI example i... | WithinUsAI/python_GOD_coder_100k |
Fix the bug and add pytest tests.
```python
def f15011(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 `m73573.py` and `test_m73573.py`.
*** Begin Patch
*** Update File: m73573.py
@@
d... | 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.