text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
Task type: static_analyzer
Scenario: payment ledger
Domain focus: real-time scheduling
Primary language: rust
Difficulty: expert+
Scale/SLO: multi-region active-active
Component: component_dbbrfftf
Constraints: include deterministic replay plan, include backward compatibility and migration plan, assume adversarial inpu... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: formal_proof_sketch
Scenario: document indexing pipeline
Domain focus: stream processing
Primary language: bash
Difficulty: hard
Scale/SLO: 10k RPS peak
Component: component_yzcqighf
Constraints: include test vectors and fuzz strategy, explicit contracts and invariants, avoid data races and undefined behavio... | 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: kwenhh7.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement an ML engineering workflow for IoT telemetry 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 tests, must be observabl... | WithinUsAI/GOD_Coder_100k |
Task type: mechanized_spec
Scenario: streaming ETL
Domain focus: observability platforms
Primary language: lean
Difficulty: expert+
Scale/SLO: p99 < 150ms
Component: component_kaxfmbae
Constraints: include performance model and limits, include failure modes and recovery, include backward compatibility and migration pla... | WithinUsAI/Omega_Genesis_Coder_100k |
Fix the bug and add pytest tests.
```python
def f71249(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 `m81607.py` and `test_m81607.py`.
*** Begin Patch
*** Update File: m81607.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: pginn... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of networking for scenario: event ingestion.
Primary language: python.
Difficulty: medium.
Constraints: provide rollout and rollback guidance, document performance characteristics, design for backward compatibility and migrations.
Component: component_qcnhmgx.
Assume 50k RPS ... | WithinUsAI/Elite_GOD_Coder_100k |
Optimize while preserving behavior and order.
```python
def f57210(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m51030.py` with types and O(n) average.
```python
# m51030.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: lockfree_primitive
Scenario: streaming ETL
Domain focus: stream processing
Primary language: cpp
Difficulty: expert
Scale/SLO: p99 < 150ms
Component: component_iwydjafg
Constraints: include deterministic replay plan, include failure modes and recovery, include test vectors and fuzz strategy, include verifica... | WithinUsAI/Omega_Genesis_Coder_100k |
Secure-by-default implementation for offline-first sync in a enterprise SaaS product.
Target platform: infra (Terraform).
Requirements: threat model, input validation, authz/authn guidance, safe storage, tests.
Constraints: must be observable (logs/metrics/traces), must include clear error handling, must be performant ... | 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: p8911lh50s.py
``... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix the bug and add pytest tests.
```python
def f89620(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 `m55660.py` and `test_m55660.py`.
*** Begin Patch
*** Update File: m55660.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: Project domain: model serving gateway
Implementation stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions
Software delivery problem: race con... | WithinUsAI/GOD_Coder_Complete_DataSet |
Perform a code review for a developer tooling PR implementing offline-first sync.
Target platform: backend (Python FastAPI).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must be production-ready, must include documentation/comments, must include tests, must be ob... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f33167(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 `m61881.py` and `test_m61881.py`.
*** Begin Patch
*** Update File: m61881.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: Bash
Framework/tooling: awk
Domain: notification service
Logic challenge: memory leak in AST cache
Task type: backwards_compatible_redesign
Difficul... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write pytest tests for `f07138`.
```python
def f07138(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m86734 import f07138
def test_known():
assert f07138(3,4) == 25
def test_zero():
assert f07138(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor a Python module used for validation into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must be easy to extend, stdlib-only, must avoid global state.
Difficulty: expert. Avoid quadratic behavior on large inputs.
Delivera... | 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 |
Optimize while preserving behavior and order.
```python
def f21932(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m60276.py` with types and O(n) average.
```python
# m60276.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Fix a bug and add tests.
File: t4z5yk.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement a web feature for content moderation: search + pagination.
Target platform: web (React + TypeScript).
Requirements: accessible UI, API integration, and tests.
Constraints: must be production-ready, must include clear error handling, must be easy to extend.
Difficulty: medium. Assume mobile clients are occasio... | 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: Rust
Framework/tooling: Serde
Domain: developer platform
Logic challenge: async cancellation bug
Task type: performance_bottleneck_patch
Difficulty:... | 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: JWT refresh token rotation
Task type: lockfile_rep... | 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: bg4x4... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: distributed_algorithm
Scenario: payment ledger
Domain focus: constraint solving
Primary language: typescript
Difficulty: expert
Scale/SLO: 99.99% availability
Component: component_ciphtysk
Constraints: include verification strategy, avoid data races and undefined behavior, include backward compatibility and ... | WithinUsAI/Omega_Genesis_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: JavaScript
Framework/tooling: Vite
Domain: observability collector
Logic challenge: stale cache invalidation
Task type: state_machine_patch
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 |
Fix the bug and add pytest tests.
```python
def f46777(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 `m78111.py` and `test_m78111.py`.
*** Begin Patch
*** Update File: m78111.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f86780(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m69540.py` with types and O(n) average.
```python
# m69540.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: y82gr... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: secure_architecture
Scenario: payment ledger
Domain focus: consensus & replication
Primary language: typescript
Difficulty: expert
Scale/SLO: 10k RPS peak
Component: component_ozmozwgq
Constraints: include backward compatibility and migration plan, include test vectors and fuzz strategy, explicit contracts a... | WithinUsAI/Omega_Genesis_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: YAML
Framework/tooling: Docker Compose
Domain: document processing API
Logic challenge: build reproducibility failure
Task type: backwards_compatibl... | 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: TypeScript
Framework/tooling: Vitest
Domain: search service
Logic challenge: path traversal on downloads
Task type: monorepo_toolchain_recovery
Diff... | WithinUsAI/GOD_Coder_Complete_DataSet |
Optimize while preserving behavior and order.
```python
def f59162(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m94166.py` with types and O(n) average.
```python
# m94166.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f00580`.
```python
def f00580(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m42940 import f00580
def test_known():
assert f00580(3,4) == 25
def test_zero():
assert f00580(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of high-performance services for scenario: event ingestion.
Primary language: rust.
Difficulty: medium.
Constraints: avoid undefined behavior and data races, design for backward compatibility and migrations, provide rollout and rollback guidance, include tests or verification... | 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: reporting engine
Implementation stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Software delivery problem: memory leak in AST cache
... | 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: Airflow, dbt, DuckDB, MinIO, pytest
Language: TypeScript
Dependency challenge: invalid rollback sequence
Task type: migration_patch
Difficulty:... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: compiler_frontend
Scenario: streaming ETL
Domain focus: runtime systems
Primary language: go
Difficulty: expert+
Scale/SLO: 50 TB/day ingestion
Component: component_expobdlo
Constraints: avoid data races and undefined behavior, include verification strategy, include deterministic replay plan, include backwar... | WithinUsAI/Omega_Genesis_Coder_100k |
Optimize a Python workflow for CLI tooling.
Requirements: provide an optimized implementation and a small benchmark harness.
Constraints: must provide clear error messages, must include type hints, must be streaming-friendly.
Difficulty: easy. Include a small CLI example if relevant.
Deliverable: API + reference imple... | 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: lpfpxekz.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f53238`.
```python
def f53238(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m79034 import f53238
def test_known():
assert f53238(3,4) == 25
def test_zero():
assert f53238(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: Language: JavaScript
Framework/tooling: React
Domain: payments platform
Logic challenge: monorepo toolchain skew
Task type: parser_validation_logic
Difficulty... | 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: Pydantic
Domain: job scheduler
Logic challenge: build reproducibility failure
Task type: misleading_symptom_debug
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: Fix a bug and add tests.
File: ogekxtsp.py
```p... | WithinUsAI/Royal_Ghost_Coder_501k |
Improve typing and robustness of a Python module used for parsing.
Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests.
Constraints: must include type hints, must handle Windows paths safely, must include tests.
Difficulty: expert. Provide helpful exceptions with actionable mes... | WithinUsAI/python_GOD_coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C93032:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m99464.py` and `test_m99464.py`.
```python
# m99464.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C21110:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m55470.py` and `test_m55470.py`.
```python
# m55470.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: Optimize while preserving behavior.
File: so9e0... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: mechanized_spec
Scenario: document indexing pipeline
Domain focus: compiler toolchains
Primary language: lean
Difficulty: expert
Scale/SLO: 1M msgs/min
Component: component_vjmipjgc
Constraints: include test vectors and fuzz strategy, explicit contracts and invariants, include verification strategy, assume a... | 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: model serving gateway
Primary language: TypeScript
Framework/tooling: Node.js
Reported problem: stale cache invalidation
Task type: perform... | WithinUsAI/GOD_Coder_Complete_DataSet |
Optimize while preserving behavior and order.
```python
def f68986(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m66998.py` with types and O(n) average.
```python
# m66998.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Build a data pipeline for a content moderation product around idempotent payments.
Target platform: data (SQL + Python).
Requirements: schema, ingestion, validation, backfills, and tests.
Constraints: must include tests, must include clear error handling, must be observable (logs/metrics/traces).
Difficulty: easy. Assu... | WithinUsAI/GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f05669(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 `m43667.py` and `test_m43667.py`.
*** Begin Patch
*** Update File: m43667.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: 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 CI/CD for a enterprise SaaS service delivering file uploads.
Target platform: data (SQL + Python).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must include type hints where applicable, must include documentation/comments, must be performant under load, must be pro... | WithinUsAI/GOD_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: c2oif... | 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: Tokio
Domain: model serving gateway
Logic challenge: unsafe deserialization
Task type: parser_validation_logic
Difficulty: h... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: compiler_frontend
Scenario: payment ledger
Domain focus: distributed storage
Primary language: python
Difficulty: hard
Scale/SLO: p99 < 50ms
Component: component_ydhqglef
Constraints: assume adversarial inputs; validate everything, include security threat model (defensive only), explicit contracts and invari... | WithinUsAI/Omega_Genesis_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Produce an offline-first self-evolving code assi... | WithinUsAI/Royal_Ghost_Coder_501k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: 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: Project stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Language: YAML
Dependency challenge: race condition on worker shutdown
Task type: build_reprod... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: static_analyzer
Scenario: rate limit gateway
Domain focus: real-time scheduling
Primary language: python
Difficulty: hard
Scale/SLO: 99.99% availability
Component: component_pskdlemm
Constraints: avoid data races and undefined behavior, include failure modes and recovery, include deterministic replay plan, a... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: ml_system_design
Scenario: multi-tenant event ingestion
Domain focus: runtime systems
Primary language: python
Difficulty: hard
Scale/SLO: 100k RPS peak
Component: component_hxebpyhi
Constraints: include deterministic replay plan, include failure modes and recovery, include backward compatibility and migrati... | WithinUsAI/Omega_Genesis_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Optimize while preserving behavior.
File: j51u_... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f66078(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m95154.py` with types and O(n) average.
```python
# m95154.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: Java
Framework/tooling: Maven
Domain: observability collector
Logic challenge: timezone bug in reporting
Task type: backwards_compatible_redesign
Di... | WithinUsAI/GOD_Coder_Complete_DataSet |
Write pytest tests for `f23950`.
```python
def f23950(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m74850 import f23950
def test_known():
assert f23950(3,4) == 25
def test_zero():
assert f23950(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Perform a code review for a IoT telemetry PR implementing rate limiting.
Target platform: ML (scikit + batch).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must be performant under load, must be observable (logs/metrics/traces), must be production-ready, must avo... | 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: p0ax2... | 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: akbu76ymr.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of distributed systems for scenario: time-series metrics.
Primary language: bash.
Difficulty: hard.
Constraints: include invariants and failure modes, make the interface contract explicit, include tests or verification strategy.
Component: component_ytboykg.
Assume cold-start... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: kernel_syscall_design
Scenario: real-time notification hub
Domain focus: model checking
Primary language: c
Difficulty: hard
Scale/SLO: p99 < 50ms
Component: component_tyoonwzz
Constraints: include security threat model (defensive only), avoid data races and undefined behavior, include failure modes and reco... | WithinUsAI/Omega_Genesis_Coder_100k |
Build an elite-grade solution in the domain of networking for scenario: edge sync.
Primary language: go.
Difficulty: medium.
Constraints: document performance characteristics, include tests or verification strategy, avoid undefined behavior and data races, design for backward compatibility and migrations, include invar... | WithinUsAI/Elite_GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f56136(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 `m79448.py` and `test_m79448.py`.
*** Begin Patch
*** Update File: m79448.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: Project stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Language: Python
Dependency challenge: rate-limit bypass
Task type: migration_patch
Diffi... | WithinUsAI/GOD_Coder_Complete_DataSet |
Create a comprehensive test plan and automated tests for search + pagination in a document processing product.
Target platform: web (React + TypeScript).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must include documentation/comments, must be production-ready, must ... | WithinUsAI/GOD_Coder_100k |
Write pytest tests for `f02127`.
```python
def f02127(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m43161 import f02127
def test_known():
assert f02127(3,4) == 25
def test_zero():
assert f02127(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: Language: SQL
Framework/tooling: MySQL
Domain: observability collector
Logic challenge: mismatched API contract
Task type: multi_file_migration_repair
Difficu... | WithinUsAI/GOD_Coder_Complete_DataSet |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C61009:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m04693.py` and `test_m04693.py`.
```python
# m04693.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C33249:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m87173.py` and `test_m87173.py`.
```python
# m87173.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of ml systems for scenario: analytics pipeline.
Primary language: bash.
Difficulty: expert.
Constraints: document performance characteristics, include invariants and failure modes, avoid undefined behavior and data races, assume untrusted inputs; validate and sanitize, includ... | WithinUsAI/Elite_GOD_Coder_100k |
Write a thorough test suite for a Python component used for file synchronization.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must include docstrings, must be streaming-friendly, must be memory-efficient, must be easy to extend.
Difficulty: medium. Support both Windows and POSI... | WithinUsAI/python_GOD_coder_100k |
Task type: mechanized_spec
Scenario: job scheduler
Domain focus: zero-downtime migrations
Primary language: lean
Difficulty: hard
Scale/SLO: 99.99% availability
Component: component_ohwceleo
Constraints: include test vectors and fuzz strategy, include verification strategy, explicit contracts and invariants, include se... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: secure_architecture
Scenario: job scheduler
Domain focus: network protocols
Primary language: python
Difficulty: expert
Scale/SLO: 50 TB/day ingestion
Component: component_hfykjvor
Constraints: include deterministic replay plan, include failure modes and recovery, include security threat model (defensive onl... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: mechanized_spec
Scenario: real-time notification hub
Domain focus: consensus & replication
Primary language: lean
Difficulty: expert
Scale/SLO: 10k RPS peak
Component: component_dbmeymbz
Constraints: include security threat model (defensive only), avoid data races and undefined behavior, include failure mode... | WithinUsAI/Omega_Genesis_Coder_100k |
Refactor a Python module used for CLI tooling into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must include docstrings, must be memory-efficient.
Difficulty: easy. Guarantee deterministic output ordering.
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: Gradle
Domain: job scheduler
Logic challenge: schema drift during deployment
Task type: edge_case_hardening
Difficulty: hard... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: robust_e2e_testing
Scenario: payment ledger
Domain focus: stream processing
Primary language: sql
Difficulty: expert+
Scale/SLO: 50 TB/day ingestion
Component: component_fvppqeti
Constraints: assume adversarial inputs; validate everything, include backward compatibility and migration plan, include failure 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: Optimize while preserving behavior.
File: peap8... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of stream processing for scenario: payment processing.
Primary language: python.
Difficulty: expert.
Constraints: document performance characteristics, include invariants and failure modes, design for backward compatibility and migrations.
Component: component_bnvztet.
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: Fix a bug and add tests.
File: o4txllh2a.py
```... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: event ingestion.
Primary language: go.
Difficulty: hard.
Constraints: include invariants and failure modes, make the interface contract explicit, assume untrusted inputs; validate and sanitize, avoid undefined behavior and dat... | WithinUsAI/Elite_GOD_Coder_100k |
Refactor a Python module used for configuration loading into a clean, extensible design.
Requirements: outline the new architecture briefly, then provide the refactored code and tests.
Constraints: must include docstrings, must include type hints, must be memory-efficient.
Difficulty: hard. Provide helpful exceptions w... | WithinUsAI/python_GOD_coder_100k |
Add a clear docstring and type hints to this function:
```python
def f37826(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f37826(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Build a data pipeline for a fraud detection product around audit logs.
Target platform: data (SQL + Python).
Requirements: schema, ingestion, validation, backfills, and tests.
Constraints: must be performant under load, must be secure-by-default, must include clear error handling, must avoid global state.
Difficulty: m... | 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: jablp8ex.py
```p... | 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.