text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
Build an elite-grade solution in the domain of ml systems for scenario: rate limiting gateway.
Primary language: go.
Difficulty: hard.
Constraints: document performance characteristics, assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races.
Component: component_mlbhsrj.
Assume 50k RPS ... | WithinUsAI/Elite_GOD_Coder_100k |
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: stdlib-only, must provide clear error messages, must be memory-efficient, must include tests.
Difficulty: medium. Guarantee deterministic out... | WithinUsAI/python_GOD_coder_100k |
Build a data pipeline for a gaming product around multi-tenant isolation.
Target platform: data (SQL + Python).
Requirements: schema, ingestion, validation, backfills, and tests.
Constraints: must be secure-by-default, must include documentation/comments, must be easy to extend.
Difficulty: medium. Assume PII must be p... | 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 |
Design a production system for customer support supporting multi-tenant isolation.
Target platform: infra (Terraform).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must avoid global state, must include tests, must be easy to extend.
Difficulty: medium. Assume 10k RPS peak ... | WithinUsAI/GOD_Coder_100k |
Build a data pipeline for a content moderation product around analytics pipeline.
Target platform: data (SQL + Python).
Requirements: schema, ingestion, validation, backfills, and tests.
Constraints: must avoid global state, must be performant under load, must be secure-by-default.
Difficulty: medium. Assume schema evo... | 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: v1ka0tay4v.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: Rust
Framework/tooling: SQLx
Domain: reporting engine
Logic challenge: timezone bug in reporting
Task type: cross_stack_outage_fix
Difficulty: exper... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: job scheduler.
Primary language: sql.
Difficulty: expert.
Constraints: document performance characteristics, avoid undefined behavior and data races, include tests or verification strategy, make the interface contract explicit... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of distributed systems for scenario: rate limiting gateway.
Primary language: python.
Difficulty: medium.
Constraints: assume untrusted inputs; validate and sanitize, document performance characteristics, include tests or verification strategy, 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: rul3ogprnq.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: sxihf... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: tla_state_machine
Scenario: document indexing pipeline
Domain focus: program synthesis (safe)
Primary language: tla+
Difficulty: expert+
Scale/SLO: p99 < 50ms
Component: component_onmkviox
Constraints: include verification strategy, include failure modes and recovery, include performance model and limits, in... | 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: ht4_cfd.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: lgtzien.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: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of distributed systems for scenario: document indexing.
Primary language: go.
Difficulty: medium.
Constraints: design for backward compatibility and migrations, include invariants and failure modes, document performance characteristics, avoid undefined behavior and data races... | 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: lyexwjt2huip.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: a8yelp3apbk.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: Next.js
Domain: search service
Logic challenge: migration ordering failure
Task type: transaction_integrity_fix
Diffic... | 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 |
Task type: kernel_syscall_design
Scenario: document indexing pipeline
Domain focus: stream processing
Primary language: cpp
Difficulty: expert+
Scale/SLO: p99 < 150ms
Component: component_pisvxxzj
Constraints: include security threat model (defensive only), explicit contracts and invariants, include verification strate... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: network_protocol
Scenario: graph query service
Domain focus: consensus & replication
Primary language: sql
Difficulty: hard
Scale/SLO: 99.99% availability
Component: component_ihbfpsoy
Constraints: include backward compatibility and migration plan, include verification strategy, include security threat model... | WithinUsAI/Omega_Genesis_Coder_100k |
Write pytest tests for `f26258`.
```python
def f26258(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m60894 import f26258
def test_known():
assert f26258(3,4) == 25
def test_zero():
assert f26258(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: Project domain: benchmark harness
Implementation stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Software delivery problem: transaction boundary bug
Task type: ... | 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: sr7omny2zmlx.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: v7pj3... | WithinUsAI/Royal_Ghost_Coder_501k |
Write a thorough test suite for a Python component used for task scheduling.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must handle Windows paths safely, stdlib-only, must avoid global state, must include docstrings.
Difficulty: hard. Guarantee deterministic output ordering.
... | 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 |
Task type: secure_architecture
Scenario: multi-tenant event ingestion
Domain focus: kernel primitives
Primary language: python
Difficulty: expert
Scale/SLO: p99 < 150ms
Component: component_tloqdxgt
Constraints: include test vectors and fuzz strategy, include failure modes and recovery, include backward compatibility a... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: sre_incident_sim
Scenario: document indexing pipeline
Domain focus: consensus & replication
Primary language: rust
Difficulty: hard
Scale/SLO: p99 < 150ms
Component: component_lktvjwid
Constraints: include performance model and limits, include security threat model (defensive only), explicit contracts and in... | WithinUsAI/Omega_Genesis_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Repository domain: benchmark harness
Primary language: Java
Framework/tooling: Maven
Reported problem: log redaction failure
Task type: code_review_fix
Diffic... | 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: q3jn23jq.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f41952(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 `m63136.py` and `test_m63136.py`.
*** Begin Patch
*** Update File: m63136.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: C++
Framework/tooling: Catch2
Domain: search service
Logic challenge: rate-limit bypass
Task type: algorithmic_correctness
Difficulty: hard
Return ... | WithinUsAI/GOD_Coder_Complete_DataSet |
Design a production system for social media supporting real-time notifications.
Target platform: mobile (iOS Swift).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must be production-ready, must include type hints where applicable, must include documentation/comments.
Diffic... | WithinUsAI/GOD_Coder_100k |
Design a small, production-grade Python API for configuration loading.
Requirements: define data models and interfaces, implement reference version, include tests.
Constraints: must include type hints, must handle Windows paths safely.
Difficulty: medium. Avoid quadratic behavior on large inputs.
Deliverable: correcte... | 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 |
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: document processing API
Implementation stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Software delivery problem: log redaction f... | WithinUsAI/GOD_Coder_Complete_DataSet |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: Bash
Framework/tooling: GNU coreutils
Domain: benchmark harness
Logic challenge: JWT refresh token rotation
Task type: algorithmic_correctness
Diffi... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: ml_system_design
Scenario: payment ledger
Domain focus: query planning
Primary language: sql
Difficulty: expert
Scale/SLO: multi-region active-active
Component: component_mwyujzlr
Constraints: include backward compatibility and migration plan, include security threat model (defensive only), include test vect... | 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 |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C31748:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m48596.py` and `test_m48596.py`.
```python
# m48596.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of distributed systems for scenario: multi-tenant SaaS.
Primary language: rust.
Difficulty: medium.
Constraints: document performance characteristics, avoid undefined behavior and data races, include tests or verification strategy, provide rollout and rollback guidance, desig... | WithinUsAI/Elite_GOD_Coder_100k |
Implement file uploads for a e-commerce product.
Target platform: backend (Python FastAPI).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must be easy to extend, must include type hints where applicable, must include tests.
Difficulty: medium. Assume strict latency budget (p95 < 20... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of networking for scenario: document indexing.
Primary language: go.
Difficulty: hard.
Constraints: avoid undefined behavior and data races, assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance, document performance characteristics, include in... | 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: v4lji... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: tla_state_machine
Scenario: graph query service
Domain focus: formal verification
Primary language: tla+
Difficulty: expert+
Scale/SLO: 99.99% availability
Component: component_gxckrhbn
Constraints: include failure modes and recovery, explicit contracts and invariants, include backward compatibility and migr... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: compiler_frontend
Scenario: identity and access
Domain focus: GPU serving
Primary language: bash
Difficulty: hard
Scale/SLO: 100k RPS peak
Component: component_jcufchui
Constraints: avoid data races and undefined behavior, include backward compatibility and migration plan, include test vectors and fuzz strat... | WithinUsAI/Omega_Genesis_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C72634:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m74818.py` and `test_m74818.py`.
```python
# m74818.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f04902(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 `m14986.py` and `test_m14986.py`.
*** Begin Patch
*** Update File: m14986.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement a concurrent Python solution for CLI tooling.
Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests.
Constraints: must include type hints, must provide clear error messages, must avoid global state, must include docstrings.
Difficulty: hard. Avoid quadratic behavior o... | 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: pjk3zhzldk.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: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker
Language: TypeScript
Dependency challenge: async cancellation bug
Task type: build_reproducibilit... | WithinUsAI/GOD_Coder_Complete_DataSet |
Add a clear docstring and type hints to this function:
```python
def f47918(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f47918(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: 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: dmqqcy5.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of compilers for scenario: edge sync.
Primary language: go.
Difficulty: expert.
Constraints: design for backward compatibility and migrations, make the interface contract explicit, include invariants and failure modes.
Component: component_spytdng.
Assume strict auditability ... | 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: mbnxj4uxz3p.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Design a small, production-grade Python API for data modeling.
Requirements: define data models and interfaces, implement reference version, include tests.
Constraints: must avoid global state, must be streaming-friendly, must include tests, must be memory-efficient.
Difficulty: expert. Ensure the API is testable via d... | 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 |
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: notification service
Logic challenge: multi-tenant access leak
Task type: algorithmic_correctness
Difficulty: ... | WithinUsAI/GOD_Coder_Complete_DataSet |
Debug and fix a subtle production bug related to search + pagination in a enterprise SaaS service.
Target platform: mobile (Android Kotlin).
Requirements: identify root cause, provide patch, and add regression tests.
Constraints: must include type hints where applicable, must include tests, must be production-ready.
Di... | 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: nr2pszo7ox1.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor a Python module used for event dispatching 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 provide clear error messages.
Difficulty: medium. Avoid quadratic behavior on large inp... | WithinUsAI/python_GOD_coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: rwld7... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: secure_architecture
Scenario: multi-tenant event ingestion
Domain focus: large-scale ML systems
Primary language: python
Difficulty: expert
Scale/SLO: 1M msgs/min
Component: component_uctdmmtc
Constraints: include test vectors and fuzz strategy, include security threat model (defensive only), include backwar... | WithinUsAI/Omega_Genesis_Coder_100k |
Perform a code review for a enterprise SaaS PR implementing background jobs.
Target platform: backend (Python FastAPI).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must include documentation/comments, must be secure-by-default, must be easy to extend.
Difficulty... | WithinUsAI/GOD_Coder_100k |
Create a small, production-ready Python package for task scheduling.
Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml.
Constraints: must include docstrings, must include type hints, must provide clear error messages, must include tests.
Difficulty: medium. Provide helpful excepti... | WithinUsAI/python_GOD_coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C57974:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m65998.py` and `test_m65998.py`.
```python
# m65998.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C94725:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m68825.py` and `test_m68825.py`.
```python
# m68825.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Design CI/CD for a customer support service delivering webhooks.
Target platform: infra (Terraform).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must be easy to extend, must include clear error handling, must be production-ready.
Difficulty: easy. Assume mobile clients a... | WithinUsAI/GOD_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C67469:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m82113.py` and `test_m82113.py`.
```python
# m82113.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of stream processing for scenario: event ingestion.
Primary language: typescript.
Difficulty: medium.
Constraints: include tests or verification strategy, document performance characteristics, include invariants and failure modes, assume untrusted inputs; validate and sanitiz... | WithinUsAI/Elite_GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: Rust
Framework/tooling: Serde
Domain: developer platform
Logic challenge: async cancellation bug
Task type: monorepo_toolchain_recovery
Difficulty: ... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write pytest tests for `f92154`.
```python
def f92154(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m56022 import f92154
def test_known():
assert f92154(3,4) == 25
def test_zero():
assert f92154(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: inventory & ordering.
Primary language: rust.
Difficulty: medium.
Constraints: document performance characteristics, assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races.
Component: component_jufjce... | WithinUsAI/Elite_GOD_Coder_100k |
Implement idempotent payments for a content moderation product.
Target platform: mobile (iOS Swift).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must be production-ready, must be secure-by-default, must be observable (logs/metrics/traces), must avoid global state, must be perform... | 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: r6rijdfljx5.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Create a comprehensive test plan and automated tests for search + pagination in a healthtech product.
Target platform: ML (PyTorch + serving).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must include clear error handling, must include documentation/comments, must in... | 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: zynr0... | WithinUsAI/Royal_Ghost_Coder_501k |
Add a clear docstring and type hints to this function:
```python
def f14667(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f14667(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
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 be easy to extend, must provide clear error messages, must include type hints, must be memory-efficient.
Difficulty: ... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of gpu compute for scenario: feature flagging.
Primary language: python.
Difficulty: expert.
Constraints: make the interface contract explicit, include tests or verification strategy, design for backward compatibility and migrations, avoid undefined behavior and data races.
C... | WithinUsAI/Elite_GOD_Coder_100k |
Write pytest tests for `f98365`.
```python
def f98365(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m71195 import f98365
def test_known():
assert f98365(3,4) == 25
def test_zero():
assert f98365(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: vz2by... | 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: JavaScript
Dependency challenge: partial checkpoint corruption
Task ty... | 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: fuf1soja1f_.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: secure_architecture
Scenario: time-series metrics store
Domain focus: data lineage & governance
Primary language: go
Difficulty: expert+
Scale/SLO: 1M msgs/min
Component: component_dvpsrvjg
Constraints: assume adversarial inputs; validate everything, include failure modes and recovery, 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: fsxwhhtw0.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f22069(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 `m88867.py` and `test_m88867.py`.
*** Begin Patch
*** Update File: m88867.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of distributed systems for scenario: document indexing.
Primary language: go.
Difficulty: hard.
Constraints: avoid undefined behavior and data races, design for backward compatibility and migrations, make the interface contract explicit, provide rollout and rollback guidance.... | 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: sfphj... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of sre/observability for scenario: payment processing.
Primary language: typescript.
Difficulty: medium.
Constraints: document performance characteristics, provide rollout and rollback guidance, design for backward compatibility and migrations.
Component: component_qqtnjct.
A... | 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: tnb0xr.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f88631(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 `m41233.py` and `test_m41233.py`.
*** Begin Patch
*** Update File: m41233.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix a subtle bug in a Python module used for file synchronization.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: stdlib-only, must be memory-efficient.
Difficulty: expert. Handle empty inputs and malformed records gracefully.
Deliverable: production-ready refe... | WithinUsAI/python_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 be easy to extend, must handle Windows paths safely, must avoid global state, must include docstrings.
Difficulty: easy. Include a small ... | WithinUsAI/python_GOD_coder_100k |
Refactor a Python module used for ETL pipelines into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: stdlib-only, must avoid global state, must include tests.
Difficulty: easy. Provide helpful exceptions with actionable messages.
... | WithinUsAI/python_GOD_coder_100k |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.