text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: Go
Framework/tooling: Fiber
Domain: artifact registry
Logic challenge: mismatched API contract
Task type: multi_service_security_patch
Difficulty: e... | 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: ncdm42srk.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f38319(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 `m62617.py` and `test_m62617.py`.
*** Begin Patch
*** Update File: m62617.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: runtime_gc
Scenario: rate limit gateway
Domain focus: formal verification
Primary language: rust
Difficulty: expert+
Scale/SLO: 50 TB/day ingestion
Component: component_myzjlmps
Constraints: include verification strategy, explicit contracts and invariants, include performance model and limits, include backwa... | WithinUsAI/Omega_Genesis_Coder_100k |
Fix the bug and add pytest tests.
```python
def f78035(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 `m54005.py` and `test_m54005.py`.
*** Begin Patch
*** Update File: m54005.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f09842`.
```python
def f09842(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m01406 import f09842
def test_known():
assert f09842(3,4) == 25
def test_zero():
assert f09842(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: C++
Framework/tooling: STL
Domain: observability collector
Logic challenge: log redaction failure
Task type: monorepo_toolchain_recovery
Difficulty:... | WithinUsAI/GOD_Coder_Complete_DataSet |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: nqrodz7w_.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: inventory & ordering.
Primary language: rust.
Difficulty: hard.
Constraints: include invariants and failure modes, include tests or verification strategy, provide rollout and rollback guidance, assume untrusted inputs; validat... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: feature flagging.
Primary language: python.
Difficulty: hard.
Constraints: include invariants and failure modes, avoid undefined behavior and data races, make the interface contract explicit, include tests or verification stra... | WithinUsAI/Elite_GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f91637(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 `m13091.py` and `test_m13091.py`.
*** Begin Patch
*** Update File: m13091.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Improve typing and robustness of a Python module used for time series.
Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests.
Constraints: must be streaming-friendly, must avoid global state, must be easy to extend, must be memory-efficient.
Difficulty: medium. Avoid quadratic be... | 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: n4n4s2qi.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Create a comprehensive test plan and automated tests for event-driven workflows in a education product.
Target platform: mobile (Android Kotlin).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must be observable (logs/metrics/traces), must avoid global state, must be p... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f61127(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 `m80161.py` and `test_m80161.py`.
*** Begin Patch
*** Update File: m80161.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: Optimize while preserving behavior.
File: m0tlt... | WithinUsAI/Royal_Ghost_Coder_501k |
Perform a code review for a document processing PR implementing rate limiting.
Target platform: backend (Python FastAPI).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must be performant under load, must be secure-by-default, must include type hints where applicab... | WithinUsAI/GOD_Coder_100k |
Task type: static_analyzer
Scenario: payment ledger
Domain focus: cryptography engineering (defensive)
Primary language: python
Difficulty: expert
Scale/SLO: multi-region active-active
Component: component_ovqbtift
Constraints: include performance model and limits, explicit contracts and invariants, include verificatio... | WithinUsAI/Omega_Genesis_Coder_100k |
Optimize while preserving behavior and order.
```python
def f71323(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m10189.py` with types and O(n) average.
```python
# m10189.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 C27741:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m79057.py` and `test_m79057.py`.
```python
# m79057.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement A/B experimentation for a social media product.
Target platform: backend (Node.js).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must include tests, must be performant under load, must include clear error handling, must avoid global state.
Difficulty: hard. Assume strict... | WithinUsAI/GOD_Coder_100k |
Implement an ML engineering workflow for logistics focusing on background jobs.
Target platform: ML (training + serving).
Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring.
Constraints: must be secure-by-default, must be performant under load, must be easy to extend.
Diffic... | 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: iw43ze67z.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix a subtle bug in a Python module used for task scheduling.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must handle Windows paths safely, stdlib-only, must include tests, must include type hints.
Difficulty: expert. Support both Windows and POSIX paths corr... | WithinUsAI/python_GOD_coder_100k |
Improve typing and robustness of a Python module used for ETL pipelines.
Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests.
Constraints: must include docstrings, must be easy to extend.
Difficulty: medium. Support both Windows and POSIX paths correctly.
Deliverable: producti... | WithinUsAI/python_GOD_coder_100k |
Task type: perf_microarchitecture
Scenario: edge sync
Domain focus: runtime systems
Primary language: python
Difficulty: hard
Scale/SLO: 10k RPS peak
Component: component_qmavbatu
Constraints: include security threat model (defensive only), avoid data races and undefined behavior, include verification strategy, include... | WithinUsAI/Omega_Genesis_Coder_100k |
Optimize while preserving behavior and order.
```python
def f84812(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m12116.py` with types and O(n) average.
```python
# m12116.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix a subtle bug in a Python module used for configuration loading.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must include tests, stdlib-only.
Difficulty: hard. Ensure the API is testable via dependency injection.
Deliverable: production-ready reference so... | 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: Repository domain: notification service
Primary language: Go
Framework/tooling: Gin
Reported problem: dead-letter queue replay
Task type: api_endpoint_work
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: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Language: Go
Dependency challenge: JWT refresh token rotation
Task type: migration_patch
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: Project stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Language: Python
Dependency challenge: schema drift during deployment
Task type: migratio... | WithinUsAI/GOD_Coder_Complete_DataSet |
Implement offline-first sync for a logistics product.
Target platform: mobile (Android Kotlin).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must be performant under load, must include documentation/comments, must include type hints where applicable.
Difficulty: expert. Assume 10k... | WithinUsAI/GOD_Coder_100k |
Provision infrastructure for a calendar/scheduling workload providing multi-tenant isolation.
Target platform: web (React + TypeScript).
Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling.
Constraints: must be secure-by-default, must be observable (logs/metrics/traces), must avoid global... | WithinUsAI/GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project domain: team dashboard
Implementation stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker
Software delivery problem: monorepo toolchain sk... | 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: Python
Framework/tooling: Django
Domain: document processing API
Logic challenge: multi-tenant access leak
Task type: monorepo_toolchain_recovery
Di... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build a data pipeline for a education product around analytics pipeline.
Target platform: data (SQL + Python).
Requirements: schema, ingestion, validation, backfills, and tests.
Constraints: must be production-ready, must include tests, must include documentation/comments, must be secure-by-default, must be performant ... | WithinUsAI/GOD_Coder_100k |
Task type: ml_system_design
Scenario: edge sync
Domain focus: compiler toolchains
Primary language: python
Difficulty: expert+
Scale/SLO: 99.99% availability
Component: component_doikhfwo
Constraints: include failure modes and recovery, include verification strategy, explicit contracts and invariants, avoid data races ... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of realtime systems for scenario: chat messaging.
Primary language: python.
Difficulty: medium.
Constraints: provide rollout and rollback guidance, avoid undefined behavior and data races, include invariants and failure modes, design for backward compatibility and migrations.... | WithinUsAI/Elite_GOD_Coder_100k |
Write a thorough test suite for a Python component used for event dispatching.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must be memory-efficient, must avoid global state.
Difficulty: medium. Avoid quadratic behavior on large inputs.
Deliverable: production-ready reference s... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of stream processing for scenario: event ingestion.
Primary language: bash.
Difficulty: hard.
Constraints: make the interface contract explicit, assume untrusted inputs; validate and sanitize, design for backward compatibility and migrations, provide rollout and rollback guid... | WithinUsAI/Elite_GOD_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C68502:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m20654.py` and `test_m20654.py`.
```python
# m20654.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: Language: Rust
Framework/tooling: cargo test
Domain: search service
Logic challenge: monorepo toolchain skew
Task type: performance_bottleneck_patch
Difficult... | WithinUsAI/GOD_Coder_Complete_DataSet |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix a subtle bug in a Python module used for log processing.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must be memory-efficient, stdlib-only.
Difficulty: medium. Guarantee deterministic output ordering.
Deliverable: corrected code and verification tests.
`... | WithinUsAI/python_GOD_coder_100k |
Design a production system for gaming supporting background jobs.
Target platform: ML (scikit + batch).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must be observable (logs/metrics/traces), must include clear error handling, must be performant under load.
Difficulty: medi... | 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: v4v3xup.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Provision infrastructure for a healthtech workload providing search + pagination.
Target platform: infra (Docker + Kubernetes).
Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling.
Constraints: must be secure-by-default, must be production-ready, must include type hints where applicable, ... | WithinUsAI/GOD_Coder_100k |
Implement a concurrent Python solution for data modeling.
Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests.
Constraints: must provide clear error messages, must be streaming-friendly, must be easy to extend.
Difficulty: hard. Avoid quadratic behavior on large inputs.
Deli... | WithinUsAI/python_GOD_coder_100k |
Task type: storage_engine
Scenario: edge sync
Domain focus: program synthesis (safe)
Primary language: python
Difficulty: hard
Scale/SLO: 1M msgs/min
Component: component_adtwvljw
Constraints: include performance model and limits, include security threat model (defensive only), include failure modes and recovery, avoid... | 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 |
Task type: storage_engine
Scenario: identity and access
Domain focus: large-scale ML systems
Primary language: go
Difficulty: expert+
Scale/SLO: 10k RPS peak
Component: component_mwpiujdr
Constraints: include deterministic replay plan, include performance model and limits, include test vectors and fuzz strategy, includ... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: static_analyzer
Scenario: job scheduler
Domain focus: constraint solving
Primary language: sql
Difficulty: expert+
Scale/SLO: 50 TB/day ingestion
Component: component_hqvapmlb
Constraints: include performance model and limits, avoid data races and undefined behavior, assume adversarial inputs; validate every... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of databases for scenario: job scheduler.
Primary language: go.
Difficulty: hard.
Constraints: make the interface contract explicit, document performance characteristics, provide rollout and rollback guidance.
Component: component_pppgfrk.
Assume schema changes every sprint; ... | WithinUsAI/Elite_GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f10165(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 `m58595.py` and `test_m58595.py`.
*** Begin Patch
*** Update File: m58595.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
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 docstrings, must include type hints.
Difficulty: medium. Support both Windows and POSIX paths correctly.
Deliverable: corrected code a... | 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: Gradle
Domain: payments platform
Logic challenge: schema drift during deployment
Task type: algorithmic_correctness
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: Language: C#
Framework/tooling: EF Core
Domain: reporting engine
Logic challenge: dead-letter queue replay
Task type: edge_case_hardening
Difficulty: hard
Re... | 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 |
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: y0ettw_.py
```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: pytest
Domain: auth service
Logic challenge: streaming timeout handling
Task type: concurrency_fix
Difficulty: hard
Retur... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: smt_constraint_model
Scenario: multi-tenant event ingestion
Domain focus: distributed storage
Primary language: smtlib
Difficulty: expert
Scale/SLO: multi-region active-active
Component: component_cquwthqy
Constraints: include verification strategy, avoid data races and undefined behavior, include failure mo... | WithinUsAI/Omega_Genesis_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C43856:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m64912.py` and `test_m64912.py`.
```python
# m64912.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f25564`.
```python
def f25564(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m03652 import f25564
def test_known():
assert f25564(3,4) == 25
def test_zero():
assert f25564(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 |
Optimize while preserving behavior and order.
```python
def f91844(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m41692.py` with types and O(n) average.
```python
# m41692.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: hfudmi4.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f55929`.
```python
def f55929(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m50847 import f55929
def test_known():
assert f55929(3,4) == 25
def test_zero():
assert f55929(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: SQL
Framework/tooling: PostgreSQL
Domain: job scheduler
Logic challenge: N+1 query explosion
Task type: multi_file_migration_repair
Difficulty: hard... | 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: search service
Implementation stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Software delivery problem: schema drift during deployment
Task typ... | 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: vxed8zm.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: storage_engine
Scenario: document indexing pipeline
Domain focus: zero-downtime migrations
Primary language: bash
Difficulty: expert
Scale/SLO: p99 < 150ms
Component: component_ttogpvmi
Constraints: include performance model and limits, include security threat model (defensive only), include failure modes an... | 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: qy2nqi6u0.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: document indexing.
Primary language: go.
Difficulty: expert.
Constraints: include tests or verification strategy, make the interface contract explicit, provide rollout and rollback guidance.
Component: component_jorfxlx.
Assum... | WithinUsAI/Elite_GOD_Coder_100k |
Provision infrastructure for a developer tooling workload providing audit logs.
Target platform: web (React + TypeScript).
Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling.
Constraints: must be secure-by-default, must include type hints where applicable, must be observable (logs/metric... | 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: SQL
Framework/tooling: PostgreSQL
Domain: reporting engine
Logic challenge: S3-compatible upload inconsistency
Task type: multi_service_security_pat... | WithinUsAI/GOD_Coder_Complete_DataSet |
Add observability for multi-tenant isolation in a enterprise SaaS system.
Target platform: ML (scikit + batch).
Requirements: structured logs, metrics, tracing, dashboards, and alerting rules.
Constraints: must be secure-by-default, must avoid global state, must be easy to extend.
Difficulty: hard. Assume schema evolve... | WithinUsAI/GOD_Coder_100k |
Implement a concurrent Python solution for validation.
Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests.
Constraints: must provide clear error messages, must be streaming-friendly.
Difficulty: easy. Include a small CLI example if relevant.
Deliverable: production-ready re... | 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: kuxo7k9k.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Design a small, production-grade Python API for event dispatching.
Requirements: define data models and interfaces, implement reference version, include tests.
Constraints: must avoid global state, must provide clear error messages, must be memory-efficient, must include type hints.
Difficulty: medium. Ensure the API i... | 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: u_0m03wh7w73.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f47532(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 `m21076.py` and `test_m21076.py`.
*** Begin Patch
*** Update File: m21076.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of compilers for scenario: time-series metrics.
Primary language: rust.
Difficulty: expert.
Constraints: include invariants and failure modes, include tests or verification strategy, assume untrusted inputs; validate and sanitize.
Component: component_dzoemzc.
Assume 50k RPS ... | 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: ugror6k9qtu.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: q3palim8.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C91610:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m83970.py` and `test_m83970.py`.
```python
# m83970.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: dlqa6jco9z.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: s36fxj6.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Improve typing and robustness of a Python module used for metrics aggregation.
Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests.
Constraints: must include tests, must be easy to extend.
Difficulty: medium. Ensure the API is testable via dependency injection.
Deliverable: AP... | 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: pvhx9wu1t.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Design a small, production-grade Python API for file synchronization.
Requirements: define data models and interfaces, implement reference version, include tests.
Constraints: must be easy to extend, stdlib-only, must be streaming-friendly.
Difficulty: expert. Support both Windows and POSIX paths correctly.
Deliverabl... | 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: System domain: team dashboard
Stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Cross-layer incident: transaction boundary bug
Task type: auth_sess... | 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: j0huwn6lg.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 domain: feature flag service
Implementation stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Software delivery problem: multi-tenant access leak
Task typ... | 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 |
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: search service
Logic challenge: timezone bug in reporting
Task type: parser_validation_logic
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: 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 |
Task type: kernel_syscall_design
Scenario: document indexing pipeline
Domain focus: edge robotics (safe)
Primary language: c
Difficulty: hard
Scale/SLO: 99.99% availability
Component: component_sltaghhb
Constraints: include backward compatibility and migration plan, include deterministic replay plan, include performanc... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of sre/observability for scenario: time-series metrics.
Primary language: typescript.
Difficulty: expert.
Constraints: document performance characteristics, include invariants and failure modes, make the interface contract explicit, include tests or verification strategy, avo... | 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: zuptzxhdf.py
```... | 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.