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: Project stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Language: C++
Dependency challenge: path traversal on downloads
Task type: cve_dependency_remediation
Di... | WithinUsAI/GOD_Coder_Complete_DataSet |
Optimize while preserving behavior and order.
```python
def f61181(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m65883.py` with types and O(n) average.
```python
# m65883.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: secure_architecture
Scenario: document indexing pipeline
Domain focus: real-time scheduling
Primary language: python
Difficulty: expert
Scale/SLO: 1M msgs/min
Component: component_xwatoche
Constraints: include test vectors and fuzz strategy, include performance model and limits, include verification strategy... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: distributed_algorithm
Scenario: rate limit gateway
Domain focus: fault injection & chaos engineering
Primary language: typescript
Difficulty: hard
Scale/SLO: 1M msgs/min
Component: component_sjmbddpo
Constraints: include test vectors and fuzz strategy, include deterministic replay plan, include verification ... | WithinUsAI/Omega_Genesis_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: C++
Framework/tooling: Catch2
Domain: feature flag service
Logic challenge: log redaction failure
Task type: backwards_compatible_redesign
Difficult... | WithinUsAI/GOD_Coder_Complete_DataSet |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C52562:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m73274.py` and `test_m73274.py`.
```python
# m73274.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: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f10926(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m44418.py` with types and O(n) average.
```python
# m44418.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 stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Language: YAML
Dependency challenge: monorepo toolchain skew
Task type: version_conflict_... | 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: MySQL
Domain: team dashboard
Logic challenge: partial checkpoint corruption
Task type: transaction_integrity_fix
Difficulty: ... | WithinUsAI/GOD_Coder_Complete_DataSet |
Add observability for analytics pipeline in a e-commerce system.
Target platform: infra (Docker + Kubernetes).
Requirements: structured logs, metrics, tracing, dashboards, and alerting rules.
Constraints: must be performant under load, must be secure-by-default, must include clear error handling.
Difficulty: expert. As... | 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: d0p8j... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of operating systems for scenario: edge sync.
Primary language: rust.
Difficulty: hard.
Constraints: include invariants and failure modes, design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize.
Component: component_pvfrsks.
Assume co... | WithinUsAI/Elite_GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f28556(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 `m75508.py` and `test_m75508.py`.
*** Begin Patch
*** Update File: m75508.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project domain: payments platform
Implementation stack: Airflow, dbt, DuckDB, MinIO, pytest
Software delivery problem: gRPC retry storm
Task type: incident_to... | 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 |
Build an elite-grade solution in the domain of distributed systems for scenario: edge sync.
Primary language: go.
Difficulty: hard.
Constraints: document performance characteristics, design for backward compatibility and migrations, include invariants and failure modes, avoid undefined behavior and data races.
Componen... | WithinUsAI/Elite_GOD_Coder_100k |
Optimize while preserving behavior and order.
```python
def f60482(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m22926.py` with types and O(n) average.
```python
# m22926.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: Fix a bug and add tests.
File: tb57veqrkkl3.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
Design and implement an algorithm for metrics aggregation.
Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests.
Constraints: must include docstrings, must avoid global state.
Difficulty: medium. Provide helpful exceptions with actionable messages.
Deliverable: production... | WithinUsAI/python_GOD_coder_100k |
Task type: distributed_algorithm
Scenario: payment ledger
Domain focus: fault injection & chaos engineering
Primary language: rust
Difficulty: expert
Scale/SLO: p99 < 50ms
Component: component_pmwwciez
Constraints: assume adversarial inputs; validate everything, include backward compatibility and migration plan, includ... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of sre/observability for scenario: rate limiting gateway.
Primary language: go.
Difficulty: hard.
Constraints: make the interface contract explicit, include invariants and failure modes, document performance characteristics.
Component: component_rxcijph.
Assume crash-only des... | WithinUsAI/Elite_GOD_Coder_100k |
Refactor a Python module used for telemetry ingestion into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must include docstrings, must provide clear error messages, stdlib-only.
Difficulty: easy. Include a small CLI example if re... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of operating systems for scenario: payment processing.
Primary language: sql.
Difficulty: medium.
Constraints: design for backward compatibility and migrations, document performance characteristics, assume untrusted inputs; validate and sanitize.
Component: component_oxjvyxh.... | 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: Repository domain: job scheduler
Primary language: Go
Framework/tooling: net/http
Reported problem: path traversal on downloads
Task type: code_review_fix
Dif... | 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: MySQL
Domain: developer platform
Logic challenge: S3-compatible upload inconsistency
Task type: misleading_symptom_debug
Diff... | 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: Python
Framework/tooling: Airflow
Domain: job scheduler
Logic challenge: log redaction failure
Task type: monorepo_toolchain_recovery
Difficulty: ha... | WithinUsAI/GOD_Coder_Complete_DataSet |
Implement event-driven workflows for a developer tooling product.
Target platform: ML (PyTorch + serving).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must be secure-by-default, must be observable (logs/metrics/traces), must be easy to extend.
Difficulty: easy. Assume untrusted i... | 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: vxuexqnsxo40.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
Add observability for multi-tenant isolation in a document processing system.
Target platform: infra (Docker + Kubernetes).
Requirements: structured logs, metrics, tracing, dashboards, and alerting rules.
Constraints: must be easy to extend, must be production-ready, must include tests.
Difficulty: medium. Assume mobil... | WithinUsAI/GOD_Coder_100k |
Implement an ML engineering workflow for gaming focusing on real-time notifications.
Target platform: ML (training + serving).
Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring.
Constraints: must avoid global state, must include clear error handling, must include documentat... | WithinUsAI/GOD_Coder_100k |
Task type: tla_state_machine
Scenario: streaming ETL
Domain focus: kernel primitives
Primary language: tla+
Difficulty: hard
Scale/SLO: p99 < 50ms
Component: component_pztmvjjo
Constraints: include deterministic replay plan, include verification strategy, include failure modes and recovery, explicit contracts and invar... | WithinUsAI/Omega_Genesis_Coder_100k |
Fix the bug and add pytest tests.
```python
def f62757(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 `m23251.py` and `test_m23251.py`.
*** Begin Patch
*** Update File: m23251.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix a subtle bug in a Python module used for configuration loading.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must include docstrings, must handle Windows paths safely, must avoid global state, must be easy to extend.
Difficulty: hard. Handle empty inputs a... | 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: Go
Framework/tooling: Gin
Domain: auth service
Logic challenge: migration ordering failure
Task type: concurrency_fix
Difficulty: hard
Return a rig... | 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: Go
Framework/tooling: sqlc
Domain: developer platform
Logic challenge: S3-compatible upload inconsistency
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: Fix a bug and add tests.
File: z0izt6zd.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: compiler_frontend
Scenario: real-time notification hub
Domain focus: zero-downtime migrations
Primary language: go
Difficulty: expert+
Scale/SLO: 10k RPS peak
Component: component_evufhdvq
Constraints: avoid data races and undefined behavior, include test vectors and fuzz strategy, include performance model ... | WithinUsAI/Omega_Genesis_Coder_100k |
Implement a concurrent Python solution for report generation.
Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests.
Constraints: must include type hints, must include docstrings, stdlib-only, must include tests.
Difficulty: easy. Support both Windows and POSIX paths correctly.... | 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: qdfc7vey.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix a subtle bug in a Python module used for time series.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must handle Windows paths safely, must include type hints, must be memory-efficient.
Difficulty: easy. Handle empty inputs and malformed records gracefully.
... | WithinUsAI/python_GOD_coder_100k |
Write a thorough test suite for a Python component used for rate limiting.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must handle Windows paths safely, must be memory-efficient.
Difficulty: hard. Handle empty inputs and malformed records gracefully.
Deliverable: implementatio... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of stream processing for scenario: analytics pipeline.
Primary language: python.
Difficulty: expert.
Constraints: design for backward compatibility and migrations, document performance characteristics, include invariants and failure modes, include tests or verification strate... | WithinUsAI/Elite_GOD_Coder_100k |
Write a thorough test suite for a Python component used for telemetry ingestion.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must handle Windows paths safely, stdlib-only, must be streaming-friendly, must include tests.
Difficulty: expert. Include a small CLI example if relevan... | 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: 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: g5lrs9com25.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: p7dl4... | 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: uhl6pl3rpe2.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Debug and fix a subtle production bug related to caching in a social media service.
Target platform: ML (PyTorch + serving).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must avoid global state, must include documentation/comments, must include clear error handling, must incl... | 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: gw7ehqomq.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: Project stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Language: Bash
Dependency challenge: websocket reconnect storm
Task type: version_conflict_r... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix the bug and add pytest tests.
```python
def f19940(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 `m31420.py` and `test_m31420.py`.
*** Begin Patch
*** Update File: m31420.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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Perform a code review for a education PR implementing search + pagination.
Target platform: ML (PyTorch + serving).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must include type hints where applicable, must be secure-by-default, must be performant under load, mu... | WithinUsAI/GOD_Coder_100k |
Write pytest tests for `f86802`.
```python
def f86802(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m26686 import f86802
def test_known():
assert f86802(3,4) == 25
def test_zero():
assert f86802(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f31168`.
```python
def f31168(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m33024 import f31168
def test_known():
assert f31168(3,4) == 25
def test_zero():
assert f31168(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: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: runtime_gc
Scenario: time-series metrics store
Domain focus: query planning
Primary language: python
Difficulty: hard
Scale/SLO: p99 < 50ms
Component: component_lppjgnni
Constraints: include security threat model (defensive only), explicit contracts and invariants, include test vectors and fuzz strategy, inc... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: mechanized_spec
Scenario: job scheduler
Domain focus: static analysis
Primary language: lean
Difficulty: expert
Scale/SLO: 1M msgs/min
Component: component_rkipwvuc
Constraints: include verification strategy, include test vectors and fuzz strategy, explicit contracts and invariants, avoid data races and unde... | WithinUsAI/Omega_Genesis_Coder_100k |
Perform a code review for a e-commerce PR implementing search + pagination.
Target platform: mobile (iOS Swift).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must include clear error handling, must be observable (logs/metrics/traces), must be performant under loa... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f49206(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 `m78458.py` and `test_m78458.py`.
*** Begin Patch
*** Update File: m78458.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f25677`.
```python
def f25677(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m60811 import f25677
def test_known():
assert f25677(3,4) == 25
def test_zero():
assert f25677(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of databases for scenario: chat messaging.
Primary language: go.
Difficulty: hard.
Constraints: document performance characteristics, provide rollout and rollback guidance, make the interface contract explicit, include invariants and failure modes.
Component: component_sqkvjl... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: compiler_backend_ir
Scenario: streaming ETL
Domain focus: observability platforms
Primary language: cpp
Difficulty: hard
Scale/SLO: 10k RPS peak
Component: component_fehwqgfr
Constraints: include deterministic replay plan, explicit contracts and invariants, assume adversarial inputs; validate everything, avo... | 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: mrxwbv.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: Go
Framework/tooling: Fiber
Domain: benchmark harness
Logic challenge: slow cold start
Task type: security_logic_interaction
Difficulty: hard
Retur... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: inventory & ordering.
Primary language: rust.
Difficulty: expert.
Constraints: design for backward compatibility and migrations, include invariants and failure modes, make the interface contract explicit, include tests or veri... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: network_protocol
Scenario: multi-tenant event ingestion
Domain focus: distributed storage
Primary language: bash
Difficulty: expert+
Scale/SLO: 10k RPS peak
Component: component_mfvtrcnc
Constraints: include security threat model (defensive only), assume adversarial inputs; validate everything, include backw... | 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 |
Implement a concurrent Python solution for parsing.
Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests.
Constraints: must include docstrings, must handle Windows paths safely.
Difficulty: medium. Avoid quadratic behavior on large inputs.
Deliverable: API + reference impleme... | WithinUsAI/python_GOD_coder_100k |
Fix a subtle bug in a Python module used for caching layer.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must avoid global state, must include tests, must include type hints, stdlib-only.
Difficulty: expert. Guarantee deterministic output ordering.
Deliverabl... | 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: itn9z... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of ml systems for scenario: job scheduler.
Primary language: python.
Difficulty: expert.
Constraints: avoid undefined behavior and data races, document performance characteristics, assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance.
Componen... | 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: lzk0v... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement a concurrent Python solution for report generation.
Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests.
Constraints: must handle Windows paths safely, must avoid global state, stdlib-only, must provide clear error messages.
Difficulty: medium. Ensure the API is tes... | WithinUsAI/python_GOD_coder_100k |
Optimize while preserving behavior and order.
```python
def f12479(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m87497.py` with types and O(n) average.
```python
# m87497.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: query_optimizer
Scenario: feature-flag evaluation
Domain focus: secure enclaves (defensive)
Primary language: rust
Difficulty: expert
Scale/SLO: 99.99% availability
Component: component_bafpdobv
Constraints: include deterministic replay plan, avoid data races and undefined behavior, include failure modes and... | 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: data pipeline
Primary language: SQL
Framework/tooling: MySQL
Reported problem: build reproducibility failure
Task type: performance_patch
D... | 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: hbqij7j7j.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f70298(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 `m38614.py` and `test_m38614.py`.
*** Begin Patch
*** Update File: m38614.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of operating systems for scenario: document indexing.
Primary language: go.
Difficulty: hard.
Constraints: include tests or verification strategy, provide rollout and rollback guidance, design for backward compatibility and migrations, make the interface contract explicit.
Co... | WithinUsAI/Elite_GOD_Coder_100k |
Perform a code review for a education PR implementing audit logs.
Target platform: infra (Docker + Kubernetes).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must be performant under load, must include type hints where applicable, must be production-ready.
Difficu... | 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: JavaScript
Framework/tooling: Playwright
Domain: search service
Logic challenge: mismatched API contract
Task type: concurrency_fix
Difficulty: hard... | 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: ip1_b1p.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor a Python module used for file synchronization into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must be easy to extend, must handle Windows paths safely, must avoid global state, must provide clear error messages.
Diffi... | 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: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Language: Rust
Dependency challenge: invalid rollback sequence
Task type: migration_patch
Diff... | 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: xkfoy14.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: Fix a bug and add tests.
File: bu4hg3lgkyn.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement a mobile feature for customer support: audit logs.
Target platform: mobile.
Requirements: offline-safe behavior, UI state handling, and tests.
Constraints: must include type hints where applicable, must be easy to extend, must be observable (logs/metrics/traces), must avoid global state, must include tests.
D... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of high-performance services for scenario: edge sync.
Primary language: python.
Difficulty: expert.
Constraints: avoid undefined behavior and data races, include tests or verification strategy, document performance characteristics, make the interface contract explicit, assume... | WithinUsAI/Elite_GOD_Coder_100k |
Perform a code review for a healthtech PR implementing search + pagination.
Target platform: infra (Terraform).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must be production-ready, must include clear error handling, must be performant under load.
Difficulty: me... | WithinUsAI/GOD_Coder_100k |
Add a clear docstring and type hints to this function:
```python
def f08194(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f08194(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f99485(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 `m71355.py` and `test_m71355.py`.
*** Begin Patch
*** Update File: m71355.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: Rust
Framework/tooling: Axum
Domain: benchmark harness
Logic challenge: streaming timeout handling
Task type: backwards_compatible_redesign
Difficul... | 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: Optimize while preserving behavior.
File: nvij7... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f67550(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f67550(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 security engineering (defensive) for scenario: edge sync.
Primary language: python.
Difficulty: medium.
Constraints: design for backward compatibility and migrations, provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize.
Component: componen... | WithinUsAI/Elite_GOD_Coder_100k |
Perform a code review for a e-commerce PR implementing role-based access control.
Target platform: mobile (iOS Swift).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must be secure-by-default, must be easy to extend, must be production-ready, must avoid global stat... | WithinUsAI/GOD_Coder_100k |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.