text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
Write a thorough test suite for a Python component used for validation.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must provide clear error messages, must avoid global state, must be memory-efficient, must include type hints.
Difficulty: expert. Support both Windows and POSIX ... | WithinUsAI/python_GOD_coder_100k |
Refactor a Python module used for data modeling into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must include type hints, must handle Windows paths safely, must be easy to extend.
Difficulty: expert. Handle empty inputs and mal... | 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: pmtzb... | 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: i_phh... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f67804`.
```python
def f67804(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m23972 import f67804
def test_known():
assert f67804(3,4) == 25
def test_zero():
assert f67804(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 domain: feature flag service
Implementation stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Software delivery problem: unsafe deserializa... | 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: SQL
Framework/tooling: SQLite
Domain: model serving gateway
Logic challenge: build reproducibility failure
Task type: cross_stack_outage_fix
Difficu... | WithinUsAI/GOD_Coder_Complete_DataSet |
Implement an ML engineering workflow for document processing focusing on search + pagination.
Target platform: ML (training + serving).
Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring.
Constraints: must be easy to extend, must be observable (logs/metrics/traces), must inc... | WithinUsAI/GOD_Coder_100k |
Add a clear docstring and type hints to this function:
```python
def f34614(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f34614(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project domain: document processing API
Implementation stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Software delivery problem: gRPC retry storm
T... | WithinUsAI/GOD_Coder_Complete_DataSet |
Add a clear docstring and type hints to this function:
```python
def f70069(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f70069(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: compiler_frontend
Scenario: real-time notification hub
Domain focus: static analysis
Primary language: go
Difficulty: hard
Scale/SLO: 100k RPS peak
Component: component_azaztftc
Constraints: avoid data races and undefined behavior, explicit contracts and invariants, assume adversarial inputs; validate everyt... | 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: eo2ga2re.py
```p... | 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: STL
Domain: artifact registry
Logic challenge: dead-letter queue replay
Task type: monorepo_toolchain_recovery
Difficulty: ex... | 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: feature flag service
Primary language: Java
Framework/tooling: Hibernate
Reported problem: streaming timeout handling
Task type: security_p... | 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: x7195sta.py
```p... | 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: STL
Domain: developer platform
Logic challenge: multi-tenant access leak
Task type: distributed_debug
Difficulty: hard
Retur... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of compilers for scenario: event ingestion.
Primary language: rust.
Difficulty: expert.
Constraints: include invariants and failure modes, make the interface contract explicit, assume untrusted inputs; validate and sanitize.
Component: component_ngnwkxe.
Assume 50k RPS and p9... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of realtime systems for scenario: job scheduler.
Primary language: sql.
Difficulty: expert.
Constraints: assume untrusted inputs; validate and sanitize, document performance characteristics, design for backward compatibility and migrations.
Component: component_nyjsilc.
Assum... | 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: ggg5r... | 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: jwshj9p_.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of networking for scenario: feature flagging.
Primary language: python.
Difficulty: hard.
Constraints: assume untrusted inputs; validate and sanitize, design for backward compatibility and migrations, provide rollout and rollback guidance.
Component: component_lihvhhj.
Assume... | WithinUsAI/Elite_GOD_Coder_100k |
Implement a concurrent Python solution for time series.
Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests.
Constraints: must include docstrings, must be easy to extend, must avoid global state.
Difficulty: expert. Guarantee deterministic output ordering.
Deliverable: produ... | WithinUsAI/python_GOD_coder_100k |
Fix the bug and add pytest tests.
```python
def f04636(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 `m14948.py` and `test_m14948.py`.
*** Begin Patch
*** Update File: m14948.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f91769(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 `m55967.py` and `test_m55967.py`.
*** Begin Patch
*** Update File: m55967.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix a subtle bug in a Python module used for data modeling.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must be easy to extend, must handle Windows paths safely, must avoid global state, must include tests.
Difficulty: easy. Avoid quadratic behavior on large ... | WithinUsAI/python_GOD_coder_100k |
Task type: network_protocol
Scenario: job scheduler
Domain focus: consensus & replication
Primary language: bash
Difficulty: hard
Scale/SLO: 1M msgs/min
Component: component_hdqgvues
Constraints: avoid data races and undefined behavior, include performance model and limits, explicit contracts and invariants, include se... | 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: ngo7y... | 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: job scheduler
Implementation stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Software delivery problem: idempotent retry design
T... | 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: Optimize while preserving behavior.
File: vc6wn... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: ml_system_design
Scenario: identity and access
Domain focus: static analysis
Primary language: bash
Difficulty: hard
Scale/SLO: 1M msgs/min
Component: component_mhzypshh
Constraints: avoid data races and undefined behavior, include performance model and limits, assume adversarial inputs; validate everything,... | WithinUsAI/Omega_Genesis_Coder_100k |
Design and implement an algorithm for metrics aggregation.
Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests.
Constraints: must include type hints, must avoid global state, must be memory-efficient, must be easy to extend.
Difficulty: expert. Ensure the API is testable ... | WithinUsAI/python_GOD_coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C98083:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m61391.py` and `test_m61391.py`.
```python
# m61391.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: C++
Framework/tooling: Boost
Domain: developer platform
Logic challenge: partial checkpoint corruption
Task type: algorithmic_correctness
Difficulty... | WithinUsAI/GOD_Coder_Complete_DataSet |
Create a comprehensive test plan and automated tests for audit logs in a content moderation product.
Target platform: web (React + TypeScript).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must include documentation/comments, must include clear error handling, must b... | WithinUsAI/GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project domain: payments platform
Implementation stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Software delivery problem: path traversal on download... | WithinUsAI/GOD_Coder_Complete_DataSet |
Create a comprehensive test plan and automated tests for analytics pipeline in a content moderation product.
Target platform: ML (scikit + batch).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must include documentation/comments, must include clear error handling, mus... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f81059(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 `m54437.py` and `test_m54437.py`.
*** Begin Patch
*** Update File: m54437.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Write a thorough test suite for a Python component used for event dispatching.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must be memory-efficient, must include type hints, must be streaming-friendly.
Difficulty: easy. Guarantee deterministic output ordering.
Deliverable: API... | 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: h3aln9cl8_.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: Optimize while preserving behavior.
File: xc8au... | 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: z_7ld... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of gpu compute for scenario: edge sync.
Primary language: python.
Difficulty: medium.
Constraints: assume untrusted inputs; validate and sanitize, make the interface contract explicit, include invariants and failure modes.
Component: component_ezkfqno.
Assume schema changes e... | 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: Optimize while preserving behavior.
File: sk39u... | 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: notification service
Primary language: C#
Framework/tooling: NUnit
Reported problem: slow cold start
Task type: bug_fix
Difficulty: hard
P... | 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 |
Add a clear docstring and type hints to this function:
```python
def f55456(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f55456(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Create a comprehensive test plan and automated tests for audit logs in a social media product.
Target platform: backend (Node.js).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must include clear error handling, must be observable (logs/metrics/traces), must avoid glo... | 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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
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: co29s... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: lockfree_primitive
Scenario: document indexing pipeline
Domain focus: static analysis
Primary language: rust
Difficulty: expert
Scale/SLO: 50 TB/day ingestion
Component: component_kmemglju
Constraints: assume adversarial inputs; validate everything, include verification strategy, include deterministic replay... | 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: team dashboard
Primary language: JavaScript
Framework/tooling: Jest
Reported problem: partial checkpoint corruption
Task type: test_repair
... | 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 |
Task type: static_analyzer
Scenario: edge sync
Domain focus: large-scale ML systems
Primary language: sql
Difficulty: hard
Scale/SLO: 99.99% availability
Component: component_kbrubtkm
Constraints: include failure modes and recovery, include security threat model (defensive only), avoid data races and undefined behavior... | 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: gj1brzsy.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement search + pagination for a customer support product.
Target platform: backend (Node.js).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must include tests, must be secure-by-default, must avoid global state, must be easy to extend.
Difficulty: medium. Assume strict latency ... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f07145(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 `m86735.py` and `test_m86735.py`.
*** Begin Patch
*** Update File: m86735.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: g2cc8uu.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 |
Perform a code review for a developer tooling PR implementing search + pagination.
Target platform: infra (Terraform).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must include documentation/comments, must include tests, must include clear error handling.
Difficu... | WithinUsAI/GOD_Coder_100k |
Fix a subtle bug in a Python module used for validation.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must be easy to extend, stdlib-only, must include tests, must handle Windows paths safely.
Difficulty: easy. Include a small CLI example if relevant.
Deliver... | WithinUsAI/python_GOD_coder_100k |
Task type: perf_microarchitecture
Scenario: streaming ETL
Domain focus: kernel primitives
Primary language: sql
Difficulty: expert
Scale/SLO: p99 < 150ms
Component: component_rywcmroq
Constraints: include test vectors and fuzz strategy, include failure modes and recovery, include security threat model (defensive only),... | WithinUsAI/Omega_Genesis_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: t37uw4.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: YAML
Framework/tooling: Docker Compose
Domain: artifact registry
Logic challenge: broken pagination cursor
Task type: monorepo_toolchain_recovery
Di... | WithinUsAI/GOD_Coder_Complete_DataSet |
Design a production system for education supporting event-driven workflows.
Target platform: backend (Go).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must include clear error handling, must be observable (logs/metrics/traces), must be production-ready, must be secure-by-... | WithinUsAI/GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Language: C++
Dependency challenge: mismatched API contract
Task type: migration_patch
Di... | WithinUsAI/GOD_Coder_Complete_DataSet |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: network_protocol
Scenario: feature-flag evaluation
Domain focus: query planning
Primary language: rust
Difficulty: expert+
Scale/SLO: p99 < 150ms
Component: component_vhlupahe
Constraints: include deterministic replay plan, explicit contracts and invariants, include verification strategy, include test vector... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of ml systems for scenario: rate limiting gateway.
Primary language: rust.
Difficulty: medium.
Constraints: include tests or verification strategy, include invariants and failure modes, avoid undefined behavior and data races, provide rollout and rollback guidance.
Component:... | 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: ywapo... | 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: sqlc
Domain: observability collector
Logic challenge: async cancellation bug
Task type: state_machine_patch
Difficulty: hard
... | 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: Java
Framework/tooling: Hibernate
Domain: reporting engine
Logic challenge: idempotent retry design
Task type: multi_file_migration_repair
Difficult... | 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 |
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, must be memory-efficient.
Difficulty: easy. Ensure the API is testable via dependency injection.
Deliverable: corrected code... | WithinUsAI/python_GOD_coder_100k |
Optimize a Python workflow for task scheduling.
Requirements: provide an optimized implementation and a small benchmark harness.
Constraints: must avoid global state, must include type hints.
Difficulty: expert. Provide helpful exceptions with actionable messages.
Deliverable: API + reference implementation + tests.
S... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of ml systems for scenario: chat messaging.
Primary language: python.
Difficulty: medium.
Constraints: design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize, include tests or verification strategy, include invariants and failure mode... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of edge/IoT for scenario: document indexing.
Primary language: rust.
Difficulty: expert.
Constraints: include tests or verification strategy, provide rollout and rollback guidance, avoid undefined behavior and data races.
Component: component_zcfvjtg.
Assume partial network p... | 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 |
Implement webhooks for a social media product.
Target platform: backend (Go).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must include tests, must be easy to extend, must be production-ready, must include documentation/comments, must be secure-by-default.
Difficulty: easy. Assume... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f88519(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 `m41217.py` and `test_m41217.py`.
*** Begin Patch
*** Update File: m41217.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: ith4djr4.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: YAML
Framework/tooling: Kubernetes
Domain: feature flag service
Logic challenge: schema drift during deployment
Task type: transaction_integrity_fix... | 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: minvx... | 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: gyl4te_.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: YAML
Framework/tooling: Terraform
Domain: developer platform
Logic challenge: optimistic locking conflict
Task type: algorithmic_correctness
Difficu... | 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: e__pf... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f18115(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f18115(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f44158(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m20594.py` with types and O(n) average.
```python
# m20594.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project domain: notification service
Implementation stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Software delivery problem: rate-limit bypass
Tas... | 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: fuhaw... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement a web feature for healthtech: analytics pipeline.
Target platform: web (React + TypeScript).
Requirements: accessible UI, API integration, and tests.
Constraints: must be easy to extend, must be secure-by-default, must include type hints where applicable.
Difficulty: expert. Assume untrusted input; validate e... | WithinUsAI/GOD_Coder_100k |
Add a clear docstring and type hints to this function:
```python
def f16382(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f16382(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 stream processing for scenario: job scheduler.
Primary language: python.
Difficulty: hard.
Constraints: include invariants and failure modes, document performance characteristics, make the interface contract explicit, provide rollout and rollback guidance, avoid undefined ... | WithinUsAI/Elite_GOD_Coder_100k |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.