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: YAML
Framework/tooling: Docker Compose
Domain: artifact registry
Logic challenge: build reproducibility failure
Task type: monorepo_toolchain_recove... | WithinUsAI/GOD_Coder_Complete_DataSet |
Refactor an existing codebase in logistics to support analytics pipeline cleanly.
Target platform: web (React + TypeScript).
Requirements: propose new modules/layers, dependency boundaries, and migration plan.
Constraints: must include type hints where applicable, must be production-ready, must be secure-by-default, mu... | WithinUsAI/GOD_Coder_100k |
Add a clear docstring and type hints to this function:
```python
def f10994(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f10994(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f62445(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m94635.py` with types and O(n) average.
```python
# m94635.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: System domain: observability collector
Stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Cross-layer incident: gRPC retry storm
Task type: schema_contract_alignme... | 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: observability collector
Implementation stack: Airflow, dbt, DuckDB, MinIO, pytest
Software delivery problem: websocket reconnect storm
Task ty... | WithinUsAI/GOD_Coder_Complete_DataSet |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Repository domain: repo automation
Primary language: C#
Framework/tooling: EF Core
Reported problem: rate-limit bypass
Task type: performance_patch
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: rm_jqavh.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: mechanized_spec
Scenario: identity and access
Domain focus: network protocols
Primary language: lean
Difficulty: hard
Scale/SLO: p99 < 50ms
Component: component_galvgglk
Constraints: include performance model and limits, explicit contracts and invariants, include security threat model (defensive only), inclu... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: query_optimizer
Scenario: document indexing pipeline
Domain focus: network protocols
Primary language: bash
Difficulty: hard
Scale/SLO: 1M msgs/min
Component: component_qcpovwqt
Constraints: include backward compatibility and migration plan, include failure modes and recovery, include test vectors and fuzz s... | 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: qfeoz... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: query_optimizer
Scenario: rate limit gateway
Domain focus: query planning
Primary language: python
Difficulty: expert+
Scale/SLO: p99 < 150ms
Component: component_asgbmyoz
Constraints: include backward compatibility and migration plan, explicit contracts and invariants, include security threat model (defensi... | WithinUsAI/Omega_Genesis_Coder_100k |
Design a production system for education supporting caching.
Target platform: ML (PyTorch + serving).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must include type hints where applicable, must be secure-by-default, must be performant under load, must avoid global state, m... | 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: Java
Framework/tooling: Gradle
Domain: developer platform
Logic challenge: websocket reconnect storm
Task type: state_machine_patch
Difficulty: medi... | WithinUsAI/GOD_Coder_Complete_DataSet |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: o5b3f... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f01397(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m28771.py` with types and O(n) average.
```python
# m28771.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 f81740(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m68820.py` with types and O(n) average.
```python
# m68820.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f94148`.
```python
def f94148(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m99164 import f94148
def test_known():
assert f94148(3,4) == 25
def test_zero():
assert f94148(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: network_protocol
Scenario: multi-tenant event ingestion
Domain focus: fault injection & chaos engineering
Primary language: typescript
Difficulty: expert
Scale/SLO: 100k RPS peak
Component: component_twlbwgda
Constraints: include test vectors and fuzz strategy, include security threat model (defensive only),... | 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 |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Language: C++
Dependency challenge: gRPC retry storm
Task type: build_reproducibility_fix... | 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: C++
Dependency challenge: S3-compatible upload inconsistency
Task type: cve_dep... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build a data pipeline for a education product around real-time notifications.
Target platform: data (SQL + Python).
Requirements: schema, ingestion, validation, backfills, and tests.
Constraints: must include documentation/comments, must be production-ready, must include tests, must avoid global state, must be secure-b... | 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: developer platform
Implementation stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker
Software delivery problem: multi-tenant access leak
Tas... | WithinUsAI/GOD_Coder_Complete_DataSet |
Improve typing and robustness of a Python module used for configuration loading.
Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests.
Constraints: must be streaming-friendly, must include type hints, must be memory-efficient, must avoid global state.
Difficulty: easy. Ensure th... | WithinUsAI/python_GOD_coder_100k |
Fix the bug and add pytest tests.
```python
def f73538(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 `m81934.py` and `test_m81934.py`.
*** Begin Patch
*** Update File: m81934.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 |
Write a thorough test suite for a Python component used for parsing.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must include tests, must include type hints.
Difficulty: hard. Avoid quadratic behavior on large inputs.
Deliverable: implementation + tests.
```python
# tests (pyt... | 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: hjytan_fp.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Perform a code review for a fraud detection PR implementing file uploads.
Target platform: infra (Docker + Kubernetes).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must be production-ready, must include clear error handling, must be secure-by-default, must be ea... | WithinUsAI/GOD_Coder_100k |
Task type: network_protocol
Scenario: feature-flag evaluation
Domain focus: static analysis
Primary language: rust
Difficulty: hard
Scale/SLO: p99 < 150ms
Component: component_zikyasad
Constraints: include performance model and limits, avoid data races and undefined behavior, include deterministic replay plan, include ... | WithinUsAI/Omega_Genesis_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: d5uzx... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: compiler_backend_ir
Scenario: graph query service
Domain focus: data lineage & governance
Primary language: rust
Difficulty: hard
Scale/SLO: 1M msgs/min
Component: component_qkrbqqrv
Constraints: include security threat model (defensive only), avoid data races and undefined behavior, include deterministic re... | 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: compiler_frontend
Scenario: feature-flag evaluation
Domain focus: network protocols
Primary language: typescript
Difficulty: expert
Scale/SLO: p99 < 50ms
Component: component_szyrvyob
Constraints: include security threat model (defensive only), include performance model and limits, include test vectors and f... | WithinUsAI/Omega_Genesis_Coder_100k |
Build a data pipeline for a IoT telemetry product around multi-tenant isolation.
Target platform: data (SQL + Python).
Requirements: schema, ingestion, validation, backfills, and tests.
Constraints: must be observable (logs/metrics/traces), must include documentation/comments, must be production-ready, must be easy to ... | 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: JavaScript
Framework/tooling: React
Domain: observability collector
Logic challenge: multi-tenant access leak
Task type: transaction_integrity_fix
D... | 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 |
Task type: distributed_algorithm
Scenario: graph query service
Domain focus: fault injection & chaos engineering
Primary language: typescript
Difficulty: expert
Scale/SLO: multi-region active-active
Component: component_ohqggdrs
Constraints: include deterministic replay plan, assume adversarial inputs; validate everyth... | 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 |
Implement a mobile feature for logistics: event-driven workflows.
Target platform: mobile.
Requirements: offline-safe behavior, UI state handling, and tests.
Constraints: must avoid global state, must be easy to extend, must include documentation/comments, must include tests.
Difficulty: medium. Assume GDPR-style delet... | WithinUsAI/GOD_Coder_100k |
Write pytest tests for `f65622`.
```python
def f65622(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m37946 import f65622
def test_known():
assert f65622(3,4) == 25
def test_zero():
assert f65622(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: ssily8iu0.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f35407(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m62201.py` with types and O(n) average.
```python
# m62201.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of networking for scenario: chat messaging.
Primary language: rust.
Difficulty: medium.
Constraints: document performance characteristics, design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races... | 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: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Language: JavaScript
Dependency challenge: schema drift during deployment
Task type: version_c... | 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: y4icf9z.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: secure_architecture
Scenario: multi-tenant event ingestion
Domain focus: program synthesis (safe)
Primary language: sql
Difficulty: hard
Scale/SLO: p99 < 150ms
Component: component_wtcsxgol
Constraints: explicit contracts and invariants, assume adversarial inputs; validate everything, include performance mod... | WithinUsAI/Omega_Genesis_Coder_100k |
Create a comprehensive test plan and automated tests for search + pagination in a developer tooling product.
Target platform: infra (Terraform).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must be secure-by-default, must include clear error handling, must be observa... | WithinUsAI/GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Repository domain: reporting engine
Primary language: TypeScript
Framework/tooling: Next.js
Reported problem: transaction boundary bug
Task type: security_pat... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: compiler_backend_ir
Scenario: identity and access
Domain focus: query planning
Primary language: cpp
Difficulty: expert+
Scale/SLO: 99.99% availability
Component: component_ujatnrck
Constraints: include backward compatibility and migration plan, include verification strategy, include test vectors and fuzz st... | WithinUsAI/Omega_Genesis_Coder_100k |
Design CI/CD for a enterprise SaaS service delivering search + pagination.
Target platform: ML (scikit + batch).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must be secure-by-default, must be easy to extend, must include clear error handling, must include type hints wher... | 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 stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker
Language: C#
Dependency challenge: JWT refresh token rotation
Task type: migration_patch
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: System domain: benchmark harness
Stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Cross-layer incident: multi-tenant access leak
Task type: auth_sessio... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix a subtle bug in a Python module used for rate limiting.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must avoid global state, must be memory-efficient, must be easy to extend, must provide clear error messages.
Difficulty: expert. Provide helpful exception... | WithinUsAI/python_GOD_coder_100k |
Task type: static_analyzer
Scenario: streaming ETL
Domain focus: secure enclaves (defensive)
Primary language: rust
Difficulty: hard
Scale/SLO: 100k RPS peak
Component: component_lwkzwyqk
Constraints: include performance model and limits, include test vectors and fuzz strategy, include failure modes and recovery, expli... | 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: Repository domain: document processing API
Primary language: Bash
Framework/tooling: jq
Reported problem: build reproducibility failure
Task type: code_review... | WithinUsAI/GOD_Coder_Complete_DataSet |
Optimize while preserving behavior and order.
```python
def f41036(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m20148.py` with types and O(n) average.
```python
# m20148.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of realtime systems for scenario: rate limiting gateway.
Primary language: rust.
Difficulty: expert.
Constraints: provide rollout and rollback guidance, include invariants and failure modes, make the interface contract explicit, design for backward compatibility and migration... | WithinUsAI/Elite_GOD_Coder_100k |
Improve typing and robustness of a Python module used for validation.
Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests.
Constraints: must be streaming-friendly, stdlib-only, must include type hints.
Difficulty: easy. Handle empty inputs and malformed records gracefully.
Del... | WithinUsAI/python_GOD_coder_100k |
Fix the bug and add pytest tests.
```python
def f02741(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 `m28963.py` and `test_m28963.py`.
*** Begin Patch
*** Update File: m28963.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 |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: YAML
Framework/tooling: GitHub Actions
Domain: notification service
Logic challenge: monorepo toolchain skew
Task type: performance_bottleneck_patch... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write pytest tests for `f49377`.
```python
def f49377(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m49911 import f49377
def test_known():
assert f49377(3,4) == 25
def test_zero():
assert f49377(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Improve typing and robustness of a Python module used for parsing.
Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests.
Constraints: must be easy to extend, must be memory-efficient, must be streaming-friendly, must handle Windows paths safely.
Difficulty: expert. Avoid quadrat... | WithinUsAI/python_GOD_coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C74336:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m51872.py` and `test_m51872.py`.
```python
# m51872.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: xxxcgotdifgm.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
Design and implement an algorithm for log processing.
Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests.
Constraints: must include type hints, stdlib-only, must include docstrings, must be memory-efficient.
Difficulty: medium. Handle empty inputs and malformed records g... | WithinUsAI/python_GOD_coder_100k |
Task type: tla_state_machine
Scenario: streaming ETL
Domain focus: stream processing
Primary language: tla+
Difficulty: expert+
Scale/SLO: 50 TB/day ingestion
Component: component_thsxotlt
Constraints: include test vectors and fuzz strategy, include verification strategy, include backward compatibility and migration pl... | 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: mu_bb6d8_.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: tn69lr.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of networking for scenario: document indexing.
Primary language: bash.
Difficulty: medium.
Constraints: include tests or verification strategy, provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races, docu... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: lockfree_primitive
Scenario: document indexing pipeline
Domain focus: high-frequency trading systems (safe engineering)
Primary language: cpp
Difficulty: expert+
Scale/SLO: p99 < 50ms
Component: component_zmpphupy
Constraints: include verification strategy, explicit contracts and invariants, include test vec... | 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 |
Add a clear docstring and type hints to this function:
```python
def f95445(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f95445(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: YAML
Framework/tooling: Docker Compose
Domain: model serving gateway
Logic challenge: invalid rollback sequence
Task type: backwards_compatible_rede... | 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: data pipeline
Implementation stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Software delivery problem: slow cold start
Task type: rel... | 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: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions
Language: Java
Dependency challenge: broken pagination cursor
Task type: version... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of databases for scenario: analytics pipeline.
Primary language: go.
Difficulty: medium.
Constraints: include invariants and failure modes, document performance characteristics, design for backward compatibility and migrations, make the interface contract explicit, provide ro... | 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: r74w645.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: Java
Framework/tooling: Gradle
Domain: search service
Logic challenge: log redaction failure
Task type: monorepo_toolchain_recovery
Difficulty: hard... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix the bug and add pytest tests.
```python
def f48350(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 `m64050.py` and `test_m64050.py`.
*** Begin Patch
*** Update File: m64050.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement real-time notifications for a document processing product.
Target platform: ML (PyTorch + serving).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must include documentation/comments, must be performant under load, must be observable (logs/metrics/traces), must be easy to ... | 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: pandas
Domain: search service
Logic challenge: schema drift during deployment
Task type: multi_file_migration_repair
Diffi... | WithinUsAI/GOD_Coder_Complete_DataSet |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C20414:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m93878.py` and `test_m93878.py`.
```python
# m93878.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: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C83392:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m37184.py` and `test_m37184.py`.
```python
# m37184.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: lockfree_primitive
Scenario: identity and access
Domain focus: secure enclaves (defensive)
Primary language: cpp
Difficulty: hard
Scale/SLO: 1M msgs/min
Component: component_blqjjsqy
Constraints: include security threat model (defensive only), include verification strategy, explicit contracts and invariants,... | 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: Repository domain: search service
Primary language: YAML
Framework/tooling: Terraform
Reported problem: rate-limit bypass
Task type: bug_fix
Difficulty: hard
... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: distributed_algorithm
Scenario: rate limit gateway
Domain focus: distributed storage
Primary language: bash
Difficulty: expert+
Scale/SLO: 50 TB/day ingestion
Component: component_kggcjjgm
Constraints: include performance model and limits, avoid data races and undefined behavior, include test vectors and fuz... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of ml systems for scenario: document indexing.
Primary language: sql.
Difficulty: hard.
Constraints: include invariants and failure modes, make the interface contract explicit, document performance characteristics.
Component: component_kmhvxfc.
Assume crash-only design; recov... | WithinUsAI/Elite_GOD_Coder_100k |
Write pytest tests for `f34054`.
```python
def f34054(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m47722 import f34054
def test_known():
assert f34054(3,4) == 25
def test_zero():
assert f34054(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Language: Bash
Dependency challenge: async cancellation bug
Task type: container_runtime_fix... | 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: System domain: team dashboard
Stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Cross-layer incident: multi-tenant access leak
Task type: deploy_ru... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of compilers for scenario: document indexing.
Primary language: rust.
Difficulty: hard.
Constraints: include tests or verification strategy, document performance characteristics, provide rollout and rollback guidance.
Component: component_oprzxyp.
Assume crash-only design; re... | WithinUsAI/Elite_GOD_Coder_100k |
Optimize while preserving behavior and order.
```python
def f24011(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m60573.py` with types and O(n) average.
```python
# m60573.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Design and implement an algorithm for caching layer.
Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests.
Constraints: must include type hints, must include docstrings.
Difficulty: easy. Handle empty inputs and malformed records gracefully.
Deliverable: corrected code an... | WithinUsAI/python_GOD_coder_100k |
Write pytest tests for `f56654`.
```python
def f56654(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m79522 import f56654
def test_known():
assert f56654(3,4) == 25
def test_zero():
assert f56654(0,0) == 0
def test_property_nonne... | 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.