text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
Task type: storage_engine
Scenario: streaming ETL
Domain focus: runtime systems
Primary language: bash
Difficulty: expert
Scale/SLO: p99 < 50ms
Component: component_opeiuwmg
Constraints: include test vectors and fuzz strategy, include performance model and limits, explicit contracts and invariants, include security thr... | 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: v04ux... | WithinUsAI/Royal_Ghost_Coder_501k |
Design a production system for customer support supporting role-based access control.
Target platform: data (SQL + Python).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must be performant under load, must be easy to extend, must include documentation/comments, must be prod... | 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: Bash
Framework/tooling: curl
Domain: notification service
Logic challenge: build reproducibility failure
Task type: algorithmic_correctness
Difficul... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of networking for scenario: rate limiting gateway.
Primary language: typescript.
Difficulty: expert.
Constraints: include invariants and failure modes, assume untrusted inputs; validate and sanitize, document performance characteristics, include tests or verification strategy... | 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: 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 C98162:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m84474.py` and `test_m84474.py`.
```python
# m84474.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: u5x66jvgat.py
``... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of operating systems for scenario: time-series metrics.
Primary language: go.
Difficulty: hard.
Constraints: document performance characteristics, include invariants and failure modes, assume untrusted inputs; validate and sanitize, design for backward compatibility and migra... | WithinUsAI/Elite_GOD_Coder_100k |
Add a clear docstring and type hints to this function:
```python
def f13025(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f13025(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
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 include tests, must be streaming-friendly, must include docstrings.
Difficulty: medium. Provide helpful exceptions with actionable ... | WithinUsAI/python_GOD_coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: System domain: data pipeline
Stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Cross-layer incident: path traversal on downloads
Task type: schema_con... | 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: r9pta... | WithinUsAI/Royal_Ghost_Coder_501k |
Provision infrastructure for a enterprise SaaS workload providing rate limiting.
Target platform: backend (Go).
Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling.
Constraints: must avoid global state, must be secure-by-default, must be easy to extend, must be performant under load, must... | 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: vwzvq_.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: spct7... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of databases for scenario: payment processing.
Primary language: rust.
Difficulty: hard.
Constraints: include invariants and failure modes, avoid undefined behavior and data races, provide rollout and rollback guidance, include tests or verification strategy.
Component: compo... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of operating systems for scenario: multi-tenant SaaS.
Primary language: go.
Difficulty: expert.
Constraints: assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races, make the interface contract explicit, design for backward compatibility and mi... | 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: tn8pj9g35sl.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of distributed systems for scenario: event ingestion.
Primary language: rust.
Difficulty: medium.
Constraints: provide rollout and rollback guidance, include tests or verification strategy, document performance characteristics, design for backward compatibility and migrations... | WithinUsAI/Elite_GOD_Coder_100k |
Debug and fix a subtle production bug related to A/B experimentation in a document processing service.
Target platform: mobile (Android Kotlin).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must be performant under load, must be production-ready, must include type hints where... | WithinUsAI/GOD_Coder_100k |
Design and implement an algorithm for event dispatching.
Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests.
Constraints: must be easy to extend, must be streaming-friendly, must include tests.
Difficulty: hard. Provide helpful exceptions with actionable messages.
Deliv... | WithinUsAI/python_GOD_coder_100k |
Debug and fix a subtle production bug related to background jobs in a document processing service.
Target platform: backend (Python FastAPI).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must be production-ready, must include clear error handling, must be performant under loa... | 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: payments platform
Primary language: Go
Framework/tooling: Fiber
Reported problem: unsafe deserialization
Task type: bug_fix
Difficulty: med... | 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: wgngmtceko.py
``... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of edge/IoT for scenario: edge sync.
Primary language: rust.
Difficulty: hard.
Constraints: make the interface contract explicit, assume untrusted inputs; validate and sanitize, document performance characteristics, include tests or verification strategy, avoid undefined beha... | 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: search service
Stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Cross-layer incident: race condition on worker shutdown
Task type: schem... | 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: dishetrf9ak.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f85322(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f85322(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of edge/IoT for scenario: feature flagging.
Primary language: sql.
Difficulty: medium.
Constraints: include invariants and failure modes, avoid undefined behavior and data races, design for backward compatibility and migrations.
Component: component_sesnjll.
Assume cold-start... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of realtime systems for scenario: edge sync.
Primary language: rust.
Difficulty: hard.
Constraints: design for backward compatibility and migrations, provide rollout and rollback guidance, include invariants and failure modes.
Component: component_qnzltnd.
Assume compliance r... | 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 |
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 provide clear error messages, must include type hints, must include tests.
Difficulty: medium. Handle empty inputs and malformed re... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of networking for scenario: edge sync.
Primary language: go.
Difficulty: hard.
Constraints: provide rollout and rollback guidance, document performance characteristics, assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races.
Component: compone... | 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: ASP.NET Core
Domain: team dashboard
Logic challenge: invalid rollback sequence
Task type: multi_file_migration_repair
Difficul... | WithinUsAI/GOD_Coder_Complete_DataSet |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project stack: Airflow, dbt, DuckDB, MinIO, pytest
Language: Java
Dependency challenge: rate-limit bypass
Task type: container_runtime_fix
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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: dehz8wbl27n4.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
Write a thorough test suite for a Python component used for rate limiting.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must include type hints, must provide clear error messages, stdlib-only, must handle Windows paths safely.
Difficulty: expert. Avoid quadratic behavior on larg... | WithinUsAI/python_GOD_coder_100k |
Fix the bug and add pytest tests.
```python
def f42850(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 `m77550.py` and `test_m77550.py`.
*** Begin Patch
*** Update File: m77550.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: lh27ng.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f23446(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 `m74778.py` and `test_m74778.py`.
*** Begin Patch
*** Update File: m74778.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: robust_e2e_testing
Scenario: real-time notification hub
Domain focus: kernel primitives
Primary language: go
Difficulty: expert
Scale/SLO: 50 TB/day ingestion
Component: component_enaiibod
Constraints: include test vectors and fuzz strategy, include deterministic replay plan, include backward compatibility a... | WithinUsAI/Omega_Genesis_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: 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: wv8l2... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of stream processing for scenario: time-series metrics.
Primary language: python.
Difficulty: medium.
Constraints: include tests or verification strategy, make the interface contract explicit, provide rollout and rollback guidance, document performance characteristics, avoid ... | 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: C++
Dependency challenge: optimistic locking conflict
Task type: build_reproducibili... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build a data pipeline for a developer tooling product around role-based access control.
Target platform: data (SQL + Python).
Requirements: schema, ingestion, validation, backfills, and tests.
Constraints: must avoid global state, must be easy to extend, must be secure-by-default, must include type hints where applicab... | WithinUsAI/GOD_Coder_100k |
Refactor a Python module used for rate limiting into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must include tests, must be memory-efficient, must include type hints.
Difficulty: expert. Include a small CLI example if relevant... | 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: t2ctns.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f32802(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m04686.py` with types and O(n) average.
```python
# m04686.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 |
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: C++
Framework/tooling: Boost
Reported problem: path traversal on downloads
Task type: bug_fix
Difficulty: ... | 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: benchmark harness
Primary language: JavaScript
Framework/tooling: Node.js
Reported problem: invalid rollback sequence
Task type: bug_fix
Di... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write secure, defensive Python code for data modeling.
Requirements: input validation, safe file handling, prevent path traversal, include tests.
Constraints: must handle Windows paths safely, must avoid global state, must include docstrings.
Difficulty: medium. Handle empty inputs and malformed records gracefully.
De... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of operating systems for scenario: inventory & ordering.
Primary language: go.
Difficulty: expert.
Constraints: document performance characteristics, assume untrusted inputs; validate and sanitize, include invariants and failure modes, provide rollout and rollback guidance.
C... | 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: Airflow
Domain: notification service
Logic challenge: partial checkpoint corruption
Task type: monorepo_toolchain_recovery... | 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: iyavkz4mrek.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f74711`.
```python
def f74711(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m10673 import f74711
def test_known():
assert f74711(3,4) == 25
def test_zero():
assert f74711(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: jpu2urlzkv.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: Repository domain: document processing API
Primary language: YAML
Framework/tooling: Terraform
Reported problem: invalid rollback sequence
Task type: code_rev... | 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 |
Implement background jobs for a IoT telemetry product.
Target platform: mobile (Android Kotlin).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must include tests, must avoid global state, must be production-ready, must be easy to extend.
Difficulty: easy. Assume PII must be protect... | WithinUsAI/GOD_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: opfpc... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: network_protocol
Scenario: job scheduler
Domain focus: distributed storage
Primary language: go
Difficulty: expert+
Scale/SLO: 10k RPS peak
Component: component_ckrflojr
Constraints: include verification strategy, include security threat model (defensive only), assume adversarial inputs; validate everything,... | WithinUsAI/Omega_Genesis_Coder_100k |
Write pytest tests for `f12935`.
```python
def f12935(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m44705 import f12935
def test_known():
assert f12935(3,4) == 25
def test_zero():
assert f12935(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: frher_ihvwv6.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f55856`.
```python
def f55856(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m79408 import f55856
def test_known():
assert f55856(3,4) == 25
def test_zero():
assert f55856(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Perform a code review for a logistics PR implementing audit logs.
Target platform: infra (Terraform).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must include tests, must include type hints where applicable, must be observable (logs/metrics/traces), must include... | WithinUsAI/GOD_Coder_100k |
Task type: compiler_backend_ir
Scenario: real-time notification hub
Domain focus: distributed storage
Primary language: cpp
Difficulty: expert+
Scale/SLO: multi-region active-active
Component: component_lrbkquqc
Constraints: include security threat model (defensive only), avoid data races and undefined behavior, includ... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: supply_chain_security
Scenario: feature-flag evaluation
Domain focus: runtime systems
Primary language: python
Difficulty: hard
Scale/SLO: 99.99% availability
Component: component_vaibhqss
Constraints: include failure modes and recovery, assume adversarial inputs; validate everything, include security threat... | WithinUsAI/Omega_Genesis_Coder_100k |
Design CI/CD for a IoT telemetry service delivering search + pagination.
Target platform: backend (Go).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must be performant under load, must be observable (logs/metrics/traces), must include documentation/comments, must include ... | WithinUsAI/GOD_Coder_100k |
Task type: secure_architecture
Scenario: feature-flag evaluation
Domain focus: network protocols
Primary language: rust
Difficulty: hard
Scale/SLO: 50 TB/day ingestion
Component: component_ybnuzwgv
Constraints: assume adversarial inputs; validate everything, include failure modes and recovery, include verification stra... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: multi-tenant SaaS.
Primary language: go.
Difficulty: medium.
Constraints: provide rollout and rollback guidance, document performance characteristics, assume untrusted inputs; validate and sanitize, include tests or verificati... | 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: pandas
Domain: payments platform
Logic challenge: websocket reconnect storm
Task type: state_machine_patch
Difficulty: med... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix a subtle bug in a Python module used for file synchronization.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must include docstrings, must be memory-efficient.
Difficulty: medium. Avoid quadratic behavior on large inputs.
Deliverable: API + reference imple... | WithinUsAI/python_GOD_coder_100k |
Optimize while preserving behavior and order.
```python
def f93588(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m99084.py` with types and O(n) average.
```python
# m99084.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 databases for scenario: edge sync.
Primary language: rust.
Difficulty: expert.
Constraints: include invariants and failure modes, assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance.
Component: component_zhrwjbe.
Assume partial network par... | 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: t7n6_p.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Perform a code review for a document processing PR implementing rate limiting.
Target platform: ML (scikit + batch).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must avoid global state, must include type hints where applicable, must include documentation/comment... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of distributed systems for scenario: document indexing.
Primary language: sql.
Difficulty: expert.
Constraints: provide rollout and rollback guidance, document performance characteristics, make the interface contract explicit, assume untrusted inputs; validate and sanitize, a... | WithinUsAI/Elite_GOD_Coder_100k |
Write pytest tests for `f70035`.
```python
def f70035(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m10005 import f70035
def test_known():
assert f70035(3,4) == 25
def test_zero():
assert f70035(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: Repository domain: search service
Primary language: Rust
Framework/tooling: SQLx
Reported problem: async cancellation bug
Task type: api_endpoint_work
Difficu... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix the bug and add pytest tests.
```python
def f21166(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 `m88738.py` and `test_m88738.py`.
*** Begin Patch
*** Update File: m88738.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C28140:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m86780.py` and `test_m86780.py`.
```python
# m86780.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of edge/IoT for scenario: edge sync.
Primary language: rust.
Difficulty: medium.
Constraints: provide rollout and rollback guidance, document performance characteristics, make the interface contract explicit, include invariants and failure modes, assume untrusted inputs; vali... | WithinUsAI/Elite_GOD_Coder_100k |
Add observability for real-time notifications in a logistics system.
Target platform: ML (scikit + batch).
Requirements: structured logs, metrics, tracing, dashboards, and alerting rules.
Constraints: must be production-ready, must include type hints where applicable, must avoid global state, must be observable (logs/m... | WithinUsAI/GOD_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C00124:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m61548.py` and `test_m61548.py`.
```python
# m61548.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
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, must provide clear error messages, must be streaming-friendly.
Difficulty: expert. Handle empty inputs and malformed... | 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: Rust, Axum, SQLx, Redis, Tokio, Docker
Language: Rust
Dependency challenge: rate-limit bypass
Task type: build_reproducibility_fix
Difficulty: ... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of high-performance services for scenario: inventory & ordering.
Primary language: go.
Difficulty: hard.
Constraints: provide rollout and rollback guidance, make the interface contract explicit, document performance characteristics, avoid undefined behavior and data races, in... | WithinUsAI/Elite_GOD_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C86731:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m91287.py` and `test_m91287.py`.
```python
# m91287.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f23942(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m17706.py` with types and O(n) average.
```python
# m17706.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C36904:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m33608.py` and `test_m33608.py`.
```python
# m33608.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: gillehn_2vx3.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: System domain: observability collector
Stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions
Cross-layer incident: CI failures after dependenc... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix a subtle bug in a Python module used for parsing.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must include docstrings, must include tests, must include type hints.
Difficulty: hard. Provide helpful exceptions with actionable messages.
Deliverable: implem... | WithinUsAI/python_GOD_coder_100k |
Task type: mechanized_spec
Scenario: multi-tenant event ingestion
Domain focus: high-frequency trading systems (safe engineering)
Primary language: lean
Difficulty: expert+
Scale/SLO: p99 < 150ms
Component: component_exqhzccp
Constraints: include security threat model (defensive only), include test vectors and fuzz str... | WithinUsAI/Omega_Genesis_Coder_100k |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.