text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
Provision infrastructure for a education workload providing rate limiting.
Target platform: mobile (iOS Swift).
Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling.
Constraints: must include documentation/comments, must be production-ready, must include type hints where applicable, must i... | WithinUsAI/GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: System domain: search service
Stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Cross-layer incident: JWT refresh token rotation
Task type: cache_cons... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of ml systems for scenario: event ingestion.
Primary language: python.
Difficulty: medium.
Constraints: make the interface contract explicit, include invariants and failure modes, document performance characteristics, provide rollout and rollback guidance, include tests or ve... | WithinUsAI/Elite_GOD_Coder_100k |
Write pytest tests for `f47211`.
```python
def f47211(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m78173 import f47211
def test_known():
assert f47211(3,4) == 25
def test_zero():
assert f47211(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: uxp7o_kf.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f60662(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f60662(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Provision infrastructure for a e-commerce workload providing search + pagination.
Target platform: mobile (Android Kotlin).
Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling.
Constraints: must include documentation/comments, must include type hints where applicable, must include tests, ... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f88756(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 `m84108.py` and `test_m84108.py`.
*** Begin Patch
*** Update File: m84108.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 domain: feature flag service
Implementation stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions
Software delivery problem: async can... | WithinUsAI/GOD_Coder_Complete_DataSet |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C93468:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m61036.py` and `test_m61036.py`.
```python
# m61036.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: Optimize while preserving behavior.
File: z7jjj... | 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: model serving gateway
Stack: Airflow, dbt, DuckDB, MinIO, pytest
Cross-layer incident: websocket reconnect storm
Task type: cache_consistency_p... | WithinUsAI/GOD_Coder_Complete_DataSet |
Implement a concurrent Python solution for time series.
Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests.
Constraints: must be easy to extend, stdlib-only.
Difficulty: expert. Avoid quadratic behavior on large inputs.
Deliverable: production-ready reference solution.
```p... | WithinUsAI/python_GOD_coder_100k |
Refactor a Python module used for parsing into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must be memory-efficient, must be easy to extend.
Difficulty: easy. Provide helpful exceptions with actionable messages.
Deliverable: 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: scp6g3xgm.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: distributed_algorithm
Scenario: edge sync
Domain focus: runtime systems
Primary language: typescript
Difficulty: hard
Scale/SLO: 99.99% availability
Component: component_dkqtqxdu
Constraints: avoid data races and undefined behavior, include security threat model (defensive only), include deterministic replay... | 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 |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C52906:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m11762.py` and `test_m11762.py`.
```python
# m11762.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement caching for a enterprise SaaS product.
Target platform: backend (Node.js).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must be secure-by-default, must be observable (logs/metrics/traces), must include documentation/comments, must avoid global state.
Difficulty: easy. In... | 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 |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C71957:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m51689.py` and `test_m51689.py`.
```python
# m51689.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: dpkqfznbh.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 |
Build an elite-grade solution in the domain of distributed systems for scenario: edge sync.
Primary language: rust.
Difficulty: expert.
Constraints: assume untrusted inputs; validate and sanitize, document performance characteristics, avoid undefined behavior and data races.
Component: component_goewitj.
Assume partial... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of stream processing for scenario: chat messaging.
Primary language: go.
Difficulty: expert.
Constraints: avoid undefined behavior and data races, include tests or verification strategy, include invariants and failure modes, provide rollout and rollback guidance, document per... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: tla_state_machine
Scenario: job scheduler
Domain focus: edge robotics (safe)
Primary language: tla+
Difficulty: expert+
Scale/SLO: 100k RPS peak
Component: component_vsjnjkhg
Constraints: include backward compatibility and migration plan, avoid data races and undefined behavior, assume adversarial inputs; va... | WithinUsAI/Omega_Genesis_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C41311:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m33947.py` and `test_m33947.py`.
```python
# m33947.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Design a production system for document processing supporting background jobs.
Target platform: backend (Node.js).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must be observable (logs/metrics/traces), must include clear error handling, must avoid global state.
Difficulty:... | 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: artifact registry
Logic challenge: multi-tenant access leak
Task type: state_machine_patch
Difficulty: med... | WithinUsAI/GOD_Coder_Complete_DataSet |
Secure-by-default implementation for audit logs in a enterprise SaaS product.
Target platform: backend (Node.js).
Requirements: threat model, input validation, authz/authn guidance, safe storage, tests.
Constraints: must include type hints where applicable, must include documentation/comments, 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: Fix a bug and add tests.
File: z4u269bd.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C34369:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m33413.py` and `test_m33413.py`.
```python
# m33413.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: compiler_frontend
Scenario: rate limit gateway
Domain focus: GPU serving
Primary language: typescript
Difficulty: expert
Scale/SLO: 10k RPS peak
Component: component_oholdmof
Constraints: assume adversarial inputs; validate everything, include test vectors and fuzz strategy, include backward compatibility an... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of realtime systems for scenario: job scheduler.
Primary language: go.
Difficulty: hard.
Constraints: provide rollout and rollback guidance, design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize.
Component: component_zlmihnq.
Assume ... | WithinUsAI/Elite_GOD_Coder_100k |
Fix a subtle bug in a Python module used for caching layer.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must be memory-efficient, must include tests, must handle Windows paths safely.
Difficulty: expert. Handle empty inputs and malformed records gracefully.
... | 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: vqamb... | 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 |
Implement a concurrent Python solution for log processing.
Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests.
Constraints: must provide clear error messages, stdlib-only.
Difficulty: medium. Handle empty inputs and malformed records gracefully.
Deliverable: production-read... | WithinUsAI/python_GOD_coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C56224:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m81248.py` and `test_m81248.py`.
```python
# m81248.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f16393(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f16393(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | 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: lns7x5c4.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C05740:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m61980.py` and `test_m61980.py`.
```python
# m61980.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: compiler_backend_ir
Scenario: edge sync
Domain focus: query planning
Primary language: cpp
Difficulty: expert
Scale/SLO: 99.99% availability
Component: component_gdyirykh
Constraints: explicit contracts and invariants, include verification strategy, include failure modes and recovery, include backward compat... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of realtime systems for scenario: time-series metrics.
Primary language: sql.
Difficulty: expert.
Constraints: avoid undefined behavior and data races, provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize.
Component: component_wrgcyro.
Assume ... | WithinUsAI/Elite_GOD_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: sohrq... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of realtime systems for scenario: document indexing.
Primary language: python.
Difficulty: hard.
Constraints: document performance characteristics, include tests or verification strategy, avoid undefined behavior and data races.
Component: component_xmwpgwn.
Assume partial ne... | WithinUsAI/Elite_GOD_Coder_100k |
Write pytest tests for `f05034`.
```python
def f05034(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m57862 import f05034
def test_known():
assert f05034(3,4) == 25
def test_zero():
assert f05034(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: pb4mchn8lne.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C64306:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m89562.py` and `test_m89562.py`.
```python
# m89562.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f26004`.
```python
def f26004(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m46572 import f26004
def test_known():
assert f26004(3,4) == 25
def test_zero():
assert f26004(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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f21120(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 `m60160.py` and `test_m60160.py`.
*** Begin Patch
*** Update File: m60160.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of ml systems for scenario: chat messaging.
Primary language: typescript.
Difficulty: expert.
Constraints: make the interface contract explicit, include tests or verification strategy, avoid undefined behavior and data races, document performance characteristics.
Component: c... | WithinUsAI/Elite_GOD_Coder_100k |
Refactor an existing codebase in e-commerce to support webhooks cleanly.
Target platform: web (React + TypeScript).
Requirements: propose new modules/layers, dependency boundaries, and migration plan.
Constraints: must include clear error handling, must be production-ready, must be easy to extend, must avoid global sta... | WithinUsAI/GOD_Coder_100k |
Task type: compiler_backend_ir
Scenario: identity and access
Domain focus: program synthesis (safe)
Primary language: cpp
Difficulty: expert+
Scale/SLO: multi-region active-active
Component: component_atsgkprr
Constraints: include backward compatibility and migration plan, explicit contracts and invariants, include sec... | WithinUsAI/Omega_Genesis_Coder_100k |
Optimize a Python workflow for parsing.
Requirements: provide an optimized implementation and a small benchmark harness.
Constraints: must be memory-efficient, must avoid global state, must include docstrings, must provide clear error messages.
Difficulty: easy. Guarantee deterministic output ordering.
Deliverable: im... | WithinUsAI/python_GOD_coder_100k |
Fix a subtle bug in a Python module used for event dispatching.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must be streaming-friendly, must avoid global state, stdlib-only, must include docstrings.
Difficulty: hard. Provide helpful exceptions with actionable... | 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: utpqg... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of realtime systems for scenario: feature flagging.
Primary language: typescript.
Difficulty: medium.
Constraints: avoid undefined behavior and data races, include invariants and failure modes, design for backward compatibility and migrations, document performance characteris... | WithinUsAI/Elite_GOD_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: aky84... | 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: diy_9bd.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of ml systems for scenario: inventory & ordering.
Primary language: python.
Difficulty: expert.
Constraints: design for backward compatibility and migrations, make the interface contract explicit, include invariants and failure modes.
Component: component_dvoqekt.
Assume stri... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: storage_engine
Scenario: job scheduler
Domain focus: distributed storage
Primary language: rust
Difficulty: expert
Scale/SLO: multi-region active-active
Component: component_fgtukbex
Constraints: explicit contracts and invariants, include failure modes and recovery, assume adversarial inputs; validate everyt... | WithinUsAI/Omega_Genesis_Coder_100k |
Optimize a Python workflow for file synchronization.
Requirements: provide an optimized implementation and a small benchmark harness.
Constraints: must avoid global state, must be memory-efficient, must be easy to extend.
Difficulty: hard. Provide helpful exceptions with actionable messages.
Deliverable: corrected cod... | WithinUsAI/python_GOD_coder_100k |
Task type: sre_incident_sim
Scenario: graph query service
Domain focus: runtime systems
Primary language: sql
Difficulty: hard
Scale/SLO: 100k RPS peak
Component: component_xgweibbg
Constraints: include security threat model (defensive only), include deterministic replay plan, include performance model and limits, assu... | WithinUsAI/Omega_Genesis_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: System domain: document processing API
Stack: Airflow, dbt, DuckDB, MinIO, pytest
Cross-layer incident: timezone bug in reporting
Task type: cache_consistency... | WithinUsAI/GOD_Coder_Complete_DataSet |
Refactor an existing codebase in fraud detection to support event-driven workflows cleanly.
Target platform: infra (Terraform).
Requirements: propose new modules/layers, dependency boundaries, and migration plan.
Constraints: must be secure-by-default, must include clear error handling, must include documentation/comme... | WithinUsAI/GOD_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C62824:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m89448.py` and `test_m89448.py`.
```python
# m89448.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: Python
Framework/tooling: Django
Domain: job scheduler
Logic challenge: optimistic locking conflict
Task type: multi_file_migration_repair
Difficult... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of realtime systems for scenario: event ingestion.
Primary language: python.
Difficulty: expert.
Constraints: assume untrusted inputs; validate and sanitize, include tests or verification strategy, document performance characteristics, design for backward compatibility and mi... | WithinUsAI/Elite_GOD_Coder_100k |
Implement a mobile feature for document processing: background jobs.
Target platform: mobile.
Requirements: offline-safe behavior, UI state handling, and tests.
Constraints: must avoid global state, must include documentation/comments, must be performant under load, must include clear error handling, must include tests... | 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: artifact registry
Implementation stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Software delivery problem: gRPC retry storm
Task type: rollback... | 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: TypeScript
Framework/tooling: Next.js
Domain: benchmark harness
Logic challenge: async cancellation bug
Task type: monorepo_toolchain_recovery
Diffi... | 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: q0u61fe.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: network_protocol
Scenario: graph query service
Domain focus: stream processing
Primary language: typescript
Difficulty: expert+
Scale/SLO: 100k RPS peak
Component: component_ygrdofxd
Constraints: include backward compatibility and migration plan, avoid data races and undefined behavior, include security thre... | WithinUsAI/Omega_Genesis_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: System domain: model serving gateway
Stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker
Cross-layer incident: gRPC retry storm
Task type: full_stack_bug_fix... | WithinUsAI/GOD_Coder_Complete_DataSet |
Design CI/CD for a calendar/scheduling service delivering caching.
Target platform: CI (GitHub Actions).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must be observable (logs/metrics/traces), must avoid global state, must include clear error handling, must be easy to exte... | WithinUsAI/GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: C#
Framework/tooling: NUnit
Domain: job scheduler
Logic challenge: timezone bug in reporting
Task type: algorithmic_correctness
Difficulty: medium
... | WithinUsAI/GOD_Coder_Complete_DataSet |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: fsse2_gjwm.py
``... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
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: p6s2u... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement a concurrent Python solution for data modeling.
Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests.
Constraints: must handle Windows paths safely, must include tests, must avoid global state.
Difficulty: hard. Include a small CLI example if relevant.
Deliverable: ... | WithinUsAI/python_GOD_coder_100k |
Write pytest tests for `f77570`.
```python
def f77570(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m82510 import f77570
def test_known():
assert f77570(3,4) == 25
def test_zero():
assert f77570(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f13018`.
```python
def f13018(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m87574 import f13018
def test_known():
assert f13018(3,4) == 25
def test_zero():
assert f13018(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: taf6f... | WithinUsAI/Royal_Ghost_Coder_501k |
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 handle Windows paths safely, must be memory-efficient.
Difficulty: expert. Ensure the API is testable via dependency injection.
Deliv... | 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: k8z11... | WithinUsAI/Royal_Ghost_Coder_501k |
Write secure, defensive Python code for report generation.
Requirements: input validation, safe file handling, prevent path traversal, include tests.
Constraints: must avoid global state, stdlib-only.
Difficulty: medium. Handle empty inputs and malformed records gracefully.
Deliverable: API + reference implementation ... | WithinUsAI/python_GOD_coder_100k |
Task type: supply_chain_security
Scenario: streaming ETL
Domain focus: static analysis
Primary language: rust
Difficulty: expert+
Scale/SLO: p99 < 150ms
Component: component_iqysprxx
Constraints: include performance model and limits, include security threat model (defensive only), assume adversarial inputs; validate ev... | WithinUsAI/Omega_Genesis_Coder_100k |
Write a thorough test suite for a Python component used for CLI tooling.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must be memory-efficient, must provide clear error messages, must include tests.
Difficulty: easy. Guarantee deterministic output ordering.
Deliverable: API + r... | 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: n1wus... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of distributed systems for scenario: payment processing.
Primary language: go.
Difficulty: medium.
Constraints: provide rollout and rollback guidance, avoid undefined behavior and data races, design for backward compatibility and migrations.
Component: component_gvupokq.
Assu... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: smt_constraint_model
Scenario: streaming ETL
Domain focus: program synthesis (safe)
Primary language: python
Difficulty: expert
Scale/SLO: 99.99% availability
Component: component_gtzxfsvq
Constraints: include deterministic replay plan, assume adversarial inputs; validate everything, include verification str... | 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 f53672(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f53672(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | 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 |
Build an elite-grade solution in the domain of distributed systems for scenario: document indexing.
Primary language: bash.
Difficulty: medium.
Constraints: include invariants and failure modes, avoid undefined behavior and data races, make the interface contract explicit.
Component: component_cxuhtnl.
Assume complianc... | 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: aekr4m.py
```pyt... | 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.