text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: SQL
Framework/tooling: SQLite
Domain: job scheduler
Logic challenge: N+1 query explosion
Task type: monorepo_toolchain_recovery
Difficulty: hard
Re... | WithinUsAI/GOD_Coder_Complete_DataSet |
Implement event-driven workflows for a fintech product.
Target platform: mobile (Android Kotlin).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must include clear error handling, must avoid global state, must include type hints where applicable, must be production-ready, 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: Optimize while preserving behavior.
File: c3vxi... | 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: dhhg3qxd2.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of databases for scenario: feature flagging.
Primary language: bash.
Difficulty: expert.
Constraints: avoid undefined behavior and data races, design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize, document performance characteristic... | WithinUsAI/Elite_GOD_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 handle Windows paths safely, must include docstrings, must provide clear error messages, stdlib-only.
Difficulty: hard. Provide helpful exceptions with acti... | 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: p2ita... | 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 f66443(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 `m52349.py` and `test_m52349.py`.
*** Begin Patch
*** Update File: m52349.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: ktaed... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: sre_incident_sim
Scenario: document indexing pipeline
Domain focus: constraint solving
Primary language: bash
Difficulty: hard
Scale/SLO: multi-region active-active
Component: component_hxdgklsc
Constraints: include deterministic replay plan, include verification strategy, explicit contracts and invariants, ... | 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: Fix a bug and add tests.
File: xclqtjiwk.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f28717`.
```python
def f28717(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m75531 import f28717
def test_known():
assert f28717(3,4) == 25
def test_zero():
assert f28717(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project stack: Airflow, dbt, DuckDB, MinIO, pytest
Language: YAML
Dependency challenge: broken pagination cursor
Task type: build_reproducibility_fix
Difficul... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build a data pipeline for a fintech product around background jobs.
Target platform: data (SQL + Python).
Requirements: schema, ingestion, validation, backfills, and tests.
Constraints: must be production-ready, must include tests, must be secure-by-default, must include type hints where applicable, must be easy to ext... | 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: rha2jco.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: C#
Framework/tooling: ASP.NET Core
Domain: benchmark harness
Logic challenge: build reproducibility failure
Task type: multi_service_security_patch
... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of networking for scenario: inventory & ordering.
Primary language: python.
Difficulty: hard.
Constraints: avoid undefined behavior and data races, include tests or verification strategy, document performance characteristics, design for backward compatibility and migrations.
... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of distributed systems for scenario: event ingestion.
Primary language: python.
Difficulty: medium.
Constraints: avoid undefined behavior and data races, include invariants and failure modes, document performance characteristics, make the interface contract explicit.
Componen... | WithinUsAI/Elite_GOD_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C59893:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m50761.py` and `test_m50761.py`.
```python
# m50761.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f43321(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 `m91903.py` and `test_m91903.py`.
*** Begin Patch
*** Update File: m91903.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement a web feature for fraud detection: caching.
Target platform: web (React + TypeScript).
Requirements: accessible UI, API integration, and tests.
Constraints: must include tests, must be performant under load, must include documentation/comments, must be secure-by-default, must include clear error handling.
Dif... | WithinUsAI/GOD_Coder_100k |
Task type: static_analyzer
Scenario: job scheduler
Domain focus: distributed storage
Primary language: python
Difficulty: expert
Scale/SLO: 10k RPS peak
Component: component_kjoxnyur
Constraints: avoid data races and undefined behavior, include deterministic replay plan, include security threat model (defensive only), ... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of realtime systems for scenario: document indexing.
Primary language: sql.
Difficulty: hard.
Constraints: assume untrusted inputs; validate and sanitize, document performance characteristics, provide rollout and rollback guidance.
Component: component_usixpnq.
Assume complia... | 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 |
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: job scheduler.
Primary language: go.
Difficulty: expert.
Constraints: assume untrusted inputs; validate and sanitize, include tests or verification strategy, provide rollout and rollback guidance.
Component: component_hbymzab.
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: k8825... | WithinUsAI/Royal_Ghost_Coder_501k |
Debug and fix a subtle production bug related to real-time notifications in a customer support service.
Target platform: ML (PyTorch + serving).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must be performant under load, must include type hints where applicable, must include ... | WithinUsAI/GOD_Coder_100k |
Create a comprehensive test plan and automated tests for event-driven workflows in a IoT telemetry product.
Target platform: data (SQL + Python).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must include type hints where applicable, must avoid global state, must incl... | WithinUsAI/GOD_Coder_100k |
Task type: static_analyzer
Scenario: job scheduler
Domain focus: constraint solving
Primary language: go
Difficulty: hard
Scale/SLO: 50 TB/day ingestion
Component: component_gcakgjox
Constraints: include failure modes and recovery, assume adversarial inputs; validate everything, include performance model and limits, in... | WithinUsAI/Omega_Genesis_Coder_100k |
Write a thorough test suite for a Python component used for report generation.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must handle Windows paths safely, must avoid global state, must provide clear error messages, must be easy to extend.
Difficulty: medium. Include a small C... | WithinUsAI/python_GOD_coder_100k |
Design a small, production-grade Python API for event dispatching.
Requirements: define data models and interfaces, implement reference version, include tests.
Constraints: must avoid global state, must provide clear error messages, must include type hints, must include tests.
Difficulty: medium. Include a small CLI ex... | 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: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement an ML engineering workflow for content moderation focusing on role-based access control.
Target platform: ML (training + serving).
Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring.
Constraints: must be secure-by-default, must include documentation/comments, must ... | WithinUsAI/GOD_Coder_100k |
Task type: ml_system_design
Scenario: graph query service
Domain focus: formal verification
Primary language: typescript
Difficulty: expert
Scale/SLO: 50 TB/day ingestion
Component: component_bdcxhroy
Constraints: avoid data races and undefined behavior, include test vectors and fuzz strategy, include verification stra... | 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: hf51ygfqe1d.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement an ML engineering workflow for developer tooling focusing on search + pagination.
Target platform: ML (training + serving).
Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring.
Constraints: must be performant under load, must be secure-by-default, must include docum... | 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: jbg2e... | 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: team dashboard
Implementation stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Software delivery problem: rate-limit bypass
Task t... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write secure, defensive Python code for file synchronization.
Requirements: input validation, safe file handling, prevent path traversal, include tests.
Constraints: must include type hints, must include docstrings, must include tests.
Difficulty: hard. Provide helpful exceptions with actionable messages.
Deliverable:... | 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: pshe84_v2l8a.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement rate limiting for a education product.
Target platform: mobile (Android Kotlin).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must avoid global state, must be performant under load, must be easy to extend, must be secure-by-default.
Difficulty: easy. Assume 10k RPS peak ... | WithinUsAI/GOD_Coder_100k |
Task type: kernel_syscall_design
Scenario: job scheduler
Domain focus: large-scale ML systems
Primary language: c
Difficulty: expert+
Scale/SLO: 100k RPS peak
Component: component_jofmvnld
Constraints: assume adversarial inputs; validate everything, include deterministic replay plan, avoid data races and undefined beha... | WithinUsAI/Omega_Genesis_Coder_100k |
Fix the bug and add pytest tests.
```python
def f27298(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 `m89614.py` and `test_m89614.py`.
*** Begin Patch
*** Update File: m89614.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of sre/observability for scenario: rate limiting gateway.
Primary language: typescript.
Difficulty: medium.
Constraints: make the interface contract explicit, include invariants and failure modes, provide rollout and rollback guidance, include tests or verification strategy.
... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of operating systems for scenario: document indexing.
Primary language: python.
Difficulty: expert.
Constraints: design for backward compatibility and migrations, document performance characteristics, include invariants and failure modes, assume untrusted inputs; validate and... | WithinUsAI/Elite_GOD_Coder_100k |
Secure-by-default implementation for analytics pipeline in a logistics product.
Target platform: backend (Go).
Requirements: threat model, input validation, authz/authn guidance, safe storage, tests.
Constraints: must be observable (logs/metrics/traces), must include tests, must include documentation/comments.
Difficul... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of high-performance services for scenario: payment processing.
Primary language: rust.
Difficulty: expert.
Constraints: make the interface contract explicit, avoid undefined behavior and data races, include invariants and failure modes, assume untrusted inputs; validate and s... | 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 |
Perform a code review for a document processing PR implementing event-driven workflows.
Target platform: backend (Node.js).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must include clear error handling, must be production-ready, must be secure-by-default, must a... | WithinUsAI/GOD_Coder_100k |
Task type: storage_engine
Scenario: feature-flag evaluation
Domain focus: formal verification
Primary language: rust
Difficulty: expert
Scale/SLO: 10k RPS peak
Component: component_kqsvegtu
Constraints: include failure modes and recovery, include backward compatibility and migration plan, include security threat model ... | WithinUsAI/Omega_Genesis_Coder_100k |
Fix the bug and add pytest tests.
```python
def f10884(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 `m44412.py` and `test_m44412.py`.
*** Begin Patch
*** Update File: m44412.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: oafes... | 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: auth service
Primary language: C#
Framework/tooling: ASP.NET Core
Reported problem: race condition on worker shutdown
Task type: security_p... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix the bug and add pytest tests.
```python
def f74756(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 `m82108.py` and `test_m82108.py`.
*** Begin Patch
*** Update File: m82108.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: 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: Optimize while preserving behavior.
File: zh1js... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor a Python module used for log processing into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must include type hints, must avoid global state, must provide clear error messages.
Difficulty: hard. Ensure the API is testable... | WithinUsAI/python_GOD_coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: YAML
Framework/tooling: Kubernetes
Domain: observability collector
Logic challenge: path traversal on downloads
Task type: backwards_compatible_rede... | WithinUsAI/GOD_Coder_Complete_DataSet |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: C++
Framework/tooling: STL
Domain: search service
Logic challenge: migration ordering failure
Task type: monorepo_toolchain_recovery
Difficulty: har... | 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: reporting engine
Stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions
Cross-layer incident: async cancellation bug
Task type: ... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write pytest tests for `f09143`.
```python
def f09143(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m58449 import f09143
def test_known():
assert f09143(3,4) == 25
def test_zero():
assert f09143(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 |
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: transaction boundary bug
Task type: edge_case_hardening
Difficulty: har... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix the bug and add pytest tests.
```python
def f17606(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 `m59658.py` and `test_m59658.py`.
*** Begin Patch
*** Update File: m59658.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix a subtle bug in a Python module used for CLI tooling.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must handle Windows paths safely, must include tests, must include type hints.
Difficulty: medium. Avoid quadratic behavior on large inputs.
Deliverable: co... | WithinUsAI/python_GOD_coder_100k |
Write a thorough test suite for a Python component used for event dispatching.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must handle Windows paths safely, stdlib-only, must be streaming-friendly, must be easy to extend.
Difficulty: expert. Include a small CLI example if relev... | WithinUsAI/python_GOD_coder_100k |
Provision infrastructure for a fintech workload providing file uploads.
Target platform: infra (Terraform).
Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling.
Constraints: must be production-ready, must include documentation/comments, must be performant under load, must include type hin... | WithinUsAI/GOD_Coder_100k |
Task type: compiler_frontend
Scenario: feature-flag evaluation
Domain focus: formal verification
Primary language: rust
Difficulty: expert
Scale/SLO: 100k RPS peak
Component: component_ahmuulyh
Constraints: include backward compatibility and migration plan, include test vectors and fuzz strategy, assume adversarial inp... | 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 |
Optimize while preserving behavior and order.
```python
def f39268(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m91324.py` with types and O(n) average.
```python
# m91324.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | 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 be memory-efficient, must avoid global state.
Difficulty: expert. Include a small CLI example if relevant.
Deliverable: production-ready reference solu... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of networking for scenario: time-series metrics.
Primary language: rust.
Difficulty: expert.
Constraints: include invariants and failure modes, assume untrusted inputs; validate and sanitize, include tests or verification strategy, provide rollout and rollback guidance.
Compo... | WithinUsAI/Elite_GOD_Coder_100k |
Implement an ML engineering workflow for fraud detection focusing on analytics pipeline.
Target platform: ML (training + serving).
Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring.
Constraints: must be production-ready, must include clear error handling, must include docum... | WithinUsAI/GOD_Coder_100k |
Optimize while preserving behavior and order.
```python
def f88488(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m69784.py` with types and O(n) average.
```python
# m69784.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: 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 |
Build an elite-grade solution in the domain of compilers for scenario: rate limiting gateway.
Primary language: python.
Difficulty: expert.
Constraints: document performance characteristics, include tests or verification strategy, provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize, ma... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of edge/IoT for scenario: feature flagging.
Primary language: go.
Difficulty: medium.
Constraints: avoid undefined behavior and data races, make the interface contract explicit, design for backward compatibility and migrations, document performance characteristics.
Component:... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: static_analyzer
Scenario: edge sync
Domain focus: high-frequency trading systems (safe engineering)
Primary language: python
Difficulty: hard
Scale/SLO: multi-region active-active
Component: component_nffairyc
Constraints: include verification strategy, avoid data races and undefined behavior, include backwa... | WithinUsAI/Omega_Genesis_Coder_100k |
Add a clear docstring and type hints to this function:
```python
def f20565(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f20565(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: distributed_algorithm
Scenario: rate limit gateway
Domain focus: network protocols
Primary language: sql
Difficulty: expert
Scale/SLO: p99 < 50ms
Component: component_hlzdloqn
Constraints: include verification strategy, include test vectors and fuzz strategy, include failure modes and recovery, avoid data ra... | WithinUsAI/Omega_Genesis_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Repository domain: model serving gateway
Primary language: JavaScript
Framework/tooling: Jest
Reported problem: mismatched API contract
Task type: bug_fix
Dif... | WithinUsAI/GOD_Coder_Complete_DataSet |
Debug and fix a subtle production bug related to event-driven workflows in a IoT telemetry service.
Target platform: backend (Node.js).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must be performant under load, must be observable (logs/metrics/traces), must be easy to extend... | WithinUsAI/GOD_Coder_100k |
Write pytest tests for `f12219`.
```python
def f12219(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m30317 import f12219
def test_known():
assert f12219(3,4) == 25
def test_zero():
assert f12219(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: static_analyzer
Scenario: edge sync
Domain focus: query planning
Primary language: rust
Difficulty: hard
Scale/SLO: 100k RPS peak
Component: component_yxouknbh
Constraints: include failure modes and recovery, assume adversarial inputs; validate everything, include test vectors and fuzz strategy, include back... | 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 type hints, must handle Windows paths safely, stdlib-only.
Difficulty: medium. Avoid quadratic behavior on large inputs.
Delive... | WithinUsAI/python_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 be memory-efficient, must provide clear error messages, must be easy to extend.
Difficulty: hard. Support both Windows and POSIX paths correctly.
Deliver... | 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: ugc0ex.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f96357(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 `m28051.py` and `test_m28051.py`.
*** Begin Patch
*** Update File: m28051.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Debug and fix a subtle production bug related to audit logs in a gaming service.
Target platform: data (SQL + Python).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must include documentation/comments, must be production-ready, must be easy to extend.
Difficulty: hard. Assume ... | 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 |
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: fjnv8_wxm.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: zxcba0of0.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 |
Optimize while preserving behavior and order.
```python
def f64443(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m66349.py` with types and O(n) average.
```python
# m66349.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f61852(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 `m08836.py` and `test_m08836.py`.
*** Begin Patch
*** Update File: m08836.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix a subtle bug in a Python module used for metrics aggregation.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must be easy to extend, stdlib-only.
Difficulty: medium. Handle empty inputs and malformed records gracefully.
Deliverable: implementation + tests.
... | WithinUsAI/python_GOD_coder_100k |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.