text
stringlengths
355
3.69k
source
stringclasses
6 values
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: inventory & ordering. Primary language: go. Difficulty: expert. Constraints: design for backward compatibility and migrations, include tests or verification strategy, assume untrusted inputs; validate and sanitize, avoid undef...
WithinUsAI/Elite_GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f53100(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 `m93300.py` and `test_m93300.py`. *** Begin Patch *** Update File: m93300.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: feature flag service Implementation stack: Airflow, dbt, DuckDB, MinIO, pytest Software delivery problem: invalid rollback sequence Task type:...
WithinUsAI/GOD_Coder_Complete_DataSet
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 handle Windows paths safely, must include docstrings. Difficulty: hard. Ensure the API is testable via dependency injection. 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: Optimize while preserving behavior. File: xpjd1...
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: Boost Domain: team dashboard Logic challenge: migration ordering failure 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: Repository domain: payments platform Primary language: C++ Framework/tooling: Catch2 Reported problem: dead-letter queue replay Task type: bug_fix Difficulty:...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor an existing codebase in social media to support offline-first sync cleanly. Target platform: CI (GitHub Actions). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must avoid global state, must include tests, must be performant under load, must be secure-by-defau...
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: etp6t1jx4wv.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: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Language: C# Dependency challenge: stale cache invalidation Task type: version_conflict_reso...
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: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker Language: Python Dependency challenge: schema drift during deployment Task type: build_reproducib...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C16167: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m85859.py` and `test_m85859.py`. ```python # m85859.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: EF Core Reported problem: timezone bug in reporting Task type: bug_fix Difficulty: ha...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of networking for scenario: document indexing. Primary language: sql. Difficulty: expert. Constraints: include tests or verification strategy, assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance, make the interface contract explicit, avoid un...
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
Secure-by-default implementation for multi-tenant isolation in a customer support product. Target platform: mobile (Android Kotlin). Requirements: threat model, input validation, authz/authn guidance, safe storage, tests. Constraints: must be observable (logs/metrics/traces), must include clear error handling, must avo...
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 stack: Airflow, dbt, DuckDB, MinIO, pytest Language: Go Dependency challenge: race condition on worker shutdown Task type: lockfile_repair Difficulty:...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: sre_incident_sim Scenario: edge sync Domain focus: zero-downtime migrations Primary language: bash Difficulty: expert+ Scale/SLO: 50 TB/day ingestion Component: component_clfpplxf Constraints: include security threat model (defensive only), explicit contracts and invariants, include test vectors and fuzz str...
WithinUsAI/Omega_Genesis_Coder_100k
Task type: secure_architecture Scenario: time-series metrics store Domain focus: edge robotics (safe) Primary language: rust Difficulty: expert Scale/SLO: 1M msgs/min Component: component_itxoeowx Constraints: include performance model and limits, include test vectors and fuzz strategy, avoid data races and undefined b...
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: document processing API Stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker Cross-layer incident: monorepo toolchain skew Task type...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C73902: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m36454.py` and `test_m36454.py`. ```python # m36454.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Debug and fix a subtle production bug related to background jobs in a content moderation service. Target platform: infra (Terraform). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must include type hints where applicable, must include documentation/comments, must be easy to ex...
WithinUsAI/GOD_Coder_100k
Add a clear docstring and type hints to this function: ```python def f33510(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f33510(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
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: search service Primary language: Bash Framework/tooling: awk Reported problem: build reproducibility failure Task type: bug_fix Difficulty:...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix the bug and add pytest tests. ```python def f18566(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 `m16938.py` and `test_m16938.py`. *** Begin Patch *** Update File: m16938.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: repo automation Stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Cross-layer incident: unsafe deserialization Task type: schema_contract...
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: developer platform Primary language: C# Framework/tooling: NUnit Reported problem: path traversal on downloads Task type: test_repair Diffi...
WithinUsAI/GOD_Coder_Complete_DataSet
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: TypeScript Framework/tooling: Express Domain: data pipeline Logic challenge: path traversal on downloads Task type: multi_file_migration_repair Diff...
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: Java Framework/tooling: Spring Boot Domain: benchmark harness Logic challenge: multi-tenant access leak Task type: misleading_symptom_debug Difficul...
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: search service Primary language: TypeScript Framework/tooling: Node.js Reported problem: dead-letter queue replay Task type: bug_fix Diffic...
WithinUsAI/GOD_Coder_Complete_DataSet
Implement an ML engineering workflow for e-commerce focusing on audit logs. Target platform: ML (training + serving). Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring. Constraints: must include clear error handling, must be easy to extend, must be performant under load. Di...
WithinUsAI/GOD_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Optimize while preserving behavior. File: lnw92...
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
Build an elite-grade solution in the domain of edge/IoT for scenario: inventory & ordering. Primary language: bash. Difficulty: medium. Constraints: include invariants and failure modes, assume untrusted inputs; validate and sanitize, make the interface contract explicit, include tests or verification strategy. Compone...
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: Bash Framework/tooling: curl Domain: data pipeline Logic challenge: gRPC retry storm Task type: security_logic_interaction Difficulty: hard Return ...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix the bug and add pytest tests. ```python def f56627(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 `m36661.py` and `test_m36661.py`. *** Begin Patch *** Update File: m36661.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C59313: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m66101.py` and `test_m66101.py`. ```python # m66101.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Improve typing and robustness of a Python module used for file synchronization. Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests. Constraints: must handle Windows paths safely, must include tests, must be memory-efficient, must be easy to extend. Difficulty: easy. Avoid quad...
WithinUsAI/python_GOD_coder_100k
Build an elite-grade solution in the domain of edge/IoT for scenario: payment processing. Primary language: go. Difficulty: hard. Constraints: make the interface contract explicit, avoid undefined behavior and data races, include tests or verification strategy, include invariants and failure modes. Component: component...
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: model serving gateway Implementation stack: Airflow, dbt, DuckDB, MinIO, pytest Software delivery problem: path traversal on downloads Task ty...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of sre/observability for scenario: time-series metrics. Primary language: bash. Difficulty: medium. Constraints: assume untrusted inputs; validate and sanitize, include invariants and failure modes, make the interface contract explicit. Component: component_nmwyzkx. Assume cr...
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: gmnk6...
WithinUsAI/Royal_Ghost_Coder_501k
Create a small, production-ready Python package for time series. Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml. Constraints: must be streaming-friendly, must avoid global state. Difficulty: medium. Provide helpful exceptions with actionable messages. Deliverable: corrected co...
WithinUsAI/python_GOD_coder_100k
Build an elite-grade solution in the domain of gpu compute for scenario: multi-tenant SaaS. Primary language: go. Difficulty: expert. Constraints: make the interface contract explicit, design for backward compatibility and migrations, document performance characteristics, provide rollout and rollback guidance, assume u...
WithinUsAI/Elite_GOD_Coder_100k
Fix a subtle bug in a Python module used for ETL pipelines. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must include type hints, must avoid global state, must be streaming-friendly. Difficulty: medium. Avoid quadratic behavior on large inputs. Deliverable: p...
WithinUsAI/python_GOD_coder_100k
Fix the bug and add pytest tests. ```python def f84273(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 `m12039.py` and `test_m12039.py`. *** Begin Patch *** Update File: m12039.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of operating systems for scenario: chat messaging. Primary language: python. Difficulty: expert. Constraints: provide rollout and rollback guidance, avoid undefined behavior and data races, document performance characteristics, make the interface contract explicit, include in...
WithinUsAI/Elite_GOD_Coder_100k
Task type: query_optimizer Scenario: document indexing pipeline Domain focus: kernel primitives Primary language: typescript Difficulty: expert Scale/SLO: 99.99% availability Component: component_unwyugpu Constraints: explicit contracts and invariants, include failure modes and recovery, include backward compatibility ...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C52950: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m27150.py` and `test_m27150.py`. ```python # m27150.py from __future__ import annotations from datacla...
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 avoid global state, must handle Windows paths safely. Difficulty: expert. Provide helpful exceptions with actionable messages. Delive...
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: Hibernate Domain: repo automation Logic challenge: build reproducibility failure Task type: parser_validation_logic Difficul...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of distributed systems for scenario: rate limiting gateway. Primary language: go. Difficulty: expert. Constraints: avoid undefined behavior and data races, provide rollout and rollback guidance, include tests or verification strategy, assume untrusted inputs; validate and san...
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: Python Framework/tooling: FastAPI Domain: reporting engine Logic challenge: CI failures after dependency upgrade Task type: concurrency_fix Difficul...
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: search service Stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Cross-layer incident: websocket reconnect storm Task type: full_sta...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: storage_engine Scenario: real-time notification hub Domain focus: static analysis Primary language: rust Difficulty: hard Scale/SLO: 1M msgs/min Component: component_mdyfcrrk Constraints: explicit contracts and invariants, include performance model and limits, include test vectors and fuzz strategy, assume a...
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: jxg1idvc.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f84925(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 `m69275.py` and `test_m69275.py`. *** Begin Patch *** Update File: m69275.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of ml systems for scenario: analytics pipeline. Primary language: go. Difficulty: expert. Constraints: make the interface contract explicit, design for backward compatibility and migrations, include invariants and failure modes, provide rollout and rollback guidance. Componen...
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 stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions Language: Rust Dependency challenge: rate-limit bypass Task type: lockfile_repai...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor a Python module used for file synchronization into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must include docstrings, must be easy to extend. Difficulty: expert. Handle empty inputs and malformed records gracefully. ...
WithinUsAI/python_GOD_coder_100k
Write pytest tests for `f97052`. ```python def f97052(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m42436 import f97052 def test_known(): assert f97052(3,4) == 25 def test_zero(): assert f97052(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Implement a mobile feature for gaming: real-time notifications. Target platform: mobile. Requirements: offline-safe behavior, UI state handling, and tests. Constraints: must be production-ready, must include type hints where applicable, must be observable (logs/metrics/traces), must include clear error handling, must i...
WithinUsAI/GOD_Coder_100k
Perform a code review for a social media PR implementing analytics pipeline. Target platform: ML (PyTorch + serving). Requirements: list critical issues, improvements, and provide an improved patch excerpt. Constraints: must avoid global state, must include clear error handling, must be observable (logs/metrics/traces)...
WithinUsAI/GOD_Coder_100k
Task type: gpu_serving_pipeline Scenario: document indexing pipeline Domain focus: observability platforms Primary language: typescript Difficulty: expert+ Scale/SLO: 10k RPS peak Component: component_ykpnkxfr Constraints: include security threat model (defensive only), explicit contracts and invariants, avoid data rac...
WithinUsAI/Omega_Genesis_Coder_100k
Design and implement an algorithm for task scheduling. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must include tests, must be streaming-friendly. Difficulty: expert. Support both Windows and POSIX paths correctly. Deliverable: API + reference imple...
WithinUsAI/python_GOD_coder_100k
Refactor a Python module used for metrics aggregation into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must include tests, must include docstrings, must be memory-efficient, must be streaming-friendly. Difficulty: hard. Provide...
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: Rust, Axum, SQLx, Redis, Tokio, Docker Language: Bash Dependency challenge: CI failures after dependency upgrade Task type: version_conflict_re...
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: Rust Framework/tooling: Axum Domain: auth service Logic challenge: broken pagination cursor Task type: misleading_symptom_debug Difficulty: hard Re...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of compilers for scenario: job scheduler. Primary language: bash. Difficulty: medium. Constraints: include invariants and failure modes, assume untrusted inputs; validate and sanitize, document performance characteristics, design for backward compatibility and migrations, inc...
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
Add a clear docstring and type hints to this function: ```python def f97257(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f97257(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: nsj0ux9ena.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f88357(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 `m84051.py` and `test_m84051.py`. *** Begin Patch *** Update File: m84051.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Build a data pipeline for a e-commerce product around A/B experimentation. Target platform: data (SQL + Python). Requirements: schema, ingestion, validation, backfills, and tests. Constraints: must avoid global state, must include type hints where applicable, must be production-ready, must be easy to extend. Difficulty...
WithinUsAI/GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C31256: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m94712.py` and `test_m94712.py`. ```python # m94712.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of edge/IoT for scenario: document indexing. Primary language: bash. Difficulty: expert. Constraints: include tests or verification strategy, document performance characteristics, assume untrusted inputs; validate and sanitize, include invariants and failure modes. Component:...
WithinUsAI/Elite_GOD_Coder_100k
Fix a subtle bug in a Python module used for event dispatching. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must include tests, must handle Windows paths safely, must avoid global state. Difficulty: hard. Avoid quadratic behavior on large inputs. Deliverable...
WithinUsAI/python_GOD_coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: o08d9e7kvnh.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: eqpwhmyc0.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor a Python module used for telemetry ingestion into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must include tests, must include type hints, must include docstrings. Difficulty: easy. Include a small CLI example if relev...
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: Repository domain: team dashboard Primary language: Rust Framework/tooling: Serde Reported problem: build reproducibility failure Task type: security_patch Di...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of operating systems for scenario: rate limiting gateway. Primary language: typescript. Difficulty: expert. Constraints: make the interface contract explicit, provide rollout and rollback guidance, include invariants and failure modes, 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: Fix a bug and add tests. File: bk292_s2t.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f90822(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m41546.py` with types and O(n) average. ```python # m41546.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of networking for scenario: event ingestion. Primary language: sql. Difficulty: hard. Constraints: design for backward compatibility and migrations, document performance characteristics, make the interface contract explicit, provide rollout and rollback guidance. Component: c...
WithinUsAI/Elite_GOD_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project domain: developer platform Implementation stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Software delivery problem: async cancellation bug Ta...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of high-performance services for scenario: event ingestion. Primary language: rust. Difficulty: expert. Constraints: avoid undefined behavior and data races, provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize, include tests or verification s...
WithinUsAI/Elite_GOD_Coder_100k
Task type: distributed_algorithm Scenario: time-series metrics store Domain focus: compiler toolchains Primary language: bash Difficulty: hard Scale/SLO: 50 TB/day ingestion Component: component_ozgigxaw Constraints: include performance model and limits, include deterministic replay plan, assume adversarial inputs; val...
WithinUsAI/Omega_Genesis_Coder_100k
Fix the bug and add pytest tests. ```python def f70620(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 `m38660.py` and `test_m38660.py`. *** Begin Patch *** Update File: m38660.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: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Fix a subtle bug in a Python module used for ETL pipelines. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must include tests, must provide clear error messages. Difficulty: easy. Support both Windows and POSIX paths correctly. Deliverable: API + reference impl...
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: lpngkiem6n.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C51222: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m50094.py` and `test_m50094.py`. ```python # m50094.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Implement real-time notifications for a calendar/scheduling product. Target platform: mobile (Android Kotlin). Requirements: provide production-ready code, configuration, and tests. Constraints: must include type hints where applicable, must avoid global state, must be easy to extend, must include tests. 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: Fix a bug and add tests. File: ky5zcwhlfa3.py `...
WithinUsAI/Royal_Ghost_Coder_501k
Design a production system for customer support supporting multi-tenant isolation. Target platform: web (React + TypeScript). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must include documentation/comments, must be easy to extend, must be secure-by-default, must include t...
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: ezm7h...
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