text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
Implement a mobile feature for logistics: role-based access control.
Target platform: mobile.
Requirements: offline-safe behavior, UI state handling, and tests.
Constraints: must be production-ready, must be observable (logs/metrics/traces), must avoid global state, must be performant under load.
Difficulty: medium. As... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of databases for scenario: analytics pipeline.
Primary language: rust.
Difficulty: hard.
Constraints: document performance characteristics, include invariants and failure modes, assume untrusted inputs; validate and sanitize, include tests or verification strategy, provide ro... | WithinUsAI/Elite_GOD_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C12226:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m39402.py` and `test_m39402.py`.
```python
# m39402.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: supply_chain_security
Scenario: edge sync
Domain focus: distributed storage
Primary language: bash
Difficulty: hard
Scale/SLO: 1M msgs/min
Component: component_taquvygv
Constraints: include test vectors and fuzz strategy, include failure modes and recovery, include performance model and limits, avoid data ra... | WithinUsAI/Omega_Genesis_Coder_100k |
Fix the bug and add pytest tests.
```python
def f81800(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 `m97400.py` and `test_m97400.py`.
*** Begin Patch
*** Update File: m97400.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Design and implement an algorithm for metrics aggregation.
Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests.
Constraints: must be memory-efficient, must include tests.
Difficulty: expert. Ensure the API is testable via dependency injection.
Deliverable: implementation... | WithinUsAI/python_GOD_coder_100k |
Fix the bug and add pytest tests.
```python
def f54632(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 `m36376.py` and `test_m36376.py`.
*** Begin Patch
*** Update File: m36376.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f09842(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 `m01406.py` and `test_m01406.py`.
*** Begin Patch
*** Update File: m01406.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f48539(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 `m64077.py` and `test_m64077.py`.
*** Begin Patch
*** Update File: m64077.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize a Python workflow for data modeling.
Requirements: provide an optimized implementation and a small benchmark harness.
Constraints: must be easy to extend, must be memory-efficient.
Difficulty: easy. Handle empty inputs and malformed records gracefully.
Deliverable: corrected code and verification tests.
Strat... | WithinUsAI/python_GOD_coder_100k |
Fix the bug and add pytest tests.
```python
def f82164(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 `m97452.py` and `test_m97452.py`.
*** Begin Patch
*** Update File: m97452.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: GNU coreutils
Domain: benchmark harness
Logic challenge: broken pagination cursor
Task type: edge_case_hardening
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: 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: hjxre8j55.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: smt_constraint_model
Scenario: time-series metrics store
Domain focus: data lineage & governance
Primary language: python
Difficulty: expert+
Scale/SLO: p99 < 150ms
Component: component_gmcjgjsl
Constraints: include failure modes and recovery, assume adversarial inputs; validate everything, include performan... | 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: Repository domain: feature flag service
Primary language: Rust
Framework/tooling: Serde
Reported problem: unsafe deserialization
Task type: code_review_fix
Di... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix the bug and add pytest tests.
```python
def f73935(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 `m67705.py` and `test_m67705.py`.
*** Begin Patch
*** Update File: m67705.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Create a comprehensive test plan and automated tests for idempotent payments in a fraud detection product.
Target platform: data (SQL + Python).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must include documentation/comments, must be easy to extend, must be observab... | 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: Rust
Framework/tooling: Serde
Domain: artifact registry
Logic challenge: memory leak in AST cache
Task type: misleading_symptom_debug
Difficulty: ha... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of ml systems for scenario: rate limiting gateway.
Primary language: rust.
Difficulty: medium.
Constraints: document performance characteristics, avoid undefined behavior and data races, include invariants and failure modes.
Component: component_kdeqtvd.
Assume cold-start and... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of high-performance services for scenario: rate limiting gateway.
Primary language: go.
Difficulty: medium.
Constraints: provide rollout and rollback guidance, include tests or verification strategy, document performance characteristics, design for backward compatibility 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: 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: C#
Framework/tooling: xUnit
Domain: team dashboard
Logic challenge: websocket reconnect storm
Task type: multi_service_security_patch
Difficulty: ha... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: compiler_frontend
Scenario: streaming ETL
Domain focus: distributed storage
Primary language: go
Difficulty: hard
Scale/SLO: 100k RPS peak
Component: component_cmxddkqd
Constraints: include test vectors and fuzz strategy, include verification strategy, avoid data races and undefined behavior, include securit... | 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: team dashboard
Implementation stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Software delivery problem: log redaction failure
Task type: releas... | 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: jb1w48lq.py
```p... | 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 compilers for scenario: rate limiting gateway.
Primary language: python.
Difficulty: medium.
Constraints: provide rollout and rollback guidance, include tests or verification strategy, avoid undefined behavior and data races, document performance characteristics, design fo... | WithinUsAI/Elite_GOD_Coder_100k |
Write a thorough test suite for a Python component used for data modeling.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must be memory-efficient, stdlib-only, must avoid global state, must handle Windows paths safely.
Difficulty: expert. Guarantee deterministic output ordering.
... | WithinUsAI/python_GOD_coder_100k |
Optimize a Python workflow for report generation.
Requirements: provide an optimized implementation and a small benchmark harness.
Constraints: must be easy to extend, must provide clear error messages, must be streaming-friendly, stdlib-only.
Difficulty: medium. Provide helpful exceptions with actionable messages.
De... | 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 |
Optimize while preserving behavior and order.
```python
def f85119(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m55017.py` with types and O(n) average.
```python
# m55017.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: nuuiotdfrs78.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: lkqk8... | WithinUsAI/Royal_Ghost_Coder_501k |
Write a thorough test suite for a Python component used for ETL pipelines.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: stdlib-only, must include type hints.
Difficulty: medium. Provide helpful exceptions with actionable messages.
Deliverable: corrected code and verification te... | WithinUsAI/python_GOD_coder_100k |
Refactor an existing codebase in fraud detection to support background jobs cleanly.
Target platform: ML (scikit + batch).
Requirements: propose new modules/layers, dependency boundaries, and migration plan.
Constraints: must be observable (logs/metrics/traces), must be secure-by-default, must include clear error handl... | 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 |
Fix a subtle bug in a Python module used for log processing.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must include tests, must avoid global state.
Difficulty: expert. Include a small CLI example if relevant.
Deliverable: corrected code and verification te... | WithinUsAI/python_GOD_coder_100k |
Implement webhooks for a healthtech product.
Target platform: data (SQL + Python).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must be observable (logs/metrics/traces), must include type hints where applicable, must include clear error handling.
Difficulty: medium. Assume schema ... | 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: developer platform
Stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker
Cross-layer incident: memory leak in AST cache
Task type: ca... | WithinUsAI/GOD_Coder_Complete_DataSet |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C52115:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m57855.py` and `test_m57855.py`.
```python
# m57855.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C84954:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m83458.py` and `test_m83458.py`.
```python
# m83458.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Design a small, production-grade Python API for caching layer.
Requirements: define data models and interfaces, implement reference version, include tests.
Constraints: stdlib-only, must be streaming-friendly, must be memory-efficient, must include tests.
Difficulty: hard. Ensure the API is testable via dependency inje... | 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: plt4v9sms6d.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of operating systems for scenario: event ingestion.
Primary language: python.
Difficulty: hard.
Constraints: document performance characteristics, avoid undefined behavior and data races, make the interface contract explicit, design for backward compatibility and migrations, ... | 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: reporting engine
Stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Cross-layer incident: rate-limit bypass
Task type: schema_contract_alignment
Dif... | 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: tb25971y.py
```p... | 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: feature flag service
Primary language: C++
Framework/tooling: Catch2
Reported problem: broken pagination cursor
Task type: performance_patc... | 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: mzgnt... | 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: mwb9az2k7r3.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions
Language: Bash
Dependency challenge: gRPC retry storm
Task type: version_conflic... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: schema_evolution_contracts
Scenario: payment ledger
Domain focus: model checking
Primary language: bash
Difficulty: expert
Scale/SLO: 1M msgs/min
Component: component_xkjxonvw
Constraints: include failure modes and recovery, explicit contracts and invariants, include test vectors and fuzz strategy, assume ad... | WithinUsAI/Omega_Genesis_Coder_100k |
Refactor an existing codebase in logistics to support background jobs cleanly.
Target platform: ML (scikit + batch).
Requirements: propose new modules/layers, dependency boundaries, and migration plan.
Constraints: must be secure-by-default, must include clear error handling, must be observable (logs/metrics/traces).
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: n802k... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: network_protocol
Scenario: document indexing pipeline
Domain focus: consensus & replication
Primary language: rust
Difficulty: hard
Scale/SLO: 50 TB/day ingestion
Component: component_vbzwazfx
Constraints: explicit contracts and invariants, include verification strategy, avoid data races and undefined behavi... | 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: static_analyzer
Scenario: identity and access
Domain focus: compiler toolchains
Primary language: bash
Difficulty: expert+
Scale/SLO: multi-region active-active
Component: component_hdhgbpku
Constraints: include failure modes and recovery, include performance model and limits, include backward compatibility ... | WithinUsAI/Omega_Genesis_Coder_100k |
Fix the bug and add pytest tests.
```python
def f35792(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 `m62256.py` and `test_m62256.py`.
*** Begin Patch
*** Update File: m62256.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: data pipeline
Stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Cross-layer incident: schema drift during deployment
Task type: auth... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of high-performance services for scenario: job scheduler.
Primary language: python.
Difficulty: hard.
Constraints: document performance characteristics, include tests or verification strategy, avoid undefined behavior and data races.
Component: component_qenxgml.
Assume stric... | 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: tbykz... | WithinUsAI/Royal_Ghost_Coder_501k |
Debug and fix a subtle production bug related to webhooks in a e-commerce service.
Target platform: mobile (iOS Swift).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must include tests, must include documentation/comments, must include type hints where applicable, must be perf... | WithinUsAI/GOD_Coder_100k |
Write pytest tests for `f29969`.
```python
def f29969(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m18567 import f29969
def test_known():
assert f29969(3,4) == 25
def test_zero():
assert f29969(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Design a production system for healthtech supporting real-time notifications.
Target platform: infra (Docker + Kubernetes).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must include tests, must include documentation/comments, must be observable (logs/metrics/traces), must ... | 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: pi6061k9ky.py
``... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f00761(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m85823.py` with types and O(n) average.
```python
# m85823.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Debug and fix a subtle production bug related to real-time notifications in a fintech service.
Target platform: ML (PyTorch + serving).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must be easy to extend, must include type hints where applicable, must avoid global state.
Diff... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f92057(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 `m13151.py` and `test_m13151.py`.
*** Begin Patch
*** Update File: m13151.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 and implement an algorithm for file synchronization.
Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests.
Constraints: stdlib-only, must provide clear error messages.
Difficulty: hard. Handle empty inputs and malformed records gracefully.
Deliverable: API + refere... | WithinUsAI/python_GOD_coder_100k |
Write pytest tests for `f31923`.
```python
def f31923(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m75989 import f31923
def test_known():
assert f31923(3,4) == 25
def test_zero():
assert f31923(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 |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C80971:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m67767.py` and `test_m67767.py`.
```python
# m67767.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: 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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: static_analyzer
Scenario: document indexing pipeline
Domain focus: kernel primitives
Primary language: go
Difficulty: hard
Scale/SLO: p99 < 150ms
Component: component_fxpqodyk
Constraints: include deterministic replay plan, include verification strategy, assume adversarial inputs; validate everything, explic... | 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: Fix a bug and add tests.
File: wnw6qrsk.py
```p... | 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: Helm
Domain: document processing API
Logic challenge: websocket reconnect storm
Task type: parser_validation_logic
Difficult... | 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: rn5hmbqk24p.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: Python
Framework/tooling: Flask
Domain: repo automation
Logic challenge: optimistic locking conflict
Task type: monorepo_toolchain_recovery
Difficul... | WithinUsAI/GOD_Coder_Complete_DataSet |
Implement a mobile feature for enterprise SaaS: offline-first sync.
Target platform: mobile.
Requirements: offline-safe behavior, UI state handling, and tests.
Constraints: must be observable (logs/metrics/traces), must include tests, must be easy to extend.
Difficulty: easy. Assume strict latency budget (p95 < 200ms).... | WithinUsAI/GOD_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Language: TypeScript
Dependency challenge: build reproducibility failure
Task type: containe... | 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: i6w998.py
```pyt... | 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: uygdg... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: storage_engine
Scenario: payment ledger
Domain focus: cryptography engineering (defensive)
Primary language: typescript
Difficulty: hard
Scale/SLO: 1M msgs/min
Component: component_hqmrbnck
Constraints: include deterministic replay plan, include failure modes and recovery, include test vectors and fuzz strat... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: tla_state_machine
Scenario: feature-flag evaluation
Domain focus: static analysis
Primary language: tla+
Difficulty: expert
Scale/SLO: p99 < 150ms
Component: component_ysipyewc
Constraints: include test vectors and fuzz strategy, avoid data races and undefined behavior, include backward compatibility and mig... | WithinUsAI/Omega_Genesis_Coder_100k |
Design and implement an algorithm for ETL pipelines.
Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests.
Constraints: must be easy to extend, must avoid global state, must include type hints.
Difficulty: expert. Provide helpful exceptions with actionable messages.
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: Fix a bug and add tests.
File: b8ghcf0.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: 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 |
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: vgw5iasd8s.py
``... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor an existing codebase in IoT telemetry to support rate limiting cleanly.
Target platform: CI (GitHub Actions).
Requirements: propose new modules/layers, dependency boundaries, and migration plan.
Constraints: must be production-ready, must be observable (logs/metrics/traces), must be secure-by-default.
Difficul... | 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: C++
Framework/tooling: CMake
Domain: notification service
Logic challenge: migration ordering failure
Task type: monorepo_toolchain_recovery
Difficu... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix a subtle bug in a Python module used for file synchronization.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must avoid global state, must handle Windows paths safely, must include docstrings.
Difficulty: medium. Handle empty inputs and malformed records gr... | WithinUsAI/python_GOD_coder_100k |
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 provide clear error messages, stdlib-only.
Difficulty: easy. Include a small CLI example if relevant.
Deliverable: API + reference implementation + t... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of operating systems for scenario: analytics pipeline.
Primary language: python.
Difficulty: medium.
Constraints: document performance characteristics, include tests or verification strategy, make the interface contract explicit.
Component: component_pvhjhge.
Assume crash-onl... | WithinUsAI/Elite_GOD_Coder_100k |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.