text stringlengths 355 3.69k | source stringclasses 6
values |
|---|---|
Task type: distributed_algorithm
Scenario: identity and access
Domain focus: data lineage & governance
Primary language: typescript
Difficulty: hard
Scale/SLO: 10k RPS peak
Component: component_xbpulhov
Constraints: include backward compatibility and migration plan, assume adversarial inputs; validate everything, inclu... | WithinUsAI/Omega_Genesis_Coder_100k |
Add a clear docstring and type hints to this function:
```python
def f44712(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f44712(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: distributed_algorithm
Scenario: time-series metrics store
Domain focus: kernel primitives
Primary language: bash
Difficulty: expert+
Scale/SLO: multi-region active-active
Component: component_hlusxrbj
Constraints: include test vectors and fuzz strategy, include failure modes and recovery, include security th... | WithinUsAI/Omega_Genesis_Coder_100k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: System domain: job scheduler
Stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker
Cross-layer incident: rate-limit bypass
Task type: auth_session_repair
Di... | 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: pg5jpxf.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of operating systems for scenario: rate limiting gateway.
Primary language: sql.
Difficulty: hard.
Constraints: make the interface contract explicit, include tests or verification strategy, document performance characteristics, avoid undefined behavior and data races.
Compone... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of ml systems for scenario: inventory & ordering.
Primary language: go.
Difficulty: medium.
Constraints: avoid undefined behavior and data races, make the interface contract explicit, include invariants and failure modes.
Component: component_xbdigps.
Assume partial network p... | 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 |
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: Optimize while preserving behavior.
File: h7yvo... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Repository domain: payments platform
Primary language: Rust
Framework/tooling: cargo test
Reported problem: idempotent retry design
Task type: test_repair
Dif... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: runtime_gc
Scenario: graph query service
Domain focus: edge robotics (safe)
Primary language: python
Difficulty: expert
Scale/SLO: 99.99% availability
Component: component_hucseelf
Constraints: include verification strategy, include deterministic replay plan, include performance model and limits, avoid data ... | WithinUsAI/Omega_Genesis_Coder_100k |
Perform a code review for a e-commerce PR implementing audit logs.
Target platform: data (SQL + Python).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must include type hints where applicable, must avoid global state, must include tests.
Difficulty: medium. Includ... | 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: ok6i5j.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C37922:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m25994.py` and `test_m25994.py`.
```python
# m25994.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: Repository domain: job scheduler
Primary language: C#
Framework/tooling: xUnit
Reported problem: N+1 query explosion
Task type: security_patch
Difficulty: med... | WithinUsAI/GOD_Coder_Complete_DataSet |
Task type: compiler_frontend
Scenario: payment ledger
Domain focus: distributed storage
Primary language: bash
Difficulty: expert+
Scale/SLO: p99 < 50ms
Component: component_fumajsfc
Constraints: include deterministic replay plan, assume adversarial inputs; validate everything, include security threat model (defensive ... | WithinUsAI/Omega_Genesis_Coder_100k |
Fix the bug and add pytest tests.
```python
def f60064(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 `m37152.py` and `test_m37152.py`.
*** Begin Patch
*** Update File: m37152.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of stream processing for scenario: analytics pipeline.
Primary language: bash.
Difficulty: hard.
Constraints: include tests or verification strategy, include invariants and failure modes, make the interface contract explicit, provide rollout and rollback guidance.
Component: ... | WithinUsAI/Elite_GOD_Coder_100k |
Write pytest tests for `f08294`.
```python
def f08294(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m44042 import f08294
def test_known():
assert f08294(3,4) == 25
def test_zero():
assert f08294(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: YAML
Framework/tooling: Docker Compose
Domain: search service
Logic challenge: mismatched API contract
Task type: misleading_symptom_debug
Difficult... | 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: czemp... | 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: vetei... | WithinUsAI/Royal_Ghost_Coder_501k |
Create a small, production-ready Python package for CLI tooling.
Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml.
Constraints: must include type hints, must provide clear error messages.
Difficulty: medium. Handle empty inputs and malformed records gracefully.
Deliverable: prod... | 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: Python
Framework/tooling: pandas
Domain: developer platform
Logic challenge: slow cold start
Task type: concurrency_fix
Difficulty: hard
Return a r... | 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: Repository domain: repo automation
Primary language: YAML
Framework/tooling: Docker Compose
Reported problem: build reproducibility failure
Task type: repo_is... | 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: h5c5m... | 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: repo automation
Stack: Airflow, dbt, DuckDB, MinIO, pytest
Cross-layer incident: async cancellation bug
Task type: full_stack_bug_fix
Difficult... | WithinUsAI/GOD_Coder_Complete_DataSet |
Perform a code review for a gaming PR implementing caching.
Target platform: backend (Node.js).
Requirements: list critical issues, improvements, and provide an improved patch excerpt.
Constraints: must avoid global state, must include type hints where applicable, must include clear error handling, must be secure-by-de... | 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: Tokio
Domain: observability collector
Logic challenge: mismatched API contract
Task type: concurrency_fix
Difficulty: medium... | 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: C++
Framework/tooling: STL
Domain: repo automation
Logic challenge: S3-compatible upload inconsistency
Task type: performance_bottleneck_patch
Diffi... | WithinUsAI/GOD_Coder_Complete_DataSet |
Fix a subtle bug in a Python module used for time series.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must provide clear error messages, must include docstrings, must include tests, must be easy to extend.
Difficulty: easy. Ensure the API is testable via depe... | WithinUsAI/python_GOD_coder_100k |
Task type: tla_state_machine
Scenario: multi-tenant event ingestion
Domain focus: constraint solving
Primary language: tla+
Difficulty: expert
Scale/SLO: p99 < 150ms
Component: component_onymayua
Constraints: include backward compatibility and migration plan, avoid data races and undefined behavior, include security th... | 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: Go
Framework/tooling: net/http
Domain: team dashboard
Logic challenge: dead-letter queue replay
Task type: cross_stack_outage_fix
Difficulty: hard
... | 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: satlpf5eqxo.py
`... | WithinUsAI/Royal_Ghost_Coder_501k |
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders.
user: Language: SQL
Framework/tooling: DuckDB
Domain: benchmark harness
Logic challenge: websocket reconnect storm
Task type: transaction_integrity_fix
Difficulty: ... | WithinUsAI/GOD_Coder_Complete_DataSet |
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: must be streaming-friendly, must be memory-efficient.
Difficulty: easy. Support both Windows and POSIX paths correctly.
Deliverable: impleme... | WithinUsAI/python_GOD_coder_100k |
Task type: perf_microarchitecture
Scenario: time-series metrics store
Domain focus: constraint solving
Primary language: typescript
Difficulty: expert
Scale/SLO: 50 TB/day ingestion
Component: component_qgoltlom
Constraints: include backward compatibility and migration plan, avoid data races and undefined behavior, ass... | 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: lri3a8_.py
```py... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of stream processing for scenario: job scheduler.
Primary language: rust.
Difficulty: expert.
Constraints: assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races, include invariants and failure modes, document performance characteristics.
Comp... | WithinUsAI/Elite_GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f36727(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 `m90961.py` and `test_m90961.py`.
*** Begin Patch
*** Update File: m90961.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Optimize while preserving behavior and order.
```python
def f11409(xs):
out=[]
for x in xs:
if x not in out: out.append(x)
return out
```
Return `m44487.py` with types and O(n) average.
```python
# m44487.py
from __future__ import annotations
from typing import Iterable, List, Set, TypeVar
T=TypeVar("T")
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Fix a subtle bug in a Python module used for parsing.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must be easy to extend, must be streaming-friendly, must include type hints.
Difficulty: expert. Avoid quadratic behavior on large inputs.
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: Project stack: GitHub Actions, Docker Compose, Kubernetes, Terraform
Language: C++
Dependency challenge: multi-tenant access leak
Task type: migration_patch
D... | 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: dio_z... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: payment processing.
Primary language: go.
Difficulty: medium.
Constraints: avoid undefined behavior and data races, provide rollout and rollback guidance, include invariants and failure modes, design for backward compatibility... | WithinUsAI/Elite_GOD_Coder_100k |
Write a thorough test suite for a Python component used for task scheduling.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must be streaming-friendly, must include tests, must handle Windows paths safely.
Difficulty: hard. Guarantee deterministic output ordering.
Deliverable: AP... | WithinUsAI/python_GOD_coder_100k |
Task type: kernel_syscall_design
Scenario: document indexing pipeline
Domain focus: data lineage & governance
Primary language: rust
Difficulty: expert+
Scale/SLO: 99.99% availability
Component: component_dcfazkhl
Constraints: include security threat model (defensive only), include failure modes and recovery, include p... | WithinUsAI/Omega_Genesis_Coder_100k |
Fix the bug and add pytest tests.
```python
def f80454(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 `m82922.py` and `test_m82922.py`.
*** Begin Patch
*** Update File: m82922.py
@@
d... | WithinUsAI/Royal_Ghost_Coder_501k |
Implement a concurrent Python solution for rate limiting.
Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests.
Constraints: stdlib-only, must be streaming-friendly.
Difficulty: hard. Support both Windows and POSIX paths correctly.
Deliverable: corrected code and verification... | WithinUsAI/python_GOD_coder_100k |
Secure-by-default implementation for background jobs in a social media product.
Target platform: web (React + TypeScript).
Requirements: threat model, input validation, authz/authn guidance, safe storage, tests.
Constraints: must be performant under load, must include type hints where applicable, must include clear err... | WithinUsAI/GOD_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C31545:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m63965.py` and `test_m63965.py`.
```python
# m63965.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: Language: JavaScript
Framework/tooling: Jest
Domain: repo automation
Logic challenge: invalid rollback sequence
Task type: multi_service_security_patch
Diffic... | WithinUsAI/GOD_Coder_Complete_DataSet |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C10328:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m39256.py` and `test_m39256.py`.
```python
# m39256.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: repo automation
Implementation stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker
Software delivery problem: build reproducibility fail... | 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 |
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 |
Create a comprehensive test plan and automated tests for caching in a calendar/scheduling product.
Target platform: mobile (iOS Swift).
Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates.
Constraints: must include tests, must include clear error handling, must include documentation/comm... | WithinUsAI/GOD_Coder_100k |
Add a clear docstring and type hints to this function:
```python
def f13200(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f13200(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Write pytest tests for `f06290`.
```python
def f06290(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m29470 import f06290
def test_known():
assert f06290(3,4) == 25
def test_zero():
assert f06290(0,0) == 0
def test_property_nonne... | 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 be memory-efficient, must include type hints, must avoid global state, must include tests.
Difficulty: easy. Ensure the API is testable via ... | WithinUsAI/python_GOD_coder_100k |
Fix the bug and add pytest tests.
```python
def f48312(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 `m92616.py` and `test_m92616.py`.
*** Begin Patch
*** Update File: m92616.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: observability collector
Implementation stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker
Software delivery problem: websocket reconnect sto... | WithinUsAI/GOD_Coder_Complete_DataSet |
Design and implement an algorithm for task scheduling.
Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests.
Constraints: stdlib-only, must be streaming-friendly, must handle Windows paths safely, must provide clear error messages.
Difficulty: medium. Ensure the API is tes... | WithinUsAI/python_GOD_coder_100k |
Write pytest tests for `f98079`.
```python
def f98079(a: int, b: int) -> int:
return a*a + b*b
```
Include edge cases and a property-style check.
```python
import random
from m28297 import f98079
def test_known():
assert f98079(3,4) == 25
def test_zero():
assert f98079(0,0) == 0
def test_property_nonne... | WithinUsAI/Royal_Ghost_Coder_501k |
Task type: lockfree_primitive
Scenario: feature-flag evaluation
Domain focus: edge robotics (safe)
Primary language: rust
Difficulty: hard
Scale/SLO: 100k RPS peak
Component: component_sekcnwam
Constraints: include failure modes and recovery, include test vectors and fuzz strategy, include deterministic replay plan, in... | WithinUsAI/Omega_Genesis_Coder_100k |
Fix a subtle bug in a Python module used for CLI tooling.
Requirements: explain root cause briefly, provide corrected code, and add regression tests.
Constraints: must be easy to extend, must provide clear error messages, must include tests.
Difficulty: easy. Avoid quadratic behavior on large inputs.
Deliverable: API ... | WithinUsAI/python_GOD_coder_100k |
Improve typing and robustness of a Python module used for data modeling.
Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests.
Constraints: must include type hints, must be easy to extend, must be streaming-friendly.
Difficulty: hard. Avoid quadratic behavior on large inputs.
D... | WithinUsAI/python_GOD_coder_100k |
Build an elite-grade solution in the domain of networking for scenario: inventory & ordering.
Primary language: sql.
Difficulty: medium.
Constraints: design for backward compatibility and migrations, provide rollout and rollback guidance, avoid undefined behavior and data races, include tests or verification strategy.
... | WithinUsAI/Elite_GOD_Coder_100k |
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access.
Task: Refactor to modern typed Python with immutabilit... | WithinUsAI/Royal_Ghost_Coder_501k |
Write a thorough test suite for a Python component used for file synchronization.
Requirements: cover edge cases, invalid inputs, and behavior invariants.
Constraints: must avoid global state, must include docstrings, must be easy to extend, must include tests.
Difficulty: medium. Provide helpful exceptions with action... | WithinUsAI/python_GOD_coder_100k |
Improve typing and robustness of a Python module used for validation.
Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests.
Constraints: must include tests, must avoid global state.
Difficulty: easy. Handle empty inputs and malformed records gracefully.
Deliverable: production-... | WithinUsAI/python_GOD_coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C20260:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m40020.py` and `test_m40020.py`.
```python
# m40020.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of realtime systems for scenario: payment processing.
Primary language: sql.
Difficulty: hard.
Constraints: design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize, document performance characteristics, include tests or verification st... | WithinUsAI/Elite_GOD_Coder_100k |
Task type: compiler_backend_ir
Scenario: streaming ETL
Domain focus: observability platforms
Primary language: rust
Difficulty: expert
Scale/SLO: 100k RPS peak
Component: component_phnayltp
Constraints: include test vectors and fuzz strategy, include deterministic replay plan, include security threat model (defensive o... | 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: yc66bkwruzr.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: kt_zzi.py
```pyt... | WithinUsAI/Royal_Ghost_Coder_501k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C48208:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m96016.py` and `test_m96016.py`.
```python
# m96016.py
from __future__ import annotations
from datacla... | WithinUsAI/Royal_Ghost_Coder_501k |
Design CI/CD for a calendar/scheduling service delivering real-time notifications.
Target platform: ML (scikit + batch).
Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks.
Constraints: must be easy to extend, must be secure-by-default, must include documentation/comments, must be performant... | WithinUsAI/GOD_Coder_100k |
Refactor to typed, mostly-immutable Python and add minimal tests.
```python
class C57772:
def __init__(self, values): self.values=list(values)
def mean(self): return sum(self.values)/len(self.values)
```
Return `m04444.py` and `test_m04444.py`.
```python
# m04444.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: s9ig84_.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: C#
Framework/tooling: NUnit
Domain: reporting engine
Logic challenge: invalid rollback sequence
Task type: concurrency_fix
Difficulty: hard
Return ... | WithinUsAI/GOD_Coder_Complete_DataSet |
Add a clear docstring and type hints to this function:
```python
def f74073(s):
return ''.join(x for x in s if x.isalnum()).lower()
```
```python
from __future__ import annotations
def f74073(s: str) -> str:
"""Normalize a string: keep only alphanumerics and lowercase the result."""
return "".join(ch for c... | WithinUsAI/Royal_Ghost_Coder_501k |
Design and implement an algorithm for validation.
Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests.
Constraints: must be easy to extend, must provide clear error messages.
Difficulty: expert. Guarantee deterministic output ordering.
Deliverable: API + reference implem... | WithinUsAI/python_GOD_coder_100k |
Task type: query_optimizer
Scenario: edge sync
Domain focus: data lineage & governance
Primary language: sql
Difficulty: expert+
Scale/SLO: p99 < 150ms
Component: component_vnuabkka
Constraints: explicit contracts and invariants, include verification strategy, include failure modes and recovery, assume adversarial inpu... | WithinUsAI/Omega_Genesis_Coder_100k |
Task type: lockfree_primitive
Scenario: payment ledger
Domain focus: zero-downtime migrations
Primary language: cpp
Difficulty: hard
Scale/SLO: 1M msgs/min
Component: component_aynzxbhn
Constraints: include backward compatibility and migration plan, explicit contracts and invariants, assume adversarial inputs; validate... | 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: o5u8hquzy0.py
``... | WithinUsAI/Royal_Ghost_Coder_501k |
Design a production system for IoT telemetry supporting file uploads.
Target platform: web (React + TypeScript).
Requirements: APIs, data model, scaling strategy, failure modes, and security.
Constraints: must be performant under load, must include clear error handling, must be easy to extend, must include tests.
Diffi... | WithinUsAI/GOD_Coder_100k |
Build an elite-grade solution in the domain of edge/IoT for scenario: chat messaging.
Primary language: go.
Difficulty: expert.
Constraints: include invariants and failure modes, design for backward compatibility and migrations, document performance characteristics, include tests or verification strategy.
Component: co... | WithinUsAI/Elite_GOD_Coder_100k |
Build an elite-grade solution in the domain of databases for scenario: job scheduler.
Primary language: typescript.
Difficulty: medium.
Constraints: include invariants and failure modes, avoid undefined behavior and data races, provide rollout and rollback guidance, document performance characteristics, assume untruste... | WithinUsAI/Elite_GOD_Coder_100k |
Fix the bug and add pytest tests.
```python
def f61486(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 `m94498.py` and `test_m94498.py`.
*** Begin Patch
*** Update File: m94498.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: t_d1w... | WithinUsAI/Royal_Ghost_Coder_501k |
Build an elite-grade solution in the domain of stream processing for scenario: job scheduler.
Primary language: typescript.
Difficulty: medium.
Constraints: include tests or verification strategy, assume untrusted inputs; validate and sanitize, make the interface contract explicit, design for backward compatibility and... | 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: C++
Framework/tooling: Boost
Domain: repo automation
Logic challenge: multi-tenant access leak
Task type: algorithmic_correctness
Difficulty: hard
... | WithinUsAI/GOD_Coder_Complete_DataSet |
Build an elite-grade solution in the domain of edge/IoT for scenario: feature flagging.
Primary language: typescript.
Difficulty: hard.
Constraints: assume untrusted inputs; validate and sanitize, include tests or verification strategy, design for backward compatibility and migrations, document performance characterist... | 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: adlq3atzy.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: xUnit
Domain: notification service
Logic challenge: N+1 query explosion
Task type: misleading_symptom_debug
Difficulty: hard
... | 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 |
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: curl
Domain: notification service
Logic challenge: unsafe deserialization
Task type: backwards_compatible_redesign
Difficult... | 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: SQL
Framework/tooling: MySQL
Domain: repo automation
Logic challenge: async cancellation bug
Task type: security_logic_interaction
Difficulty: hard
... | WithinUsAI/GOD_Coder_Complete_DataSet |
End of preview. Expand in Data Studio
AGA-Code Pretrain Corpus v1.0.0
Clean, deduplicated pretraining corpus for AGA-Code (Autonomous God Agents), built from six WithinUsAI coder datasets.
Sources
| Source | Raw | Unique | Notes |
|---|---|---|---|
| WithinUsAI/GOD_Coder_100k | 100,000 | 100,000 | file was gzip mislabeled as .jsonl; decompressed |
| WithinUsAI/Elite_GOD_Coder_100k | 100,000 | 100,000 | same gzip repair |
| WithinUsAI/Omega_Genesis_Coder_100k | 100,000 | 100,000 | same gzip repair |
| WithinUsAI/python_GOD_coder_100k | 100,000 | 99,498 | same gzip repair |
| WithinUsAI/GOD_Coder_Complete_DataSet | 175,000 | 173,860 | messages chat column rendered as role: content blocks |
| WithinUsAI/Royal_Ghost_Coder_501k | 490,000 | 422,124 | instruction+response; ~14% internal duplicates removed |
Build
- Tolerant JSONL parsing (bad lines counted, none found after gzip repair).
- Records under 64 chars dropped.
- SHA-256 dedup on normalized text: 1,065,000 raw → 995,482 unique (69,518 removed).
- Seed-1147 shuffle, then split: 993,482 train / 2,000 validation (held-out).
- Schema:
{"text": ..., "source": ...}— one JSON per line.
Files
train.jsonl(993,482 rows)validation.jsonl(2,000 rows, held-out)manifest.json(per-source counts, SHA-256 of each file, seed)
(c) 2026 WithIn Us AI — Guy DuGan II
- Downloads last month
- 177