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 domain: observability collector
Implementation stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions
Software delivery problem: optimi... | 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: w0z1_... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f60697(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f60697(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Write secure, defensive Python code for event dispatching.
Requirements: input validation, safe file handling, prevent path traversal, include tests.
Constraints: must be streaming-friendly, must avoid global state.
Difficulty: expert. Support both Windows and POSIX paths correctly.
Deliverable: corrected code and ver... | WithinUsAI/python_GOD_coder_100k |
Task type: static_analyzer
Scenario: edge sync
Domain focus: program synthesis (safe)
Primary language: go
Difficulty: hard
Scale/SLO: 10k RPS peak
Component: component_kcoepynv
Constraints: avoid data races and undefined behavior, assume adversarial inputs; validate everything, include performance model and limits, in... | 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: payments platform
Primary language: Bash
Framework/tooling: GNU coreutils
Reported problem: S3-compatible upload inconsistency
Task type: t... | 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: notification service
Logic challenge: websocket reconnect storm
Task type: cross_stack_outage_fix
Difficul... | WithinUsAI/GOD_Coder_Complete_DataSet |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: Bash
Framework/tooling: sed
Domain: document processing API
Logic challenge: migration ordering failure
Task type: multi_file_migration_repair
Diffi... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write pytest tests for `f53894`.
```python
def f53894(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m64842 import f53894
def test_known():
assert f53894(3,4) == 25
def test_zero():
assert f53894(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C69504:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m43808.py` and `test_m43808.py`.
```python
# m43808.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: event ingestion.
Primary language: typescript.
Difficulty: medium.
Constraints: avoid undefined behavior and data races, assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance, make the interface... | 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: v5wjmu9.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of operating systems for scenario: rate limiting gateway.
Primary language: sql.
Difficulty: expert.
Constraints: design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize, make the interface contract explicit, document performance chara... | WithinUsAI/Elite_GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: Rust
Framework/tooling: cargo test
Domain: artifact registry
Logic challenge: websocket reconnect storm
Task type: monorepo_toolchain_recovery
Diffi... | WithinUsAI/GOD_Coder_Complete_DataSet |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C19866:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m47682.py` and `test_m47682.py`.
```python
# m47682.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C01461:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m15497.py` and `test_m15497.py`.
```python
# m15497.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of edge/IoT for scenario: rate limiting gateway.
Primary language: sql.
Difficulty: expert.
Constraints: include tests or verification strategy, assume untrusted inputs; validate and sanitize, document performance characteristics.
Component: component_hbhvjcs.
Assume complian... | 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 |
Build an elite-grade solution in the domain of ml systems for scenario: job scheduler.
Primary language: go.
Difficulty: expert.
Constraints: design for backward compatibility and migrations, document performance characteristics, make the interface contract explicit.
Component: component_qjdzvpb.
Assume schema changes ... | WithinUsAI/Elite_GOD_Coder_100k |
Optimize while preserving behavior and order.
```python
def f41482(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m05926.py` with types and O(n) average.
```python
# m05926.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: perf_microarchitecture
Scenario: job scheduler
Domain focus: high-frequency trading systems (safe engineering)
Primary language: bash
Difficulty: expert+
Scale/SLO: 50 TB/day ingestion
Component: component_rhywccwn
Constraints: assume adversarial inputs; validate everything, include backward compatibility an... | 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 |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: Go
Framework/tooling: testify
Domain: developer platform
Logic challenge: CI failures after dependency upgrade
Task type: distributed_debug
Difficul... | WithinUsAI/GOD_Coder_Complete_DataSet |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: Bash
Framework/tooling: GNU coreutils
Domain: feature flag service
Logic challenge: stale cache invalidation
Task type: monorepo_toolchain_recovery
... | 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: xUnit
Domain: auth service
Logic challenge: build reproducibility failure
Task type: cross_stack_outage_fix
Difficulty: hard
... | WithinUsAI/GOD_Coder_Complete_DataSet |
Design and implement an algorithm for file synchronization.
Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests.
Constraints: stdlib-only, must include tests, must include type hints, must include docstrings.
Difficulty: hard. Include a small CLI example if relevant.
Del... | WithinUsAI/python_GOD_coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: System domain: observability collector
Stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker
Cross-layer incident: partial checkpoint corruption
Task type: dep... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: lockfree_primitive
Scenario: document indexing pipeline
Domain focus: zero-downtime migrations
Primary language: cpp
Difficulty: expert
Scale/SLO: p99 < 150ms
Component: component_jkoopsmo
Constraints: assume adversarial inputs; validate everything, include security threat model (defensive only), include tes... | 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 |
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: auth service
Implementation stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker
Software delivery problem: slow cold start
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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: robust_e2e_testing
Scenario: streaming ETL
Domain focus: high-frequency trading systems (safe engineering)
Primary language: sql
Difficulty: hard
Scale/SLO: multi-region active-active
Component: component_ofcvgryo
Constraints: include deterministic replay plan, include backward compatibility and migration pl... | WithinUsAI/Omega_Genesis_Coder_100k |
Fix the bug and add pytest tests.
```python
def f46038(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 `m49434.py` and `test_m49434.py`.
*** Begin Patch
*** Update File: m49434.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f02150(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 `m57450.py` and `test_m57450.py`.
*** Begin Patch
*** Update File: m57450.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C96576:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m84352.py` and `test_m84352.py`.
```python
# m84352.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 |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of high-performance services for scenario: analytics pipeline.
Primary language: python.
Difficulty: hard.
Constraints: provide rollout and rollback guidance, include invariants and failure modes, avoid undefined behavior and data races, assume untrusted inputs; validate and ... | WithinUsAI/Elite_GOD_Coder_100k |
Optimize while preserving behavior and order.
```python
def f31464(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m47352.py` with types and O(n) average.
```python
# m47352.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: of2wfl1yfvf.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement a mobile feature for education: multi-tenant isolation.
Target platform: mobile.
Requirements: offline-safe behavior, UI state handling, and tests.
Constraints: must be performant under load, must include documentation/comments, must include clear error handling, must be secure-by-default, must be production-... | WithinUsAI/GOD_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C18382:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m01414.py` and `test_m01414.py`.
```python
# m01414.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Write a thorough test suite for a Python component used for data modeling.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must be easy to extend, stdlib-only.
Difficulty: expert. Guarantee deterministic output ordering.
Deliverable: implementation + tests.
```python
# tests (pyte... | WithinUsAI/python_GOD_coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: System domain: model serving gateway
Stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Cross-layer incident: stale cache invalidation
Task type: obser... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of operating systems for scenario: feature flagging.
Primary language: typescript.
Difficulty: expert.
Constraints: design for backward compatibility and migrations, include tests or verification strategy, include invariants and failure modes, make the interface contract expl... | WithinUsAI/Elite_GOD_Coder_100k |
Debug and fix a subtle production bug related to audit logs in a e-commerce service.
Target platform: ML (PyTorch + serving).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must be performant under load, must include clear error handling, must include type hints where applicabl... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of gpu compute for scenario: job scheduler.
Primary language: typescript.
Difficulty: hard.
Constraints: design for backward compatibility and migrations, include invariants and failure modes, document performance characteristics, include tests or verification strategy.
Compo... | WithinUsAI/Elite_GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: JavaScript
Framework/tooling: Jest
Domain: team dashboard
Logic challenge: multi-tenant access leak
Task type: parser_validation_logic
Difficulty: h... | 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: data pipeline
Primary language: C++
Framework/tooling: Catch2
Reported problem: build reproducibility failure
Task type: api_endpoint_work
... | 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 |
Write pytest tests for `f64820`.
```python
def f64820(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m09260 import f64820
def test_known():
assert f64820(3,4) == 25
def test_zero():
assert f64820(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: Optimize while preserving behavior.
File: oket2... | 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: lxee_... | 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: Python
Framework/tooling: Pydantic
Domain: benchmark harness
Logic challenge: async cancellation bug
Task type: distributed_debug
Difficulty: hard
... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix the bug and add pytest tests.
```python
def f05436(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 `m29348.py` and `test_m29348.py`.
*** Begin Patch
*** Update File: m29348.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f73020(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m81860.py` with types and O(n) average.
```python
# m81860.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement search + pagination for a IoT telemetry product.
Target platform: backend (Python FastAPI).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must be observable (logs/metrics/traces), must be easy to extend, must include documentation/comments, must avoid global state, must b... | WithinUsAI/GOD_Coder_100k |
Create a small, production-ready Python package for report generation.
Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml.
Constraints: must include type hints, must include docstrings.
Difficulty: easy. Support both Windows and POSIX paths correctly.
Deliverable: implementation +... | WithinUsAI/python_GOD_coder_100k |
Write pytest tests for `f13794`.
```python
def f13794(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m30542 import f13794
def test_known():
assert f13794(3,4) == 25
def test_zero():
assert f13794(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: C#
Framework/tooling: NUnit
Domain: job scheduler
Logic challenge: N+1 query explosion
Task type: state_machine_patch
Difficulty: medium
Return a r... | 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: notification service
Stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker
Cross-layer incident: timezone bug in reporting
Task type:... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build a data pipeline for a content moderation product around file uploads.
Target platform: data (SQL + Python).
Requirements: schema, ingestion, validation, backfills, and tests.
Constraints: must include type hints where applicable, must avoid global state, must be observable (logs/metrics/traces), must include test... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of realtime systems for scenario: job scheduler.
Primary language: sql.
Difficulty: hard.
Constraints: document performance characteristics, avoid undefined behavior and data races, make the interface contract explicit.
Component: component_yvccobx.
Assume compliance requires... | WithinUsAI/Elite_GOD_Coder_100k |
Implement event-driven workflows for a social media product.
Target platform: CI (GitHub Actions).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must include documentation/comments, must be easy to extend, must be secure-by-default.
Difficulty: expert. Assume PII must be protected.... | WithinUsAI/GOD_Coder_100k |
Implement multi-tenant isolation for a education product.
Target platform: infra (Docker + Kubernetes).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must be secure-by-default, must avoid global state, must include type hints where applicable.
Difficulty: expert. Assume PII must be... | 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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C08497:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m85269.py` and `test_m85269.py`.
```python
# m85269.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: gly5u199u.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of stream processing for scenario: time-series metrics.
Primary language: go.
Difficulty: medium.
Constraints: assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races, include tests or verification strategy, make the interface contract explicit... | WithinUsAI/Elite_GOD_Coder_100k |
Add a clear docstring and type hints to this function:
```python
def f43828(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f43828(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: distributed_algorithm
Scenario: job scheduler
Domain focus: static analysis
Primary language: sql
Difficulty: expert+
Scale/SLO: 1M msgs/min
Component: component_ijfwgqqt
Constraints: include backward compatibility and migration plan, assume adversarial inputs; validate everything, include performance model ... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: storage_engine
Scenario: multi-tenant event ingestion
Domain focus: constraint solving
Primary language: bash
Difficulty: expert
Scale/SLO: 99.99% availability
Component: component_izktiira
Constraints: include security threat model (defensive only), assume adversarial inputs; validate everything, explicit c... | 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: Project domain: payments platform
Implementation stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Software delivery problem: log redaction failure
Task... | 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: Celery
Domain: artifact registry
Logic challenge: log redaction failure
Task type: algorithmic_correctness
Difficulty: har... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of realtime systems for scenario: chat messaging.
Primary language: python.
Difficulty: hard.
Constraints: include invariants and failure modes, avoid undefined behavior and data races, include tests or verification strategy, document performance characteristics, provide roll... | WithinUsAI/Elite_GOD_Coder_100k |
Debug and fix a subtle production bug related to search + pagination in a social media service.
Target platform: backend (Python FastAPI).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must avoid global state, must include clear error handling, must be performant under load, m... | WithinUsAI/GOD_Coder_100k |
Write secure, defensive Python code for parsing.
Requirements: input validation, safe file handling, prevent path traversal, include tests.
Constraints: must be memory-efficient, must be streaming-friendly.
Difficulty: medium. Include a small CLI example if relevant.
Deliverable: API + reference implementation + tests... | WithinUsAI/python_GOD_coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C47349:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m72873.py` and `test_m72873.py`.
```python
# m72873.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: ujl2vk0c.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement a mobile feature for logistics: multi-tenant isolation.
Target platform: mobile.
Requirements: offline-safe behavior, UI state handling, and tests.
Constraints: must be secure-by-default, must include type hints where applicable, must be observable (logs/metrics/traces), must be performant under load.
Difficu... | 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: h8hem1fa.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C07540:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m00580.py` and `test_m00580.py`.
```python
# m00580.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of stream processing for scenario: analytics pipeline.
Primary language: typescript.
Difficulty: hard.
Constraints: include invariants and failure modes, assume untrusted inputs; validate and sanitize, document performance characteristics.
Component: component_vcsegos.
Assume... | 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: feature flag service
Primary language: Rust
Framework/tooling: cargo test
Reported problem: JWT refresh token rotation
Task type: test_repa... | 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: artifact registry
Primary language: Bash
Framework/tooling: sed
Reported problem: streaming timeout handling
Task type: test_repair
Difficu... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of realtime systems for scenario: event ingestion.
Primary language: python.
Difficulty: hard.
Constraints: document performance characteristics, include tests or verification strategy, design for backward compatibility and migrations.
Component: component_xhpgtew.
Assume par... | WithinUsAI/Elite_GOD_Coder_100k |
Write pytest tests for `f07501`.
```python
def f07501(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m29643 import f07501
def test_known():
assert f07501(3,4) == 25
def test_zero():
assert f07501(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: query_optimizer
Scenario: edge sync
Domain focus: observability platforms
Primary language: bash
Difficulty: expert
Scale/SLO: 99.99% availability
Component: component_hdudisoy
Constraints: assume adversarial inputs; validate everything, include backward compatibility and migration plan, avoid data races and... | 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: c3iy_woqp.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize a Python workflow for task scheduling.
Requirements: provide an optimized implementation and a small benchmark harness.
Constraints: must handle Windows paths safely, must include tests, must include docstrings.
Difficulty: expert. Avoid quadratic behavior on large inputs.
Deliverable: corrected code and veri... | 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: b8asbqt7.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: Python
Framework/tooling: SQLAlchemy
Domain: feature flag service
Logic challenge: transaction boundary bug
Task type: backwards_compatible_redesign... | 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: developer platform
Stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Cross-layer incident: websocket reconnect storm
Task type: schema_co... | WithinUsAI/GOD_Coder_Complete_DataSet |
Provision infrastructure for a developer tooling workload providing A/B experimentation.
Target platform: data (SQL + Python).
Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling.
Constraints: must include type hints where applicable, must avoid global state, must be easy to extend.
Diffi... | 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: l3p9u1eabpvt.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
Design CI/CD for a enterprise SaaS service delivering file uploads.
Target platform: CI (GitHub Actions).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must be observable (logs/metrics/traces), must avoid global state, must include tests, must be easy to extend, must be pe... | 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: vt4u03ac6s.py
``... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: robust_e2e_testing
Scenario: payment ledger
Domain focus: stream processing
Primary language: rust
Difficulty: expert+
Scale/SLO: 1M msgs/min
Component: component_mivpeicg
Constraints: include performance model and limits, avoid data races and undefined behavior, include verification strategy, include failur... | WithinUsAI/Omega_Genesis_Coder_100k |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.