text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C90721:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m68517.py` and `test_m68517.py`.
```python
# m68517.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: Optimize while preserving behavior.
File: qfb7l... | WithinUsAI/Royal_Ghost_Coder_501k |
Provision infrastructure for a content moderation workload providing idempotent payments.
Target platform: infra (Terraform).
Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling.
Constraints: must include type hints where applicable, must be observable (logs/metrics/traces), must avoid gl... | WithinUsAI/GOD_Coder_100k |
Task type: compiler_frontend
Scenario: time-series metrics store
Domain focus: kernel primitives
Primary language: go
Difficulty: expert
Scale/SLO: 50 TB/day ingestion
Component: component_zgzwroug
Constraints: include backward compatibility and migration plan, assume adversarial inputs; validate everything, include se... | 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: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Language: YAML
Dependency challenge: slow cold start
Task type: container_runtime_fix
Difficul... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write pytest tests for `f68884`.
```python
def f68884(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m38412 import f68884
def test_known():
assert f68884(3,4) == 25
def test_zero():
assert f68884(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Perform a code review for a customer support PR implementing file uploads.
Target platform: web (React + TypeScript).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must be easy to extend, must include documentation/comments, must include clear error handling, 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: System domain: notification service
Stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions
Cross-layer incident: schema drift during deployment... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: query_optimizer
Scenario: multi-tenant event ingestion
Domain focus: GPU serving
Primary language: sql
Difficulty: hard
Scale/SLO: 10k RPS peak
Component: component_sygqvcgm
Constraints: include verification strategy, include deterministic replay plan, include test vectors and fuzz strategy, include failure ... | 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 |
Task type: program_synthesis_safe
Scenario: edge sync
Domain focus: GPU serving
Primary language: bash
Difficulty: expert+
Scale/SLO: 100k RPS peak
Component: component_wbggdvbc
Constraints: avoid data races and undefined behavior, include verification strategy, include failure modes and recovery, include backward comp... | WithinUsAI/Omega_Genesis_Coder_100k |
Design CI/CD for a education service delivering multi-tenant isolation.
Target platform: mobile (Android Kotlin).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must avoid global state, must include documentation/comments, must include tests, must be secure-by-default.
Diff... | WithinUsAI/GOD_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C37452:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m79804.py` and `test_m79804.py`.
```python
# m79804.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Debug and fix a subtle production bug related to role-based access control in a e-commerce service.
Target platform: CI (GitHub Actions).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must be observable (logs/metrics/traces), must include tests, must be performant under load, ... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f10177(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 `m44311.py` and `test_m44311.py`.
*** Begin Patch
*** Update File: m44311.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Create a comprehensive test plan and automated tests for real-time notifications in a fintech product.
Target platform: mobile (Android Kotlin).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must be easy to extend, must be production-ready, must include clear error ha... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of compilers for scenario: chat messaging.
Primary language: python.
Difficulty: medium.
Constraints: provide rollout and rollback guidance, design for backward compatibility and migrations, avoid undefined behavior and data races.
Component: component_ilifgjf.
Assume cold-st... | WithinUsAI/Elite_GOD_Coder_100k |
Refactor a Python module used for task scheduling into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must provide clear error messages, must be streaming-friendly, must be memory-efficient, stdlib-only.
Difficulty: expert. Avoid ... | 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: wr_7m... | 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: vuteh7ip40i.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: network_protocol
Scenario: payment ledger
Domain focus: distributed storage
Primary language: bash
Difficulty: hard
Scale/SLO: 100k RPS peak
Component: component_xfpkgmle
Constraints: include backward compatibility and migration plan, include performance model and limits, include verification strategy, avoid... | WithinUsAI/Omega_Genesis_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C17342:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m01334.py` and `test_m01334.py`.
```python
# m01334.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: wmxqaj.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of databases for scenario: multi-tenant SaaS.
Primary language: go.
Difficulty: medium.
Constraints: design for backward compatibility and migrations, make the interface contract explicit, provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize.
... | WithinUsAI/Elite_GOD_Coder_100k |
Optimize while preserving behavior and order.
```python
def f80257(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m25751.py` with types and O(n) average.
```python
# m25751.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize a Python workflow for CLI tooling.
Requirements: provide an optimized implementation and a small benchmark harness.
Constraints: must handle Windows paths safely, must be memory-efficient.
Difficulty: expert. Provide helpful exceptions with actionable messages.
Deliverable: implementation + tests.
Strategy:
-... | WithinUsAI/python_GOD_coder_100k |
Implement multi-tenant isolation for a education product.
Target platform: infra (Terraform).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must be production-ready, must avoid global state, must be performant under load.
Difficulty: medium. Assume strict latency budget (p95 < 200m... | 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 |
Optimize while preserving behavior and order.
```python
def f51404(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m78772.py` with types and O(n) average.
```python
# m78772.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: secure_architecture
Scenario: job scheduler
Domain focus: secure enclaves (defensive)
Primary language: typescript
Difficulty: expert
Scale/SLO: p99 < 150ms
Component: component_bandzhnp
Constraints: include test vectors and fuzz strategy, assume adversarial inputs; validate everything, include deterministic... | 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 |
Task type: storage_engine
Scenario: payment ledger
Domain focus: stream processing
Primary language: typescript
Difficulty: expert
Scale/SLO: 10k RPS peak
Component: component_oaayqmdl
Constraints: include deterministic replay plan, explicit contracts and invariants, include performance model and limits, include failur... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: ml_system_design
Scenario: feature-flag evaluation
Domain focus: high-frequency trading systems (safe engineering)
Primary language: typescript
Difficulty: hard
Scale/SLO: 99.99% availability
Component: component_vwafrxaz
Constraints: explicit contracts and invariants, assume adversarial inputs; validate eve... | 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: goy0c_w_ym.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: 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: Hibernate
Domain: auth service
Logic challenge: transaction boundary bug
Task type: multi_file_migration_repair
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: Fix a bug and add tests.
File: anoba29ijra.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Build a data pipeline for a e-commerce product around search + pagination.
Target platform: data (SQL + Python).
Requirements: schema, ingestion, validation, backfills, and tests.
Constraints: must be easy to extend, must be observable (logs/metrics/traces), must be performant under load, must include documentation/com... | WithinUsAI/GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: C++
Framework/tooling: CMake
Domain: search service
Logic challenge: broken pagination cursor
Task type: misleading_symptom_debug
Difficulty: hard
... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write pytest tests for `f52422`.
```python
def f52422(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m50346 import f52422
def test_known():
assert f52422(3,4) == 25
def test_zero():
assert f52422(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: 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: Go
Framework/tooling: sqlc
Domain: payments platform
Logic challenge: timezone bug in reporting
Task type: algorithmic_correctness
Difficulty: mediu... | WithinUsAI/GOD_Coder_Complete_DataSet |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: JavaScript
Framework/tooling: Playwright
Domain: artifact registry
Logic challenge: S3-compatible upload inconsistency
Task type: cross_stack_outage... | WithinUsAI/GOD_Coder_Complete_DataSet |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker
Language: JavaScript
Dependency challenge: memory leak in AST cache
Task type: cve_dependency_rem... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: secure_architecture
Scenario: feature-flag evaluation
Domain focus: program synthesis (safe)
Primary language: go
Difficulty: expert
Scale/SLO: p99 < 50ms
Component: component_zqbxfkit
Constraints: include verification strategy, include test vectors and fuzz strategy, avoid data races and undefined behavior,... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of stream processing for scenario: multi-tenant SaaS.
Primary language: python.
Difficulty: hard.
Constraints: assume untrusted inputs; validate and sanitize, document performance characteristics, include tests or verification strategy.
Component: component_dmgunoy.
Assume co... | WithinUsAI/Elite_GOD_Coder_100k |
Write pytest tests for `f09743`.
```python
def f09743(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m44249 import f09743
def test_known():
assert f09743(3,4) == 25
def test_zero():
assert f09743(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: Bash
Framework/tooling: sed
Domain: search service
Logic challenge: memory leak in AST cache
Task type: monorepo_toolchain_recovery
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 |
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: c10g9... | 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: document processing API
Logic challenge: slow cold start
Task type: performance_bottleneck_patch
Difficulty: ... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix the bug and add pytest tests.
```python
def f26971(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 `m03853.py` and `test_m03853.py`.
*** Begin Patch
*** Update File: m03853.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 |
Design CI/CD for a customer support service delivering search + pagination.
Target platform: backend (Go).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must be secure-by-default, must be production-ready, must include tests, must include clear error handling.
Difficulty: ... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of ml systems for scenario: payment processing.
Primary language: bash.
Difficulty: hard.
Constraints: document performance characteristics, assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance.
Component: component_zfbcvhr.
Assume partial net... | 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: 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: pqn8f... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: secure_architecture
Scenario: multi-tenant event ingestion
Domain focus: runtime systems
Primary language: sql
Difficulty: expert
Scale/SLO: 1M msgs/min
Component: component_gpidtuek
Constraints: include verification strategy, avoid data races and undefined behavior, include security threat model (defensive ... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: network_protocol
Scenario: feature-flag evaluation
Domain focus: formal verification
Primary language: bash
Difficulty: expert+
Scale/SLO: 1M msgs/min
Component: component_ruqcovfq
Constraints: include backward compatibility and migration plan, include performance model and limits, avoid data races and undef... | WithinUsAI/Omega_Genesis_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 be streaming-friendly, must be easy to extend, must be memory-efficient, must handle Windows paths safely.
Difficulty: expert. Include... | 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: JavaScript
Framework/tooling: Express
Domain: model serving gateway
Logic challenge: race condition on worker shutdown
Task type: security_logic_int... | WithinUsAI/GOD_Coder_Complete_DataSet |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: System domain: notification service
Stack: Airflow, dbt, DuckDB, MinIO, pytest
Cross-layer incident: migration ordering failure
Task type: schema_contract_ali... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write pytest tests for `f37132`.
```python
def f37132(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m33876 import f37132
def test_known():
assert f37132(3,4) == 25
def test_zero():
assert f37132(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f79130`.
```python
def f79130(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m25590 import f79130
def test_known():
assert f79130(3,4) == 25
def test_zero():
assert f79130(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix a subtle bug in a Python module used for task scheduling.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must handle Windows paths safely, must include type hints.
Difficulty: expert. Include a small CLI example if relevant.
Deliverable: implementation + te... | WithinUsAI/python_GOD_coder_100k |
Implement an ML engineering workflow for logistics focusing on multi-tenant isolation.
Target platform: ML (training + serving).
Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring.
Constraints: must be easy to extend, must be performant under load, must include documentation... | 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: ies6rki8k.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: network_protocol
Scenario: payment ledger
Domain focus: network protocols
Primary language: rust
Difficulty: hard
Scale/SLO: p99 < 50ms
Component: component_pxufrsbr
Constraints: explicit contracts and invariants, include security threat model (defensive only), include verification strategy, include determin... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of networking for scenario: rate limiting gateway.
Primary language: python.
Difficulty: hard.
Constraints: include tests or verification strategy, assume untrusted inputs; validate and sanitize, include invariants and failure modes.
Component: component_jodxzoy.
Assume stric... | WithinUsAI/Elite_GOD_Coder_100k |
Optimize while preserving behavior and order.
```python
def f26217(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m18031.py` with types and O(n) average.
```python
# m18031.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Write a thorough test suite for a Python component used for task scheduling.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must avoid global state, must be memory-efficient.
Difficulty: hard. Avoid quadratic behavior on large inputs.
Deliverable: corrected code and verification ... | WithinUsAI/python_GOD_coder_100k |
Write a thorough test suite for a Python component used for CLI tooling.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: stdlib-only, must include tests, must provide clear error messages, must avoid global state.
Difficulty: expert. Support both Windows and POSIX paths correctly.
... | 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: y9tae... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: TypeScript
Framework/tooling: NestJS
Domain: benchmark harness
Logic challenge: log redaction failure
Task type: transaction_integrity_fix
Difficult... | WithinUsAI/GOD_Coder_Complete_DataSet |
Debug and fix a subtle production bug related to offline-first sync in a customer support service.
Target platform: backend (Python FastAPI).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must include tests, must avoid global state, must include clear error handling, must incl... | 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: Repository domain: job scheduler
Primary language: Rust
Framework/tooling: cargo test
Reported problem: path traversal on downloads
Task type: api_endpoint_wo... | WithinUsAI/GOD_Coder_Complete_DataSet |
Create a comprehensive test plan and automated tests for caching in a social media product.
Target platform: mobile (iOS Swift).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must include type hints where applicable, must be secure-by-default, must be observable (logs... | 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: search service
Stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker
Cross-layer incident: log redaction failure
Task type: cache_consistency_pa... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write secure, defensive Python code for report generation.
Requirements: input validation, safe file handling, prevent path traversal, include tests.
Constraints: must be memory-efficient, must include tests, must provide clear error messages, must avoid global state.
Difficulty: hard. Handle empty inputs and malformed... | WithinUsAI/python_GOD_coder_100k |
Fix the bug and add pytest tests.
```python
def f38543(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 `m62649.py` and `test_m62649.py`.
*** Begin Patch
*** Update File: m62649.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: YAML
Framework/tooling: GitHub Actions
Domain: observability collector
Logic challenge: timezone bug in reporting
Task type: backwards_compatible_re... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix the bug and add pytest tests.
```python
def f17615(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 `m73945.py` and `test_m73945.py`.
*** Begin Patch
*** Update File: m73945.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: unsafe deserialization
Task type: schema_contract_alignment
... | WithinUsAI/GOD_Coder_Complete_DataSet |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: System domain: model serving gateway
Stack: Airflow, dbt, DuckDB, MinIO, pytest
Cross-layer incident: CI failures after dependency upgrade
Task type: cache_co... | WithinUsAI/GOD_Coder_Complete_DataSet |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Language: Go
Dependency challenge: stale cache invalidation
Task type: version_conflict_reso... | 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: Repository domain: observability collector
Primary language: C#
Framework/tooling: ASP.NET Core
Reported problem: optimistic locking conflict
Task type: bug_f... | 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 |
Build a data pipeline for a healthtech product around audit logs.
Target platform: data (SQL + Python).
Requirements: schema, ingestion, validation, backfills, and tests.
Constraints: must be production-ready, must include tests, must include type hints where applicable.
Difficulty: medium. Assume PII must be protected... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: analytics pipeline.
Primary language: bash.
Difficulty: hard.
Constraints: avoid undefined behavior and data races, make the interface contract explicit, design for backward compatibility and migrations, include invariants and... | 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: 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: uyme9q7c_0.py
``... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: SQL
Framework/tooling: MySQL
Domain: data pipeline
Logic challenge: async cancellation bug
Task type: distributed_debug
Difficulty: hard
Return a r... | WithinUsAI/GOD_Coder_Complete_DataSet |
Design CI/CD for a healthtech service delivering file uploads.
Target platform: infra (Terraform).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must be observable (logs/metrics/traces), must include type hints where applicable, must avoid global state, must be secure-by-d... | 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 stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Language: SQL
Dependency challenge: path traversal on downloads
Task type: version_conflict_re... | WithinUsAI/GOD_Coder_Complete_DataSet |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project stack: Airflow, dbt, DuckDB, MinIO, pytest
Language: JavaScript
Dependency challenge: broken pagination cursor
Task type: cve_dependency_remediation
D... | 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: iflplv5yz.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: c1z7kn0.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: payment processing.
Primary language: rust.
Difficulty: medium.
Constraints: include tests or verification strategy, provide rollout and rollback guidance, document performance characteristics.
Component: component_pksntnt.
As... | 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: Refactor to modern typed Python with immutabilit... | 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.