text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
Refactor a Python module used for report generation into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must be memory-efficient, must avoid global state.
Difficulty: medium. Avoid quadratic behavior on large inputs.
Deliverable:... | WithinUsAI/python_GOD_coder_100k |
Task type: static_analyzer
Scenario: multi-tenant event ingestion
Domain focus: distributed storage
Primary language: go
Difficulty: expert+
Scale/SLO: p99 < 150ms
Component: component_yqvxnsnk
Constraints: include performance model and limits, include verification strategy, include failure modes and recovery, include ... | WithinUsAI/Omega_Genesis_Coder_100k |
Fix the bug and add pytest tests.
```python
def f03440(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 `m71920.py` and `test_m71920.py`.
*** Begin Patch
*** Update File: m71920.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: gRPC
Domain: payments platform
Logic challenge: CI failures after dependency upgrade
Task type: monorepo_toolchain_recovery
Di... | WithinUsAI/GOD_Coder_Complete_DataSet |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C33630:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m79510.py` and `test_m79510.py`.
```python
# m79510.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: System domain: data pipeline
Stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Cross-layer incident: mismatched API contract
Task type: cache_consistency_patch
Di... | 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 |
Build an elite-grade solution in the domain of gpu compute for scenario: time-series metrics.
Primary language: bash.
Difficulty: hard.
Constraints: include invariants and failure modes, assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races, include tests or verification strategy, make... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: supply_chain_security
Scenario: rate limit gateway
Domain focus: cryptography engineering (defensive)
Primary language: typescript
Difficulty: expert
Scale/SLO: 99.99% availability
Component: component_kkggukrt
Constraints: avoid data races and undefined behavior, assume adversarial inputs; validate everythi... | WithinUsAI/Omega_Genesis_Coder_100k |
Create a small, production-ready Python package for CLI tooling.
Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml.
Constraints: must handle Windows paths safely, must be memory-efficient, stdlib-only.
Difficulty: easy. Support both Windows and POSIX paths correctly.
Deliverable:... | 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: Rust
Framework/tooling: Axum
Domain: model serving gateway
Logic challenge: mismatched API contract
Task type: multi_service_security_patch
Difficul... | 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 |
Implement a concurrent Python solution for data modeling.
Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests.
Constraints: must include docstrings, must include type hints, must be easy to extend.
Difficulty: medium. Support both Windows and POSIX paths correctly.
Deliverab... | WithinUsAI/python_GOD_coder_100k |
Provision infrastructure for a healthtech workload providing file uploads.
Target platform: backend (Python FastAPI).
Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling.
Constraints: must include type hints where applicable, must be production-ready, must include clear error handling, mu... | WithinUsAI/GOD_Coder_100k |
Design a production system for developer tooling supporting event-driven workflows.
Target platform: ML (scikit + batch).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must include type hints where applicable, must be production-ready, must include clear error handling, mus... | WithinUsAI/GOD_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C21509:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m63193.py` and `test_m63193.py`.
```python
# m63193.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix a subtle bug in a Python module used for telemetry ingestion.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must include docstrings, must be memory-efficient, stdlib-only, must handle Windows paths safely.
Difficulty: medium. Avoid quadratic behavior on lar... | 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: Bash
Framework/tooling: curl
Domain: reporting engine
Logic challenge: unsafe deserialization
Task type: performance_bottleneck_patch
Difficulty: ha... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: tla_state_machine
Scenario: document indexing pipeline
Domain focus: real-time scheduling
Primary language: tla+
Difficulty: expert+
Scale/SLO: multi-region active-active
Component: component_qkxqfkep
Constraints: include verification strategy, include security threat model (defensive only), assume adversari... | 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: kxyqrq5mw.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: g6lb0... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f96808`.
```python
def f96808(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m99544 import f96808
def test_known():
assert f96808(3,4) == 25
def test_zero():
assert f96808(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: Optimize while preserving behavior.
File: ixdwn... | 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: qdwta... | 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: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker
Cross-layer incident: JWT refresh token rotation
Task type... | WithinUsAI/GOD_Coder_Complete_DataSet |
Design CI/CD for a document processing service delivering audit logs.
Target platform: backend (Python FastAPI).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must include tests, must avoid global state, must be secure-by-default, must include type hints where applicable, ... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f99955(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 `m28565.py` and `test_m28565.py`.
*** Begin Patch
*** Update File: m28565.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f94262(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f94262(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: Project stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker
Language: YAML
Dependency challenge: unsafe deserialization
Task type: version_conflict_resolutio... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of networking for scenario: chat messaging.
Primary language: rust.
Difficulty: expert.
Constraints: include invariants and failure modes, avoid undefined behavior and data races, include tests or verification strategy, make the interface contract explicit, document performan... | 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: cuwmcoh.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Write a thorough test suite for a Python component used for file synchronization.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must include type hints, must be streaming-friendly.
Difficulty: hard. Support both Windows and POSIX paths correctly.
Deliverable: API + reference imp... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of distributed systems for scenario: document indexing.
Primary language: python.
Difficulty: hard.
Constraints: include invariants and failure modes, document performance characteristics, design for backward compatibility and migrations, provide rollout and rollback guidance... | WithinUsAI/Elite_GOD_Coder_100k |
Debug and fix a subtle production bug related to event-driven workflows in a document processing service.
Target platform: CI (GitHub Actions).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must include tests, must be secure-by-default, must include clear error handling.
Diffi... | 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 |
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: w2tuytdz6qie.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: Pydantic
Domain: observability collector
Logic challenge: invalid rollback sequence
Task type: cross_stack_outage_fix
Diff... | WithinUsAI/GOD_Coder_Complete_DataSet |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker
Language: TypeScript
Dependency challenge: build reproducibility failure
Task type: co... | 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 |
Write a thorough test suite for a Python component used for configuration loading.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must include tests, must be easy to extend, must include type hints, must handle Windows paths safely.
Difficulty: medium. Guarantee deterministic outp... | 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: Java
Framework/tooling: Spring Boot
Domain: developer platform
Logic challenge: rate-limit bypass
Task type: distributed_debug
Difficulty: hard
Ret... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix the bug and add pytest tests.
```python
def f27814(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 `m75402.py` and `test_m75402.py`.
*** Begin Patch
*** Update File: m75402.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C38191:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m33707.py` and `test_m33707.py`.
```python
# m33707.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f89928(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m55704.py` with types and O(n) average.
```python
# m55704.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f54858(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m50694.py` with types and O(n) average.
```python
# m50694.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: o5x2ba3.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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of ml systems for scenario: inventory & ordering.
Primary language: rust.
Difficulty: expert.
Constraints: make the interface contract explicit, assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance, design for backward compatibility and migrat... | WithinUsAI/Elite_GOD_Coder_100k |
Debug and fix a subtle production bug related to caching in a document processing service.
Target platform: backend (Python FastAPI).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must be observable (logs/metrics/traces), must avoid global state, must be secure-by-default, mus... | 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: fr503i.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of ml systems for scenario: event ingestion.
Primary language: rust.
Difficulty: medium.
Constraints: provide rollout and rollback guidance, design for backward compatibility and migrations, include tests or verification strategy, assume untrusted inputs; validate and sanitiz... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of operating systems for scenario: inventory & ordering.
Primary language: python.
Difficulty: expert.
Constraints: design for backward compatibility and migrations, include invariants and failure modes, document performance characteristics, include tests or verification stra... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: rate limiting gateway.
Primary language: rust.
Difficulty: expert.
Constraints: design for backward compatibility and migrations, avoid undefined behavior and data races, document performance characteristics, provide rollout a... | WithinUsAI/Elite_GOD_Coder_100k |
Refactor a Python module used for rate limiting into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must avoid global state, must be memory-efficient, must be streaming-friendly.
Difficulty: easy. Support both Windows and POSIX pa... | WithinUsAI/python_GOD_coder_100k |
Create a comprehensive test plan and automated tests for analytics pipeline in a enterprise SaaS product.
Target platform: infra (Docker + Kubernetes).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must include type hints where applicable, must be performant under loa... | WithinUsAI/GOD_Coder_100k |
Add a clear docstring and type hints to this function:
```python
def f78884(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f78884(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C93672:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m68744.py` and `test_m68744.py`.
```python
# m68744.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: kernel_syscall_design
Scenario: rate limit gateway
Domain focus: real-time scheduling
Primary language: c
Difficulty: hard
Scale/SLO: 1M msgs/min
Component: component_geioymrq
Constraints: include security threat model (defensive only), include verification strategy, include failure modes and recovery, avoid... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of sre/observability for scenario: document indexing.
Primary language: rust.
Difficulty: expert.
Constraints: assume untrusted inputs; validate and sanitize, include invariants and failure modes, design for backward compatibility and migrations, avoid undefined behavior and ... | WithinUsAI/Elite_GOD_Coder_100k |
Refactor a Python module used for time series into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: stdlib-only, must be easy to extend, must include docstrings.
Difficulty: medium. Provide helpful exceptions with actionable message... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: multi-tenant SaaS.
Primary language: python.
Difficulty: expert.
Constraints: document performance characteristics, make the interface contract explicit, include tests or verification strategy.
Component: component_biovcmg.
As... | 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: data pipeline
Stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Cross-layer incident: log redaction failure
Task type: deploy_runtime_pat... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write pytest tests for `f26124`.
```python
def f26124(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m03732 import f26124
def test_known():
assert f26124(3,4) == 25
def test_zero():
assert f26124(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of high-performance services for scenario: rate limiting gateway.
Primary language: sql.
Difficulty: expert.
Constraints: design for backward compatibility and migrations, provide rollout and rollback guidance, document performance characteristics, include tests or verificati... | WithinUsAI/Elite_GOD_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C46325:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m42025.py` and `test_m42025.py`.
```python
# m42025.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: Project domain: repo automation
Implementation stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker
Software delivery problem: dead-letter queue replay
Task t... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: mechanized_spec
Scenario: job scheduler
Domain focus: compiler toolchains
Primary language: lean
Difficulty: expert+
Scale/SLO: 10k RPS peak
Component: component_nzugnshr
Constraints: include backward compatibility and migration plan, include test vectors and fuzz strategy, include deterministic replay plan,... | 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: icbpit0.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix a subtle bug in a Python module used for telemetry ingestion.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must be memory-efficient, must be easy to extend.
Difficulty: easy. Support both Windows and POSIX paths correctly.
Deliverable: production-ready re... | WithinUsAI/python_GOD_coder_100k |
Fix a subtle bug in a Python module used for CLI tooling.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must include tests, must be memory-efficient, must avoid global state, must be streaming-friendly.
Difficulty: easy. Handle empty inputs and malformed record... | 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: TypeScript
Framework/tooling: Express
Domain: artifact registry
Logic challenge: async cancellation bug
Task type: distributed_debug
Difficulty: har... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of realtime systems for scenario: multi-tenant SaaS.
Primary language: rust.
Difficulty: medium.
Constraints: include tests or verification strategy, design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize, document performance charact... | 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: tbf85... | WithinUsAI/Royal_Ghost_Coder_501k |
Provision infrastructure for a fintech workload providing analytics pipeline.
Target platform: ML (scikit + batch).
Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling.
Constraints: must include clear error handling, must be observable (logs/metrics/traces), must be performant under load,... | 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: d8uyrn.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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f58122`.
```python
def f58122(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m65446 import f58122
def test_known():
assert f58122(3,4) == 25
def test_zero():
assert f58122(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: srn06nshm9yi.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: m71u6... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize a Python workflow for ETL pipelines.
Requirements: provide an optimized implementation and a small benchmark harness.
Constraints: must include docstrings, must handle Windows paths safely, must be easy to extend, must be streaming-friendly.
Difficulty: medium. Provide helpful exceptions with actionable messag... | 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: kyvw6gfwi4.py
``... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: vdzzp_45d.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: smt_constraint_model
Scenario: time-series metrics store
Domain focus: secure enclaves (defensive)
Primary language: smtlib
Difficulty: expert+
Scale/SLO: multi-region active-active
Component: component_lrkiafrb
Constraints: include performance model and limits, assume adversarial inputs; validate everything... | WithinUsAI/Omega_Genesis_Coder_100k |
Write pytest tests for `f64448`.
```python
def f64448(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m52064 import f64448
def test_known():
assert f64448(3,4) == 25
def test_zero():
assert f64448(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: Go
Framework/tooling: gRPC
Domain: developer platform
Logic challenge: path traversal on downloads
Task type: algorithmic_correctness
Difficulty: ha... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: static_analyzer
Scenario: real-time notification hub
Domain focus: kernel primitives
Primary language: typescript
Difficulty: hard
Scale/SLO: p99 < 50ms
Component: component_rsgnyfpp
Constraints: include security threat model (defensive only), include failure modes and recovery, include deterministic replay ... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: compiler_frontend
Scenario: rate limit gateway
Domain focus: edge robotics (safe)
Primary language: typescript
Difficulty: expert+
Scale/SLO: p99 < 50ms
Component: component_cvixittw
Constraints: include performance model and limits, include backward compatibility and migration plan, include failure modes 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: Project stack: Airflow, dbt, DuckDB, MinIO, pytest
Language: SQL
Dependency challenge: JWT refresh token rotation
Task type: migration_patch
Difficulty: hard
... | WithinUsAI/GOD_Coder_Complete_DataSet |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: l_r9w0uzr.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: query_optimizer
Scenario: multi-tenant event ingestion
Domain focus: real-time scheduling
Primary language: python
Difficulty: hard
Scale/SLO: 100k RPS peak
Component: component_ibiwkboy
Constraints: include security threat model (defensive only), include failure modes and recovery, include performance model... | 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: artifact registry
Stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Cross-layer incident: unsafe deserialization
Task type: auth_session_repair
Dif... | WithinUsAI/GOD_Coder_Complete_DataSet |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: C++
Framework/tooling: Boost
Domain: search service
Logic challenge: unsafe deserialization
Task type: algorithmic_correctness
Difficulty: hard
Ret... | WithinUsAI/GOD_Coder_Complete_DataSet |
Optimize while preserving behavior and order.
```python
def f30756(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m90108.py` with types and O(n) average.
```python
# m90108.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: oohi8l_2hh6.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: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker
Language: Python
Dependency challenge: timezone bug in reporting
Task type: lockfile_repair
Diffi... | 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: Java
Framework/tooling: Hibernate
Domain: payments platform
Logic challenge: idempotent retry design
Task type: parser_validation_logic
Difficulty: ... | WithinUsAI/GOD_Coder_Complete_DataSet |
Optimize while preserving behavior and order.
```python
def f48154(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m64022.py` with types and O(n) average.
```python
# m64022.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: Java
Framework/tooling: Spring Boot
Domain: job scheduler
Logic challenge: slow cold start
Task type: misleading_symptom_debug
Difficulty: hard
Ret... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write a thorough test suite for a Python component used for parsing.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must handle Windows paths safely, must be streaming-friendly.
Difficulty: hard. Include a small CLI example if relevant.
Deliverable: API + reference implementation... | WithinUsAI/python_GOD_coder_100k |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.