text
stringlengths
355
3.69k
source
stringclasses
6 values
Task type: compiler_frontend Scenario: real-time notification hub Domain focus: real-time scheduling Primary language: python Difficulty: expert+ Scale/SLO: 100k RPS peak Component: component_cwwbcthi Constraints: avoid data races and undefined behavior, include security threat model (defensive only), include performan...
WithinUsAI/Omega_Genesis_Coder_100k
Implement an ML engineering workflow for content moderation focusing on event-driven workflows. Target platform: ML (training + serving). Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring. Constraints: must be secure-by-default, must include tests, must include clear error ...
WithinUsAI/GOD_Coder_100k
Implement a concurrent Python solution for report generation. Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests. Constraints: must handle Windows paths safely, must be easy to extend. Difficulty: expert. Include a small CLI example if relevant. Deliverable: implementation ...
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
Add a clear docstring and type hints to this function: ```python def f04572(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f04572(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: real-time notification hub Domain focus: kernel primitives Primary language: typescript Difficulty: expert Scale/SLO: 1M msgs/min Component: component_vlvnesqc Constraints: assume adversarial inputs; validate everything, explicit contracts and invariants, include test vectors ...
WithinUsAI/Omega_Genesis_Coder_100k
Implement a web feature for social media: caching. Target platform: web (React + TypeScript). Requirements: accessible UI, API integration, and tests. Constraints: must include documentation/comments, must include clear error handling, must be performant under load, must be secure-by-default. Difficulty: easy. Assume m...
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: Project domain: auth service Implementation stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Software delivery problem: monorepo toolchain skew Task ty...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: mechanized_spec Scenario: edge sync Domain focus: real-time scheduling Primary language: lean Difficulty: hard Scale/SLO: p99 < 50ms Component: component_eqxrvfeg Constraints: include test vectors and fuzz strategy, include verification strategy, assume adversarial inputs; validate everything, explicit contr...
WithinUsAI/Omega_Genesis_Coder_100k
Improve typing and robustness of a Python module used for configuration loading. Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests. Constraints: stdlib-only, must avoid global state. Difficulty: medium. Handle empty inputs and malformed records gracefully. Deliverable: produ...
WithinUsAI/python_GOD_coder_100k
Implement an ML engineering workflow for content moderation focusing on offline-first sync. Target platform: ML (training + serving). Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring. Constraints: must avoid global state, must be observable (logs/metrics/traces), must incl...
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
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: ctbdz...
WithinUsAI/Royal_Ghost_Coder_501k
Improve typing and robustness of a Python module used for caching layer. Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests. Constraints: must be memory-efficient, must handle Windows paths safely, must include type hints. Difficulty: hard. Avoid quadratic behavior on large in...
WithinUsAI/python_GOD_coder_100k
Fix a subtle bug in a Python module used for task scheduling. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: stdlib-only, must be streaming-friendly, must be easy to extend. Difficulty: expert. Avoid quadratic behavior on large inputs. Deliverable: corrected co...
WithinUsAI/python_GOD_coder_100k
Improve typing and robustness of a Python module used for event dispatching. Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests. Constraints: must be easy to extend, must include tests, must include type hints, stdlib-only. Difficulty: expert. Guarantee deterministic output or...
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 domain: auth service Implementation stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions Software delivery problem: build reproducibi...
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: auth service Logic challenge: rate-limit bypass Task type: multi_file_migration_repair Difficulty: expert Return...
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: Optimize while preserving behavior. File: qyptj...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: lockfree_primitive Scenario: payment ledger Domain focus: observability platforms Primary language: cpp Difficulty: expert Scale/SLO: 10k RPS peak Component: component_qtspaita Constraints: include test vectors and fuzz strategy, include security threat model (defensive only), include deterministic replay pl...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C19915: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m78455.py` and `test_m78455.py`. ```python # m78455.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: qulc8070e5.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: Bash Dependency challenge: optimistic locking conflict Task type: lockfile_repair Difficulty: har...
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: t9sd3...
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: qp3vm_blunkz.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: YAML Framework/tooling: Kubernetes Domain: artifact registry Logic challenge: gRPC retry storm Task type: concurrency_fix Difficulty: medium Return...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: distributed_algorithm Scenario: feature-flag evaluation Domain focus: real-time scheduling Primary language: bash Difficulty: hard Scale/SLO: 10k RPS peak Component: component_awctyfwp Constraints: assume adversarial inputs; validate everything, explicit contracts and invariants, include security threat mode...
WithinUsAI/Omega_Genesis_Coder_100k
Secure-by-default implementation for role-based access control in a document processing product. Target platform: ML (PyTorch + serving). Requirements: threat model, input validation, authz/authn guidance, safe storage, tests. Constraints: must be easy to extend, must include clear error handling, must be observable (l...
WithinUsAI/GOD_Coder_100k
Write pytest tests for `f61771`. ```python def f61771(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m80253 import f61771 def test_known(): assert f61771(3,4) == 25 def test_zero(): assert f61771(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Language: C++ Dependency challenge: log redaction failure Task type: lockfile_repair Diff...
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: b4puooca9.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f78473(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 `m82639.py` and `test_m82639.py`. *** Begin Patch *** Update File: m82639.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f21261`. ```python def f21261(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m17323 import f21261 def test_known(): assert f21261(3,4) == 25 def test_zero(): assert f21261(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Debug and fix a subtle production bug related to real-time notifications in a enterprise SaaS service. Target platform: ML (scikit + batch). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must be observable (logs/metrics/traces), must be production-ready, must avoid global stat...
WithinUsAI/GOD_Coder_100k
Write a thorough test suite for a Python component used for report generation. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must be easy to extend, must avoid global state, must be memory-efficient. Difficulty: medium. Avoid quadratic behavior on large inputs. 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: TypeScript Framework/tooling: Next.js Domain: observability collector Logic challenge: websocket reconnect storm Task type: security_logic_interacti...
WithinUsAI/GOD_Coder_Complete_DataSet
Build a data pipeline for a education product around idempotent payments. Target platform: data (SQL + Python). Requirements: schema, ingestion, validation, backfills, and tests. Constraints: must include type hints where applicable, must avoid global state, must be production-ready. Difficulty: easy. Assume GDPR-style...
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: YAML Framework/tooling: Kubernetes Domain: observability collector Logic challenge: JWT refresh token rotation Task type: cross_stack_outage_fix Dif...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of distributed systems for scenario: inventory & ordering. Primary language: go. Difficulty: hard. Constraints: document performance characteristics, provide rollout and rollback guidance, include tests or verification strategy, avoid undefined behavior and data races, design...
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: hv3n6...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor an existing codebase in calendar/scheduling to support offline-first sync cleanly. Target platform: mobile (Android Kotlin). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must include clear error handling, must be production-ready, must be easy to extend, 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: Language: SQL Framework/tooling: MySQL Domain: job scheduler Logic challenge: partial checkpoint corruption Task type: state_machine_patch Difficulty: medium ...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: network_protocol Scenario: document indexing pipeline Domain focus: data lineage & governance Primary language: go Difficulty: expert Scale/SLO: p99 < 50ms Component: component_ucgvnqzn Constraints: explicit contracts and invariants, include deterministic replay plan, include failure modes and recovery, incl...
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: ba3ki...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C38343: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m41411.py` and `test_m41411.py`. ```python # m41411.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C91392: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m53184.py` and `test_m53184.py`. ```python # m53184.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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor an existing codebase in social media to support analytics pipeline cleanly. Target platform: web (React + TypeScript). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must be secure-by-default, must include documentation/comments, must be observable (logs/metri...
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: Bash Framework/tooling: GNU coreutils Domain: model serving gateway Logic challenge: monorepo toolchain skew Task type: multi_service_security_patch...
WithinUsAI/GOD_Coder_Complete_DataSet
Create a comprehensive test plan and automated tests for analytics pipeline in a education product. Target platform: infra (Docker + Kubernetes). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must include documentation/comments, must include clear error handling, must...
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: benchmark harness Primary language: Java Framework/tooling: Gradle Reported problem: optimistic locking conflict Task type: bug_fix Difficu...
WithinUsAI/GOD_Coder_Complete_DataSet
Create a comprehensive test plan and automated tests for idempotent payments in a enterprise SaaS product. Target platform: infra (Docker + Kubernetes). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must include type hints where applicable, must be production-ready, m...
WithinUsAI/GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f24952(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 `m32136.py` and `test_m32136.py`. *** Begin Patch *** Update File: m32136.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: System domain: developer platform Stack: Airflow, dbt, DuckDB, MinIO, pytest Cross-layer incident: log redaction failure Task type: full_stack_bug_fix 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: Repository domain: repo automation Primary language: TypeScript Framework/tooling: Next.js Reported problem: migration ordering failure Task type: test_repair...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix the bug and add pytest tests. ```python def f33540(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 `m76220.py` and `test_m76220.py`. *** Begin Patch *** Update File: m76220.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: C# Framework/tooling: ASP.NET Core Domain: data pipeline Logic challenge: slow cold start Task type: monorepo_toolchain_recovery Difficulty: hard R...
WithinUsAI/GOD_Coder_Complete_DataSet
Add a clear docstring and type hints to this function: ```python def f37908(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f37908(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C37103: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m25931.py` and `test_m25931.py`. ```python # m25931.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: repo automation Primary language: SQL Framework/tooling: PostgreSQL Reported problem: rate-limit bypass Task type: test_repair Difficulty: ...
WithinUsAI/GOD_Coder_Complete_DataSet
Add a clear docstring and type hints to this function: ```python def f67262(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f67262(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: jxzbhnuz.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: query_optimizer Scenario: job scheduler Domain focus: secure enclaves (defensive) Primary language: typescript Difficulty: expert Scale/SLO: multi-region active-active Component: component_epcvzmqr Constraints: include performance model and limits, include backward compatibility and migration plan, include s...
WithinUsAI/Omega_Genesis_Coder_100k
Implement a concurrent Python solution for log processing. Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests. Constraints: must handle Windows paths safely, must be easy to extend, must provide clear error messages. Difficulty: medium. Include a small CLI example if relevan...
WithinUsAI/python_GOD_coder_100k
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 be streaming-friendly, must avoid global state, must provide clear error messages. Difficulty: medium. Guarantee deterministic output ordering. Deliver...
WithinUsAI/python_GOD_coder_100k
Task type: smt_constraint_model Scenario: identity and access Domain focus: constraint solving Primary language: python Difficulty: expert Scale/SLO: 100k RPS peak Component: component_gtybelxh Constraints: include security threat model (defensive only), avoid data races and undefined behavior, include test vectors and...
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: xqual...
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: feature flag service Stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Cross-layer incident: build reproducibility failure Task type: s...
WithinUsAI/GOD_Coder_Complete_DataSet
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: distributed_algorithm Scenario: streaming ETL Domain focus: fault injection & chaos engineering Primary language: python Difficulty: expert Scale/SLO: p99 < 50ms Component: component_szpodbro Constraints: avoid data races and undefined behavior, include security threat model (defensive only), include perform...
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: k689p0d40.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: YAML Framework/tooling: Helm Domain: feature flag service Logic challenge: streaming timeout handling Task type: multi_file_migration_repair Difficu...
WithinUsAI/GOD_Coder_Complete_DataSet
Implement a concurrent Python solution for time series. Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests. Constraints: must handle Windows paths safely, must be streaming-friendly, must avoid global state, must include docstrings. Difficulty: expert. Guarantee deterministi...
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: b37rzgp.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: edge sync. Primary language: rust. Difficulty: medium. Constraints: make the interface contract explicit, document performance characteristics, include invariants and failure modes, design for backward compatibility and migrat...
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
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
Write pytest tests for `f49553`. ```python def f49553(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m07079 import f49553 def test_known(): assert f49553(3,4) == 25 def test_zero(): assert f49553(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of operating systems for scenario: feature flagging. Primary language: rust. Difficulty: hard. Constraints: assume untrusted inputs; validate and sanitize, make the interface contract explicit, design for backward compatibility and migrations. Component: component_lboqpiu. As...
WithinUsAI/Elite_GOD_Coder_100k
Implement a mobile feature for fraud detection: A/B experimentation. Target platform: mobile. Requirements: offline-safe behavior, UI state handling, and tests. Constraints: must include documentation/comments, must be production-ready, must be easy to extend, must be performant under load, must include type hints wher...
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: feature flag service Stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Cross-layer incident: path traversal on downloads Task type: sch...
WithinUsAI/GOD_Coder_Complete_DataSet
Implement offline-first sync for a gaming product. Target platform: backend (Go). Requirements: provide production-ready code, configuration, and tests. Constraints: must be observable (logs/metrics/traces), must be production-ready, must include clear error handling, must include documentation/comments. Difficulty: ea...
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: j4b55...
WithinUsAI/Royal_Ghost_Coder_501k
Perform a code review for a education PR implementing background jobs. Target platform: CI (GitHub Actions). Requirements: list critical issues, improvements, and provide an improved patch excerpt. Constraints: must be performant under load, must avoid global state, must include clear error handling, must be observable...
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
Task type: query_optimizer Scenario: document indexing pipeline Domain focus: stream processing Primary language: python Difficulty: hard Scale/SLO: p99 < 50ms Component: component_oamhdfkb Constraints: include security threat model (defensive only), include verification strategy, include failure modes and recovery, ex...
WithinUsAI/Omega_Genesis_Coder_100k
Add observability for offline-first sync in a enterprise SaaS system. Target platform: infra (Terraform). Requirements: structured logs, metrics, tracing, dashboards, and alerting rules. Constraints: must avoid global state, must be secure-by-default, must include tests, must be easy to extend, must include type hints ...
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: bsijkd.py ```pyt...
WithinUsAI/Royal_Ghost_Coder_501k
Debug and fix a subtle production bug related to A/B experimentation in a education service. Target platform: data (SQL + Python). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must include tests, must avoid global state, must be easy to extend, must include clear error handli...
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: Java Framework/tooling: Maven Domain: payments platform Logic challenge: partial checkpoint corruption Task type: security_logic_interaction 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: System domain: notification service Stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions Cross-layer incident: gRPC retry storm Task type: sc...
WithinUsAI/GOD_Coder_Complete_DataSet
Optimize while preserving behavior and order. ```python def f78025(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m82575.py` with types and O(n) average. ```python # m82575.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f27451(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 `m32493.py` and `test_m32493.py`. *** Begin Patch *** Update File: m32493.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: C# Dependency challenge: rate-limit bypass Task type: cve_dependency_remediatio...
WithinUsAI/GOD_Coder_Complete_DataSet
Implement a concurrent Python solution for parsing. Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests. Constraints: must handle Windows paths safely, must provide clear error messages. Difficulty: easy. Guarantee deterministic output ordering. Deliverable: corrected code a...
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
Build an elite-grade solution in the domain of distributed systems for scenario: time-series metrics. Primary language: rust. Difficulty: expert. Constraints: avoid undefined behavior and data races, design for backward compatibility and migrations, document performance characteristics. Component: component_drvyeyb. As...
WithinUsAI/Elite_GOD_Coder_100k