text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
Task type: compiler_frontend
Scenario: job scheduler
Domain focus: program synthesis (safe)
Primary language: python
Difficulty: hard
Scale/SLO: 10k RPS peak
Component: component_phgooluv
Constraints: include security threat model (defensive only), include backward compatibility and migration plan, include verification... | WithinUsAI/Omega_Genesis_Coder_100k |
Add a clear docstring and type hints to this function:
```python
def f69639(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f69639(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: Fix a bug and add tests.
File: rds24h836j3k.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions
Language: JavaScript
Dependency challenge: build reproducibility failure
Task ty... | WithinUsAI/GOD_Coder_Complete_DataSet |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: Python
Framework/tooling: Celery
Domain: model serving gateway
Logic challenge: build reproducibility failure
Task type: multi_service_security_patc... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of gpu compute for scenario: job scheduler.
Primary language: python.
Difficulty: medium.
Constraints: make the interface contract explicit, avoid undefined behavior and data races, include invariants and failure modes, design for backward compatibility and migrations.
Compon... | WithinUsAI/Elite_GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f77218(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 `m68174.py` and `test_m68174.py`.
*** Begin Patch
*** Update File: m68174.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f96049`.
```python
def f96049(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m28007 import f96049
def test_known():
assert f96049(3,4) == 25
def test_zero():
assert f96049(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of gpu compute for scenario: event ingestion.
Primary language: rust.
Difficulty: hard.
Constraints: include tests or verification strategy, design for backward compatibility and migrations, include invariants and failure modes, assume untrusted inputs; validate and sanitize,... | WithinUsAI/Elite_GOD_Coder_100k |
Refactor a Python module used for report generation into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must provide clear error messages, must include tests, must avoid global state, must be streaming-friendly.
Difficulty: hard. ... | WithinUsAI/python_GOD_coder_100k |
Optimize while preserving behavior and order.
```python
def f55296(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m79328.py` with types and O(n) average.
```python
# m79328.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: perf_microarchitecture
Scenario: edge sync
Domain focus: GPU serving
Primary language: sql
Difficulty: hard
Scale/SLO: p99 < 50ms
Component: component_hshlzvvd
Constraints: assume adversarial inputs; validate everything, include test vectors and fuzz strategy, explicit contracts and invariants, include secur... | WithinUsAI/Omega_Genesis_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C05962:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m85074.py` and `test_m85074.py`.
```python
# m85074.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: am3_uq3bk54.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: p6gt7ab_pk2k.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of operating systems for scenario: feature flagging.
Primary language: python.
Difficulty: medium.
Constraints: include tests or verification strategy, design for backward compatibility and migrations, include invariants and failure modes.
Component: component_ekvtrvk.
Assume... | WithinUsAI/Elite_GOD_Coder_100k |
Design a production system for IoT telemetry supporting rate limiting.
Target platform: mobile (iOS Swift).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must be easy to extend, must include clear error handling, must be observable (logs/metrics/traces), must include docume... | WithinUsAI/GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: SQL
Framework/tooling: DuckDB
Domain: job scheduler
Logic challenge: race condition on worker shutdown
Task type: state_machine_patch
Difficulty: ha... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write pytest tests for `f52655`.
```python
def f52655(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m64665 import f52655
def test_known():
assert f52655(3,4) == 25
def test_zero():
assert f52655(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement multi-tenant isolation for a healthtech product.
Target platform: backend (Python FastAPI).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must include clear error handling, must be performant under load, must include type hints where applicable, must include tests, must a... | 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: b8etldihi45d.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: b_xiq... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize a Python workflow for rate limiting.
Requirements: provide an optimized implementation and a small benchmark harness.
Constraints: must be easy to extend, must provide clear error messages, must handle Windows paths safely, must include docstrings.
Difficulty: expert. Support both Windows and POSIX paths corre... | WithinUsAI/python_GOD_coder_100k |
Design a small, production-grade Python API for validation.
Requirements: define data models and interfaces, implement reference version, include tests.
Constraints: must handle Windows paths safely, must include tests.
Difficulty: hard. Include a small CLI example if relevant.
Deliverable: production-ready reference ... | 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: Rust
Dependency challenge: multi-tenant access leak
Task type: version_confl... | 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 |
Provision infrastructure for a fraud detection workload providing file uploads.
Target platform: ML (scikit + batch).
Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling.
Constraints: must be performant under load, must be secure-by-default, must be production-ready.
Difficulty: medium. A... | 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 |
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: ylsbiaf.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f42303(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 `m20329.py` and `test_m20329.py`.
*** Begin Patch
*** Update File: m20329.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Build a data pipeline for a gaming product around A/B experimentation.
Target platform: data (SQL + Python).
Requirements: schema, ingestion, validation, backfills, and tests.
Constraints: must include tests, must be easy to extend, must include documentation/comments, must be secure-by-default, must avoid global state... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of distributed systems for scenario: edge sync.
Primary language: typescript.
Difficulty: medium.
Constraints: design for backward compatibility and migrations, avoid undefined behavior and data races, assume untrusted inputs; validate and sanitize, make the interface contrac... | 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: c8y8c... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C30751:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m40827.py` and `test_m40827.py`.
```python
# m40827.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of compilers for scenario: job scheduler.
Primary language: bash.
Difficulty: medium.
Constraints: include invariants and failure modes, include tests or verification strategy, avoid undefined behavior and data races, make the interface contract explicit, provide rollout and ... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of realtime systems for scenario: document indexing.
Primary language: rust.
Difficulty: expert.
Constraints: include invariants and failure modes, include tests or verification strategy, make the interface contract explicit, document performance characteristics.
Component: c... | 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: ii2oo... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f37286`.
```python
def f37286(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m33898 import f37286
def test_known():
assert f37286(3,4) == 25
def test_zero():
assert f37286(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of edge/IoT for scenario: rate limiting gateway.
Primary language: python.
Difficulty: expert.
Constraints: make the interface contract explicit, avoid undefined behavior and data races, provide rollout and rollback guidance.
Component: component_hjbrmat.
Assume crash-only de... | WithinUsAI/Elite_GOD_Coder_100k |
Create a comprehensive test plan and automated tests for analytics pipeline in a calendar/scheduling product.
Target platform: backend (Node.js).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must be secure-by-default, must be production-ready, must include clear erro... | WithinUsAI/GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: System domain: payments platform
Stack: Airflow, dbt, DuckDB, MinIO, pytest
Cross-layer incident: multi-tenant access leak
Task type: observability_debug_fix
... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: storage_engine
Scenario: real-time notification hub
Domain focus: formal verification
Primary language: rust
Difficulty: expert+
Scale/SLO: 50 TB/day ingestion
Component: component_touzqzbo
Constraints: include test vectors and fuzz strategy, include deterministic replay plan, include security threat model (... | 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: repo automation
Primary language: C#
Framework/tooling: ASP.NET Core
Reported problem: race condition on worker shutdown
Task type: api_end... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build a data pipeline for a enterprise SaaS product around multi-tenant isolation.
Target platform: data (SQL + Python).
Requirements: schema, ingestion, validation, backfills, and tests.
Constraints: must include clear error handling, must be easy to extend, must be production-ready, must be performant under load, mus... | WithinUsAI/GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Repository domain: document processing API
Primary language: Rust
Framework/tooling: Serde
Reported problem: JWT refresh token rotation
Task type: feature_del... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: compiler_frontend
Scenario: real-time notification hub
Domain focus: zero-downtime migrations
Primary language: sql
Difficulty: hard
Scale/SLO: 1M msgs/min
Component: component_unrctdsc
Constraints: assume adversarial inputs; validate everything, include failure modes and recovery, include performance model ... | 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: notification service
Implementation stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Software delivery problem: dead-letter queue ... | 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: s5md6h2.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: Next.js
Domain: repo automation
Logic challenge: CI failures after dependency upgrade
Task type: security_logic_intera... | WithinUsAI/GOD_Coder_Complete_DataSet |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C58312:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m66024.py` and `test_m66024.py`.
```python
# m66024.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C88359:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m60643.py` and `test_m60643.py`.
```python
# m60643.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: mqjw8lqr_.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 |
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: search service
Stack: Rust, Axum, SQLx, Redis, Tokio, Docker
Cross-layer incident: migration ordering failure
Task type: schema_contract_alignm... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: perf_microarchitecture
Scenario: identity and access
Domain focus: data lineage & governance
Primary language: bash
Difficulty: expert
Scale/SLO: p99 < 50ms
Component: component_obfocsbp
Constraints: include failure modes and recovery, include deterministic replay plan, include verification strategy, include... | 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: repo automation
Primary language: Java
Framework/tooling: Hibernate
Reported problem: stale cache invalidation
Task type: test_repair
Diffi... | 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: GitHub Actions, Docker Compose, Kubernetes, Terraform
Software delivery problem: streaming timeo... | 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: b7urafo.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: Project stack: Airflow, dbt, DuckDB, MinIO, pytest
Language: SQL
Dependency challenge: websocket reconnect storm
Task type: cve_dependency_remediation
Difficu... | 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: document processing API
Implementation stack: Airflow, dbt, DuckDB, MinIO, pytest
Software delivery problem: build reproducibility failure
Tas... | WithinUsAI/GOD_Coder_Complete_DataSet |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: dab1z... | 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: team dashboard
Stack: Airflow, dbt, DuckDB, MinIO, pytest
Cross-layer incident: mismatched API contract
Task type: full_stack_bug_fix
Difficult... | WithinUsAI/GOD_Coder_Complete_DataSet |
Optimize while preserving behavior and order.
```python
def f97741(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m13963.py` with types and O(n) average.
```python
# m13963.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 security engineering (defensive) for scenario: rate limiting gateway.
Primary language: rust.
Difficulty: medium.
Constraints: document performance characteristics, avoid undefined behavior and data races, make the interface contract explicit, assume untrusted inputs; vali... | 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: xhuxsncc.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: hrvqa... | 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: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Software delivery problem: log redaction failur... | 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: vltxj3.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: C#
Framework/tooling: ASP.NET Core
Domain: repo automation
Logic challenge: monorepo toolchain skew
Task type: misleading_symptom_debug
Difficulty: ... | WithinUsAI/GOD_Coder_Complete_DataSet |
Create a comprehensive test plan and automated tests for idempotent payments in a logistics product.
Target platform: infra (Docker + Kubernetes).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must be production-ready, must be secure-by-default, must be easy to extend... | 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: y_vs_je4tkn7.py
... | WithinUsAI/Royal_Ghost_Coder_501k |
Write a thorough test suite for a Python component used for validation.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must handle Windows paths safely, must be streaming-friendly, must include tests.
Difficulty: expert. Support both Windows and POSIX paths correctly.
Deliverable... | 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 |
Write pytest tests for `f35396`.
```python
def f35396(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m33628 import f35396
def test_known():
assert f35396(3,4) == 25
def test_zero():
assert f35396(0,0) == 0
def test_property_nonne... | 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 handle Windows paths safely, must be streaming-friendly.
Difficulty: easy. Avoid quadratic behavior on large inputs.
Deliverable: implementation + test... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of sre/observability for scenario: time-series metrics.
Primary language: go.
Difficulty: expert.
Constraints: document performance characteristics, assume untrusted inputs; validate and sanitize, include invariants and failure modes, design for backward compatibility and mig... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: secure_architecture
Scenario: real-time notification hub
Domain focus: query planning
Primary language: typescript
Difficulty: expert
Scale/SLO: p99 < 150ms
Component: component_cautatay
Constraints: include verification strategy, include test vectors and fuzz strategy, include performance model and limits, ... | WithinUsAI/Omega_Genesis_Coder_100k |
Design a production system for fraud detection supporting webhooks.
Target platform: infra (Docker + Kubernetes).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must include documentation/comments, must be performant under load, must include clear error handling, must be eas... | WithinUsAI/GOD_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: C++
Framework/tooling: Catch2
Domain: data pipeline
Logic challenge: N+1 query explosion
Task type: transaction_integrity_fix
Difficulty: hard
Retu... | WithinUsAI/GOD_Coder_Complete_DataSet |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C70132:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m36164.py` and `test_m36164.py`.
```python
# m36164.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project domain: job scheduler
Implementation stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker
Software delivery problem: CI failures after dependency upgr... | WithinUsAI/GOD_Coder_Complete_DataSet |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: tha5z... | 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: h3ur_... | 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 |
Fix a subtle bug in a Python module used for metrics aggregation.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must be memory-efficient, must handle Windows paths safely, stdlib-only, must include tests.
Difficulty: hard. Avoid quadratic behavior on large inpu... | 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: ar0fy4plfl.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: C++
Framework/tooling: STL
Domain: developer platform
Logic challenge: race condition on worker shutdown
Task type: parser_validation_logic
Difficul... | 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 |
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: STL
Domain: data pipeline
Logic challenge: gRPC retry storm
Task type: parser_validation_logic
Difficulty: hard
Return a rig... | WithinUsAI/GOD_Coder_Complete_DataSet |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Project stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Language: Python
Dependency challenge: build reproducibility failure
Task type: lockfile_... | WithinUsAI/GOD_Coder_Complete_DataSet |
Implement webhooks for a calendar/scheduling product.
Target platform: backend (Go).
Requirements: provide production-ready code, configuration, and tests.
Constraints: must include type hints where applicable, must include documentation/comments, must include tests, must be easy to extend.
Difficulty: easy. Include ro... | WithinUsAI/GOD_Coder_100k |
Task type: network_protocol
Scenario: streaming ETL
Domain focus: data lineage & governance
Primary language: bash
Difficulty: expert+
Scale/SLO: 1M msgs/min
Component: component_jsnpnhyb
Constraints: include verification strategy, assume adversarial inputs; validate everything, include deterministic replay plan, expli... | WithinUsAI/Omega_Genesis_Coder_100k |
Provision infrastructure for a logistics workload providing caching.
Target platform: backend (Go).
Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling.
Constraints: must avoid global state, must be production-ready, must include type hints where applicable, must be secure-by-default.
Dif... | 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 |
Fix the bug and add pytest tests.
```python
def f57476(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 `m51068.py` and `test_m51068.py`.
*** Begin Patch
*** Update File: m51068.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: compiler_frontend
Scenario: rate limit gateway
Domain focus: static analysis
Primary language: bash
Difficulty: hard
Scale/SLO: 1M msgs/min
Component: component_sdkjqjuk
Constraints: explicit contracts and invariants, include verification strategy, avoid data races and undefined behavior, assume adversarial ... | 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: eirsx4dd.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f64844`.
```python
def f64844(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m80692 import f64844
def test_known():
assert f64844(3,4) == 25
def test_zero():
assert f64844(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of databases for scenario: analytics pipeline.
Primary language: go.
Difficulty: medium.
Constraints: provide rollout and rollback guidance, make the interface contract explicit, avoid undefined behavior and data races, design for backward compatibility and migrations, assume... | 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: Produce an offline-first self-evolving code assi... | 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.