text
stringlengths
355
3.69k
source
stringclasses
6 values
Task type: distributed_algorithm Scenario: time-series metrics store Domain focus: compiler toolchains Primary language: bash Difficulty: expert+ Scale/SLO: 100k RPS peak Component: component_cplgpliq Constraints: avoid data races and undefined behavior, explicit contracts and invariants, include deterministic replay p...
WithinUsAI/Omega_Genesis_Coder_100k
Fix the bug and add pytest tests. ```python def f07734(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 `m43962.py` and `test_m43962.py`. *** Begin Patch *** Update File: m43962.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: notification service Implementation stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker Software delivery problem: unsafe deserialization Tas...
WithinUsAI/GOD_Coder_Complete_DataSet
Add a clear docstring and type hints to this function: ```python def f76434(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f76434(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: verification_properties Scenario: job scheduler Domain focus: GPU serving Primary language: typescript Difficulty: expert+ Scale/SLO: 100k RPS peak Component: component_psyapzly Constraints: include security threat model (defensive only), include performance model and limits, include test vectors and fuzz st...
WithinUsAI/Omega_Genesis_Coder_100k
Provision infrastructure for a IoT telemetry workload providing webhooks. Target platform: ML (PyTorch + serving). Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling. Constraints: must include type hints where applicable, must include documentation/comments, must include tests. Difficult...
WithinUsAI/GOD_Coder_100k
Refactor an existing codebase in document processing to support search + pagination cleanly. Target platform: data (SQL + Python). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must include tests, must be easy to extend, must avoid global state, must be performant und...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of operating systems for scenario: feature flagging. Primary language: python. Difficulty: expert. Constraints: assume untrusted inputs; validate and sanitize, make the interface contract explicit, include invariants and failure modes. Component: component_qxjwxod. Assume com...
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
Task type: compiler_backend_ir Scenario: streaming ETL Domain focus: cryptography engineering (defensive) Primary language: rust Difficulty: hard Scale/SLO: 10k RPS peak Component: component_mvxtrohf Constraints: include backward compatibility and migration plan, explicit contracts and invariants, include deterministic...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C41478: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m87806.py` and `test_m87806.py`. ```python # m87806.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f68401`. ```python def f68401(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m38343 import f68401 def test_known(): assert f68401(3,4) == 25 def test_zero(): assert f68401(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f19913(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m88559.py` with types and O(n) average. ```python # m88559.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: SQL Framework/tooling: DuckDB Domain: developer platform Logic challenge: partial checkpoint corruption Task type: performance_bottleneck_patch 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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Design a production system for education supporting analytics pipeline. Target platform: infra (Docker + Kubernetes). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must be production-ready, must include documentation/comments, must include type hints where applicable, must ...
WithinUsAI/GOD_Coder_100k
Design and implement an algorithm for event dispatching. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must provide clear error messages, must include tests, must include docstrings, must be memory-efficient. Difficulty: easy. Support both Windows and ...
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: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Language: Go Dependency challenge: build reproducibility failure Task type: migration_patch Di...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: perf_microarchitecture Scenario: identity and access Domain focus: formal verification Primary language: rust Difficulty: expert Scale/SLO: 10k RPS peak Component: component_wwdvpdlw Constraints: include security threat model (defensive only), include test vectors and fuzz strategy, include performance model...
WithinUsAI/Omega_Genesis_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: C++ Framework/tooling: CMake Domain: feature flag service Logic challenge: stale cache invalidation Task type: cross_stack_outage_fix Difficulty: ex...
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: d7r1gu63v.py ```...
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 include tests, must include type hints, must handle Windows paths safely. Difficulty: medium. Ensure the API is testable via dependen...
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: humh8owx4.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
Optimize while preserving behavior and order. ```python def f29795(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m75685.py` with types and O(n) average. ```python # m75685.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: Project stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker Language: Go Dependency challenge: optimistic locking conflict Task type: container_runtime_fix D...
WithinUsAI/GOD_Coder_Complete_DataSet
Design a small, production-grade Python API for configuration loading. Requirements: define data models and interfaces, implement reference version, include tests. Constraints: must be easy to extend, must handle Windows paths safely. Difficulty: expert. Ensure the API is testable via dependency injection. Deliverable...
WithinUsAI/python_GOD_coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Language: Bash Dependency challenge: websocket reconnect storm Task type: lockfile_repair...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: tla_state_machine Scenario: edge sync Domain focus: query planning Primary language: tla+ Difficulty: expert Scale/SLO: 1M msgs/min Component: component_ovecoylp Constraints: include security threat model (defensive only), explicit contracts and invariants, include verification strategy, avoid data races and...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of compilers for scenario: inventory & ordering. Primary language: python. Difficulty: expert. Constraints: include invariants and failure modes, design for backward compatibility and migrations, avoid undefined behavior and data races, include tests or verification strategy....
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of stream processing for scenario: feature flagging. Primary language: sql. Difficulty: medium. Constraints: assume untrusted inputs; validate and sanitize, include invariants and failure modes, document performance characteristics, include tests or verification strategy. Com...
WithinUsAI/Elite_GOD_Coder_100k
Design and implement an algorithm for report generation. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must be easy to extend, must provide clear error messages, must include tests. Difficulty: medium. Provide helpful exceptions with actionable message...
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: o3on__q9.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f12545(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m58935.py` with types and O(n) average. ```python # m58935.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: Project domain: observability collector Implementation stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Software delivery problem: gRPC retry stor...
WithinUsAI/GOD_Coder_Complete_DataSet
Optimize while preserving behavior and order. ```python def f01150(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m14450.py` with types and O(n) average. ```python # m14450.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 f94508(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 `m70644.py` and `test_m70644.py`. *** Begin Patch *** Update File: m70644.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: Fix a bug and add tests. File: hiqzakkb7m.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: sg0p7...
WithinUsAI/Royal_Ghost_Coder_501k
Add a clear docstring and type hints to this function: ```python def f69559(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f69559(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: Language: Python Framework/tooling: SQLAlchemy Domain: artifact registry Logic challenge: gRPC retry storm Task type: concurrency_fix Difficulty: medium Retu...
WithinUsAI/GOD_Coder_Complete_DataSet
Design and implement an algorithm for CLI tooling. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must include tests, must provide clear error messages. Difficulty: expert. Include a small CLI example if relevant. Deliverable: API + reference implement...
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: analytics pipeline. Primary language: python. Difficulty: medium. Constraints: include invariants and failure modes, include tests or verification strategy, design for backward compatibility and migrations, avoid undefined behavior and dat...
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: payments platform Implementation stack: Airflow, dbt, DuckDB, MinIO, pytest Software delivery problem: slow cold start Task type: release_engi...
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: Rust Framework/tooling: cargo test Reported problem: invalid rollback sequence Task type: code_review_fix ...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: supply_chain_security Scenario: time-series metrics store Domain focus: data lineage & governance Primary language: python Difficulty: expert+ Scale/SLO: 10k RPS peak Component: component_tyqxzxqo Constraints: include failure modes and recovery, explicit contracts and invariants, include performance model an...
WithinUsAI/Omega_Genesis_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: Java Framework/tooling: Gradle Domain: feature flag service Logic challenge: slow cold start Task type: concurrency_fix Difficulty: medium Return a...
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: model serving gateway Logic challenge: async cancellation bug Task type: backwards_compatible_redesign Di...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix the bug and add pytest tests. ```python def f43611(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 `m63373.py` and `test_m63373.py`. *** Begin Patch *** Update File: m63373.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f91865(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m41695.py` with types and O(n) average. ```python # m41695.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: nch3ju73yr.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f19308(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m17044.py` with types and O(n) average. ```python # m17044.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Implement an ML engineering workflow for developer tooling focusing on search + pagination. Target platform: ML (training + serving). Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring. Constraints: must include tests, must be observable (logs/metrics/traces), must be easy t...
WithinUsAI/GOD_Coder_100k
Task type: compiler_frontend Scenario: job scheduler Domain focus: query planning Primary language: bash Difficulty: hard Scale/SLO: 50 TB/day ingestion Component: component_saceqhak Constraints: explicit contracts and invariants, include performance model and limits, include security threat model (defensive only), inc...
WithinUsAI/Omega_Genesis_Coder_100k
Task type: compiler_frontend Scenario: feature-flag evaluation Domain focus: network protocols Primary language: sql Difficulty: expert+ Scale/SLO: 99.99% availability Component: component_xjpdqfvi Constraints: explicit contracts and invariants, avoid data races and undefined behavior, include backward compatibility an...
WithinUsAI/Omega_Genesis_Coder_100k
Build a data pipeline for a customer support product around real-time notifications. Target platform: data (SQL + Python). Requirements: schema, ingestion, validation, backfills, and tests. Constraints: must be observable (logs/metrics/traces), must include tests, must be production-ready, must include documentation/co...
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: m9tm8o.py ```pyt...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of distributed systems for scenario: multi-tenant SaaS. Primary language: go. Difficulty: hard. Constraints: include tests or verification strategy, design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize, document performance characte...
WithinUsAI/Elite_GOD_Coder_100k
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: stdlib-only, must be streaming-friendly. Difficulty: hard. Support both Windows and POSIX paths correctly. Deliverable: implementation + t...
WithinUsAI/python_GOD_coder_100k
Implement an ML engineering workflow for customer support focusing on idempotent payments. Target platform: ML (training + serving). Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring. Constraints: must include type hints where applicable, must be secure-by-default, must inc...
WithinUsAI/GOD_Coder_100k
Create a small, production-ready Python package for task scheduling. Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml. Constraints: must be easy to extend, stdlib-only, must handle Windows paths safely, must include docstrings. Difficulty: medium. Support both Windows and POSIX p...
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
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C18815: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m93755.py` and `test_m93755.py`. ```python # m93755.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: fvxh9adbm.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
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: team dashboard Logic challenge: websocket reconnect storm Task type: multi_service_security_patch Difficulty: har...
WithinUsAI/GOD_Coder_Complete_DataSet
Debug and fix a subtle production bug related to role-based access control in a social media service. Target platform: mobile (Android Kotlin). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must include type hints where applicable, must be secure-by-default, must include clear...
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: payments platform Implementation stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker Software delivery problem: log redaction failure Task ty...
WithinUsAI/GOD_Coder_Complete_DataSet
Improve typing and robustness of a Python module used for CLI tooling. Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests. Constraints: must provide clear error messages, stdlib-only, must be streaming-friendly. Difficulty: easy. Guarantee deterministic output ordering. Deliv...
WithinUsAI/python_GOD_coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C75179: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m05783.py` and `test_m05783.py`. ```python # m05783.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Implement a concurrent Python solution for metrics aggregation. Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests. Constraints: must handle Windows paths safely, must provide clear error messages, must be memory-efficient. Difficulty: medium. Guarantee deterministic output ...
WithinUsAI/python_GOD_coder_100k
Fix the bug and add pytest tests. ```python def f57432(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 `m36776.py` and `test_m36776.py`. *** Begin Patch *** Update File: m36776.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: network_protocol Scenario: identity and access Domain focus: zero-downtime migrations Primary language: go Difficulty: expert Scale/SLO: 10k RPS peak Component: component_nimgckkf Constraints: assume adversarial inputs; validate everything, include backward compatibility and migration plan, include determini...
WithinUsAI/Omega_Genesis_Coder_100k
Create a small, production-ready Python package for rate limiting. Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml. Constraints: must be streaming-friendly, must handle Windows paths safely, must include type hints, must be easy to extend. Difficulty: hard. Avoid quadratic behav...
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: ju0ysdjk5.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: yiqe3f37pmp.py `...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: event ingestion. Primary language: go. Difficulty: expert. Constraints: include tests or verification strategy, avoid undefined behavior and data races, document performance characteristics, assume untrusted inputs; validate a...
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
Add a clear docstring and type hints to this function: ```python def f53632(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f53632(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f10995(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m87285.py` with types and O(n) average. ```python # m87285.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
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 be memory-efficient, must include tests, must be streaming-friendly. Difficulty: expert. Guarantee deterministic output ordering. Deliverable: API + refe...
WithinUsAI/python_GOD_coder_100k
Build an elite-grade solution in the domain of compilers for scenario: analytics pipeline. Primary language: bash. Difficulty: hard. Constraints: provide rollout and rollback guidance, avoid undefined behavior and data races, design for backward compatibility and migrations. Component: component_agmcund. Assume partial...
WithinUsAI/Elite_GOD_Coder_100k
Task type: query_optimizer Scenario: real-time notification hub Domain focus: real-time scheduling Primary language: sql Difficulty: expert+ Scale/SLO: p99 < 150ms Component: component_dtrqacaj Constraints: assume adversarial inputs; validate everything, include backward compatibility and migration plan, include verifi...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor an existing codebase in customer support to support analytics pipeline cleanly. Target platform: mobile (Android Kotlin). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must be secure-by-default, must be production-ready, must include documentation/comments, m...
WithinUsAI/GOD_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Optimize while preserving behavior. File: hm07b...
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: Bash Framework/tooling: GNU coreutils Reported problem: timezone bug in reporting Task type: code_revie...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of distributed systems for scenario: time-series metrics. Primary language: go. Difficulty: hard. Constraints: provide rollout and rollback guidance, include invariants and failure modes, assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races....
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: YAML Framework/tooling: Docker Compose Domain: auth service Logic challenge: stale cache invalidation Task type: concurrency_fix Difficulty: medium ...
WithinUsAI/GOD_Coder_Complete_DataSet
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: YAML Framework/tooling: Helm Domain: search service Logic challenge: multi-tenant access leak Task type: backwards_compatible_redesign Difficulty: e...
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: jip90...
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: Bash Framework/tooling: jq Reported problem: log redaction failure Task type: api_endpoint_work Difficulty:...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of edge/IoT for scenario: multi-tenant SaaS. Primary language: python. Difficulty: hard. Constraints: avoid undefined behavior and data races, provide rollout and rollback guidance, design for backward compatibility and migrations. Component: component_ueggjhc. Assume 50k RPS...
WithinUsAI/Elite_GOD_Coder_100k
Design and implement an algorithm for telemetry ingestion. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must be memory-efficient, must avoid global state. Difficulty: easy. Ensure the API is testable via dependency injection. Deliverable: implementat...
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: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Language: Bash Dependency challenge: unsafe deserialization Task type: container_runtime_fix D...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: lockfree_primitive Scenario: edge sync Domain focus: query planning Primary language: cpp Difficulty: expert+ Scale/SLO: 100k RPS peak Component: component_ubkehrgo Constraints: explicit contracts and invariants, include verification strategy, include failure modes and recovery, include security threat model...
WithinUsAI/Omega_Genesis_Coder_100k
Optimize while preserving behavior and order. ```python def f87993(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m83999.py` with types and O(n) average. ```python # m83999.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 operating systems for scenario: feature flagging. Primary language: rust. Difficulty: hard. Constraints: include invariants and failure modes, include tests or verification strategy, document performance characteristics, design for backward compatibility and migrations, av...
WithinUsAI/Elite_GOD_Coder_100k