text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C55942:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m73534.py` and `test_m73534.py`.
```python
# m73534.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of gpu compute for scenario: multi-tenant SaaS.
Primary language: go.
Difficulty: medium.
Constraints: make the interface contract explicit, assume untrusted inputs; validate and sanitize, include tests or verification strategy, provide rollout and rollback guidance, design f... | WithinUsAI/Elite_GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Repository domain: observability collector
Primary language: JavaScript
Framework/tooling: Node.js
Reported problem: monorepo toolchain skew
Task type: test_r... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of operating systems for scenario: inventory & ordering.
Primary language: rust.
Difficulty: expert.
Constraints: make the interface contract explicit, provide rollout and rollback guidance, include tests or verification strategy.
Component: component_tliizrc.
Assume cold-sta... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of ml systems for scenario: inventory & ordering.
Primary language: go.
Difficulty: hard.
Constraints: provide rollout and rollback guidance, design for backward compatibility and migrations, include tests or verification strategy.
Component: component_bymblrb.
Assume schema ... | 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: zxi_r... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f15655(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m73665.py` with types and O(n) average.
```python
# m73665.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: C#
Framework/tooling: EF Core
Domain: auth service
Logic challenge: invalid rollback sequence
Task type: multi_service_security_patch
Difficulty: ex... | 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: wc78hdvv.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: 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: YAML
Framework/tooling: Kubernetes
Domain: notification service
Logic challenge: multi-tenant access leak
Task type: multi_service_security_patch
Di... | WithinUsAI/GOD_Coder_Complete_DataSet |
Debug and fix a subtle production bug related to webhooks in a social media service.
Target platform: mobile (iOS Swift).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must be observable (logs/metrics/traces), must include clear error handling, must be secure-by-default.
Diffi... | WithinUsAI/GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: System domain: search service
Stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Cross-layer incident: CI failures after dependency upgrade
Task type: ... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of realtime systems for scenario: event ingestion.
Primary language: bash.
Difficulty: hard.
Constraints: document performance characteristics, include tests or verification strategy, design for backward compatibility and migrations.
Component: component_zoeefgf.
Assume parti... | WithinUsAI/Elite_GOD_Coder_100k |
Secure-by-default implementation for event-driven workflows in a healthtech product.
Target platform: backend (Python FastAPI).
Requirements: threat model, input validation, authz/authn guidance, safe storage, tests.
Constraints: must be secure-by-default, must include documentation/comments, must be production-ready, ... | WithinUsAI/GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: C#
Framework/tooling: EF Core
Domain: repo automation
Logic challenge: streaming timeout handling
Task type: concurrency_fix
Difficulty: hard
Retur... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: distributed_algorithm
Scenario: rate limit gateway
Domain focus: data lineage & governance
Primary language: go
Difficulty: expert
Scale/SLO: 99.99% availability
Component: component_uwuqhzaa
Constraints: include test vectors and fuzz strategy, include failure modes and recovery, include deterministic replay... | WithinUsAI/Omega_Genesis_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C94777:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m68829.py` and `test_m68829.py`.
```python
# m68829.py
from __future__ import annotations
from datacla... | 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: job scheduler
Primary language: JavaScript
Framework/tooling: Express
Reported problem: invalid rollback sequence
Task type: test_repair
Di... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: storage_engine
Scenario: payment ledger
Domain focus: GPU serving
Primary language: rust
Difficulty: expert+
Scale/SLO: 100k RPS peak
Component: component_fdvcvyri
Constraints: include verification strategy, include security threat model (defensive only), include deterministic replay plan, assume adversarial... | WithinUsAI/Omega_Genesis_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C16503:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m39731.py` and `test_m39731.py`.
```python
# m39731.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Design CI/CD for a fraud detection service delivering analytics pipeline.
Target platform: CI (GitHub Actions).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must include documentation/comments, must include tests, must include type hints where applicable, must be observab... | WithinUsAI/GOD_Coder_100k |
Debug and fix a subtle production bug related to search + pagination in a gaming service.
Target platform: mobile (iOS Swift).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must avoid global state, must include tests, must include clear error handling, must be performant under... | 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: lqvtwb.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: Fix a bug and add tests.
File: zoreygskpcf9.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: Optimize while preserving behavior.
File: spux8... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f82620(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 `m54660.py` and `test_m54660.py`.
*** Begin Patch
*** Update File: m54660.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of ml systems for scenario: time-series metrics.
Primary language: bash.
Difficulty: hard.
Constraints: provide rollout and rollback guidance, avoid undefined behavior and data races, include tests or verification strategy.
Component: component_jqcozjw.
Assume crash-only desi... | 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: cr_njzxz9gt1.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: schema_evolution_contracts
Scenario: edge sync
Domain focus: distributed storage
Primary language: typescript
Difficulty: hard
Scale/SLO: multi-region active-active
Component: component_krviaopi
Constraints: explicit contracts and invariants, include test vectors and fuzz strategy, include deterministic repl... | WithinUsAI/Omega_Genesis_Coder_100k |
Design a small, production-grade Python API for ETL pipelines.
Requirements: define data models and interfaces, implement reference version, include tests.
Constraints: must include type hints, stdlib-only.
Difficulty: medium. Guarantee deterministic output ordering.
Deliverable: implementation + tests.
Architecture:
... | 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: gyfdxi.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Design a production system for IoT telemetry supporting rate limiting.
Target platform: infra (Docker + Kubernetes).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must be secure-by-default, must avoid global state, must be production-ready, must be performant under load, mu... | WithinUsAI/GOD_Coder_100k |
Add a clear docstring and type hints to this function:
```python
def f81788(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f81788(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: kernel_syscall_design
Scenario: payment ledger
Domain focus: runtime systems
Primary language: rust
Difficulty: expert
Scale/SLO: p99 < 50ms
Component: component_mgjmxjom
Constraints: include performance model and limits, include backward compatibility and migration plan, include verification strategy, inclu... | 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: Rust, Axum, SQLx, Redis, Tokio, Docker
Language: JavaScript
Dependency challenge: rate-limit bypass
Task type: build_reproducibility_fix
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: Project domain: team dashboard
Implementation stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker
Software delivery problem: broken pagination cur... | 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: YAML
Framework/tooling: Docker Compose
Domain: reporting engine
Logic challenge: JWT refresh token rotation
Task type: algorithmic_correctness
Diffi... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: secure_architecture
Scenario: feature-flag evaluation
Domain focus: data lineage & governance
Primary language: rust
Difficulty: expert+
Scale/SLO: 1M msgs/min
Component: component_blvsbxnt
Constraints: explicit contracts and invariants, include security threat model (defensive only), assume adversarial inpu... | 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: oqsu2su.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f29218`.
```python
def f29218(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m04174 import f29218
def test_known():
assert f29218(3,4) == 25
def test_zero():
assert f29218(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: System domain: data pipeline
Stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Cross-layer incident: broken pagination cursor
Task type: schema_contract... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix a subtle bug in a Python module used for validation.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must be easy to extend, must include tests, must be streaming-friendly.
Difficulty: easy. Provide helpful exceptions with actionable messages.
Deliverable: i... | WithinUsAI/python_GOD_coder_100k |
Create a comprehensive test plan and automated tests for A/B experimentation in a logistics product.
Target platform: backend (Node.js).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must include clear error handling, must be easy to extend, must avoid global state.
D... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of sre/observability for scenario: edge sync.
Primary language: go.
Difficulty: hard.
Constraints: include invariants and failure modes, include tests or verification strategy, document performance characteristics, avoid undefined behavior and data races.
Component: component... | WithinUsAI/Elite_GOD_Coder_100k |
Debug and fix a subtle production bug related to search + pagination in a content moderation service.
Target platform: infra (Docker + Kubernetes).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must be secure-by-default, must be performant under load, must be observable (logs/... | WithinUsAI/GOD_Coder_100k |
Add a clear docstring and type hints to this function:
```python
def f48119(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f48119(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: JavaScript
Framework/tooling: Express
Domain: search service
Logic challenge: memory leak in AST cache
Task type: monorepo_toolchain_recovery
Diffic... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of distributed systems for scenario: time-series metrics.
Primary language: rust.
Difficulty: medium.
Constraints: include tests or verification strategy, document performance characteristics, include invariants and failure modes, assume untrusted inputs; validate and sanitiz... | WithinUsAI/Elite_GOD_Coder_100k |
Optimize while preserving behavior and order.
```python
def f07909(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m43987.py` with types and O(n) average.
```python
# m43987.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: System domain: team dashboard
Stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker
Cross-layer incident: invalid rollback sequence
Task type: auth_session_rep... | 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 |
Write pytest tests for `f56543`.
```python
def f56543(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m36649 import f56543
def test_known():
assert f56543(3,4) == 25
def test_zero():
assert f56543(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: Fix a bug and add tests.
File: y8z_gn.py
```pyt... | 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: notification service
Stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Cross-layer incident: optimistic locking conflict
Task type: ... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: query_optimizer
Scenario: job scheduler
Domain focus: observability platforms
Primary language: bash
Difficulty: expert+
Scale/SLO: p99 < 150ms
Component: component_jcwqydkt
Constraints: include verification strategy, include failure modes and recovery, include test vectors and fuzz strategy, assume adversar... | WithinUsAI/Omega_Genesis_Coder_100k |
Create a comprehensive test plan and automated tests for idempotent payments in a enterprise SaaS product.
Target platform: backend (Node.js).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must be secure-by-default, must be performant under load, must be production-re... | WithinUsAI/GOD_Coder_100k |
Design a small, production-grade Python API for file synchronization.
Requirements: define data models and interfaces, implement reference version, include tests.
Constraints: must include type hints, must include docstrings, must be easy to extend, stdlib-only.
Difficulty: expert. Provide helpful exceptions with actio... | 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: s48lwgk.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of stream processing for scenario: edge sync.
Primary language: python.
Difficulty: medium.
Constraints: avoid undefined behavior and data races, document performance characteristics, provide rollout and rollback guidance.
Component: component_xnyjtpg.
Assume partial network ... | WithinUsAI/Elite_GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f91073(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 `m84439.py` and `test_m84439.py`.
*** Begin Patch
*** Update File: m84439.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: o5vv9giok.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: document indexing.
Primary language: rust.
Difficulty: hard.
Constraints: include tests or verification strategy, avoid undefined behavior and data races, assume untrusted inputs; validate and sanitize, provide rollout and rol... | 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: rwb2jm.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of realtime systems for scenario: rate limiting gateway.
Primary language: typescript.
Difficulty: hard.
Constraints: include tests or verification strategy, avoid undefined behavior and data races, make the interface contract explicit.
Component: component_dirzntw.
Assume cr... | WithinUsAI/Elite_GOD_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: x6lgf... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f11660(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f11660(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f76163(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 `m82309.py` and `test_m82309.py`.
*** Begin Patch
*** Update File: m82309.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f26472(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m89496.py` with types and O(n) average.
```python
# m89496.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: storage_engine
Scenario: graph query service
Domain focus: model checking
Primary language: bash
Difficulty: expert
Scale/SLO: 50 TB/day ingestion
Component: component_icwcxegj
Constraints: avoid data races and undefined behavior, include failure modes and recovery, include security threat model (defensive o... | WithinUsAI/Omega_Genesis_Coder_100k |
Debug and fix a subtle production bug related to background jobs in a customer support service.
Target platform: mobile (Android Kotlin).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must avoid global state, must include clear error handling, must include documentation/commen... | WithinUsAI/GOD_Coder_100k |
Provision infrastructure for a logistics workload providing role-based access control.
Target platform: ML (PyTorch + serving).
Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling.
Constraints: must be secure-by-default, must include tests, must include type hints where applicable, must b... | WithinUsAI/GOD_Coder_100k |
Task type: compiler_frontend
Scenario: rate limit gateway
Domain focus: zero-downtime migrations
Primary language: bash
Difficulty: hard
Scale/SLO: 1M msgs/min
Component: component_sblgbadq
Constraints: avoid data races and undefined behavior, include failure modes and recovery, include verification strategy, include p... | 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: repo automation
Stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Cross-layer incident: build reproducibility failure
Task type: cache_consistency_... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: mechanized_spec
Scenario: edge sync
Domain focus: observability platforms
Primary language: lean
Difficulty: expert
Scale/SLO: 100k RPS peak
Component: component_txiuvfzw
Constraints: include failure modes and recovery, include backward compatibility and migration plan, assume adversarial inputs; validate ev... | 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: Java
Framework/tooling: JUnit
Domain: team dashboard
Logic challenge: JWT refresh token rotation
Task type: edge_case_hardening
Difficulty: medium
... | 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 |
Perform a code review for a enterprise SaaS PR implementing search + pagination.
Target platform: infra (Docker + Kubernetes).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must be observable (logs/metrics/traces), must avoid global state, must include type hints ... | WithinUsAI/GOD_Coder_100k |
Add a clear docstring and type hints to this function:
```python
def f89465(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f89465(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: secure_architecture
Scenario: job scheduler
Domain focus: program synthesis (safe)
Primary language: python
Difficulty: expert
Scale/SLO: 50 TB/day ingestion
Component: component_nkpiuylj
Constraints: assume adversarial inputs; validate everything, include backward compatibility and migration plan, explicit ... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: tla_state_machine
Scenario: time-series metrics store
Domain focus: consensus & replication
Primary language: tla+
Difficulty: hard
Scale/SLO: 100k RPS peak
Component: component_jgnsqeru
Constraints: include verification strategy, include deterministic replay plan, assume adversarial inputs; validate everyth... | 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: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Cross-layer incident: unsafe deserialization
Task type: auth_sessi... | WithinUsAI/GOD_Coder_Complete_DataSet |
Optimize a Python workflow for time series.
Requirements: provide an optimized implementation and a small benchmark harness.
Constraints: must avoid global state, must handle Windows paths safely, must include tests, must be streaming-friendly.
Difficulty: easy. Provide helpful exceptions with actionable messages.
Del... | WithinUsAI/python_GOD_coder_100k |
Optimize while preserving behavior and order.
```python
def f42506(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m20358.py` with types and O(n) average.
```python
# m20358.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: jf7tj2.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C43924:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m34148.py` and `test_m34148.py`.
```python
# m34148.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f89926(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m41418.py` with types and O(n) average.
```python
# m41418.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 C00420:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m92340.py` and `test_m92340.py`.
```python
# m92340.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f09823(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 `m15689.py` and `test_m15689.py`.
*** Begin Patch
*** Update File: m15689.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of networking for scenario: payment processing.
Primary language: rust.
Difficulty: hard.
Constraints: provide rollout and rollback guidance, make the interface contract explicit, document performance characteristics, assume untrusted inputs; validate and sanitize, include in... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: analytics pipeline.
Primary language: python.
Difficulty: medium.
Constraints: avoid undefined behavior and data races, design for backward compatibility and migrations, include invariants and failure modes, make the interface... | 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: Project stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Language: JavaScript
Dependency challenge: partial checkpoint corruption
Task type: build_re... | WithinUsAI/GOD_Coder_Complete_DataSet |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Repository domain: artifact registry
Primary language: C#
Framework/tooling: EF Core
Reported problem: optimistic locking conflict
Task type: code_review_fix
... | WithinUsAI/GOD_Coder_Complete_DataSet |
Provision infrastructure for a e-commerce workload providing rate limiting.
Target platform: data (SQL + Python).
Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling.
Constraints: must be observable (logs/metrics/traces), must include tests, must be easy to extend, must be secure-by-defau... | 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: feature flag service
Primary language: C++
Framework/tooling: Catch2
Reported problem: optimistic locking conflict
Task type: feature_deliv... | 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 include type hints, must include tests, must be easy to extend, stdlib-only.
Difficulty: medium. Handle empty inputs and malformed records grac... | WithinUsAI/python_GOD_coder_100k |
Fix the bug and add pytest tests.
```python
def f29499(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 `m61357.py` and `test_m61357.py`.
*** Begin Patch
*** Update File: m61357.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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.