text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
Build an elite-grade solution in the domain of operating systems for scenario: inventory & ordering.
Primary language: rust.
Difficulty: expert.
Constraints: assume untrusted inputs; validate and sanitize, include tests or verification strategy, make the interface contract explicit, design for backward compatibility an... | WithinUsAI/Elite_GOD_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: rbmr6... | 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 pytest tests for `f31601`.
```python
def f31601(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m75943 import f31601
def test_known():
assert f31601(3,4) == 25
def test_zero():
assert f31601(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: Repository domain: data pipeline
Primary language: SQL
Framework/tooling: DuckDB
Reported problem: partial checkpoint corruption
Task type: api_endpoint_work
... | WithinUsAI/GOD_Coder_Complete_DataSet |
Perform a code review for a education PR implementing real-time notifications.
Target platform: CI (GitHub Actions).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must include tests, must avoid global state, must be performant under load, must include documentatio... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f77070(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 `m11010.py` and `test_m11010.py`.
*** Begin Patch
*** Update File: m11010.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of high-performance services for scenario: rate limiting gateway.
Primary language: go.
Difficulty: expert.
Constraints: make the interface contract explicit, include tests or verification strategy, avoid undefined behavior and data races, design for backward compatibility an... | WithinUsAI/Elite_GOD_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: m_ex7... | WithinUsAI/Royal_Ghost_Coder_501k |
Perform a code review for a customer support PR implementing webhooks.
Target platform: mobile (Android Kotlin).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must be performant under load, must be production-ready, must include tests.
Difficulty: medium. Include ... | WithinUsAI/GOD_Coder_100k |
Create a small, production-ready Python package for data modeling.
Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml.
Constraints: must include type hints, must be easy to extend, must avoid global state, stdlib-only.
Difficulty: easy. Handle empty inputs and malformed records gra... | 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: qfa3sifpd4ow.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
Add observability for rate limiting in a fraud detection system.
Target platform: backend (Go).
Requirements: structured logs, metrics, tracing, dashboards, and alerting rules.
Constraints: must include clear error handling, must be secure-by-default, must include type hints where applicable, must include tests.
Diffic... | 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: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Language: YAML
Dependency challenge: race condition on worker shutdown
Task type: container_ru... | 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: th226b.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement an ML engineering workflow for customer support focusing on webhooks.
Target platform: ML (training + serving).
Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring.
Constraints: must include tests, must be performant under load, must include type hints where applica... | WithinUsAI/GOD_Coder_100k |
Task type: static_analyzer
Scenario: time-series metrics store
Domain focus: GPU serving
Primary language: python
Difficulty: hard
Scale/SLO: 10k RPS peak
Component: component_faohwdmw
Constraints: avoid data races and undefined behavior, include backward compatibility and migration plan, include deterministic replay p... | WithinUsAI/Omega_Genesis_Coder_100k |
Create a small, production-ready Python package for time series.
Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml.
Constraints: must include docstrings, stdlib-only.
Difficulty: medium. Provide helpful exceptions with actionable messages.
Deliverable: corrected code and verifica... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of gpu compute for scenario: document indexing.
Primary language: python.
Difficulty: medium.
Constraints: design for backward compatibility and migrations, make the interface contract explicit, document performance characteristics, include invariants and failure modes, provi... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: static_analyzer
Scenario: graph query service
Domain focus: data lineage & governance
Primary language: go
Difficulty: expert
Scale/SLO: 1M msgs/min
Component: component_ogyaodxy
Constraints: include backward compatibility and migration plan, include deterministic replay plan, explicit contracts and invarian... | 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: System domain: repo automation
Stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Cross-layer incident: log redaction failure
Task type: full_stack_bug_fix
Difficu... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: static_analyzer
Scenario: time-series metrics store
Domain focus: real-time scheduling
Primary language: typescript
Difficulty: expert
Scale/SLO: 50 TB/day ingestion
Component: component_qslajmei
Constraints: include backward compatibility and migration plan, include verification strategy, include test vecto... | 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: w_rl6... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix a subtle bug in a Python module used for report generation.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must be memory-efficient, must provide clear error messages, must be easy to extend.
Difficulty: expert. Handle empty inputs and malformed records grac... | 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: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker
Language: YAML
Dependency challenge: JWT refresh token rotation
Task type: cve_depende... | WithinUsAI/GOD_Coder_Complete_DataSet |
Optimize while preserving behavior and order.
```python
def f97751(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m85393.py` with types and O(n) average.
```python
# m85393.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 `f96239`.
```python
def f96239(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m85177 import f96239
def test_known():
assert f96239(3,4) == 25
def test_zero():
assert f96239(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of databases for scenario: feature flagging.
Primary language: typescript.
Difficulty: expert.
Constraints: design for backward compatibility and migrations, include invariants and failure modes, avoid undefined behavior and data races, document performance characteristics.
C... | 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: System domain: feature flag service
Stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Cross-layer incident: unsafe deserialization
Task type: observability_debug_... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: lockfree_primitive
Scenario: multi-tenant event ingestion
Domain focus: GPU serving
Primary language: cpp
Difficulty: hard
Scale/SLO: 50 TB/day ingestion
Component: component_ysqzsots
Constraints: include deterministic replay plan, include security threat model (defensive only), include backward compatibilit... | WithinUsAI/Omega_Genesis_Coder_100k |
Build a data pipeline for a content moderation product around multi-tenant isolation.
Target platform: data (SQL + Python).
Requirements: schema, ingestion, validation, backfills, and tests.
Constraints: must be production-ready, must be easy to extend, must be performant under load, must include clear error handling.
... | 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: ht2ri7wpr0t.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of high-performance services for scenario: payment processing.
Primary language: go.
Difficulty: expert.
Constraints: include invariants and failure modes, design for backward compatibility and migrations, provide rollout and rollback guidance, avoid undefined behavior and da... | 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: dbx3o7_qw4.py
``... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f86489(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 `m40927.py` and `test_m40927.py`.
*** Begin Patch
*** Update File: m40927.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Design CI/CD for a education service delivering background jobs.
Target platform: mobile (iOS Swift).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must be performant under load, must include documentation/comments, must be easy to extend.
Difficulty: medium. Assume mobile... | WithinUsAI/GOD_Coder_100k |
Implement a concurrent Python solution for metrics aggregation.
Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests.
Constraints: must avoid global state, must be easy to extend, must include tests, must handle Windows paths safely.
Difficulty: expert. Support both Windows an... | WithinUsAI/python_GOD_coder_100k |
Create a comprehensive test plan and automated tests for caching in a e-commerce product.
Target platform: web (React + TypeScript).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must include type hints where applicable, must include tests, must be easy to extend, mus... | WithinUsAI/GOD_Coder_100k |
Task type: kernel_syscall_design
Scenario: rate limit gateway
Domain focus: query planning
Primary language: c
Difficulty: expert
Scale/SLO: p99 < 150ms
Component: component_vkhnfyuy
Constraints: include failure modes and recovery, include backward compatibility and migration plan, include performance model and limits,... | WithinUsAI/Omega_Genesis_Coder_100k |
Implement an ML engineering workflow for logistics focusing on file uploads.
Target platform: ML (training + serving).
Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring.
Constraints: must be secure-by-default, must be performant under load, must include clear error handling... | 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 |
Write pytest tests for `f43359`.
```python
def f43359(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m63337 import f43359
def test_known():
assert f43359(3,4) == 25
def test_zero():
assert f43359(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: lockfree_primitive
Scenario: rate limit gateway
Domain focus: fault injection & chaos engineering
Primary language: cpp
Difficulty: hard
Scale/SLO: multi-region active-active
Component: component_kiijkvvq
Constraints: include backward compatibility and migration plan, include performance model and limits, in... | WithinUsAI/Omega_Genesis_Coder_100k |
Debug and fix a subtle production bug related to analytics pipeline in a IoT telemetry service.
Target platform: infra (Terraform).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must include tests, must include documentation/comments, must be performant under load, must be eas... | 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 |
Implement search + pagination for a fraud detection product.
Target platform: web (React + TypeScript).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must be secure-by-default, must be production-ready, must include documentation/comments, must be easy to extend.
Difficulty: expert... | WithinUsAI/GOD_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
Provision infrastructure for a IoT telemetry workload providing caching.
Target platform: infra (Terraform).
Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling.
Constraints: must be secure-by-default, must include documentation/comments, must include tests, must be production-ready, must... | WithinUsAI/GOD_Coder_100k |
Create a comprehensive test plan and automated tests for offline-first sync in a IoT telemetry product.
Target platform: backend (Node.js).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must be production-ready, must be observable (logs/metrics/traces), must be perfor... | WithinUsAI/GOD_Coder_100k |
Refactor a Python module used for configuration loading into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: stdlib-only, must handle Windows paths safely, must be streaming-friendly.
Difficulty: easy. Avoid quadratic behavior on l... | WithinUsAI/python_GOD_coder_100k |
Task type: smt_constraint_model
Scenario: multi-tenant event ingestion
Domain focus: secure enclaves (defensive)
Primary language: smtlib
Difficulty: hard
Scale/SLO: p99 < 50ms
Component: component_poupbusy
Constraints: explicit contracts and invariants, include backward compatibility and migration plan, assume adversa... | 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: i_92rq_a07.py
``... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C06175:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m00475.py` and `test_m00475.py`.
```python
# m00475.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 |
Task type: storage_engine
Scenario: payment ledger
Domain focus: compiler toolchains
Primary language: bash
Difficulty: expert
Scale/SLO: multi-region active-active
Component: component_eomuxldp
Constraints: avoid data races and undefined behavior, explicit contracts and invariants, include security threat model (defen... | 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: System domain: auth service
Stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions
Cross-layer incident: build reproducibility failure
Task typ... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: compiler_backend_ir
Scenario: streaming ETL
Domain focus: compiler toolchains
Primary language: rust
Difficulty: hard
Scale/SLO: p99 < 50ms
Component: component_wsgpqnvm
Constraints: include failure modes and recovery, include backward compatibility and migration plan, assume adversarial inputs; validate eve... | WithinUsAI/Omega_Genesis_Coder_100k |
Fix the bug and add pytest tests.
```python
def f79792(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 `m54256.py` and `test_m54256.py`.
*** Begin Patch
*** Update File: m54256.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: evicn... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: compiler_backend_ir
Scenario: edge sync
Domain focus: network protocols
Primary language: cpp
Difficulty: expert+
Scale/SLO: 99.99% availability
Component: component_qstyyegc
Constraints: include backward compatibility and migration plan, avoid data races and undefined behavior, include verification strategy... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of high-performance services for scenario: document indexing.
Primary language: python.
Difficulty: medium.
Constraints: design for backward compatibility and migrations, include invariants and failure modes, make the interface contract explicit, document performance characte... | WithinUsAI/Elite_GOD_Coder_100k |
Create a comprehensive test plan and automated tests for offline-first sync in a logistics product.
Target platform: backend (Go).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must include type hints where applicable, must include clear error handling, must be produc... | WithinUsAI/GOD_Coder_100k |
Create a small, production-ready Python package for configuration loading.
Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml.
Constraints: must provide clear error messages, must avoid global state.
Difficulty: expert. Avoid quadratic behavior on large inputs.
Deliverable: API + ... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of stream processing for scenario: rate limiting gateway.
Primary language: python.
Difficulty: expert.
Constraints: avoid undefined behavior and data races, include invariants and failure modes, design for backward compatibility and migrations, document performance character... | 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: e_crcyq.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of networking for scenario: rate limiting gateway.
Primary language: python.
Difficulty: hard.
Constraints: design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize, include tests or verification strategy, provide rollout and rollback g... | 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: x60r6xr.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: kernel_syscall_design
Scenario: streaming ETL
Domain focus: cryptography engineering (defensive)
Primary language: c
Difficulty: hard
Scale/SLO: p99 < 50ms
Component: component_qavulrzu
Constraints: include verification strategy, avoid data races and undefined behavior, include failure modes and recovery, in... | WithinUsAI/Omega_Genesis_Coder_100k |
Fix the bug and add pytest tests.
```python
def f38348(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 `m19764.py` and `test_m19764.py`.
*** Begin Patch
*** Update File: m19764.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: supply_chain_security
Scenario: rate limit gateway
Domain focus: observability platforms
Primary language: python
Difficulty: expert
Scale/SLO: multi-region active-active
Component: component_mxbhqukb
Constraints: include backward compatibility and migration plan, include verification strategy, include perfo... | 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: System domain: repo automation
Stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker
Cross-layer incident: timezone bug in reporting
Task type: auth_session_re... | WithinUsAI/GOD_Coder_Complete_DataSet |
Design a production system for fintech supporting audit logs.
Target platform: backend (Node.js).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must avoid global state, must include type hints where applicable, must be production-ready.
Difficulty: expert. Assume PII must b... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f57983(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 `m22569.py` and `test_m22569.py`.
*** Begin Patch
*** Update File: m22569.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f44968`.
```python
def f44968(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m06424 import f44968
def test_known():
assert f44968(3,4) == 25
def test_zero():
assert f44968(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of databases for scenario: job scheduler.
Primary language: python.
Difficulty: expert.
Constraints: include tests or verification strategy, avoid undefined behavior and data races, provide rollout and rollback guidance.
Component: component_pwvcwyb.
Assume crash-only design;... | WithinUsAI/Elite_GOD_Coder_100k |
Optimize while preserving behavior and order.
```python
def f27760(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m89680.py` with types and O(n) average.
```python
# m89680.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of gpu compute for scenario: multi-tenant SaaS.
Primary language: go.
Difficulty: expert.
Constraints: make the interface contract explicit, design for backward compatibility and migrations, document performance characteristics, provide rollout and rollback guidance.
Componen... | WithinUsAI/Elite_GOD_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: x18k6ige_c.py
``... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f92242`.
```python
def f92242(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m84606 import f92242
def test_known():
assert f92242(3,4) == 25
def test_zero():
assert f92242(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: tla_state_machine
Scenario: feature-flag evaluation
Domain focus: real-time scheduling
Primary language: tla+
Difficulty: expert+
Scale/SLO: 50 TB/day ingestion
Component: component_xjezpalf
Constraints: include backward compatibility and migration plan, include security threat model (defensive only), includ... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of edge/IoT for scenario: multi-tenant SaaS.
Primary language: typescript.
Difficulty: medium.
Constraints: include tests or verification strategy, make the interface contract explicit, design for backward compatibility and migrations.
Component: component_lalzndu.
Assume cra... | 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: wvmlockj1xdb.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: my02tpun5w7.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: payment processing.
Primary language: rust.
Difficulty: expert.
Constraints: make the interface contract explicit, avoid undefined behavior and data races, include tests or verification strategy, assume untrusted inputs; valid... | 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: Java
Framework/tooling: Spring Boot
Domain: observability collector
Logic challenge: race condition on worker shutdown
Task type: multi_file_migrati... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix the bug and add pytest tests.
```python
def f09174(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 `m29882.py` and `test_m29882.py`.
*** Begin Patch
*** Update File: m29882.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: ml_system_design
Scenario: time-series metrics store
Domain focus: observability platforms
Primary language: bash
Difficulty: expert
Scale/SLO: p99 < 50ms
Component: component_ohcweuvf
Constraints: include backward compatibility and migration plan, assume adversarial inputs; validate everything, include secu... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of ml systems for scenario: payment processing.
Primary language: typescript.
Difficulty: hard.
Constraints: design for backward compatibility and migrations, include tests or verification strategy, provide rollout and rollback guidance, make the interface contract explicit, ... | 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: v4q3ymrws8.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: SQL
Framework/tooling: MySQL
Domain: artifact registry
Logic challenge: JWT refresh token rotation
Task type: concurrency_fix
Difficulty: hard
Retu... | WithinUsAI/GOD_Coder_Complete_DataSet |
Optimize while preserving behavior and order.
```python
def f72797(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m38971.py` with types and O(n) average.
```python
# m38971.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f76455(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 `m68065.py` and `test_m68065.py`.
*** Begin Patch
*** Update File: m68065.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of gpu compute for scenario: analytics pipeline.
Primary language: typescript.
Difficulty: medium.
Constraints: design for backward compatibility and migrations, include invariants and failure modes, document performance characteristics, include tests or verification strategy... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: chat messaging.
Primary language: rust.
Difficulty: medium.
Constraints: provide rollout and rollback guidance, document performance characteristics, make the interface contract explicit, design for backward compatibility and ... | 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 |
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: r0gjpkptfoa.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Design CI/CD for a calendar/scheduling service delivering search + pagination.
Target platform: web (React + TypeScript).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must include type hints where applicable, must include documentation/comments, must include clear error h... | WithinUsAI/GOD_Coder_100k |
Write pytest tests for `f30985`.
```python
def f30985(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m75855 import f30985
def test_known():
assert f30985(3,4) == 25
def test_zero():
assert f30985(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: jftygd.py
```pyt... | 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.