text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
Optimize a Python workflow for caching layer.
Requirements: provide an optimized implementation and a small benchmark harness.
Constraints: must include tests, must be streaming-friendly, must be memory-efficient.
Difficulty: medium. Include a small CLI example if relevant.
Deliverable: implementation + tests.
Strateg... | WithinUsAI/python_GOD_coder_100k |
Fix the bug and add pytest tests.
```python
def f39789(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 `m62827.py` and `test_m62827.py`.
*** Begin Patch
*** Update File: m62827.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 |
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: Catch2
Domain: benchmark harness
Logic challenge: race condition on worker shutdown
Task type: backwards_compatible_redesign
... | 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 |
Create a small, production-ready Python package for rate limiting.
Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml.
Constraints: must handle Windows paths safely, must be easy to extend, must include docstrings, must include tests.
Difficulty: hard. Handle empty inputs and malfo... | WithinUsAI/python_GOD_coder_100k |
Fix the bug and add pytest tests.
```python
def f88646(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 `m98378.py` and `test_m98378.py`.
*** Begin Patch
*** Update File: m98378.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of networking for scenario: inventory & ordering.
Primary language: bash.
Difficulty: medium.
Constraints: provide rollout and rollback guidance, include tests or verification strategy, make the interface contract explicit, document performance characteristics.
Component: com... | 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: YAML
Framework/tooling: Terraform
Domain: observability collector
Logic challenge: transaction boundary bug
Task type: edge_case_hardening
Difficult... | WithinUsAI/GOD_Coder_Complete_DataSet |
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 memory-efficient, must provide clear error messages, must be easy to extend, must handle Windows paths safely.
Difficulty: easy. Provide helpfu... | WithinUsAI/python_GOD_coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: wexenrw6t.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: txxgr... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: lockfree_primitive
Scenario: rate limit gateway
Domain focus: network protocols
Primary language: cpp
Difficulty: hard
Scale/SLO: multi-region active-active
Component: component_hclovsri
Constraints: include backward compatibility and migration plan, explicit contracts and invariants, include performance mod... | 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: Airflow, dbt, DuckDB, MinIO, pytest
Language: Bash
Dependency challenge: build reproducibility failure
Task type: migration_patch
Difficulty: m... | 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: ufvsl... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: robust_e2e_testing
Scenario: rate limit gateway
Domain focus: consensus & replication
Primary language: rust
Difficulty: expert
Scale/SLO: 1M msgs/min
Component: component_jtdaeabz
Constraints: include test vectors and fuzz strategy, include security threat model (defensive only), assume adversarial inputs; ... | 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: search service
Logic challenge: monorepo toolchain skew
Task type: multi_file_migration_repair
Difficulty: har... | 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: gucp4... | WithinUsAI/Royal_Ghost_Coder_501k |
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 be streaming-friendly, must be easy to extend, must be memory-efficient, must include type hints.
Difficulty: medium. Handle empty in... | WithinUsAI/python_GOD_coder_100k |
Fix the bug and add pytest tests.
```python
def f64033(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 `m37719.py` and `test_m37719.py`.
*** Begin Patch
*** Update File: m37719.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C53506:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m57962.py` and `test_m57962.py`.
```python
# m57962.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f31727(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m75961.py` with types and O(n) average.
```python
# m75961.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Design a small, production-grade Python API for parsing.
Requirements: define data models and interfaces, implement reference version, include tests.
Constraints: must be streaming-friendly, must include tests, must be easy to extend, must be memory-efficient.
Difficulty: medium. Include a small CLI example if relevant... | WithinUsAI/python_GOD_coder_100k |
Implement a web feature for social media: webhooks.
Target platform: web (React + TypeScript).
Requirements: accessible UI, API integration, and tests.
Constraints: must include tests, must include clear error handling, must include type hints where applicable, must be performant under load.
Difficulty: hard. Assume st... | 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 |
Task type: perf_microarchitecture
Scenario: time-series metrics store
Domain focus: constraint solving
Primary language: sql
Difficulty: expert+
Scale/SLO: 10k RPS peak
Component: component_qzeweyiu
Constraints: include deterministic replay plan, include verification strategy, include performance model and limits, assu... | 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: C++
Framework/tooling: STL
Domain: team dashboard
Logic challenge: N+1 query explosion
Task type: state_machine_patch
Difficulty: medium
Return a r... | WithinUsAI/GOD_Coder_Complete_DataSet |
Implement role-based access control for a developer tooling product.
Target platform: web (React + TypeScript).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must include type hints where applicable, must include clear error handling, must be secure-by-default.
Difficulty: hard. As... | WithinUsAI/GOD_Coder_100k |
Implement A/B experimentation for a gaming product.
Target platform: infra (Terraform).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must be secure-by-default, must include clear error handling, must include tests, must be performant under load.
Difficulty: easy. Assume PII must b... | WithinUsAI/GOD_Coder_100k |
Task type: ml_system_design
Scenario: rate limit gateway
Domain focus: formal verification
Primary language: sql
Difficulty: expert+
Scale/SLO: 99.99% availability
Component: component_xlxzhnwq
Constraints: explicit contracts and invariants, include security threat model (defensive only), include test vectors and fuzz ... | WithinUsAI/Omega_Genesis_Coder_100k |
Write pytest tests for `f19412`.
```python
def f19412(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m59916 import f19412
def test_known():
assert f19412(3,4) == 25
def test_zero():
assert f19412(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f06009(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 `m72287.py` and `test_m72287.py`.
*** Begin Patch
*** Update File: m72287.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Design a production system for e-commerce supporting multi-tenant isolation.
Target platform: CI (GitHub Actions).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must include clear error handling, must avoid global state, must include documentation/comments.
Difficulty: medi... | 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: uaidf... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement file uploads for a enterprise SaaS product.
Target platform: ML (PyTorch + serving).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must avoid global state, must be observable (logs/metrics/traces), must be easy to extend, must include type hints where applicable, must inc... | 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 |
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: job scheduler
Implementation stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker
Software delivery problem: broken pagination curs... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of ml systems for scenario: inventory & ordering.
Primary language: go.
Difficulty: expert.
Constraints: assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance, include tests or verification strategy, make the interface contract explicit, includ... | WithinUsAI/Elite_GOD_Coder_100k |
Write a thorough test suite for a Python component used for validation.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must include tests, must handle Windows paths safely.
Difficulty: expert. Ensure the API is testable via dependency injection.
Deliverable: implementation + test... | 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: YAML
Framework/tooling: Kubernetes
Domain: team dashboard
Logic challenge: path traversal on downloads
Task type: multi_file_migration_repair
Diffic... | WithinUsAI/GOD_Coder_Complete_DataSet |
Implement offline-first sync for a social media product.
Target platform: mobile (iOS Swift).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must include clear error handling, must include type hints where applicable, must be secure-by-default, must be observable (logs/metrics/trace... | 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: t15kf56h1.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Design a production system for education supporting multi-tenant isolation.
Target platform: ML (scikit + batch).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must avoid global state, must include documentation/comments, must be observable (logs/metrics/traces), must be pe... | WithinUsAI/GOD_Coder_100k |
Refactor a Python module used for event dispatching into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must include type hints, must provide clear error messages.
Difficulty: easy. Avoid quadratic behavior on large inputs.
Deliv... | 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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Create a comprehensive test plan and automated tests for audit logs in a fintech product.
Target platform: infra (Docker + Kubernetes).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must include tests, must be secure-by-default, must be performant under load, must inc... | WithinUsAI/GOD_Coder_100k |
Refactor an existing codebase in gaming to support A/B experimentation cleanly.
Target platform: web (React + TypeScript).
Requirements: propose new modules/layers, dependency boundaries, and migration plan.
Constraints: must avoid global state, must be observable (logs/metrics/traces), must include type hints where ap... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of databases for scenario: event ingestion.
Primary language: go.
Difficulty: medium.
Constraints: document performance characteristics, assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races, include invariants and failure modes, include test... | 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: System domain: document processing API
Stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions
Cross-layer incident: CI failures after dependenc... | WithinUsAI/GOD_Coder_Complete_DataSet |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project domain: developer platform
Implementation stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker
Software delivery problem: build reproducibi... | 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: feature flag service
Primary language: JavaScript
Framework/tooling: Node.js
Reported problem: optimistic locking conflict
Task type: repo_... | 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: d49rpjp6xn3c.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f22911`.
```python
def f22911(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m03273 import f22911
def test_known():
assert f22911(3,4) == 25
def test_zero():
assert f22911(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: Repository domain: repo automation
Primary language: Bash
Framework/tooling: jq
Reported problem: path traversal on downloads
Task type: repo_issue_patch
Diff... | 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: artifact registry
Logic challenge: slow cold start
Task type: monorepo_toolchain_recovery
Difficulty: expert
Ret... | WithinUsAI/GOD_Coder_Complete_DataSet |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C27633:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m86741.py` and `test_m86741.py`.
```python
# m86741.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f77743(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m68249.py` with types and O(n) average.
```python
# m68249.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: id8enw6.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C49583:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m26891.py` and `test_m26891.py`.
```python
# m26891.py
from __future__ import annotations
from datacla... | 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 easy to extend, must include type hints, must be memory-efficient, stdlib-only.
Difficulty: expert. Support both Windows and POSIX paths co... | WithinUsAI/python_GOD_coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
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: Maven
Domain: job scheduler
Logic challenge: invalid rollback sequence
Task type: multi_service_security_patch
Difficulty: h... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of gpu compute for scenario: feature flagging.
Primary language: bash.
Difficulty: hard.
Constraints: design for backward compatibility and migrations, document performance characteristics, avoid undefined behavior and data races, include invariants and failure modes, include... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: kernel_syscall_design
Scenario: rate limit gateway
Domain focus: data lineage & governance
Primary language: c
Difficulty: expert
Scale/SLO: p99 < 50ms
Component: component_tdapxfoq
Constraints: include security threat model (defensive only), include backward compatibility and migration plan, 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: Fix a bug and add tests.
File: bwup6_.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Design a production system for gaming supporting rate limiting.
Target platform: web (React + TypeScript).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must include clear error handling, must avoid global state, must be performant under load.
Difficulty: hard. Assume stric... | 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: chxzq... | 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: yhckes5l.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement a concurrent Python solution for data modeling.
Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests.
Constraints: stdlib-only, must include type hints, must include docstrings.
Difficulty: medium. Provide helpful exceptions with actionable messages.
Deliverable: AP... | 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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement event-driven workflows for a IoT telemetry product.
Target platform: ML (PyTorch + serving).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must be secure-by-default, must avoid global state, must be easy to extend, must include clear error handling, must include documenta... | 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: xkb63... | 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: repo automation
Primary language: JavaScript
Framework/tooling: Jest
Reported problem: CI failures after dependency upgrade
Task type: bug_... | WithinUsAI/GOD_Coder_Complete_DataSet |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project domain: feature flag service
Implementation stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Software delivery problem: broken pagination curso... | 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: zearwcdvwtwv.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of compilers for scenario: document indexing.
Primary language: python.
Difficulty: hard.
Constraints: make the interface contract explicit, provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races, include... | 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: rbdnro7tt.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Design a production system for education supporting idempotent payments.
Target platform: web (React + TypeScript).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must be secure-by-default, must be easy to extend, must be observable (logs/metrics/traces), must be performant ... | 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: Python
Framework/tooling: pandas
Domain: developer platform
Logic challenge: race condition on worker shutdown
Task type: backwards_compatible_redes... | 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: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker
Language: C#
Dependency challenge: path traversal on downloads
Task type: cve_dependen... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: compiler_frontend
Scenario: job scheduler
Domain focus: model checking
Primary language: rust
Difficulty: expert+
Scale/SLO: p99 < 50ms
Component: component_jpsawwqd
Constraints: include deterministic replay plan, include performance model and limits, include failure modes and recovery, assume adversarial in... | WithinUsAI/Omega_Genesis_Coder_100k |
Perform a code review for a fraud detection PR implementing search + pagination.
Target platform: infra (Docker + Kubernetes).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must be easy to extend, must include documentation/comments, must include type hints where ... | WithinUsAI/GOD_Coder_100k |
Optimize while preserving behavior and order.
```python
def f67278(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m66754.py` with types and O(n) average.
```python
# m66754.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Perform a code review for a healthtech PR implementing offline-first sync.
Target platform: infra (Terraform).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must include documentation/comments, must be easy to extend, must include type hints where applicable, 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: Repository domain: payments platform
Primary language: Rust
Framework/tooling: Tokio
Reported problem: mismatched API contract
Task type: feature_delivery
Dif... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of stream processing for scenario: multi-tenant SaaS.
Primary language: bash.
Difficulty: expert.
Constraints: design for backward compatibility and migrations, provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize.
Component: component_wezeocz... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of ml systems for scenario: edge sync.
Primary language: rust.
Difficulty: hard.
Constraints: avoid undefined behavior and data races, design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize, make the interface contract explicit, provi... | WithinUsAI/Elite_GOD_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: jc__3... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f87062(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m83866.py` with types and O(n) average.
```python
# m83866.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C20651:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m63127.py` and `test_m63127.py`.
```python
# m63127.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of realtime systems for scenario: inventory & ordering.
Primary language: rust.
Difficulty: medium.
Constraints: design for backward compatibility and migrations, provide rollout and rollback guidance, make the interface contract explicit.
Component: component_eyisqxp.
Assume... | WithinUsAI/Elite_GOD_Coder_100k |
Implement a mobile feature for logistics: real-time notifications.
Target platform: mobile.
Requirements: offline-safe behavior, UI state handling, and tests.
Constraints: must be observable (logs/metrics/traces), must include clear error handling, must include tests, must be performant under load.
Difficulty: expert. ... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f22191(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 `m60313.py` and `test_m60313.py`.
*** Begin Patch
*** Update File: m60313.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: Bash
Framework/tooling: awk
Domain: repo automation
Logic challenge: stale cache invalidation
Task type: parser_validation_logic
Difficulty: hard
R... | WithinUsAI/GOD_Coder_Complete_DataSet |
Implement background jobs for a enterprise SaaS product.
Target platform: mobile (iOS Swift).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must include type hints where applicable, must be observable (logs/metrics/traces), must be secure-by-default, must be production-ready.
Diffi... | WithinUsAI/GOD_Coder_100k |
Optimize while preserving behavior and order.
```python
def f69023(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m81289.py` with types and O(n) average.
```python
# m81289.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: Go
Framework/tooling: Fiber
Domain: data pipeline
Logic challenge: mismatched API contract
Task type: backwards_compatible_redesign
Difficulty: expe... | WithinUsAI/GOD_Coder_Complete_DataSet |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.