text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
Task type: distributed_algorithm
Scenario: graph query service
Domain focus: cryptography engineering (defensive)
Primary language: bash
Difficulty: expert
Scale/SLO: p99 < 150ms
Component: component_pdohvkwf
Constraints: include verification strategy, assume adversarial inputs; validate everything, avoid data races an... | WithinUsAI/Omega_Genesis_Coder_100k |
Design a small, production-grade Python API for file synchronization.
Requirements: define data models and interfaces, implement reference version, include tests.
Constraints: must be memory-efficient, must provide clear error messages, must be easy to extend, must be streaming-friendly.
Difficulty: easy. Ensure the AP... | WithinUsAI/python_GOD_coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C79664:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m06128.py` and `test_m06128.py`.
```python
# m06128.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C82011:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m67847.py` and `test_m67847.py`.
```python
# m67847.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project domain: model serving gateway
Implementation stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions
Software delivery problem: memory l... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: runtime_gc
Scenario: feature-flag evaluation
Domain focus: kernel primitives
Primary language: sql
Difficulty: expert
Scale/SLO: p99 < 50ms
Component: component_axnzqblq
Constraints: avoid data races and undefined behavior, assume adversarial inputs; validate everything, include verification strategy, includ... | WithinUsAI/Omega_Genesis_Coder_100k |
Write pytest tests for `f86334`.
```python
def f86334(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m83762 import f86334
def test_known():
assert f86334(3,4) == 25
def test_zero():
assert f86334(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C80424:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m44648.py` and `test_m44648.py`.
```python
# m44648.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: System domain: feature flag service
Stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Cross-layer incident: async cancellation bug
Task type: observabil... | WithinUsAI/GOD_Coder_Complete_DataSet |
Add a clear docstring and type hints to this function:
```python
def f74528(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f74528(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: runtime_gc
Scenario: document indexing pipeline
Domain focus: edge robotics (safe)
Primary language: sql
Difficulty: expert+
Scale/SLO: 10k RPS peak
Component: component_xcuohezk
Constraints: include verification strategy, avoid data races and undefined behavior, include performance model and limits, include... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: gpu_serving_pipeline
Scenario: graph query service
Domain focus: formal verification
Primary language: bash
Difficulty: hard
Scale/SLO: 10k RPS peak
Component: component_pgrxmrpp
Constraints: include failure modes and recovery, include backward compatibility and migration plan, assume adversarial inputs; val... | WithinUsAI/Omega_Genesis_Coder_100k |
Create a comprehensive test plan and automated tests for idempotent payments in a e-commerce product.
Target platform: ML (scikit + batch).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must be easy to extend, must be secure-by-default, must include type hints where a... | 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 |
Implement a concurrent Python solution for ETL pipelines.
Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests.
Constraints: must include tests, must include docstrings, stdlib-only.
Difficulty: hard. Ensure the API is testable via dependency injection.
Deliverable: productio... | 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: z7awk7.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Create a comprehensive test plan and automated tests for rate limiting in a customer support product.
Target platform: ML (PyTorch + serving).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must be easy to extend, must be production-ready, must be secure-by-default.
Di... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of distributed systems for scenario: document indexing.
Primary language: typescript.
Difficulty: expert.
Constraints: make the interface contract explicit, avoid undefined behavior and data races, design for backward compatibility and migrations, document performance charact... | WithinUsAI/Elite_GOD_Coder_100k |
Add a clear docstring and type hints to this function:
```python
def f88001(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f88001(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 |
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: 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: Project domain: artifact registry
Implementation stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Software delivery problem: multi-tenant access leak... | 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: wukf_... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: query_optimizer
Scenario: rate limit gateway
Domain focus: observability platforms
Primary language: go
Difficulty: expert
Scale/SLO: 50 TB/day ingestion
Component: component_hozmquzg
Constraints: include failure modes and recovery, assume adversarial inputs; validate everything, include deterministic replay... | WithinUsAI/Omega_Genesis_Coder_100k |
Fix the bug and add pytest tests.
```python
def f80874(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 `m82982.py` and `test_m82982.py`.
*** Begin Patch
*** Update File: m82982.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize a Python workflow for report generation.
Requirements: provide an optimized implementation and a small benchmark harness.
Constraints: must be memory-efficient, must avoid global state, must include type hints.
Difficulty: expert. Ensure the API is testable via dependency injection.
Deliverable: implementatio... | WithinUsAI/python_GOD_coder_100k |
Task type: supply_chain_security
Scenario: rate limit gateway
Domain focus: data lineage & governance
Primary language: bash
Difficulty: expert+
Scale/SLO: 1M msgs/min
Component: component_eyvobakt
Constraints: include performance model and limits, include security threat model (defensive only), include test vectors an... | WithinUsAI/Omega_Genesis_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C36630:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m10510.py` and `test_m10510.py`.
```python
# m10510.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Language: Bash
Dependency challenge: timezone bug in reporting
Task type: container_runtime_fi... | 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: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: sre_incident_sim
Scenario: payment ledger
Domain focus: secure enclaves (defensive)
Primary language: python
Difficulty: expert
Scale/SLO: 100k RPS peak
Component: component_nrumddcj
Constraints: include security threat model (defensive only), include deterministic replay plan, include test vectors and fuzz ... | 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: ir928p.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of realtime systems for scenario: payment processing.
Primary language: go.
Difficulty: medium.
Constraints: include invariants and failure modes, include tests or verification strategy, avoid undefined behavior and data races, provide rollout and rollback guidance.
Component... | WithinUsAI/Elite_GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f09899(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 `m58557.py` and `test_m58557.py`.
*** Begin Patch
*** Update File: m58557.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f93509(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f93509(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Design CI/CD for a IoT telemetry service delivering caching.
Target platform: data (SQL + Python).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must be production-ready, must include clear error handling, must include type hints where applicable, must be easy to extend, m... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of operating systems for scenario: event ingestion.
Primary language: go.
Difficulty: medium.
Constraints: avoid undefined behavior and data races, include tests or verification strategy, assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance.
C... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of stream processing for scenario: job scheduler.
Primary language: python.
Difficulty: medium.
Constraints: provide rollout and rollback guidance, avoid undefined behavior and data races, document performance characteristics.
Component: component_mqnorzz.
Assume cold-start a... | 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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of gpu compute for scenario: analytics pipeline.
Primary language: bash.
Difficulty: expert.
Constraints: provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize, make the interface contract explicit, include tests or verification strategy.
Compo... | WithinUsAI/Elite_GOD_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C18198:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m55246.py` and `test_m55246.py`.
```python
# m55246.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Design a production system for IoT telemetry supporting file uploads.
Target platform: mobile (iOS Swift).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must include tests, must be secure-by-default, must include type hints where applicable, must be production-ready, must b... | WithinUsAI/GOD_Coder_100k |
Refactor a Python module used for telemetry ingestion into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must handle Windows paths safely, must be memory-efficient, must provide clear error messages.
Difficulty: easy. Ensure the ... | WithinUsAI/python_GOD_coder_100k |
Write pytest tests for `f66352`.
```python
def f66352(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m52336 import f66352
def test_known():
assert f66352(3,4) == 25
def test_zero():
assert f66352(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of stream processing for scenario: multi-tenant SaaS.
Primary language: rust.
Difficulty: medium.
Constraints: include tests or verification strategy, design for backward compatibility and migrations, include invariants and failure modes, document performance characteristics.... | WithinUsAI/Elite_GOD_Coder_100k |
Create a comprehensive test plan and automated tests for audit logs in a document processing product.
Target platform: data (SQL + Python).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must include documentation/comments, must include clear error handling, must be ea... | 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: nxjogrfb.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of gpu compute for scenario: event ingestion.
Primary language: python.
Difficulty: medium.
Constraints: include invariants and failure modes, include tests or verification strategy, document performance characteristics.
Component: component_evagwxh.
Assume partial network pa... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: payment processing.
Primary language: python.
Difficulty: expert.
Constraints: assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races, include tests or verification strategy, make the interface... | WithinUsAI/Elite_GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: System domain: repo automation
Stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Cross-layer incident: websocket reconnect storm
Task type: deploy_runti... | 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: search service
Stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Cross-layer incident: timezone bug in reporting
Task type: full_sta... | 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: fz730xd423cu.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement an ML engineering workflow for calendar/scheduling focusing on analytics pipeline.
Target platform: ML (training + serving).
Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring.
Constraints: must include documentation/comments, must include clear error handling, mus... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of compilers for scenario: document indexing.
Primary language: rust.
Difficulty: hard.
Constraints: avoid undefined behavior and data races, assume untrusted inputs; validate and sanitize, include invariants and failure modes, include tests or verification strategy.
Componen... | 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: Language: C#
Framework/tooling: NUnit
Domain: search service
Logic challenge: async cancellation bug
Task type: state_machine_patch
Difficulty: medium
Return... | WithinUsAI/GOD_Coder_Complete_DataSet |
Debug and fix a subtle production bug related to caching in a content moderation service.
Target platform: backend (Node.js).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must be easy to extend, must include documentation/comments, must be secure-by-default, must include clea... | WithinUsAI/GOD_Coder_100k |
Implement role-based access control for a education product.
Target platform: infra (Terraform).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must include tests, must be easy to extend, must include documentation/comments, must include clear error handling, must be secure-by-defau... | 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: i2uianmp.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of networking for scenario: job scheduler.
Primary language: python.
Difficulty: expert.
Constraints: design for backward compatibility and migrations, make the interface contract explicit, assume untrusted inputs; validate and sanitize, include invariants and failure modes.
... | 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: Language: Python
Framework/tooling: pytest
Domain: notification service
Logic challenge: N+1 query explosion
Task type: backwards_compatible_redesign
Difficul... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of ml systems for scenario: rate limiting gateway.
Primary language: python.
Difficulty: medium.
Constraints: assume untrusted inputs; validate and sanitize, include invariants and failure modes, make the interface contract explicit, design for backward compatibility and migr... | 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: b_yl505.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of high-performance services for scenario: chat messaging.
Primary language: go.
Difficulty: expert.
Constraints: include tests or verification strategy, make the interface contract explicit, design for backward compatibility and migrations, assume untrusted inputs; validate ... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of operating systems for scenario: edge sync.
Primary language: typescript.
Difficulty: expert.
Constraints: include tests or verification strategy, include invariants and failure modes, document performance characteristics, assume untrusted inputs; validate and sanitize.
Com... | 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: uaf_5qf9h1oc.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: distributed_algorithm
Scenario: real-time notification hub
Domain focus: high-frequency trading systems (safe engineering)
Primary language: typescript
Difficulty: expert
Scale/SLO: 100k RPS peak
Component: component_tzqdcsok
Constraints: include deterministic replay plan, include backward compatibility and ... | WithinUsAI/Omega_Genesis_Coder_100k |
Improve typing and robustness of a Python module used for CLI tooling.
Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests.
Constraints: must include docstrings, stdlib-only.
Difficulty: medium. Guarantee deterministic output ordering.
Deliverable: corrected code and verificat... | WithinUsAI/python_GOD_coder_100k |
Write a thorough test suite for a Python component used for telemetry ingestion.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must be streaming-friendly, must avoid global state, must be memory-efficient.
Difficulty: medium. Support both Windows and POSIX paths correctly.
Deliv... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of databases for scenario: feature flagging.
Primary language: bash.
Difficulty: medium.
Constraints: make the interface contract explicit, include tests or verification strategy, include invariants and failure modes, avoid undefined behavior and data races, assume untrusted ... | WithinUsAI/Elite_GOD_Coder_100k |
Provision infrastructure for a enterprise SaaS workload providing offline-first sync.
Target platform: infra (Terraform).
Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling.
Constraints: must be easy to extend, must avoid global state, must be performant under load, must be observable (l... | WithinUsAI/GOD_Coder_100k |
Refactor a Python module used for telemetry ingestion into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must be memory-efficient, must avoid global state, must include docstrings, must be streaming-friendly.
Difficulty: easy. Pr... | 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: s89xk... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement a concurrent Python solution for caching layer.
Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests.
Constraints: must handle Windows paths safely, must be streaming-friendly, must include docstrings.
Difficulty: medium. Avoid quadratic behavior on large inputs.
De... | WithinUsAI/python_GOD_coder_100k |
Write pytest tests for `f44369`.
```python
def f44369(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m77767 import f44369
def test_known():
assert f44369(3,4) == 25
def test_zero():
assert f44369(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of gpu compute for scenario: document indexing.
Primary language: bash.
Difficulty: hard.
Constraints: document performance characteristics, avoid undefined behavior and data races, design for backward compatibility and migrations.
Component: component_ztwtsed.
Assume 50k RPS... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of realtime systems for scenario: rate limiting gateway.
Primary language: typescript.
Difficulty: hard.
Constraints: include tests or verification strategy, avoid undefined behavior and data races, provide rollout and rollback guidance, design for backward compatibility and ... | WithinUsAI/Elite_GOD_Coder_100k |
Write pytest tests for `f91149`.
```python
def f91149(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m27307 import f91149
def test_known():
assert f91149(3,4) == 25
def test_zero():
assert f91149(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: compiler_backend_ir
Scenario: feature-flag evaluation
Domain focus: GPU serving
Primary language: rust
Difficulty: expert+
Scale/SLO: 100k RPS peak
Component: component_tgfkddhy
Constraints: include failure modes and recovery, avoid data races and undefined behavior, include verification strategy, explicit c... | 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: Language: Go
Framework/tooling: net/http
Domain: feature flag service
Logic challenge: stale cache invalidation
Task type: misleading_symptom_debug
Difficulty... | WithinUsAI/GOD_Coder_Complete_DataSet |
Design a production system for gaming supporting background jobs.
Target platform: backend (Node.js).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must be easy to extend, must include clear error handling, must be observable (logs/metrics/traces), must be secure-by-default... | WithinUsAI/GOD_Coder_100k |
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 avoid global state, must include docstrings, stdlib-only, must provide clear error messages.
Difficulty: medium. Provide helpful exceptions wi... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of gpu compute for scenario: payment processing.
Primary language: python.
Difficulty: medium.
Constraints: document performance characteristics, make the interface contract explicit, include tests or verification strategy, provide rollout and rollback guidance, include invar... | 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: 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: Python
Framework/tooling: pandas
Domain: model serving gateway
Logic challenge: streaming timeout handling
Task type: multi_file_migration_repair
Di... | WithinUsAI/GOD_Coder_Complete_DataSet |
Refactor an existing codebase in healthtech to support A/B experimentation cleanly.
Target platform: mobile (Android Kotlin).
Requirements: propose new modules/layers, dependency boundaries, and migration plan.
Constraints: must avoid global state, must include tests, must include clear error handling, must be secure-b... | 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: qh4auha6y8h.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: gqcyspvc9me.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f28541`.
```python
def f28541(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m18363 import f28541
def test_known():
assert f28541(3,4) == 25
def test_zero():
assert f28541(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: distributed_algorithm
Scenario: streaming ETL
Domain focus: real-time scheduling
Primary language: rust
Difficulty: expert+
Scale/SLO: 50 TB/day ingestion
Component: component_vacinrhr
Constraints: include deterministic replay plan, include failure modes and recovery, include test vectors and fuzz strategy, ... | WithinUsAI/Omega_Genesis_Coder_100k |
Create a comprehensive test plan and automated tests for multi-tenant isolation in a calendar/scheduling product.
Target platform: backend (Go).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must be performant under load, must be secure-by-default, must include clear ... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of sre/observability for scenario: rate limiting gateway.
Primary language: rust.
Difficulty: expert.
Constraints: include invariants and failure modes, avoid undefined behavior and data races, design for backward compatibility and migrations.
Component: component_xsttsnc.
As... | 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: byg4f... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C51546:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m27042.py` and `test_m27042.py`.
```python
# m27042.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement a mobile feature for logistics: A/B experimentation.
Target platform: mobile.
Requirements: offline-safe behavior, UI state handling, and tests.
Constraints: must be observable (logs/metrics/traces), must be performant under load, must include documentation/comments, must avoid global state, must include clea... | WithinUsAI/GOD_Coder_100k |
Write a thorough test suite for a Python component used for data modeling.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must avoid global state, must include docstrings, must be easy to extend, must include type hints.
Difficulty: easy. Support both Windows and POSIX paths corre... | 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: Project stack: Airflow, dbt, DuckDB, MinIO, pytest
Language: Python
Dependency challenge: log redaction failure
Task type: cve_dependency_remediation
Difficul... | WithinUsAI/GOD_Coder_Complete_DataSet |
Debug and fix a subtle production bug related to background jobs in a healthtech service.
Target platform: backend (Node.js).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must include tests, must be observable (logs/metrics/traces), must be production-ready, must avoid global... | WithinUsAI/GOD_Coder_100k |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.