text
stringlengths
355
3.69k
source
stringclasses
6 values
Write pytest tests for `f94129`. ```python def f94129(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m13447 import f94129 def test_known(): assert f94129(3,4) == 25 def test_zero(): assert f94129(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: Repository domain: payments platform Primary language: JavaScript Framework/tooling: Vite Reported problem: schema drift during deployment Task type: code_rev...
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: a_gr77pk8y.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Optimize while preserving behavior. File: hqd5q...
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: anmswda.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Add a clear docstring and type hints to this function: ```python def f18542(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f18542(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of operating systems for scenario: payment processing. Primary language: rust. Difficulty: medium. Constraints: document performance characteristics, assume untrusted inputs; validate and sanitize, include tests or verification strategy, provide rollout and rollback guidance....
WithinUsAI/Elite_GOD_Coder_100k
Task type: program_synthesis_safe Scenario: edge sync Domain focus: consensus & replication Primary language: go Difficulty: hard Scale/SLO: 99.99% availability Component: component_yvesmlai Constraints: include deterministic replay plan, include backward compatibility and migration plan, include verification strategy,...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor a Python module used for parsing into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must be streaming-friendly, must include docstrings. Difficulty: easy. Ensure the API is testable via dependency injection. Deliverable...
WithinUsAI/python_GOD_coder_100k
Design and implement an algorithm for configuration loading. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must provide clear error messages, must avoid global state, must handle Windows paths safely, must be streaming-friendly. Difficulty: medium. Sup...
WithinUsAI/python_GOD_coder_100k
Write secure, defensive Python code for ETL pipelines. Requirements: input validation, safe file handling, prevent path traversal, include tests. Constraints: must include docstrings, must be easy to extend, must include type hints, must provide clear error messages. Difficulty: expert. Support both Windows and POSIX p...
WithinUsAI/python_GOD_coder_100k
Fix the bug and add pytest tests. ```python def f42815(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 `m77545.py` and `test_m77545.py`. *** Begin Patch *** Update File: m77545.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
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 streaming-friendly, must include tests. Difficulty: easy. Guarantee deterministic output ordering. Deliverable: production-ready reference solution....
WithinUsAI/python_GOD_coder_100k
Build an elite-grade solution in the domain of stream processing for scenario: payment processing. Primary language: sql. Difficulty: hard. Constraints: design for backward compatibility and migrations, document performance characteristics, include tests or verification strategy. Component: component_sjnlmeb. Assume sc...
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: artifact registry Implementation stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker Software delivery problem: race condition on worker shut...
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: ni_1y...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: perf_microarchitecture Scenario: real-time notification hub Domain focus: query planning Primary language: rust Difficulty: expert+ Scale/SLO: multi-region active-active Component: component_khoevyiw Constraints: include verification strategy, explicit contracts and invariants, include security threat model ...
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: xohab4jqvxhl.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: mechanized_spec Scenario: edge sync Domain focus: static analysis Primary language: lean Difficulty: expert Scale/SLO: 99.99% availability Component: component_lebbduil Constraints: include failure modes and recovery, avoid data races and undefined behavior, include test vectors and fuzz strategy, assume adv...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: rate limiting gateway. Primary language: python. Difficulty: hard. Constraints: provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize, make the interface contract explicit, include tests or veri...
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: SQL Framework/tooling: DuckDB Domain: document processing API Logic challenge: build reproducibility failure Task type: concurrency_fix Difficulty: ...
WithinUsAI/GOD_Coder_Complete_DataSet
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: C# Framework/tooling: ASP.NET Core Domain: data pipeline Logic challenge: CI failures after dependency upgrade Task type: state_machine_patch Diffic...
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: goe2e...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: JavaScript Framework/tooling: React Domain: benchmark harness Logic challenge: build reproducibility failure Task type: transaction_integrity_fix Di...
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: Go Framework/tooling: testify Domain: benchmark harness Logic challenge: rate-limit bypass Task type: cross_stack_outage_fix Difficulty: expert Ret...
WithinUsAI/GOD_Coder_Complete_DataSet
Write secure, defensive Python code for ETL pipelines. Requirements: input validation, safe file handling, prevent path traversal, include tests. Constraints: must be memory-efficient, must provide clear error messages. Difficulty: easy. Ensure the API is testable via dependency injection. Deliverable: corrected code ...
WithinUsAI/python_GOD_coder_100k
Build an elite-grade solution in the domain of gpu compute for scenario: job scheduler. Primary language: python. Difficulty: hard. Constraints: avoid undefined behavior and data races, design for backward compatibility and migrations, document performance characteristics, assume untrusted inputs; validate and sanitize...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of operating systems for scenario: multi-tenant SaaS. Primary language: python. Difficulty: medium. Constraints: make the interface contract explicit, design for backward compatibility and migrations, include invariants and failure modes, assume untrusted inputs; validate and...
WithinUsAI/Elite_GOD_Coder_100k
Optimize while preserving behavior and order. ```python def f58237(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m36891.py` with types and O(n) average. ```python # m36891.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C68007: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m97539.py` and `test_m97539.py`. ```python # m97539.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: k8fzh_185_h7.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: Repository domain: reporting engine Primary language: Java Framework/tooling: JUnit Reported problem: race condition on worker shutdown Task type: test_repair...
WithinUsAI/GOD_Coder_Complete_DataSet
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project stack: Airflow, dbt, DuckDB, MinIO, pytest Language: TypeScript Dependency challenge: JWT refresh token rotation Task type: lockfile_repair Difficulty...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C54068: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m27236.py` and `test_m27236.py`. ```python # m27236.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: lockfree_primitive Scenario: payment ledger Domain focus: GPU serving Primary language: cpp Difficulty: expert Scale/SLO: 1M msgs/min Component: component_smhbqjba Constraints: include test vectors and fuzz strategy, include deterministic replay plan, include verification strategy, include security threat mo...
WithinUsAI/Omega_Genesis_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: ww3x8y13ce.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: tla_state_machine Scenario: payment ledger Domain focus: program synthesis (safe) Primary language: tla+ Difficulty: expert+ Scale/SLO: 100k RPS peak Component: component_oxjreqcb Constraints: include failure modes and recovery, include deterministic replay plan, include performance model and limits, include...
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: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: storage_engine Scenario: edge sync Domain focus: stream processing Primary language: sql Difficulty: hard Scale/SLO: 10k RPS peak Component: component_oinjbfke Constraints: include security threat model (defensive only), include deterministic replay plan, include test vectors and fuzz strategy, include perfo...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C48472: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m88344.py` and `test_m88344.py`. ```python # m88344.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f82965`. ```python def f82965(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m68995 import f82965 def test_known(): assert f82965(3,4) == 25 def test_zero(): assert f82965(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f17058`. ```python def f17058(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m45294 import f17058 def test_known(): assert f17058(3,4) == 25 def test_zero(): assert f17058(0,0) == 0 def test_property_nonne...
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: x_miod.py ```pyt...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Language: Python Dependency challenge: memory leak in AST cache Task type: lockfile_repair D...
WithinUsAI/GOD_Coder_Complete_DataSet
Build a data pipeline for a developer tooling product around file uploads. Target platform: data (SQL + Python). Requirements: schema, ingestion, validation, backfills, and tests. Constraints: must be easy to extend, must be secure-by-default, must include clear error handling, must avoid global state. Difficulty: easy...
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: fvynj0y1htn.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: Go Framework/tooling: gRPC Domain: payments platform Logic challenge: path traversal on downloads Task type: parser_validation_logic Difficulty: med...
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: ASP.NET Core Domain: reporting engine Logic challenge: N+1 query explosion Task type: transaction_integrity_fix Difficulty: ha...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of edge/IoT for scenario: analytics pipeline. Primary language: typescript. Difficulty: hard. Constraints: document performance characteristics, avoid undefined behavior and data races, assume untrusted inputs; validate and sanitize, include tests or verification strategy, ma...
WithinUsAI/Elite_GOD_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 provide clear error messages, must include tests. Difficulty: expert. Provide helpful exceptions with actionable messages. Deliverable: API + reference...
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: dmdgewcmxl8c.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: cc7d7s4.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f57829(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m22547.py` with types and O(n) average. ```python # m22547.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: C# Framework/tooling: EF Core Domain: auth service Logic challenge: partial checkpoint corruption Task type: misleading_symptom_debug Difficulty: ha...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C65647: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m35819.py` and `test_m35819.py`. ```python # m35819.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Write a thorough test suite for a Python component used for task scheduling. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must provide clear error messages, must handle Windows paths safely, must be memory-efficient, must include tests. Difficulty: medium. Support both Windows 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: Fix a bug and add tests. File: bkiu9vcz.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of edge/IoT for scenario: event ingestion. Primary language: python. Difficulty: medium. Constraints: include tests or verification strategy, assume untrusted inputs; validate and sanitize, make the interface contract explicit. Component: component_flrmdwx. Assume 50k RPS and...
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: jla9rqd2g5q.py `...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: sre_incident_sim Scenario: payment ledger Domain focus: compiler toolchains Primary language: python Difficulty: expert+ Scale/SLO: 10k RPS peak Component: component_muyzqibu Constraints: include performance model and limits, include backward compatibility and migration plan, include security threat model (d...
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: ct98gufliz9.py `...
WithinUsAI/Royal_Ghost_Coder_501k
Write a thorough test suite for a Python component used for ETL pipelines. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must include tests, must be easy to extend, must include type hints, must handle Windows paths safely. Difficulty: expert. Avoid quadratic behavior on large in...
WithinUsAI/python_GOD_coder_100k
Optimize while preserving behavior and order. ```python def f68216(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m66888.py` with types and O(n) average. ```python # m66888.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor a Python module used for event dispatching into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must be easy to extend, must include docstrings, must provide clear error messages. Difficulty: expert. Ensure the API is test...
WithinUsAI/python_GOD_coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C05289: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m54253.py` and `test_m54253.py`. ```python # m54253.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of sre/observability for scenario: edge sync. Primary language: bash. Difficulty: expert. Constraints: make the interface contract explicit, design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize. Component: component_ewibcgl. Assume ...
WithinUsAI/Elite_GOD_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: h9mfonl_igew.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Design a production system for customer support supporting webhooks. Target platform: mobile (Android Kotlin). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must be easy to extend, must be performant under load, must include documentation/comments, must be production-ready,...
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: emprgzq2.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Optimize while preserving behavior. File: cmjph...
WithinUsAI/Royal_Ghost_Coder_501k
Implement multi-tenant isolation for a calendar/scheduling product. Target platform: infra (Terraform). Requirements: provide production-ready code, configuration, and tests. Constraints: must include type hints where applicable, must avoid global state, must include documentation/comments, must include clear error han...
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: gx661pii.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C39766: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m79982.py` and `test_m79982.py`. ```python # m79982.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: cwissbvhw.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
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: Fix a bug and add tests. File: x0tbkg1hb.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: lockfree_primitive Scenario: payment ledger Domain focus: data lineage & governance Primary language: rust Difficulty: hard Scale/SLO: p99 < 150ms Component: component_grxuixrv Constraints: include verification strategy, include backward compatibility and migration plan, avoid data races and undefined behavi...
WithinUsAI/Omega_Genesis_Coder_100k
Provision infrastructure for a fintech workload providing analytics pipeline. Target platform: CI (GitHub Actions). Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling. Constraints: must include clear error handling, must be observable (logs/metrics/traces), must be performant under load,...
WithinUsAI/GOD_Coder_100k
Add observability for caching in a fraud detection system. Target platform: infra (Docker + Kubernetes). Requirements: structured logs, metrics, tracing, dashboards, and alerting rules. Constraints: must include clear error handling, must avoid global state, must include tests, must be production-ready, must be easy to...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: payment processing. Primary language: python. Difficulty: hard. Constraints: include invariants and failure modes, make the interface contract explicit, design for backward compatibility and migrations. Component: component_lz...
WithinUsAI/Elite_GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f39933(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 `m91419.py` and `test_m91419.py`. *** Begin Patch *** Update File: m91419.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Create a small, production-ready Python package for telemetry ingestion. Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml. Constraints: must be memory-efficient, must handle Windows paths safely. Difficulty: hard. Guarantee deterministic output ordering. Deliverable: API + refer...
WithinUsAI/python_GOD_coder_100k
Task type: mechanized_spec Scenario: rate limit gateway Domain focus: consensus & replication Primary language: lean Difficulty: expert+ Scale/SLO: 99.99% availability Component: component_uwbsjnst Constraints: explicit contracts and invariants, include backward compatibility and migration plan, assume adversarial inpu...
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: c9mgoyw.py ```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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Language: TypeScript Dependency challenge: transaction boundary bug Task type: container_...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of ml systems for scenario: job scheduler. Primary language: rust. Difficulty: hard. Constraints: include tests or verification strategy, provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races. Component:...
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: dpdb4xenhx.py ``...
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: provide rollout and rollback guidance, include invariants and failure modes, avoid undefined behavior and data races, design for backward compatibility and migra...
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: auth service Implementation stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Software delivery problem: memory leak in AST cache T...
WithinUsAI/GOD_Coder_Complete_DataSet
Debug and fix a subtle production bug related to idempotent payments in a developer tooling service. Target platform: infra (Docker + Kubernetes). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must be easy to extend, must be performant under load, must include tests, must avoi...
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
Build an elite-grade solution in the domain of databases for scenario: edge sync. Primary language: go. Difficulty: expert. Constraints: provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize, include invariants and failure modes, document performance characteristics. Component: component...
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
Improve typing and robustness of a Python module used for log processing. Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests. Constraints: must provide clear error messages, must be streaming-friendly, must be memory-efficient. Difficulty: hard. Handle empty inputs and malform...
WithinUsAI/python_GOD_coder_100k
Build an elite-grade solution in the domain of databases for scenario: chat messaging. Primary language: typescript. Difficulty: medium. Constraints: design for backward compatibility and migrations, make the interface contract explicit, include invariants and failure modes. Component: component_woffdwq. Assume schema ...
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: hs16i...
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: dqazf0m6xp.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of edge/IoT for scenario: feature flagging. Primary language: go. Difficulty: medium. Constraints: document performance characteristics, avoid undefined behavior and data races, include tests or verification strategy, design for backward compatibility and migrations. Componen...
WithinUsAI/Elite_GOD_Coder_100k