text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C89234:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m53018.py` and `test_m53018.py`.
```python
# m53018.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f94342(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 `m84906.py` and `test_m84906.py`.
*** Begin Patch
*** Update File: m84906.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Debug and fix a subtle production bug related to caching in a content moderation service.
Target platform: backend (Go).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must include tests, must include clear error handling, must avoid global state.
Difficulty: easy. Assume mobil... | WithinUsAI/GOD_Coder_100k |
Add a clear docstring and type hints to this function:
```python
def f38512(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f38512(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: kernel_syscall_design
Scenario: time-series metrics store
Domain focus: constraint solving
Primary language: cpp
Difficulty: expert
Scale/SLO: 10k RPS peak
Component: component_hvqijopl
Constraints: assume adversarial inputs; validate everything, include performance model and limits, explicit contracts and i... | 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: Project domain: payments platform
Implementation stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker
Software delivery problem: N+1 query explosio... | WithinUsAI/GOD_Coder_Complete_DataSet |
Implement a mobile feature for calendar/scheduling: real-time notifications.
Target platform: mobile.
Requirements: offline-safe behavior, UI state handling, and tests.
Constraints: must include documentation/comments, must be production-ready, must be observable (logs/metrics/traces), must include clear error handling... | WithinUsAI/GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Repository domain: notification service
Primary language: C++
Framework/tooling: Boost
Reported problem: stale cache invalidation
Task type: security_patch
Di... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of gpu compute for scenario: document indexing.
Primary language: rust.
Difficulty: hard.
Constraints: provide rollout and rollback guidance, design for backward compatibility and migrations, make the interface contract explicit, document performance characteristics, include ... | WithinUsAI/Elite_GOD_Coder_100k |
Implement a mobile feature for enterprise SaaS: search + pagination.
Target platform: mobile.
Requirements: offline-safe behavior, UI state handling, and tests.
Constraints: must include clear error handling, must avoid global state, must be production-ready, must be performant under load, must include tests.
Difficult... | 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: zcr0x... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f54965`.
```python
def f54965(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m64995 import f54965
def test_known():
assert f54965(3,4) == 25
def test_zero():
assert f54965(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: Language: JavaScript
Framework/tooling: Express
Domain: reporting engine
Logic challenge: unsafe deserialization
Task type: distributed_debug
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: YAML
Framework/tooling: Docker Compose
Domain: data pipeline
Logic challenge: N+1 query explosion
Task type: cross_stack_outage_fix
Difficulty: expe... | 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: benchmark harness
Stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Cross-layer incident: S3-compatible upload inconsistency
Task ty... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of operating systems for scenario: rate limiting gateway.
Primary language: rust.
Difficulty: hard.
Constraints: design for backward compatibility and migrations, document performance characteristics, make the interface contract explicit, include invariants and failure modes.... | WithinUsAI/Elite_GOD_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C63744:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m20288.py` and `test_m20288.py`.
```python
# m20288.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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Write a thorough test suite for a Python component used for telemetry ingestion.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must include tests, stdlib-only, must include type hints, must include docstrings.
Difficulty: easy. Include a small CLI example if relevant.
Deliverabl... | WithinUsAI/python_GOD_coder_100k |
Task type: network_protocol
Scenario: job scheduler
Domain focus: large-scale ML systems
Primary language: go
Difficulty: expert
Scale/SLO: 1M msgs/min
Component: component_bqfqbxah
Constraints: assume adversarial inputs; validate everything, include test vectors and fuzz strategy, include backward compatibility and mi... | 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: TypeScript
Framework/tooling: Node.js
Domain: reporting engine
Logic challenge: timezone bug in reporting
Task type: monorepo_toolchain_recovery
Dif... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of high-performance services for scenario: inventory & ordering.
Primary language: bash.
Difficulty: hard.
Constraints: include invariants and failure modes, provide rollout and rollback guidance, avoid undefined behavior and data races, document performance characteristics, ... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of distributed systems for scenario: event ingestion.
Primary language: go.
Difficulty: medium.
Constraints: provide rollout and rollback guidance, avoid undefined behavior and data races, include invariants and failure modes, include tests or verification strategy.
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: Fix a bug and add tests.
File: rl02v1g1s.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: uqicme62qa.py
``... | WithinUsAI/Royal_Ghost_Coder_501k |
Write secure, defensive Python code for configuration loading.
Requirements: input validation, safe file handling, prevent path traversal, include tests.
Constraints: must include docstrings, must be memory-efficient, must include tests.
Difficulty: medium. Include a small CLI example if relevant.
Deliverable: product... | 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: szv3w9p.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f57853`.
```python
def f57853(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m93979 import f57853
def test_known():
assert f57853(3,4) == 25
def test_zero():
assert f57853(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: mechanized_spec
Scenario: graph query service
Domain focus: real-time scheduling
Primary language: lean
Difficulty: expert
Scale/SLO: 10k RPS peak
Component: component_auetkkmg
Constraints: include performance model and limits, include deterministic replay plan, include backward compatibility and migration p... | 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: Project stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Language: C#
Dependency challenge: idempotent retry design
Task type: lockfile_repair
Difficulty: medium... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: tla_state_machine
Scenario: real-time notification hub
Domain focus: high-frequency trading systems (safe engineering)
Primary language: tla+
Difficulty: expert
Scale/SLO: 10k RPS peak
Component: component_hejuhvhh
Constraints: include security threat model (defensive only), include deterministic replay plan... | WithinUsAI/Omega_Genesis_Coder_100k |
Optimize while preserving behavior and order.
```python
def f03015(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m86145.py` with types and O(n) average.
```python
# m86145.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: Language: C++
Framework/tooling: STL
Domain: reporting engine
Logic challenge: path traversal on downloads
Task type: edge_case_hardening
Difficulty: hard
Re... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write pytest tests for `f22376`.
```python
def f22376(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m31768 import f22376
def test_known():
assert f22376(3,4) == 25
def test_zero():
assert f22376(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: Fix a bug and add tests.
File: ovndpy0csz0k.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: smt_constraint_model
Scenario: feature-flag evaluation
Domain focus: zero-downtime migrations
Primary language: smtlib
Difficulty: expert
Scale/SLO: p99 < 150ms
Component: component_mynsivfp
Constraints: include verification strategy, include security threat model (defensive only), include deterministic repl... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of databases for scenario: payment processing.
Primary language: python.
Difficulty: hard.
Constraints: provide rollout and rollback guidance, document performance characteristics, design for backward compatibility and migrations.
Component: component_vnmkwua.
Assume schema c... | WithinUsAI/Elite_GOD_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: cvc3at82z.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement real-time notifications for a logistics product.
Target platform: infra (Terraform).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must be secure-by-default, must include type hints where applicable, must be performant under load, must include tests.
Difficulty: easy. Ass... | 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: System domain: feature flag service
Stack: Airflow, dbt, DuckDB, MinIO, pytest
Cross-layer incident: invalid rollback sequence
Task type: auth_session_repair
... | 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: notification service
Logic challenge: path traversal on downloads
Task type: cross_stack_outage_fix
Difficulty: h... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write a thorough test suite for a Python component used for event dispatching.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must include tests, must be streaming-friendly, must be easy to extend, must handle Windows paths safely.
Difficulty: easy. Provide helpful exceptions with... | 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: mw8c5fxehr52.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 |
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: cargo test
Domain: developer platform
Logic challenge: stale cache invalidation
Task type: distributed_debug
Difficulty: har... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix a subtle bug in a Python module used for log processing.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must avoid global state, must be streaming-friendly, must include tests, stdlib-only.
Difficulty: expert. Include a small CLI example if relevant.
Delive... | 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: JavaScript
Framework/tooling: Node.js
Domain: document processing API
Logic challenge: slow cold start
Task type: security_logic_interaction
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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C95752:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m68904.py` and `test_m68904.py`.
```python
# m68904.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of sre/observability for scenario: job scheduler.
Primary language: go.
Difficulty: expert.
Constraints: provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize, make the interface contract explicit, document performance characteristics, include ... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: payment processing.
Primary language: bash.
Difficulty: medium.
Constraints: design for backward compatibility and migrations, provide rollout and rollback guidance, include tests or verification strategy, assume untrusted inp... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of high-performance services for scenario: document indexing.
Primary language: python.
Difficulty: hard.
Constraints: design for backward compatibility and migrations, include tests or verification strategy, assume untrusted inputs; validate and sanitize, provide rollout and... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: lockfree_primitive
Scenario: rate limit gateway
Domain focus: GPU serving
Primary language: cpp
Difficulty: expert
Scale/SLO: 100k RPS peak
Component: component_mhsmchby
Constraints: include backward compatibility and migration plan, include test vectors and fuzz strategy, include security threat model (defe... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of realtime systems for scenario: feature flagging.
Primary language: bash.
Difficulty: hard.
Constraints: provide rollout and rollback guidance, make the interface contract explicit, include invariants and failure modes, design for backward compatibility and migrations.
Comp... | WithinUsAI/Elite_GOD_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: mwwxteybp.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f11990(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m44570.py` with types and O(n) average.
```python
# m44570.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f07954`.
```python
def f07954(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m15422 import f07954
def test_known():
assert f07954(3,4) == 25
def test_zero():
assert f07954(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement a web feature for fraud detection: real-time notifications.
Target platform: web (React + TypeScript).
Requirements: accessible UI, API integration, and tests.
Constraints: must include documentation/comments, must be observable (logs/metrics/traces), must include type hints where applicable.
Difficulty: expe... | 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: System domain: model serving gateway
Stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions
Cross-layer incident: N+1 query explosion
Task type... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write pytest tests for `f57680`.
```python
def f57680(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m08240 import f57680
def test_known():
assert f57680(3,4) == 25
def test_zero():
assert f57680(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Create a comprehensive test plan and automated tests for rate limiting in a social media product.
Target platform: backend (Python FastAPI).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must be secure-by-default, must include type hints where applicable, must be easy... | WithinUsAI/GOD_Coder_100k |
Refactor a Python module used for report generation into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: stdlib-only, must include docstrings, must be memory-efficient.
Difficulty: easy. Support both Windows and POSIX paths correct... | WithinUsAI/python_GOD_coder_100k |
Create a comprehensive test plan and automated tests for file uploads in a social media product.
Target platform: backend (Go).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must be performant under load, must be easy to extend, must include clear error handling, must... | 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: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Language: TypeScript
Dependency challenge: monorepo toolchain skew
Task type: version_confli... | 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: JavaScript
Framework/tooling: Express
Domain: payments platform
Logic challenge: migration ordering failure
Task type: security_logic_interaction
Di... | WithinUsAI/GOD_Coder_Complete_DataSet |
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 tests, stdlib-only, must avoid global state, must handle Windows paths safely.
Difficulty: hard. Guarantee deterministic output ... | 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: rz7bm... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f52542(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 `m07506.py` and `test_m07506.py`.
*** Begin Patch
*** Update File: m07506.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f50058(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 `m64294.py` and `test_m64294.py`.
*** Begin Patch
*** Update File: m64294.py
@@
d... | 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 avoid global state, must be memory-efficient.
Difficulty: easy. Include a small CLI example if relevant.
Deliverable:... | WithinUsAI/python_GOD_coder_100k |
Design a small, production-grade Python API for CLI tooling.
Requirements: define data models and interfaces, implement reference version, include tests.
Constraints: must be easy to extend, must include docstrings.
Difficulty: expert. Provide helpful exceptions with actionable messages.
Deliverable: production-ready ... | 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: Java
Dependency challenge: schema drift during deployment
Task type: lockfile_repair... | 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: auth service
Stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker
Cross-layer incident: websocket reconnect storm
Task type: auth_session_repai... | 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: wo9oja2y3e.py
``... | WithinUsAI/Royal_Ghost_Coder_501k |
Debug and fix a subtle production bug related to background jobs in a calendar/scheduling service.
Target platform: ML (scikit + batch).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must include tests, must avoid global state, must be secure-by-default, must be observable (lo... | 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: aev5v... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of realtime systems for scenario: multi-tenant SaaS.
Primary language: go.
Difficulty: hard.
Constraints: make the interface contract explicit, design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize.
Component: component_mrrrncj.
Assu... | WithinUsAI/Elite_GOD_Coder_100k |
Perform a code review for a social media PR implementing event-driven workflows.
Target platform: web (React + TypeScript).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must be easy to extend, must include tests, must be production-ready, must be observable (logs... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of edge/IoT for scenario: payment processing.
Primary language: go.
Difficulty: medium.
Constraints: make the interface contract explicit, include tests or verification strategy, provide rollout and rollback guidance, document performance characteristics.
Component: component... | WithinUsAI/Elite_GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project domain: payments platform
Implementation stack: Airflow, dbt, DuckDB, MinIO, pytest
Software delivery problem: N+1 query explosion
Task type: release_... | 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: j1zrqx9pg.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f98605(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 `m85515.py` and `test_m85515.py`.
*** Begin Patch
*** Update File: m85515.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f88390(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f88390(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Write a thorough test suite for a Python component used for configuration loading.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must provide clear error messages, must be streaming-friendly.
Difficulty: easy. Ensure the API is testable via dependency injection.
Deliverable: cor... | WithinUsAI/python_GOD_coder_100k |
Task type: static_analyzer
Scenario: job scheduler
Domain focus: kernel primitives
Primary language: go
Difficulty: expert
Scale/SLO: 100k RPS peak
Component: component_yuvifkre
Constraints: avoid data races and undefined behavior, include deterministic replay plan, include security threat model (defensive only), inclu... | WithinUsAI/Omega_Genesis_Coder_100k |
Design CI/CD for a gaming service delivering role-based access control.
Target platform: data (SQL + Python).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must include clear error handling, must be secure-by-default, must include tests, must include documentation/comments... | WithinUsAI/GOD_Coder_100k |
Add a clear docstring and type hints to this function:
```python
def f46418(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f46418(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: Repository domain: payments platform
Primary language: Rust
Framework/tooling: Serde
Reported problem: CI failures after dependency upgrade
Task type: perform... | 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: JUnit
Domain: feature flag service
Logic challenge: broken pagination cursor
Task type: monorepo_toolchain_recovery
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: Fix a bug and add tests.
File: t0ck538h.py
```p... | 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: msrglqeqo7au.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f32283(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 `m47469.py` and `test_m47469.py`.
*** Begin Patch
*** Update File: m47469.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: verification_properties
Scenario: feature-flag evaluation
Domain focus: cryptography engineering (defensive)
Primary language: go
Difficulty: expert
Scale/SLO: 10k RPS peak
Component: component_rsjxlvnp
Constraints: explicit contracts and invariants, include verification strategy, include test vectors and fu... | WithinUsAI/Omega_Genesis_Coder_100k |
Implement analytics pipeline for a enterprise SaaS product.
Target platform: infra (Terraform).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must be secure-by-default, must include type hints where applicable, must be production-ready.
Difficulty: medium. Assume strict latency bud... | WithinUsAI/GOD_Coder_100k |
Task type: storage_engine
Scenario: real-time notification hub
Domain focus: secure enclaves (defensive)
Primary language: sql
Difficulty: expert+
Scale/SLO: 99.99% availability
Component: component_tgpmixyh
Constraints: assume adversarial inputs; validate everything, include backward compatibility and migration plan, ... | 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 |
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: Gradle
Domain: payments platform
Logic challenge: invalid rollback sequence
Task type: edge_case_hardening
Difficulty: mediu... | WithinUsAI/GOD_Coder_Complete_DataSet |
Create a comprehensive test plan and automated tests for real-time notifications in a customer support product.
Target platform: backend (Python FastAPI).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must avoid global state, must include clear error handling, must be... | WithinUsAI/GOD_Coder_100k |
Design a production system for fraud detection supporting search + pagination.
Target platform: backend (Go).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must be production-ready, must include type hints where applicable, must include tests, must be easy to extend, must i... | WithinUsAI/GOD_Coder_100k |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.