text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
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: stdlib-only, must be memory-efficient, must be easy to extend.
Difficulty: hard. Handle empty inputs and malformed records gracefully.
Del... | WithinUsAI/python_GOD_coder_100k |
Debug and fix a subtle production bug related to background jobs in a customer support service.
Target platform: ML (scikit + batch).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must be secure-by-default, must avoid global state, must be observable (logs/metrics/traces).
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: 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 |
Build an elite-grade solution in the domain of gpu compute for scenario: edge sync.
Primary language: rust.
Difficulty: expert.
Constraints: document performance characteristics, provide rollout and rollback guidance, avoid undefined behavior and data races, design for backward compatibility and migrations, assume untr... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of networking for scenario: chat messaging.
Primary language: go.
Difficulty: medium.
Constraints: avoid undefined behavior and data races, assume untrusted inputs; validate and sanitize, make the interface contract explicit, include invariants and failure modes, design for b... | WithinUsAI/Elite_GOD_Coder_100k |
Implement an ML engineering workflow for customer support focusing on offline-first sync.
Target platform: ML (training + serving).
Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring.
Constraints: must include type hints where applicable, must be production-ready, must be se... | 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 |
Design CI/CD for a customer support service delivering search + pagination.
Target platform: data (SQL + Python).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must include type hints where applicable, must be secure-by-default, must be easy to extend, must include documen... | WithinUsAI/GOD_Coder_100k |
Design and implement an algorithm for rate limiting.
Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests.
Constraints: must be streaming-friendly, must be easy to extend.
Difficulty: medium. Provide helpful exceptions with actionable messages.
Deliverable: production-rea... | WithinUsAI/python_GOD_coder_100k |
Fix the bug and add pytest tests.
```python
def f42475(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 `m48925.py` and `test_m48925.py`.
*** Begin Patch
*** Update File: m48925.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: search service
Stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Cross-layer incident: broken pagination cursor
Task type: full_stack_bug_fix
Diffi... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix the bug and add pytest tests.
```python
def f76562(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 `m82366.py` and `test_m82366.py`.
*** Begin Patch
*** Update File: m82366.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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of gpu compute for scenario: multi-tenant SaaS.
Primary language: sql.
Difficulty: hard.
Constraints: include tests or verification strategy, make the interface contract explicit, include invariants and failure modes, avoid undefined behavior and data races.
Component: compon... | 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: ym4u_nwl1.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Write a thorough test suite for a Python component used for report generation.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must avoid global state, must include type hints.
Difficulty: easy. Avoid quadratic behavior on large inputs.
Deliverable: implementation + tests.
```pyth... | 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: nw4h4... | WithinUsAI/Royal_Ghost_Coder_501k |
Provision infrastructure for a fraud detection workload providing idempotent payments.
Target platform: backend (Node.js).
Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling.
Constraints: must include documentation/comments, must be secure-by-default, must be easy to extend, must be perf... | WithinUsAI/GOD_Coder_100k |
Refactor an existing codebase in e-commerce to support audit logs cleanly.
Target platform: backend (Python FastAPI).
Requirements: propose new modules/layers, dependency boundaries, and migration plan.
Constraints: must be performant under load, must be observable (logs/metrics/traces), must be secure-by-default, must... | 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: YAML
Framework/tooling: GitHub Actions
Domain: payments platform
Logic challenge: schema drift during deployment
Task type: distributed_debug
Diffic... | 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: C++
Framework/tooling: STL
Domain: reporting engine
Logic challenge: monorepo toolchain skew
Task type: transaction_integrity_fix
Difficulty: hard
... | 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: C#
Framework/tooling: xUnit
Domain: data pipeline
Logic challenge: transaction boundary bug
Task type: multi_file_migration_repair
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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of sre/observability for scenario: payment processing.
Primary language: python.
Difficulty: medium.
Constraints: assume untrusted inputs; validate and sanitize, include tests or verification strategy, make the interface contract explicit, include invariants and failure modes... | 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: Repository domain: benchmark harness
Primary language: C#
Framework/tooling: ASP.NET Core
Reported problem: mismatched API contract
Task type: api_endpoint_wo... | 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: SQL
Framework/tooling: SQLite
Domain: feature flag service
Logic challenge: rate-limit bypass
Task type: transaction_integrity_fix
Difficulty: hard
... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of realtime systems for scenario: analytics pipeline.
Primary language: go.
Difficulty: expert.
Constraints: provide rollout and rollback guidance, include tests or verification strategy, design for backward compatibility and migrations, assume untrusted inputs; validate and ... | WithinUsAI/Elite_GOD_Coder_100k |
Optimize a Python workflow for task scheduling.
Requirements: provide an optimized implementation and a small benchmark harness.
Constraints: must provide clear error messages, must be streaming-friendly, must be easy to extend.
Difficulty: easy. Handle empty inputs and malformed records gracefully.
Deliverable: API +... | WithinUsAI/python_GOD_coder_100k |
Implement a web feature for e-commerce: webhooks.
Target platform: web (React + TypeScript).
Requirements: accessible UI, API integration, and tests.
Constraints: must include documentation/comments, must be production-ready, must include clear error handling, must include tests.
Difficulty: expert. Assume GDPR-style d... | 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: ibu_x... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f83977(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 `m97711.py` and `test_m97711.py`.
*** Begin Patch
*** Update File: m97711.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Improve typing and robustness of a Python module used for metrics aggregation.
Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests.
Constraints: must be memory-efficient, must be streaming-friendly, must handle Windows paths safely.
Difficulty: hard. Handle empty inputs and mal... | 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: tnlet... | WithinUsAI/Royal_Ghost_Coder_501k |
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 easy to extend, must avoid global state, must include docstrings.
Difficulty: expert. Support both Windows and POSIX... | 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: JavaScript
Framework/tooling: Jest
Reported problem: partial checkpoint corruption
Task type: bug_fix
Diffi... | 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 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 include type hints, must include tests, stdlib-only.
Difficulty: hard. Guarantee deterministic output ordering.
Deliverable: production-ready... | WithinUsAI/python_GOD_coder_100k |
Refactor a Python module used for log processing into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must be easy to extend, must handle Windows paths safely, must include type hints.
Difficulty: medium. Include a small CLI exampl... | WithinUsAI/python_GOD_coder_100k |
Task type: network_protocol
Scenario: edge sync
Domain focus: model checking
Primary language: rust
Difficulty: expert+
Scale/SLO: 50 TB/day ingestion
Component: component_kufqykfb
Constraints: avoid data races and undefined behavior, include security threat model (defensive only), include failure modes and recovery, i... | WithinUsAI/Omega_Genesis_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C09076:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m46852.py` and `test_m46852.py`.
```python
# m46852.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f16073(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 `m59439.py` and `test_m59439.py`.
*** Begin Patch
*** Update File: m59439.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: zo256e1.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: f4xy89.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Design a small, production-grade Python API for event dispatching.
Requirements: define data models and interfaces, implement reference version, include tests.
Constraints: must be memory-efficient, must include type hints, must include tests.
Difficulty: medium. Support both Windows and POSIX paths correctly.
Deliver... | WithinUsAI/python_GOD_coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project domain: data pipeline
Implementation stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Software delivery problem: CI failures after dependency upgrade
Tas... | WithinUsAI/GOD_Coder_Complete_DataSet |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement audit logs for a document processing product.
Target platform: mobile (iOS Swift).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must be production-ready, must avoid global state, must include tests, must include clear error handling.
Difficulty: hard. Assume schema evolv... | WithinUsAI/GOD_Coder_100k |
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 include type hints.
Difficulty: expert. Ensure the API is testable via dependency injection.
Deliverable: implementation + tests.
`... | WithinUsAI/python_GOD_coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Language: Python
Dependency challenge: path traversal on downloads
Task type: build_reproducib... | WithinUsAI/GOD_Coder_Complete_DataSet |
Implement a concurrent Python solution for CLI tooling.
Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests.
Constraints: must include type hints, must be streaming-friendly, must include docstrings, stdlib-only.
Difficulty: easy. Provide helpful exceptions with actionable me... | WithinUsAI/python_GOD_coder_100k |
Task type: compiler_backend_ir
Scenario: streaming ETL
Domain focus: edge robotics (safe)
Primary language: rust
Difficulty: hard
Scale/SLO: 10k RPS peak
Component: component_azwiczxo
Constraints: include deterministic replay plan, include backward compatibility and migration plan, include security threat model (defens... | WithinUsAI/Omega_Genesis_Coder_100k |
Fix the bug and add pytest tests.
```python
def f59235(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 `m65605.py` and `test_m65605.py`.
*** Begin Patch
*** Update File: m65605.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Language: Python
Dependency challenge: log redaction failure
Task type: migration_patch
Diffic... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: storage_engine
Scenario: payment ledger
Domain focus: kernel primitives
Primary language: rust
Difficulty: expert
Scale/SLO: p99 < 50ms
Component: component_xwtfhewr
Constraints: avoid data races and undefined behavior, include failure modes and recovery, include verification strategy, include security threa... | WithinUsAI/Omega_Genesis_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: d7nyr... | 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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: robust_e2e_testing
Scenario: document indexing pipeline
Domain focus: query planning
Primary language: python
Difficulty: hard
Scale/SLO: 10k RPS peak
Component: component_eppuxevj
Constraints: include deterministic replay plan, include verification strategy, include performance model and limits, include fai... | 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: artifact registry
Implementation stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Software delivery problem: partial checkpoint corrupt... | WithinUsAI/GOD_Coder_Complete_DataSet |
Optimize while preserving behavior and order.
```python
def f61205(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m37315.py` with types and O(n) average.
```python
# m37315.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 f55888(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 `m07984.py` and `test_m07984.py`.
*** Begin Patch
*** Update File: m07984.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
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 streaming-friendly, must avoid global state, must be memory-efficient, must provide clear error messages.
Difficulty: easy... | WithinUsAI/python_GOD_coder_100k |
Fix the bug and add pytest tests.
```python
def f55684(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 `m50812.py` and `test_m50812.py`.
*** Begin Patch
*** Update File: m50812.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: u41cmobwagh.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: System domain: data pipeline
Stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker
Cross-layer incident: stale cache invalidation
Task type: observability_debu... | WithinUsAI/GOD_Coder_Complete_DataSet |
Refactor an existing codebase in social media to support real-time notifications cleanly.
Target platform: infra (Terraform).
Requirements: propose new modules/layers, dependency boundaries, and migration plan.
Constraints: must be observable (logs/metrics/traces), must include clear error handling, must include docume... | 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: System domain: observability collector
Stack: Airflow, dbt, DuckDB, MinIO, pytest
Cross-layer incident: dead-letter queue replay
Task type: full_stack_bug_fix... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: network_protocol
Scenario: document indexing pipeline
Domain focus: GPU serving
Primary language: typescript
Difficulty: hard
Scale/SLO: 1M msgs/min
Component: component_pvmyuyce
Constraints: include failure modes and recovery, include deterministic replay plan, include performance model and limits, assume a... | WithinUsAI/Omega_Genesis_Coder_100k |
Provision infrastructure for a healthtech workload providing A/B experimentation.
Target platform: data (SQL + Python).
Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling.
Constraints: must avoid global state, must be production-ready, must be easy to extend, must be secure-by-default, m... | 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 |
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: search service
Logic challenge: rate-limit bypass
Task type: performance_bottleneck_patch
Difficulty: hard
R... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: perf_microarchitecture
Scenario: feature-flag evaluation
Domain focus: kernel primitives
Primary language: python
Difficulty: expert+
Scale/SLO: multi-region active-active
Component: component_pzvedveb
Constraints: include verification strategy, assume adversarial inputs; validate everything, explicit contra... | WithinUsAI/Omega_Genesis_Coder_100k |
Optimize while preserving behavior and order.
```python
def f69282(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m81326.py` with types and O(n) average.
```python
# m81326.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: Language: Rust
Framework/tooling: Tokio
Domain: team dashboard
Logic challenge: async cancellation bug
Task type: monorepo_toolchain_recovery
Difficulty: expe... | WithinUsAI/GOD_Coder_Complete_DataSet |
Optimize while preserving behavior and order.
```python
def f37594(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m33942.py` with types and O(n) average.
```python
# m33942.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: compiler_frontend
Scenario: document indexing pipeline
Domain focus: GPU serving
Primary language: python
Difficulty: hard
Scale/SLO: p99 < 150ms
Component: component_fmjdehhj
Constraints: include backward compatibility and migration plan, include test vectors and fuzz strategy, include deterministic replay ... | WithinUsAI/Omega_Genesis_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: Go
Framework/tooling: testify
Domain: team dashboard
Logic challenge: streaming timeout handling
Task type: monorepo_toolchain_recovery
Difficulty: ... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix a subtle bug in a Python module used for validation.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must provide clear error messages, must be streaming-friendly, must be memory-efficient.
Difficulty: medium. Guarantee deterministic output ordering.
Deliver... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of stream processing for scenario: event ingestion.
Primary language: sql.
Difficulty: medium.
Constraints: make the interface contract explicit, include invariants and failure modes, assume untrusted inputs; validate and sanitize, design for backward compatibility and migrat... | WithinUsAI/Elite_GOD_Coder_100k |
Improve typing and robustness of a Python module used for telemetry ingestion.
Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests.
Constraints: must handle Windows paths safely, must include docstrings.
Difficulty: easy. Ensure the API is testable via dependency injection.
De... | WithinUsAI/python_GOD_coder_100k |
Task type: lockfree_primitive
Scenario: time-series metrics store
Domain focus: stream processing
Primary language: cpp
Difficulty: expert
Scale/SLO: 10k RPS peak
Component: component_iiavwoeh
Constraints: include deterministic replay plan, include backward compatibility and migration plan, include security threat mode... | WithinUsAI/Omega_Genesis_Coder_100k |
Optimize while preserving behavior and order.
```python
def f35845(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m90835.py` with types and O(n) average.
```python
# m90835.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: Language: C#
Framework/tooling: NUnit
Domain: model serving gateway
Logic challenge: memory leak in AST cache
Task type: performance_bottleneck_patch
Difficul... | WithinUsAI/GOD_Coder_Complete_DataSet |
Optimize while preserving behavior and order.
```python
def f93790(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m41970.py` with types and O(n) average.
```python
# m41970.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 f77300(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 `m53900.py` and `test_m53900.py`.
*** Begin Patch
*** Update File: m53900.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix a subtle bug in a Python module used for ETL pipelines.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must be easy to extend, must avoid global state.
Difficulty: hard. Provide helpful exceptions with actionable messages.
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: Language: Bash
Framework/tooling: sed
Domain: team dashboard
Logic challenge: multi-tenant access leak
Task type: cross_stack_outage_fix
Difficulty: hard
Ret... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of realtime systems for scenario: rate limiting gateway.
Primary language: sql.
Difficulty: expert.
Constraints: assume untrusted inputs; validate and sanitize, include tests or verification strategy, design for backward compatibility and migrations, document performance char... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: network_protocol
Scenario: streaming ETL
Domain focus: program synthesis (safe)
Primary language: rust
Difficulty: expert
Scale/SLO: 99.99% availability
Component: component_qovbqxsb
Constraints: include performance model and limits, include test vectors and fuzz strategy, explicit contracts and invariants, ... | WithinUsAI/Omega_Genesis_Coder_100k |
Fix the bug and add pytest tests.
```python
def f23859(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 `m74837.py` and `test_m74837.py`.
*** Begin Patch
*** Update File: m74837.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Create a comprehensive test plan and automated tests for background jobs in a enterprise SaaS product.
Target platform: ML (scikit + batch).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must avoid global state, must be secure-by-default, must include documentation/co... | WithinUsAI/GOD_Coder_100k |
Write a thorough test suite for a Python component used for configuration loading.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must be easy to extend, must include tests, must handle Windows paths safely, stdlib-only.
Difficulty: medium. Provide helpful exceptions with actionab... | WithinUsAI/python_GOD_coder_100k |
Add a clear docstring and type hints to this function:
```python
def f34380(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f34380(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 domain: feature flag service
Implementation stack: Airflow, dbt, DuckDB, MinIO, pytest
Software delivery problem: mismatched API contract
Task type: 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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of networking for scenario: rate limiting gateway.
Primary language: python.
Difficulty: expert.
Constraints: include invariants and failure modes, design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize, provide rollout and rollback g... | WithinUsAI/Elite_GOD_Coder_100k |
Optimize a Python workflow for metrics aggregation.
Requirements: provide an optimized implementation and a small benchmark harness.
Constraints: must include tests, must include docstrings, stdlib-only.
Difficulty: expert. Include a small CLI example if relevant.
Deliverable: API + reference implementation + tests.
S... | WithinUsAI/python_GOD_coder_100k |
Design CI/CD for a fintech service delivering caching.
Target platform: backend (Go).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must include type hints where applicable, must be secure-by-default, must be production-ready, must include tests, must avoid global state.
D... | WithinUsAI/GOD_Coder_100k |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.