text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
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 stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Language: Java
Dependency challenge: dead-letter queue replay
Task type: cve_dependency_reme... | 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: a0bap... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize a Python workflow for validation.
Requirements: provide an optimized implementation and a small benchmark harness.
Constraints: must avoid global state, stdlib-only, must handle Windows paths safely.
Difficulty: medium. Ensure the API is testable via dependency injection.
Deliverable: corrected code and verif... | WithinUsAI/python_GOD_coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: C++
Framework/tooling: Catch2
Domain: job scheduler
Logic challenge: timezone bug in reporting
Task type: backwards_compatible_redesign
Difficulty: ... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: secure_architecture
Scenario: streaming ETL
Domain focus: model checking
Primary language: typescript
Difficulty: expert+
Scale/SLO: 1M msgs/min
Component: component_ztzdvfru
Constraints: include backward compatibility and migration plan, include verification strategy, include failure modes and recovery, inc... | 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 |
Design CI/CD for a calendar/scheduling service delivering offline-first sync.
Target platform: mobile (iOS Swift).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must include clear error handling, must avoid global state, must be production-ready, must include tests, must b... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of edge/IoT for scenario: chat messaging.
Primary language: rust.
Difficulty: expert.
Constraints: avoid undefined behavior and data races, provide rollout and rollback guidance, include invariants and failure modes, assume untrusted inputs; validate and sanitize.
Component: ... | 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: Java
Framework/tooling: Gradle
Domain: feature flag service
Logic challenge: timezone bug in reporting
Task type: security_logic_interaction
Difficu... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: supply_chain_security
Scenario: feature-flag evaluation
Domain focus: edge robotics (safe)
Primary language: go
Difficulty: hard
Scale/SLO: 99.99% availability
Component: component_wxswyegh
Constraints: include test vectors and fuzz strategy, avoid data races and undefined behavior, explicit contracts and in... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: gpu_serving_pipeline
Scenario: document indexing pipeline
Domain focus: kernel primitives
Primary language: typescript
Difficulty: expert
Scale/SLO: 10k RPS peak
Component: component_pgjawljf
Constraints: include test vectors and fuzz strategy, assume adversarial inputs; validate everything, include backward... | WithinUsAI/Omega_Genesis_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: mf_6s... | 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: observability collector
Logic challenge: unsafe deserialization
Task type: edge_case_hardening
Difficulty: hard
... | WithinUsAI/GOD_Coder_Complete_DataSet |
Optimize while preserving behavior and order.
```python
def f34012(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m47716.py` with types and O(n) average.
```python
# m47716.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Perform a code review for a fintech PR implementing analytics pipeline.
Target platform: data (SQL + Python).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must be secure-by-default, must be performant under load, must include tests, must be easy to extend.
Diffic... | WithinUsAI/GOD_Coder_100k |
Fix a subtle bug in a Python module used for metrics aggregation.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must handle Windows paths safely, must include tests, must provide clear error messages, must include type hints.
Difficulty: hard. Support both Wind... | WithinUsAI/python_GOD_coder_100k |
Optimize while preserving behavior and order.
```python
def f01538(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m85934.py` with types and O(n) average.
```python
# m85934.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: cmq4ns.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: pt_cc... | 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: yxbjua31bq.py
``... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f48604(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m78372.py` with types and O(n) average.
```python
# m78372.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 |
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: jhrtqn.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: supply_chain_security
Scenario: time-series metrics store
Domain focus: model checking
Primary language: bash
Difficulty: hard
Scale/SLO: 10k RPS peak
Component: component_gbaqdufh
Constraints: include deterministic replay plan, avoid data races and undefined behavior, include verification strategy, include ... | WithinUsAI/Omega_Genesis_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: s0jwc... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f22071(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f22071(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement real-time notifications for a education product.
Target platform: data (SQL + Python).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must include clear error handling, must include tests, must be production-ready, must avoid global state, must be easy to extend.
Difficult... | WithinUsAI/GOD_Coder_100k |
Design a production system for developer tooling supporting audit logs.
Target platform: backend (Go).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must include documentation/comments, must be secure-by-default, must include type hints where applicable.
Difficulty: expert.... | WithinUsAI/GOD_Coder_100k |
Refactor an existing codebase in document processing to support caching cleanly.
Target platform: ML (PyTorch + serving).
Requirements: propose new modules/layers, dependency boundaries, and migration plan.
Constraints: must include type hints where applicable, must be easy to extend, must be production-ready, must avo... | 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: 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: ikrynxf1zz3.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Design and implement an algorithm for telemetry ingestion.
Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests.
Constraints: must include tests, must include docstrings, stdlib-only.
Difficulty: medium. Ensure the API is testable via dependency injection.
Deliverable: AP... | WithinUsAI/python_GOD_coder_100k |
Fix the bug and add pytest tests.
```python
def f83915(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 `m54845.py` and `test_m54845.py`.
*** Begin Patch
*** Update File: m54845.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: Repository domain: benchmark harness
Primary language: Python
Framework/tooling: Celery
Reported problem: optimistic locking conflict
Task type: code_review_f... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of compilers for scenario: job scheduler.
Primary language: python.
Difficulty: hard.
Constraints: include tests or verification strategy, avoid undefined behavior and data races, include invariants and failure modes, make the interface contract explicit, assume untrusted inp... | 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: System domain: repo automation
Stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Cross-layer incident: log redaction failure
Task type: deploy_runtime... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix the bug and add pytest tests.
```python
def f92807(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 `m70401.py` and `test_m70401.py`.
*** Begin Patch
*** Update File: m70401.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: Go
Framework/tooling: Fiber
Domain: document processing API
Logic challenge: unsafe deserialization
Task type: parser_validation_logic
Difficulty: m... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of distributed systems for scenario: feature flagging.
Primary language: python.
Difficulty: medium.
Constraints: provide rollout and rollback guidance, include invariants and failure modes, assume untrusted inputs; validate and sanitize.
Component: component_qktlqwx.
Assume ... | 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: iwqlyt.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of realtime systems for scenario: job scheduler.
Primary language: typescript.
Difficulty: hard.
Constraints: assume untrusted inputs; validate and sanitize, include invariants and failure modes, include tests or verification strategy, avoid undefined behavior and data races.... | 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: wd1r57k.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: kernel_syscall_design
Scenario: payment ledger
Domain focus: static analysis
Primary language: rust
Difficulty: expert
Scale/SLO: 99.99% availability
Component: component_jtyqpryg
Constraints: include backward compatibility and migration plan, include verification strategy, assume adversarial inputs; validat... | 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: TypeScript
Framework/tooling: Prisma
Domain: payments platform
Logic challenge: log redaction failure
Task type: backwards_compatible_redesign
Diffi... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: mechanized_spec
Scenario: rate limit gateway
Domain focus: compiler toolchains
Primary language: lean
Difficulty: hard
Scale/SLO: 10k RPS peak
Component: component_clokjcif
Constraints: explicit contracts and invariants, assume adversarial inputs; validate everything, include backward compatibility and migra... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: distributed_algorithm
Scenario: rate limit gateway
Domain focus: data lineage & governance
Primary language: bash
Difficulty: expert+
Scale/SLO: 99.99% availability
Component: component_nkjsglyh
Constraints: include deterministic replay plan, include test vectors and fuzz strategy, include security threat mo... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of realtime systems for scenario: analytics pipeline.
Primary language: bash.
Difficulty: medium.
Constraints: assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races, include invariants and failure modes, include tests or verification strategy... | WithinUsAI/Elite_GOD_Coder_100k |
Optimize a Python workflow for event dispatching.
Requirements: provide an optimized implementation and a small benchmark harness.
Constraints: stdlib-only, must be streaming-friendly.
Difficulty: medium. Include a small CLI example if relevant.
Deliverable: implementation + tests.
Strategy:
- Avoid repeated parsing; ... | 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: r_8mb6uqfzjv.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f64498(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 `m09214.py` and `test_m09214.py`.
*** Begin Patch
*** Update File: m09214.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f12031(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 `m87433.py` and `test_m87433.py`.
*** Begin Patch
*** Update File: m87433.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: wkjbinyf0x6.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: GitHub Actions, Docker Compose, Kubernetes, Terraform
Language: SQL
Dependency challenge: transaction boundary bug
Task type: lockfile_repair
D... | WithinUsAI/GOD_Coder_Complete_DataSet |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C38909:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m02993.py` and `test_m02993.py`.
```python
# m02993.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: tmq1m... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: schema_evolution_contracts
Scenario: multi-tenant event ingestion
Domain focus: data lineage & governance
Primary language: sql
Difficulty: expert+
Scale/SLO: p99 < 150ms
Component: component_iwqjumtx
Constraints: include test vectors and fuzz strategy, include backward compatibility and migration plan, incl... | WithinUsAI/Omega_Genesis_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: p_ybs... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: query_optimizer
Scenario: time-series metrics store
Domain focus: real-time scheduling
Primary language: go
Difficulty: hard
Scale/SLO: 100k RPS peak
Component: component_yrrhzqxv
Constraints: include deterministic replay plan, assume adversarial inputs; validate everything, explicit contracts and invariants... | WithinUsAI/Omega_Genesis_Coder_100k |
Write pytest tests for `f30095`.
```python
def f30095(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m18585 import f30095
def test_known():
assert f30095(3,4) == 25
def test_zero():
assert f30095(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: perf_microarchitecture
Scenario: time-series metrics store
Domain focus: formal verification
Primary language: bash
Difficulty: hard
Scale/SLO: 100k RPS peak
Component: component_hmlavfgi
Constraints: include verification strategy, include test vectors and fuzz strategy, include security threat model (defens... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: secure_architecture
Scenario: identity and access
Domain focus: real-time scheduling
Primary language: rust
Difficulty: expert+
Scale/SLO: p99 < 50ms
Component: component_alwmhqrl
Constraints: include failure modes and recovery, include deterministic replay plan, explicit contracts and invariants, include se... | 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 |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C63158:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m97166.py` and `test_m97166.py`.
```python
# m97166.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 |
Create a comprehensive test plan and automated tests for event-driven workflows in a document processing product.
Target platform: infra (Terraform).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must include clear error handling, must be secure-by-default, must be pr... | 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: lockfree_primitive
Scenario: feature-flag evaluation
Domain focus: real-time scheduling
Primary language: rust
Difficulty: hard
Scale/SLO: 1M msgs/min
Component: component_yjxrzyls
Constraints: avoid data races and undefined behavior, include security threat model (defensive only), include test vectors and f... | WithinUsAI/Omega_Genesis_Coder_100k |
Optimize a Python workflow for parsing.
Requirements: provide an optimized implementation and a small benchmark harness.
Constraints: must include type hints, must be memory-efficient, stdlib-only.
Difficulty: expert. Guarantee deterministic output ordering.
Deliverable: production-ready reference solution.
Strategy:
... | WithinUsAI/python_GOD_coder_100k |
Implement a mobile feature for fintech: offline-first sync.
Target platform: mobile.
Requirements: offline-safe behavior, UI state handling, and tests.
Constraints: must include type hints where applicable, must include documentation/comments, must be secure-by-default, must avoid global state.
Difficulty: easy. Includ... | 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 domain: document processing API
Implementation stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker
Software delivery problem: timezone bug... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write pytest tests for `f07498`.
```python
def f07498(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m58214 import f07498
def test_known():
assert f07498(3,4) == 25
def test_zero():
assert f07498(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of edge/IoT for scenario: feature flagging.
Primary language: python.
Difficulty: medium.
Constraints: avoid undefined behavior and data races, document performance characteristics, make the interface contract explicit, assume untrusted inputs; validate and sanitize, include ... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: lockfree_primitive
Scenario: identity and access
Domain focus: zero-downtime migrations
Primary language: rust
Difficulty: expert+
Scale/SLO: p99 < 50ms
Component: component_vqrjcavi
Constraints: include failure modes and recovery, include test vectors and fuzz strategy, explicit contracts and invariants, in... | WithinUsAI/Omega_Genesis_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: System domain: developer platform
Stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker
Cross-layer incident: S3-compatible upload inconsistency
Tas... | WithinUsAI/GOD_Coder_Complete_DataSet |
Add a clear docstring and type hints to this function:
```python
def f16489(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f16489(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement a mobile feature for developer tooling: multi-tenant isolation.
Target platform: mobile.
Requirements: offline-safe behavior, UI state handling, and tests.
Constraints: must include tests, must include type hints where applicable, must be easy to extend.
Difficulty: hard. Assume schema evolves frequently; des... | WithinUsAI/GOD_Coder_100k |
Write pytest tests for `f88508`.
```python
def f88508(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m12644 import f88508
def test_known():
assert f88508(3,4) == 25
def test_zero():
assert f88508(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: C++
Framework/tooling: CMake
Domain: developer platform
Logic challenge: async cancellation bug
Task type: edge_case_hardening
Difficulty: hard
Ret... | WithinUsAI/GOD_Coder_Complete_DataSet |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: SQL
Framework/tooling: SQLite
Domain: search service
Logic challenge: idempotent retry design
Task type: cross_stack_outage_fix
Difficulty: expert
... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write pytest tests for `f82905`.
```python
def f82905(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m40415 import f82905
def test_known():
assert f82905(3,4) == 25
def test_zero():
assert f82905(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: Project stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Language: C#
Dependency challenge: path traversal on downloads
Task type: build_reproduci... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: lockfree_primitive
Scenario: document indexing pipeline
Domain focus: zero-downtime migrations
Primary language: rust
Difficulty: expert
Scale/SLO: p99 < 50ms
Component: component_sjqfyomw
Constraints: include performance model and limits, include failure modes and recovery, include backward compatibility an... | 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: TypeScript
Framework/tooling: Express
Domain: document processing API
Logic challenge: idempotent retry design
Task type: edge_case_hardening
Diffic... | WithinUsAI/GOD_Coder_Complete_DataSet |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: JavaScript
Framework/tooling: Jest
Domain: auth service
Logic challenge: build reproducibility failure
Task type: multi_service_security_patch
Diffi... | WithinUsAI/GOD_Coder_Complete_DataSet |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: gur69n1w3jb.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: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker
Language: C++
Dependency challenge: log redaction failure
Task type: version_conflict_... | WithinUsAI/GOD_Coder_Complete_DataSet |
Refactor a Python module used for log processing into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: stdlib-only, must include tests.
Difficulty: hard. Guarantee deterministic output ordering.
Deliverable: implementation + tests.... | 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: s81b24.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Create a comprehensive test plan and automated tests for real-time notifications in a logistics product.
Target platform: CI (GitHub Actions).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must be production-ready, must include type hints where applicable, must avoid ... | 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: TypeScript
Framework/tooling: Express
Domain: document processing API
Logic challenge: transaction boundary bug
Task type: security_logic_interactio... | 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: h2zq0... | 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: ld4kcj.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f10977(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 `m58711.py` and `test_m58711.py`.
*** Begin Patch
*** Update File: m58711.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: compiler_backend_ir
Scenario: rate limit gateway
Domain focus: kernel primitives
Primary language: cpp
Difficulty: expert+
Scale/SLO: multi-region active-active
Component: component_dsmkttjq
Constraints: include verification strategy, include test vectors and fuzz strategy, include performance model and limi... | WithinUsAI/Omega_Genesis_Coder_100k |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.