text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
Fix the bug and add pytest tests.
```python
def f51238(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 `m93034.py` and `test_m93034.py`.
*** Begin Patch
*** Update File: m93034.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: SQL
Framework/tooling: PostgreSQL
Domain: benchmark harness
Logic challenge: schema drift during deployment
Task type: security_logic_interaction
Di... | 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: Project stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions
Language: Python
Dependency challenge: unsafe deserialization
Task type: lockfil... | 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: u7s1wkzv2.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: network_protocol
Scenario: edge sync
Domain focus: fault injection & chaos engineering
Primary language: go
Difficulty: expert+
Scale/SLO: 99.99% availability
Component: component_cwezzbwq
Constraints: avoid data races and undefined behavior, include failure modes and recovery, include performance model and ... | WithinUsAI/Omega_Genesis_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C17360:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m16720.py` and `test_m16720.py`.
```python
# m16720.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: sbu3j8aq81_9.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: k_1iu... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f46284(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m06612.py` with types and O(n) average.
```python
# m06612.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Provision infrastructure for a social media workload providing audit logs.
Target platform: infra (Terraform).
Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling.
Constraints: must include clear error handling, must be observable (logs/metrics/traces), must be easy to extend, must be pro... | 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: xod6cv.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: Project stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Language: Rust
Dependency challenge: migration ordering failure
Task type: cve_dependency_re... | WithinUsAI/GOD_Coder_Complete_DataSet |
Add a clear docstring and type hints to this function:
```python
def f52421(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f52421(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f75800(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m39400.py` with types and O(n) average.
```python
# m39400.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: EF Core
Domain: payments platform
Logic challenge: async cancellation bug
Task type: misleading_symptom_debug
Difficulty: hard... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: compiler_frontend
Scenario: rate limit gateway
Domain focus: distributed storage
Primary language: rust
Difficulty: expert+
Scale/SLO: multi-region active-active
Component: component_hwsdesov
Constraints: assume adversarial inputs; validate everything, include test vectors and fuzz strategy, include performa... | 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: CMake
Domain: search service
Logic challenge: migration ordering failure
Task type: cross_stack_outage_fix
Difficulty: hard
... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: storage_engine
Scenario: job scheduler
Domain focus: cryptography engineering (defensive)
Primary language: go
Difficulty: hard
Scale/SLO: multi-region active-active
Component: component_nskhbrxt
Constraints: include verification strategy, explicit contracts and invariants, include deterministic replay plan,... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: tla_state_machine
Scenario: document indexing pipeline
Domain focus: distributed storage
Primary language: tla+
Difficulty: expert
Scale/SLO: 1M msgs/min
Component: component_jnfqbxrc
Constraints: include deterministic replay plan, include performance model and limits, assume adversarial inputs; validate eve... | WithinUsAI/Omega_Genesis_Coder_100k |
Design a small, production-grade Python API for task scheduling.
Requirements: define data models and interfaces, implement reference version, include tests.
Constraints: must include type hints, must include tests, must be streaming-friendly.
Difficulty: easy. Avoid quadratic behavior on large inputs.
Deliverable: co... | 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: y3llh8bid89m.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
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 be memory-efficient, must include tests, must be easy to extend, must be streaming-friendly.
Difficulty: expert. Include a small CLI exa... | 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: bjz2gepk.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: mechanized_spec
Scenario: identity and access
Domain focus: consensus & replication
Primary language: lean
Difficulty: expert
Scale/SLO: 50 TB/day ingestion
Component: component_iqdbmysg
Constraints: avoid data races and undefined behavior, include deterministic replay plan, include security threat model (de... | WithinUsAI/Omega_Genesis_Coder_100k |
Implement audit logs for a education product.
Target platform: mobile (iOS Swift).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must be performant under load, must include clear error handling, must be observable (logs/metrics/traces), must include documentation/comments, must be ... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of sre/observability for scenario: rate limiting gateway.
Primary language: python.
Difficulty: medium.
Constraints: avoid undefined behavior and data races, include tests or verification strategy, document performance characteristics, make the interface contract explicit, de... | WithinUsAI/Elite_GOD_Coder_100k |
Create a comprehensive test plan and automated tests for analytics pipeline in a document processing product.
Target platform: ML (PyTorch + serving).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must be easy to extend, must avoid global state, must be production-rea... | WithinUsAI/GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project domain: model serving gateway
Implementation stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Software delivery problem: partial checkpoin... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix the bug and add pytest tests.
```python
def f28943(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 `m89849.py` and `test_m89849.py`.
*** Begin Patch
*** Update File: m89849.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: System domain: developer platform
Stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Cross-layer incident: timezone bug in reporting
Task type: auth_se... | WithinUsAI/GOD_Coder_Complete_DataSet |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: time-series metrics.
Primary language: python.
Difficulty: medium.
Constraints: design for backward compatibility and migrations, include invariants and failure modes, provide rollout and rollback guidance, avoid undefined beh... | WithinUsAI/Elite_GOD_Coder_100k |
Optimize while preserving behavior and order.
```python
def f11915(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m58845.py` with types and O(n) average.
```python
# m58845.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: s62fs_gciwd.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: JavaScript
Framework/tooling: React
Domain: search service
Logic challenge: monorepo toolchain skew
Task type: misleading_symptom_debug
Difficulty: ... | WithinUsAI/GOD_Coder_Complete_DataSet |
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 include type hints, must provide clear error messages, must include docstrings, must be streaming-friendly.
Difficulty: hard. Support both Windows and P... | 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: dgs1xrjkmo6y.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 domain: repo automation
Implementation stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Software delivery problem: JWT refresh token rotat... | 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: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Cross-layer incident: invalid rollback sequence
Task type: cache_consisten... | WithinUsAI/GOD_Coder_Complete_DataSet |
Refactor an existing codebase in document processing to support A/B experimentation cleanly.
Target platform: ML (scikit + batch).
Requirements: propose new modules/layers, dependency boundaries, and migration plan.
Constraints: must be production-ready, must be secure-by-default, must include clear error handling, mus... | 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: payments platform
Stack: Airflow, dbt, DuckDB, MinIO, pytest
Cross-layer incident: path traversal on downloads
Task type: observability_debug_f... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix the bug and add pytest tests.
```python
def f90901(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 `m55843.py` and `test_m55843.py`.
*** Begin Patch
*** Update File: m55843.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Add observability for A/B experimentation in a logistics system.
Target platform: mobile (Android Kotlin).
Requirements: structured logs, metrics, tracing, dashboards, and alerting rules.
Constraints: must include clear error handling, must include documentation/comments, must include type hints where applicable, must ... | WithinUsAI/GOD_Coder_100k |
Create a comprehensive test plan and automated tests for audit logs in a education product.
Target platform: mobile (iOS Swift).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must be performant under load, must avoid global state, must be production-ready, must be obs... | WithinUsAI/GOD_Coder_100k |
Task type: perf_microarchitecture
Scenario: graph query service
Domain focus: fault injection & chaos engineering
Primary language: sql
Difficulty: hard
Scale/SLO: 1M msgs/min
Component: component_qngoxetl
Constraints: include deterministic replay plan, include verification strategy, explicit contracts and invariants, ... | WithinUsAI/Omega_Genesis_Coder_100k |
Refactor a Python module used for log processing into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must be memory-efficient, stdlib-only.
Difficulty: medium. Include a small CLI example if relevant.
Deliverable: API + reference... | WithinUsAI/python_GOD_coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of gpu compute for scenario: inventory & ordering.
Primary language: python.
Difficulty: medium.
Constraints: avoid undefined behavior and data races, design for backward compatibility and migrations, document performance characteristics.
Component: component_dwspdwq.
Assume ... | WithinUsAI/Elite_GOD_Coder_100k |
Add observability for offline-first sync in a education system.
Target platform: ML (scikit + batch).
Requirements: structured logs, metrics, tracing, dashboards, and alerting rules.
Constraints: must be production-ready, must include documentation/comments, must be observable (logs/metrics/traces), must be secure-by-d... | WithinUsAI/GOD_Coder_100k |
Task type: compiler_backend_ir
Scenario: time-series metrics store
Domain focus: secure enclaves (defensive)
Primary language: cpp
Difficulty: expert+
Scale/SLO: p99 < 150ms
Component: component_vavrqrnp
Constraints: avoid data races and undefined behavior, include deterministic replay plan, include security threat mod... | 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: Python
Dependency challenge: transaction boundary bug
Task type: container_runtime_fix
Difficu... | WithinUsAI/GOD_Coder_Complete_DataSet |
Debug and fix a subtle production bug related to analytics pipeline in a customer support service.
Target platform: mobile (Android Kotlin).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must include clear error handling, must be production-ready, must be secure-by-default, mu... | WithinUsAI/GOD_Coder_100k |
Optimize while preserving behavior and order.
```python
def f05218(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m72174.py` with types and O(n) average.
```python
# m72174.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: feature-flag evaluation
Domain focus: secure enclaves (defensive)
Primary language: python
Difficulty: hard
Scale/SLO: 100k RPS peak
Component: component_jjupgizg
Constraints: include verification strategy, include performance model and limits, include failure modes and recovery... | WithinUsAI/Omega_Genesis_Coder_100k |
Design and implement an algorithm for metrics aggregation.
Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests.
Constraints: must include type hints, must handle Windows paths safely, stdlib-only, must avoid global state.
Difficulty: expert. Support both Windows and POSIX... | WithinUsAI/python_GOD_coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C88272:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m52944.py` and `test_m52944.py`.
```python
# m52944.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Repository domain: observability collector
Primary language: Rust
Framework/tooling: Axum
Reported problem: CI failures after dependency upgrade
Task type: se... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: tla_state_machine
Scenario: identity and access
Domain focus: high-frequency trading systems (safe engineering)
Primary language: tla+
Difficulty: expert
Scale/SLO: p99 < 50ms
Component: component_aesuqwjf
Constraints: include security threat model (defensive only), avoid data races and undefined behavior, i... | WithinUsAI/Omega_Genesis_Coder_100k |
Write pytest tests for `f61871`.
```python
def f61871(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m94553 import f61871
def test_known():
assert f61871(3,4) == 25
def test_zero():
assert f61871(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of high-performance services for scenario: event ingestion.
Primary language: python.
Difficulty: expert.
Constraints: provide rollout and rollback guidance, include tests or verification strategy, design for backward compatibility and migrations.
Component: component_apozrir... | WithinUsAI/Elite_GOD_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C36724:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m79748.py` and `test_m79748.py`.
```python
# m79748.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: rkigs5yj2.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: u6sv5qi9n.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: u3rfi... | 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: Hibernate
Domain: developer platform
Logic challenge: schema drift during deployment
Task type: parser_validation_logic
Diff... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: static_analyzer
Scenario: graph query service
Domain focus: program synthesis (safe)
Primary language: go
Difficulty: hard
Scale/SLO: 100k RPS peak
Component: component_oygfxapk
Constraints: include test vectors and fuzz strategy, assume adversarial inputs; validate everything, include failure modes and reco... | WithinUsAI/Omega_Genesis_Coder_100k |
Create a comprehensive test plan and automated tests for audit logs in a gaming product.
Target platform: backend (Go).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must include tests, must include documentation/comments, must avoid global state, must include clear e... | WithinUsAI/GOD_Coder_100k |
Task type: secure_architecture
Scenario: streaming ETL
Domain focus: constraint solving
Primary language: rust
Difficulty: expert+
Scale/SLO: p99 < 50ms
Component: component_muulvcgq
Constraints: include failure modes and recovery, include security threat model (defensive only), include test vectors and fuzz strategy, ... | WithinUsAI/Omega_Genesis_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: h_6d8... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: sre_incident_sim
Scenario: graph query service
Domain focus: GPU serving
Primary language: sql
Difficulty: expert+
Scale/SLO: p99 < 50ms
Component: component_ayxajwcl
Constraints: include performance model and limits, include backward compatibility and migration plan, include test vectors and fuzz strategy, ... | 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: Go
Framework/tooling: Gin
Domain: benchmark harness
Logic challenge: rate-limit bypass
Task type: concurrency_fix
Difficulty: hard
Return a rigorou... | WithinUsAI/GOD_Coder_Complete_DataSet |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C67789:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m66753.py` and `test_m66753.py`.
```python
# m66753.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: System domain: notification service
Stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker
Cross-layer incident: transaction boundary bug
Task type: ... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write pytest tests for `f37949`.
```python
def f37949(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m19707 import f37949
def test_known():
assert f37949(3,4) == 25
def test_zero():
assert f37949(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: compiler_backend_ir
Scenario: real-time notification hub
Domain focus: large-scale ML systems
Primary language: cpp
Difficulty: expert
Scale/SLO: 50 TB/day ingestion
Component: component_piukibnv
Constraints: include performance model and limits, include verification strategy, include security threat model (... | 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 |
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: runtime_gc
Scenario: job scheduler
Domain focus: observability platforms
Primary language: rust
Difficulty: expert+
Scale/SLO: 1M msgs/min
Component: component_wktqmeqc
Constraints: include security threat model (defensive only), include performance model and limits, include verification strategy, avoid data... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: compiler_frontend
Scenario: document indexing pipeline
Domain focus: fault injection & chaos engineering
Primary language: typescript
Difficulty: expert+
Scale/SLO: 1M msgs/min
Component: component_raezdksl
Constraints: include failure modes and recovery, include verification strategy, include performance mo... | 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: khyoyh8_t_.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: i2mevm3jx.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: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions
Language: Python
Dependency challenge: migration ordering failure
Task type: cve... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of operating systems for scenario: inventory & ordering.
Primary language: go.
Difficulty: hard.
Constraints: provide rollout and rollback guidance, include tests or verification strategy, include invariants and failure modes, make the interface contract explicit, assume untr... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: storage_engine
Scenario: job scheduler
Domain focus: fault injection & chaos engineering
Primary language: typescript
Difficulty: hard
Scale/SLO: p99 < 150ms
Component: component_xjfyvysg
Constraints: include security threat model (defensive only), include verification strategy, include deterministic replay ... | 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 |
Build an elite-grade solution in the domain of high-performance services for scenario: payment processing.
Primary language: python.
Difficulty: expert.
Constraints: provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize, design for backward compatibility and migrations.
Component: compon... | WithinUsAI/Elite_GOD_Coder_100k |
Write a thorough test suite for a Python component used for ETL pipelines.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must be easy to extend, must provide clear error messages.
Difficulty: medium. Guarantee deterministic output ordering.
Deliverable: corrected code and verifi... | 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: Optimize while preserving behavior.
File: vagbi... | 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: System domain: benchmark harness
Stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Cross-layer incident: streaming timeout handling
Task type: observabi... | WithinUsAI/GOD_Coder_Complete_DataSet |
Implement event-driven workflows for a customer support product.
Target platform: ML (scikit + batch).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must be production-ready, must be observable (logs/metrics/traces), must include type hints where applicable, must include documentat... | 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: Python
Framework/tooling: Celery
Domain: reporting engine
Logic challenge: log redaction failure
Task type: algorithmic_correctness
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: Optimize while preserving behavior.
File: ofi_i... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of ml systems for scenario: job scheduler.
Primary language: go.
Difficulty: hard.
Constraints: include invariants and failure modes, include tests or verification strategy, document performance characteristics, assume untrusted inputs; validate and sanitize, design for backw... | 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: n2drm0z1xq.py
``... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: kernel_syscall_design
Scenario: rate limit gateway
Domain focus: observability platforms
Primary language: rust
Difficulty: expert+
Scale/SLO: 50 TB/day ingestion
Component: component_wrpxwvam
Constraints: include backward compatibility and migration plan, include performance model and limits, explicit contr... | 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 |
Design CI/CD for a IoT telemetry service delivering event-driven workflows.
Target platform: ML (PyTorch + serving).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must include tests, must include type hints where applicable, must be performant under load, must include docu... | WithinUsAI/GOD_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C83659:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m98743.py` and `test_m98743.py`.
```python
# m98743.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.