text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
Write pytest tests for `f74783`.
```python
def f74783(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m24969 import f74783
def test_known():
assert f74783(3,4) == 25
def test_zero():
assert f74783(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: testify
Domain: job scheduler
Logic challenge: stale cache invalidation
Task type: edge_case_hardening
Difficulty: hard
Retur... | 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: Spring Boot
Domain: benchmark harness
Logic challenge: path traversal on downloads
Task type: monorepo_toolchain_recovery
Di... | 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: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker
Language: Rust
Dependency challenge: streaming timeout handling
Task type: lockfile_repair
Diffic... | WithinUsAI/GOD_Coder_Complete_DataSet |
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 avoid global state, must provide clear error messages, must include tests, must include docstrings.
Difficulty: expert. Avoid quadratic behavior... | 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: Optimize while preserving behavior.
File: kj_iq... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f75840`.
```python
def f75840(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m25120 import f75840
def test_known():
assert f75840(3,4) == 25
def test_zero():
assert f75840(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: k_qwdkzv5xf.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f96433(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m70919.py` with types and O(n) average.
```python
# m70919.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Write secure, defensive Python code for file synchronization.
Requirements: input validation, safe file handling, prevent path traversal, include tests.
Constraints: must be easy to extend, must include type hints, must include docstrings, stdlib-only.
Difficulty: expert. Avoid quadratic behavior on large inputs.
Deli... | WithinUsAI/python_GOD_coder_100k |
Design CI/CD for a calendar/scheduling service delivering search + pagination.
Target platform: backend (Python FastAPI).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must be production-ready, must be easy to extend, must be performant under load, must avoid global state.... | WithinUsAI/GOD_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: yov1u... | 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: k2dgwozk87.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: cby_3yfo.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 |
Write a thorough test suite for a Python component used for time series.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must be easy to extend, stdlib-only, must avoid global state, must include tests.
Difficulty: medium. Ensure the API is testable via dependency injection.
Deliv... | WithinUsAI/python_GOD_coder_100k |
Write pytest tests for `f88635`.
```python
def f88635(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m69805 import f88635
def test_known():
assert f88635(3,4) == 25
def test_zero():
assert f88635(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C06912:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m08224.py` and `test_m08224.py`.
```python
# m08224.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: team dashboard
Primary language: C#
Framework/tooling: EF Core
Reported problem: idempotent retry design
Task type: feature_delivery
Diffic... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build a data pipeline for a customer support product around role-based access control.
Target platform: data (SQL + Python).
Requirements: schema, ingestion, validation, backfills, and tests.
Constraints: must be production-ready, must be performant under load, must be observable (logs/metrics/traces), must include tes... | WithinUsAI/GOD_Coder_100k |
Write pytest tests for `f40713`.
```python
def f40713(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m62959 import f40713
def test_known():
assert f40713(3,4) == 25
def test_zero():
assert f40713(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
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: znbtcbo0n.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
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: Rust
Dependency challenge: broken pagination cursor
Task type: cve_dependency_reme... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: storage_engine
Scenario: payment ledger
Domain focus: consensus & replication
Primary language: python
Difficulty: expert
Scale/SLO: p99 < 150ms
Component: component_fujgqizb
Constraints: explicit contracts and invariants, include performance model and limits, include backward compatibility and migration pla... | 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: b7vpa... | 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: i8sarhfb.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: System domain: job scheduler
Stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Cross-layer incident: streaming timeout handling
Task type: auth_session_repair
Dif... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: job scheduler.
Primary language: rust.
Difficulty: expert.
Constraints: include tests or verification strategy, provide rollout and rollback guidance, design for backward compatibility and migrations, make the interface contra... | 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: Airflow, dbt, DuckDB, MinIO, pytest
Language: Java
Dependency challenge: build reproducibility failure
Task type: version_conflict_resolution
D... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: tla_state_machine
Scenario: payment ledger
Domain focus: compiler toolchains
Primary language: tla+
Difficulty: hard
Scale/SLO: 10k RPS peak
Component: component_cfxpdjdg
Constraints: include verification strategy, include performance model and limits, include security threat model (defensive only), assume a... | 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 |
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 a Python module used for data modeling into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must be memory-efficient, must handle Windows paths safely.
Difficulty: expert. Provide helpful exceptions with actionable message... | WithinUsAI/python_GOD_coder_100k |
Write pytest tests for `f70595`.
```python
def f70595(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m10085 import f70595
def test_known():
assert f70595(3,4) == 25
def test_zero():
assert f70595(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f25540(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f25540(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of operating systems for scenario: time-series metrics.
Primary language: go.
Difficulty: medium.
Constraints: design for backward compatibility and migrations, document performance characteristics, include tests or verification strategy, provide rollout and rollback guidance... | WithinUsAI/Elite_GOD_Coder_100k |
Add a clear docstring and type hints to this function:
```python
def f52972(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f52972(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement an ML engineering workflow for customer support focusing on audit logs.
Target platform: ML (training + serving).
Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring.
Constraints: must avoid global state, must be secure-by-default, must include tests.
Difficulty: ha... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f45836(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 `m06548.py` and `test_m06548.py`.
*** Begin Patch
*** Update File: m06548.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 |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C74615:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m90355.py` and `test_m90355.py`.
```python
# m90355.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Debug and fix a subtle production bug related to analytics pipeline in a IoT telemetry service.
Target platform: infra (Terraform).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must include tests, must be easy to extend, must include documentation/comments, must include clear... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f17218(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 `m88174.py` and `test_m88174.py`.
*** Begin Patch
*** Update File: m88174.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: data pipeline
Primary language: C#
Framework/tooling: EF Core
Reported problem: mismatched API contract
Task type: code_review_fix
Difficul... | 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: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Language: Rust
Dependency challenge: slow cold start
Task type: version_conflict_resolution
... | 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 |
Build an elite-grade solution in the domain of realtime systems for scenario: job scheduler.
Primary language: go.
Difficulty: medium.
Constraints: provide rollout and rollback guidance, design for backward compatibility and migrations, make the interface contract explicit.
Component: component_qpdjibc.
Assume strict a... | WithinUsAI/Elite_GOD_Coder_100k |
Refactor an existing codebase in document processing to support idempotent payments cleanly.
Target platform: CI (GitHub Actions).
Requirements: propose new modules/layers, dependency boundaries, and migration plan.
Constraints: must include tests, must be secure-by-default, must be observable (logs/metrics/traces).
Di... | WithinUsAI/GOD_Coder_100k |
Task type: perf_microarchitecture
Scenario: feature-flag evaluation
Domain focus: runtime systems
Primary language: rust
Difficulty: expert+
Scale/SLO: 100k RPS peak
Component: component_arunkdsb
Constraints: include performance model and limits, include test vectors and fuzz strategy, include security threat model (de... | WithinUsAI/Omega_Genesis_Coder_100k |
Write pytest tests for `f44384`.
```python
def f44384(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m34912 import f44384
def test_known():
assert f44384(3,4) == 25
def test_zero():
assert f44384(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: sre_incident_sim
Scenario: real-time notification hub
Domain focus: network protocols
Primary language: bash
Difficulty: expert+
Scale/SLO: 10k RPS peak
Component: component_nduxfwdc
Constraints: include deterministic replay plan, include failure modes and recovery, include backward compatibility and migrati... | 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: lkpwgjv.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: time-series metrics.
Primary language: sql.
Difficulty: hard.
Constraints: include invariants and failure modes, make the interface contract explicit, provide rollout and rollback guidance, assume untrusted inputs; validate an... | 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: GitHub Actions, Docker Compose, Kubernetes, Terraform
Language: Bash
Dependency challenge: multi-tenant access leak
Task type: version_conflict... | WithinUsAI/GOD_Coder_Complete_DataSet |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C15951:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m01227.py` and `test_m01227.py`.
```python
# m01227.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement search + pagination for a customer support product.
Target platform: ML (scikit + batch).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must include documentation/comments, must be secure-by-default, must be production-ready.
Difficulty: expert. Assume strict latency budg... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of high-performance services for scenario: rate limiting gateway.
Primary language: python.
Difficulty: medium.
Constraints: assume untrusted inputs; validate and sanitize, document performance characteristics, include tests or verification strategy.
Component: component_jhlz... | 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: bim9kadooa.py
``... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f09802(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m15686.py` with types and O(n) average.
```python
# m15686.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: t7vvog817htc.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement an ML engineering workflow for social media focusing on file uploads.
Target platform: ML (training + serving).
Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring.
Constraints: must be observable (logs/metrics/traces), must include tests, must include type hints wh... | 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: Python
Framework/tooling: pytest
Domain: artifact registry
Logic challenge: unsafe deserialization
Task type: distributed_debug
Difficulty: hard
Re... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write pytest tests for `f77716`.
```python
def f77716(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m25388 import f77716
def test_known():
assert f77716(3,4) == 25
def test_zero():
assert f77716(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: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement a concurrent Python solution for caching layer.
Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests.
Constraints: must be memory-efficient, must include type hints, must handle Windows paths safely, must include docstrings.
Difficulty: hard. Support both Windows and... | WithinUsAI/python_GOD_coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement analytics pipeline for a logistics product.
Target platform: infra (Docker + Kubernetes).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must be observable (logs/metrics/traces), must be secure-by-default, must be production-ready, must include documentation/comments.
Diff... | 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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of operating systems for scenario: inventory & ordering.
Primary language: typescript.
Difficulty: hard.
Constraints: provide rollout and rollback guidance, include invariants and failure modes, design for backward compatibility and migrations.
Component: component_jrfhnls.
A... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: compiler_backend_ir
Scenario: multi-tenant event ingestion
Domain focus: secure enclaves (defensive)
Primary language: cpp
Difficulty: expert
Scale/SLO: p99 < 50ms
Component: component_siltaidz
Constraints: explicit contracts and invariants, include security threat model (defensive only), include verificatio... | WithinUsAI/Omega_Genesis_Coder_100k |
Fix the bug and add pytest tests.
```python
def f82277(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 `m54611.py` and `test_m54611.py`.
*** Begin Patch
*** Update File: m54611.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: im33nl.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: Project domain: auth service
Implementation stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Software delivery problem: mismatched API contract
Ta... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: secure_architecture
Scenario: job scheduler
Domain focus: secure enclaves (defensive)
Primary language: bash
Difficulty: expert+
Scale/SLO: p99 < 150ms
Component: component_fkhohdat
Constraints: include test vectors and fuzz strategy, explicit contracts and invariants, include verification strategy, assume a... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of sre/observability for scenario: rate limiting gateway.
Primary language: typescript.
Difficulty: expert.
Constraints: include invariants and failure modes, avoid undefined behavior and data races, design for backward compatibility and migrations, document performance chara... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: perf_microarchitecture
Scenario: rate limit gateway
Domain focus: compiler toolchains
Primary language: typescript
Difficulty: hard
Scale/SLO: p99 < 50ms
Component: component_qajnwoml
Constraints: explicit contracts and invariants, include performance model and limits, assume adversarial inputs; validate eve... | 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 |
Implement an ML engineering workflow for logistics focusing on search + pagination.
Target platform: ML (training + serving).
Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring.
Constraints: must be easy to extend, must be performant under load, must be production-ready, mus... | WithinUsAI/GOD_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C03415:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m07955.py` and `test_m07955.py`.
```python
# m07955.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Debug and fix a subtle production bug related to real-time notifications in a e-commerce service.
Target platform: web (React + TypeScript).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must avoid global state, must be observable (logs/metrics/traces), must be production-read... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of operating systems for scenario: document indexing.
Primary language: rust.
Difficulty: expert.
Constraints: make the interface contract explicit, avoid undefined behavior and data races, provide rollout and rollback guidance, document performance characteristics.
Component... | WithinUsAI/Elite_GOD_Coder_100k |
Write pytest tests for `f91369`.
```python
def f91369(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m98767 import f91369
def test_known():
assert f91369(3,4) == 25
def test_zero():
assert f91369(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: g258u4.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: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f11855(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 `m30265.py` and `test_m30265.py`.
*** Begin Patch
*** Update File: m30265.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: Project stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Language: Python
Dependency challenge: CI failures after dependency upgrade
Task type: mi... | 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: React
Domain: reporting engine
Logic challenge: streaming timeout handling
Task type: misleading_symptom_debug
Difficu... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: compiler_frontend
Scenario: identity and access
Domain focus: formal verification
Primary language: typescript
Difficulty: expert+
Scale/SLO: 1M msgs/min
Component: component_efdiykfs
Constraints: include backward compatibility and migration plan, include deterministic replay plan, assume adversarial inputs;... | 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: ruatsmf8.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize a Python workflow for configuration loading.
Requirements: provide an optimized implementation and a small benchmark harness.
Constraints: must handle Windows paths safely, must avoid global state, stdlib-only, must be streaming-friendly.
Difficulty: medium. Support both Windows and POSIX paths correctly.
Del... | 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: search service
Logic challenge: memory leak in AST cache
Task type: concurrency_fix
Difficulty: hard
Return a... | WithinUsAI/GOD_Coder_Complete_DataSet |
Create a comprehensive test plan and automated tests for rate limiting in a customer support product.
Target platform: mobile (Android Kotlin).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must be performant under load, must be secure-by-default, must be production-r... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of compilers for scenario: payment processing.
Primary language: rust.
Difficulty: hard.
Constraints: include tests or verification strategy, provide rollout and rollback guidance, include invariants and failure modes, make the interface contract explicit.
Component: componen... | WithinUsAI/Elite_GOD_Coder_100k |
Design CI/CD for a fintech service delivering idempotent payments.
Target platform: mobile (Android Kotlin).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must include tests, must avoid global state, must include type hints where applicable.
Difficulty: hard. Assume schema... | 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 |
Write a thorough test suite for a Python component used for file synchronization.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must be streaming-friendly, must be easy to extend, stdlib-only, must include docstrings.
Difficulty: medium. Ensure the API is testable via dependency ... | 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.