text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
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: etifx... | 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: Airflow, dbt, DuckDB, MinIO, pytest
Language: TypeScript
Dependency challenge: multi-tenant access leak
Task type: container_runtime_fix
Diffic... | WithinUsAI/GOD_Coder_Complete_DataSet |
Improve typing and robustness of a Python module used for data modeling.
Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests.
Constraints: must be memory-efficient, stdlib-only, must include type hints, must include tests.
Difficulty: easy. Guarantee deterministic output orderi... | WithinUsAI/python_GOD_coder_100k |
Perform a code review for a social media PR implementing webhooks.
Target platform: backend (Node.js).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must include documentation/comments, must be performant under load, must avoid global state.
Difficulty: easy. Assu... | WithinUsAI/GOD_Coder_100k |
Task type: ml_system_design
Scenario: payment ledger
Domain focus: constraint solving
Primary language: bash
Difficulty: expert
Scale/SLO: 100k RPS peak
Component: component_yjzfnybq
Constraints: include failure modes and recovery, include performance model and limits, avoid data races and undefined behavior, include d... | WithinUsAI/Omega_Genesis_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project domain: repo automation
Implementation stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Software delivery problem: monorepo toolchain skew... | 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 |
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: h1u13dhtfx.py
``... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor a Python module used for parsing into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: stdlib-only, must be memory-efficient, must include docstrings.
Difficulty: expert. Support both Windows and POSIX paths correctly.
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: payments platform
Stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Cross-layer incident: migration ordering failure
Task type: schema_contract_ali... | WithinUsAI/GOD_Coder_Complete_DataSet |
Add a clear docstring and type hints to this function:
```python
def f31412(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f31412(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Add observability for multi-tenant isolation in a calendar/scheduling system.
Target platform: mobile (Android Kotlin).
Requirements: structured logs, metrics, tracing, dashboards, and alerting rules.
Constraints: must include clear error handling, must include tests, must be observable (logs/metrics/traces), must be s... | WithinUsAI/GOD_Coder_100k |
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 avoid global state, must include tests, must include type hints, must be memory-efficient.
Difficulty: hard. Guarantee deterministic output orderi... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of compilers for scenario: multi-tenant SaaS.
Primary language: sql.
Difficulty: hard.
Constraints: provide rollout and rollback guidance, include tests or verification strategy, make the interface contract explicit, include invariants and failure modes, assume untrusted inpu... | WithinUsAI/Elite_GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project domain: auth service
Implementation stack: Airflow, dbt, DuckDB, MinIO, pytest
Software delivery problem: memory leak in AST cache
Task type: prd_to_p... | WithinUsAI/GOD_Coder_Complete_DataSet |
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: must handle Windows paths safely, must include type hints.
Difficulty: expert. Provide helpful exceptions with actionable ... | 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: Repository domain: repo automation
Primary language: Bash
Framework/tooling: sed
Reported problem: S3-compatible upload inconsistency
Task type: performance_p... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: query_optimizer
Scenario: graph query service
Domain focus: distributed storage
Primary language: sql
Difficulty: hard
Scale/SLO: 10k RPS peak
Component: component_aupikjmm
Constraints: explicit contracts and invariants, include backward compatibility and migration plan, include test vectors and fuzz strateg... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of ml systems for scenario: multi-tenant SaaS.
Primary language: rust.
Difficulty: medium.
Constraints: avoid undefined behavior and data races, assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance, include tests or verification strategy.
Comp... | WithinUsAI/Elite_GOD_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f24873(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m17839.py` with types and O(n) average.
```python
# m17839.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: Repository domain: artifact registry
Primary language: JavaScript
Framework/tooling: Jest
Reported problem: timezone bug in reporting
Task type: repo_issue_pa... | 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 domain: payments platform
Implementation stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Software delivery problem: partial checkpoint corruption
Task t... | 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: static_analyzer
Scenario: document indexing pipeline
Domain focus: constraint solving
Primary language: bash
Difficulty: expert
Scale/SLO: 1M msgs/min
Component: component_urrvilhj
Constraints: include verification strategy, assume adversarial inputs; validate everything, include performance model and limits... | WithinUsAI/Omega_Genesis_Coder_100k |
Write secure, defensive Python code for file synchronization.
Requirements: input validation, safe file handling, prevent path traversal, include tests.
Constraints: must handle Windows paths safely, must be easy to extend.
Difficulty: easy. Avoid quadratic behavior on large inputs.
Deliverable: API + reference implem... | WithinUsAI/python_GOD_coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: TypeScript
Framework/tooling: Express
Domain: team dashboard
Logic challenge: async cancellation bug
Task type: multi_service_security_patch
Difficu... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix the bug and add pytest tests.
```python
def f29027(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 `m89861.py` and `test_m89861.py`.
*** Begin Patch
*** Update File: m89861.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of networking for scenario: analytics pipeline.
Primary language: python.
Difficulty: hard.
Constraints: assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races, provide rollout and rollback guidance, document performance characteristics.
Compo... | 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: gpqb5zx.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: csen_u10.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: 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 |
Design and implement an algorithm for data modeling.
Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests.
Constraints: must provide clear error messages, must handle Windows paths safely, must include docstrings.
Difficulty: easy. Guarantee deterministic output ordering.
... | WithinUsAI/python_GOD_coder_100k |
Write secure, defensive Python code for report generation.
Requirements: input validation, safe file handling, prevent path traversal, include tests.
Constraints: must be memory-efficient, must handle Windows paths safely, must be easy to extend, must provide clear error messages.
Difficulty: medium. Avoid quadratic be... | 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: wkp1ao1bmk.py
``... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f22301(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 `m46043.py` and `test_m46043.py`.
*** Begin Patch
*** Update File: m46043.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of networking for scenario: rate limiting gateway.
Primary language: go.
Difficulty: medium.
Constraints: include invariants and failure modes, include tests or verification strategy, document performance characteristics, assume untrusted inputs; validate and sanitize.
Compon... | 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: wus0zyt0mivw.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
Provision infrastructure for a enterprise SaaS workload providing search + pagination.
Target platform: CI (GitHub Actions).
Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling.
Constraints: must be secure-by-default, must include type hints where applicable, 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: Optimize while preserving behavior.
File: g24bj... | 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: TypeScript
Framework/tooling: React
Domain: artifact registry
Logic challenge: schema drift during deployment
Task type: parser_validation_logic
Dif... | WithinUsAI/GOD_Coder_Complete_DataSet |
Refactor an existing codebase in developer tooling to support real-time notifications cleanly.
Target platform: mobile (Android Kotlin).
Requirements: propose new modules/layers, dependency boundaries, and migration plan.
Constraints: must include tests, must be observable (logs/metrics/traces), must be production-read... | 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: mryoqk0v.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: r19jg... | WithinUsAI/Royal_Ghost_Coder_501k |
Debug and fix a subtle production bug related to idempotent payments in a customer support service.
Target platform: infra (Terraform).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must include type hints where applicable, must include tests, must avoid global state.
Difficul... | WithinUsAI/GOD_Coder_100k |
Implement a mobile feature for customer support: file uploads.
Target platform: mobile.
Requirements: offline-safe behavior, UI state handling, and tests.
Constraints: must be easy to extend, must be performant under load, must include documentation/comments, must be production-ready.
Difficulty: medium. Assume mobile ... | WithinUsAI/GOD_Coder_100k |
Add a clear docstring and type hints to this function:
```python
def f37534(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f37534(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f32479(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 `m47497.py` and `test_m47497.py`.
*** Begin Patch
*** Update File: m47497.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: Fix a bug and add tests.
File: pw0wlr0o.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement a concurrent Python solution for caching layer.
Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests.
Constraints: must be memory-efficient, must include tests, must provide clear error messages.
Difficulty: easy. Guarantee deterministic output ordering.
Deliverable... | WithinUsAI/python_GOD_coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C38697:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m10669.py` and `test_m10669.py`.
```python
# m10669.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Add observability for real-time notifications in a customer support system.
Target platform: mobile (iOS Swift).
Requirements: structured logs, metrics, tracing, dashboards, and alerting rules.
Constraints: must be performant under load, must be production-ready, must be observable (logs/metrics/traces), must be secure... | WithinUsAI/GOD_Coder_100k |
Perform a code review for a developer tooling PR implementing background jobs.
Target platform: CI (GitHub Actions).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must be performant under load, must include type hints where applicable, must include clear error han... | 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: aokdx_py.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: pbtoi4tc.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize a Python workflow for time series.
Requirements: provide an optimized implementation and a small benchmark harness.
Constraints: must avoid global state, must include docstrings.
Difficulty: expert. Ensure the API is testable via dependency injection.
Deliverable: implementation + tests.
Strategy:
- Avoid rep... | WithinUsAI/python_GOD_coder_100k |
Fix the bug and add pytest tests.
```python
def f13906(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 `m30558.py` and `test_m30558.py`.
*** Begin Patch
*** Update File: m30558.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: Fix a bug and add tests.
File: r9pl5xt.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C58367:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m35259.py` and `test_m35259.py`.
```python
# m35259.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: s3af7utjr5.py
``... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of networking for scenario: job scheduler.
Primary language: python.
Difficulty: expert.
Constraints: document performance characteristics, avoid undefined behavior and data races, include tests or verification strategy, assume untrusted inputs; validate and sanitize.
Compone... | WithinUsAI/Elite_GOD_Coder_100k |
Optimize while preserving behavior and order.
```python
def f67353(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m52479.py` with types and O(n) average.
```python
# m52479.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: Optimize while preserving behavior.
File: uic__... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f77572`.
```python
def f77572(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m96796 import f77572
def test_known():
assert f77572(3,4) == 25
def test_zero():
assert f77572(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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: secure_architecture
Scenario: payment ledger
Domain focus: fault injection & chaos engineering
Primary language: go
Difficulty: hard
Scale/SLO: 99.99% availability
Component: component_xdatuauc
Constraints: include backward compatibility and migration plan, explicit contracts and invariants, include performa... | WithinUsAI/Omega_Genesis_Coder_100k |
Create a small, production-ready Python package for ETL pipelines.
Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml.
Constraints: must handle Windows paths safely, must include type hints.
Difficulty: medium. Ensure the API is testable via dependency injection.
Deliverable: impl... | WithinUsAI/python_GOD_coder_100k |
Task type: mechanized_spec
Scenario: job scheduler
Domain focus: compiler toolchains
Primary language: lean
Difficulty: expert+
Scale/SLO: 100k RPS peak
Component: component_eheoohjf
Constraints: include security threat model (defensive only), include test vectors and fuzz strategy, include deterministic replay plan, a... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: network_protocol
Scenario: payment ledger
Domain focus: static analysis
Primary language: typescript
Difficulty: expert
Scale/SLO: multi-region active-active
Component: component_awlaeual
Constraints: include security threat model (defensive only), avoid data races and undefined behavior, include performance... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of high-performance services for scenario: time-series metrics.
Primary language: typescript.
Difficulty: hard.
Constraints: avoid undefined behavior and data races, include invariants and failure modes, document performance characteristics.
Component: component_cfkofmy.
Assu... | 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: t41euruzx.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Provision infrastructure for a document processing workload providing event-driven workflows.
Target platform: CI (GitHub Actions).
Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling.
Constraints: must be easy to extend, must avoid global state, must include clear error handling, must be... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of gpu compute for scenario: rate limiting gateway.
Primary language: typescript.
Difficulty: medium.
Constraints: avoid undefined behavior and data races, make the interface contract explicit, design for backward compatibility and migrations, assume untrusted inputs; validat... | 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: Go
Framework/tooling: gRPC
Domain: artifact registry
Logic challenge: memory leak in AST cache
Task type: state_machine_patch
Difficulty: hard
Retu... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: robust_e2e_testing
Scenario: real-time notification hub
Domain focus: zero-downtime migrations
Primary language: python
Difficulty: expert+
Scale/SLO: 1M msgs/min
Component: component_smoqcuml
Constraints: avoid data races and undefined behavior, include verification strategy, include deterministic replay pl... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: tla_state_machine
Scenario: multi-tenant event ingestion
Domain focus: program synthesis (safe)
Primary language: tla+
Difficulty: expert+
Scale/SLO: 10k RPS peak
Component: component_kdizfiqk
Constraints: include deterministic replay plan, include backward compatibility and migration plan, include test vect... | WithinUsAI/Omega_Genesis_Coder_100k |
Fix the bug and add pytest tests.
```python
def f53572(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 `m64796.py` and `test_m64796.py`.
*** Begin Patch
*** Update File: m64796.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: mechanized_spec
Scenario: payment ledger
Domain focus: GPU serving
Primary language: lean
Difficulty: expert
Scale/SLO: p99 < 50ms
Component: component_reabaess
Constraints: include failure modes and recovery, assume adversarial inputs; validate everything, explicit contracts and invariants, include performa... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of gpu compute for scenario: document indexing.
Primary language: rust.
Difficulty: expert.
Constraints: make the interface contract explicit, include invariants and failure modes, provide rollout and rollback guidance.
Component: component_uzlajgr.
Assume compliance requires... | WithinUsAI/Elite_GOD_Coder_100k |
Improve typing and robustness of a Python module used for configuration loading.
Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests.
Constraints: must be easy to extend, must be memory-efficient, must handle Windows paths safely.
Difficulty: expert. Ensure the API is testable ... | WithinUsAI/python_GOD_coder_100k |
Fix the bug and add pytest tests.
```python
def f15708(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 `m02244.py` and `test_m02244.py`.
*** Begin Patch
*** Update File: m02244.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: Fix a bug and add tests.
File: gopgnv60.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f90528(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 `m41504.py` and `test_m41504.py`.
*** Begin Patch
*** Update File: m41504.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f58339(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f58339(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement an ML engineering workflow for enterprise SaaS focusing on role-based access control.
Target platform: ML (training + serving).
Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring.
Constraints: must include documentation/comments, 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: x10712f.py
```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: TypeScript
Framework/tooling: Express
Domain: auth service
Logic challenge: memory leak in AST cache
Task type: misleading_symptom_debug
Difficulty:... | 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: ehl9nxyll49y.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: rta10jbjmj.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: o3yha... | 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: benchmark harness
Implementation stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Software delivery problem: idempotent retry design
Task type: a... | WithinUsAI/GOD_Coder_Complete_DataSet |
Add a clear docstring and type hints to this function:
```python
def f39510(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f39510(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: 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: feature flagging.
Primary language: go.
Difficulty: expert.
Constraints: avoid undefined behavior and data races, assume untrusted inputs; validate and sanitize, include tests or verification strategy.
Component: component_geqnsuo.
A... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of edge/IoT for scenario: time-series metrics.
Primary language: typescript.
Difficulty: hard.
Constraints: make the interface contract explicit, include invariants and failure modes, avoid undefined behavior and data races.
Component: component_zrpyqhd.
Assume compliance req... | 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: reporting engine
Stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Cross-layer incident: migration ordering failure
Task type: cache_consistency_pa... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix a subtle bug in a Python module used for log processing.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must provide clear error messages, must be easy to extend.
Difficulty: expert. Provide helpful exceptions with actionable messages.
Deliverable: implemen... | WithinUsAI/python_GOD_coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: Java
Framework/tooling: JUnit
Domain: job scheduler
Logic challenge: schema drift during deployment
Task type: edge_case_hardening
Difficulty: mediu... | 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 domain: observability collector
Implementation stack: Airflow, dbt, DuckDB, MinIO, pytest
Software delivery problem: schema drift during deployment
Ta... | WithinUsAI/GOD_Coder_Complete_DataSet |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.