text
stringlengths
355
3.69k
source
stringclasses
6 values
Design CI/CD for a logistics service delivering idempotent payments. Target platform: ML (PyTorch + serving). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must be secure-by-default, must be production-ready, must avoid global state, must include tests, must be performant ...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of distributed systems for scenario: job scheduler. Primary language: python. Difficulty: medium. Constraints: avoid undefined behavior and data races, assume untrusted inputs; validate and sanitize, design for backward compatibility and migrations, make the interface contrac...
WithinUsAI/Elite_GOD_Coder_100k
Build a data pipeline for a IoT telemetry product around analytics pipeline. Target platform: data (SQL + Python). Requirements: schema, ingestion, validation, backfills, and tests. Constraints: must include clear error handling, must include documentation/comments, must be production-ready, must include type hints whe...
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: s_wyw...
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: y7h5dtj51yvj.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of operating systems for scenario: document indexing. Primary language: go. Difficulty: medium. Constraints: provide rollout and rollback guidance, make the interface contract explicit, document performance characteristics, assume untrusted inputs; validate and sanitize. Comp...
WithinUsAI/Elite_GOD_Coder_100k
Task type: robust_e2e_testing Scenario: graph query service Domain focus: program synthesis (safe) Primary language: sql Difficulty: expert Scale/SLO: multi-region active-active Component: component_jfikzdas Constraints: include failure modes and recovery, include verification strategy, include test vectors and fuzz st...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C39176: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m64552.py` and `test_m64552.py`. ```python # m64552.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: 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: mf0g4...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of edge/IoT for scenario: time-series metrics. Primary language: rust. Difficulty: hard. Constraints: provide rollout and rollback guidance, make the interface contract explicit, include tests or verification strategy, design for backward compatibility and migrations, include...
WithinUsAI/Elite_GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f12085(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 `m73155.py` and `test_m73155.py`. *** Begin Patch *** Update File: m73155.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Design CI/CD for a fintech service delivering rate limiting. Target platform: mobile (iOS Swift). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must include tests, must include clear error handling, must include documentation/comments, must be secure-by-default. Difficulty...
WithinUsAI/GOD_Coder_100k
Write pytest tests for `f71538`. ```python def f71538(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m95934 import f71538 def test_known(): assert f71538(3,4) == 25 def test_zero(): assert f71538(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Language: YAML Dependency challenge: CI failures after dependency upgrade Task type: migr...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: query_optimizer Scenario: document indexing pipeline Domain focus: query planning Primary language: typescript Difficulty: expert+ Scale/SLO: multi-region active-active Component: component_elljveun Constraints: include failure modes and recovery, include backward compatibility and migration plan, include ve...
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
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: reporting engine Logic challenge: mismatched API contract Task type: transaction_integrity_fix Difficulty: ha...
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: s8ifdtiqw.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: Bash Framework/tooling: awk Domain: benchmark harness Logic challenge: race condition on worker shutdown Task type: concurrency_fix Difficulty: medi...
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: benchmark harness Stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Cross-layer incident: S3-compatible upload inconsistency Task type:...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of networking for scenario: event ingestion. Primary language: typescript. Difficulty: expert. Constraints: avoid undefined behavior and data races, document performance characteristics, include tests or verification strategy, make the interface contract explicit. Component: ...
WithinUsAI/Elite_GOD_Coder_100k
Perform a code review for a document processing PR implementing idempotent payments. Target platform: data (SQL + Python). Requirements: list critical issues, improvements, and provide an improved patch excerpt. Constraints: must include clear error handling, must be performant under load, must be observable (logs/metr...
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: i3423g6fabqo.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f94790`. ```python def f94790(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m84970 import f94790 def test_known(): assert f94790(3,4) == 25 def test_zero(): assert f94790(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: 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: Fix a bug and add tests. File: ah1qjd28.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: distributed_algorithm Scenario: multi-tenant event ingestion Domain focus: high-frequency trading systems (safe engineering) Primary language: python Difficulty: hard Scale/SLO: 100k RPS peak Component: component_lybccimy Constraints: include verification strategy, include backward compatibility and migratio...
WithinUsAI/Omega_Genesis_Coder_100k
Add a clear docstring and type hints to this function: ```python def f27772(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f27772(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f26553`. ```python def f26553(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m18079 import f26553 def test_known(): assert f26553(3,4) == 25 def test_zero(): assert f26553(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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of networking for scenario: inventory & ordering. Primary language: go. Difficulty: hard. Constraints: avoid undefined behavior and data races, include tests or verification strategy, design for backward compatibility and migrations, document performance characteristics. Comp...
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: JavaScript Framework/tooling: Express Domain: developer platform Logic challenge: async cancellation bug Task type: algorithmic_correctness Difficul...
WithinUsAI/GOD_Coder_Complete_DataSet
Improve typing and robustness of a Python module used for validation. Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests. Constraints: must include tests, must be streaming-friendly. Difficulty: medium. Support both Windows and POSIX paths correctly. Deliverable: implementati...
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: yhccqrk2.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: 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 C11354: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m16258.py` and `test_m16258.py`. ```python # m16258.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Write a thorough test suite for a Python component used for log processing. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must avoid global state, stdlib-only, must provide clear error messages, must include docstrings. Difficulty: hard. Support both Windows and POSIX paths corre...
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
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: gpu_serving_pipeline Scenario: multi-tenant event ingestion Domain focus: stream processing Primary language: go Difficulty: expert Scale/SLO: 100k RPS peak Component: component_ipqffcqv Constraints: assume adversarial inputs; validate everything, include deterministic replay plan, include backward compatibi...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor an existing codebase in fraud detection to support file uploads cleanly. Target platform: ML (PyTorch + serving). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must include documentation/comments, must be secure-by-default, must be performant under load. Diff...
WithinUsAI/GOD_Coder_100k
Create a comprehensive test plan and automated tests for role-based access control in a e-commerce product. Target platform: backend (Go). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must include documentation/comments, must include type hints where applicable, must...
WithinUsAI/GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f32493(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 `m47499.py` and `test_m47499.py`. *** Begin Patch *** Update File: m47499.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f37796(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m76828.py` with types and O(n) average. ```python # m76828.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: teyihrp.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Build a data pipeline for a gaming product around caching. Target platform: data (SQL + Python). Requirements: schema, ingestion, validation, backfills, and tests. Constraints: must be production-ready, must include clear error handling, must be performant under load, must include documentation/comments. Difficulty: ha...
WithinUsAI/GOD_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f34546`. ```python def f34546(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m62078 import f34546 def test_known(): assert f34546(3,4) == 25 def test_zero(): assert f34546(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of databases for scenario: multi-tenant SaaS. Primary language: go. Difficulty: hard. Constraints: provide rollout and rollback guidance, include tests or verification strategy, make the interface contract explicit. Component: component_epifkkj. Assume cold-start and memory l...
WithinUsAI/Elite_GOD_Coder_100k
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 include docstrings, must include type hints, must avoid global state, must be memory-efficient. Difficulty: medium. Provide helpful exceptions with actionab...
WithinUsAI/python_GOD_coder_100k
Implement a concurrent Python solution for data modeling. Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests. Constraints: must provide clear error messages, must include type hints, must include tests. Difficulty: expert. Provide helpful exceptions with actionable messages....
WithinUsAI/python_GOD_coder_100k
Build an elite-grade solution in the domain of distributed systems for scenario: analytics pipeline. Primary language: sql. Difficulty: hard. Constraints: make the interface contract explicit, assume untrusted inputs; validate and sanitize, design for backward compatibility and migrations, avoid undefined behavior and ...
WithinUsAI/Elite_GOD_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project domain: developer platform Implementation stack: Rust, Axum, SQLx, Redis, Tokio, Docker Software delivery problem: CI failures after dependency upgrad...
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: Fiber Domain: auth service Logic challenge: dead-letter queue replay Task type: monorepo_toolchain_recovery Difficulty: hard ...
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 domain: notification service Implementation stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Software delivery problem: websocket reconnec...
WithinUsAI/GOD_Coder_Complete_DataSet
Implement a mobile feature for fintech: file uploads. Target platform: mobile. Requirements: offline-safe behavior, UI state handling, and tests. Constraints: must include type hints where applicable, must be easy to extend, must be secure-by-default, must include tests. Difficulty: easy. Assume schema evolves frequent...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of edge/IoT for scenario: multi-tenant SaaS. Primary language: rust. Difficulty: medium. Constraints: include tests or verification strategy, make the interface contract explicit, document performance characteristics, include invariants and failure modes. Component: component...
WithinUsAI/Elite_GOD_Coder_100k
Write a thorough test suite for a Python component used for rate limiting. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must include docstrings, must include type hints, must handle Windows paths safely, must include tests. Difficulty: hard. Include a small CLI example if releva...
WithinUsAI/python_GOD_coder_100k
Implement an ML engineering workflow for fintech focusing on event-driven workflows. 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...
WithinUsAI/GOD_Coder_100k
Task type: supply_chain_security Scenario: feature-flag evaluation Domain focus: observability platforms Primary language: rust Difficulty: hard Scale/SLO: 99.99% availability Component: component_brxjuvzr Constraints: include performance model and limits, include backward compatibility and migration plan, include secu...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of networking for scenario: multi-tenant SaaS. Primary language: sql. Difficulty: hard. Constraints: assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance, document performance characteristics, design for backward compatibility and migrations, ...
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: p1cif4.py ```pyt...
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: bq4xm...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: lockfree_primitive Scenario: streaming ETL Domain focus: consensus & replication Primary language: cpp Difficulty: expert+ Scale/SLO: 100k RPS peak Component: component_ljvbdbyk Constraints: include security threat model (defensive only), include test vectors and fuzz strategy, assume adversarial inputs; val...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C32636: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m40972.py` and `test_m40972.py`. ```python # m40972.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of distributed systems for scenario: time-series metrics. Primary language: go. Difficulty: hard. Constraints: document performance characteristics, design for backward compatibility and migrations, include tests or verification strategy. Component: component_gappjba. Assume ...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of high-performance services for scenario: payment processing. Primary language: go. Difficulty: hard. Constraints: include invariants and failure modes, document performance characteristics, assume untrusted inputs; validate and sanitize, include tests or verification strate...
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: xaeel...
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: nxf65si.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project domain: repo automation Implementation stack: Rust, Axum, SQLx, Redis, Tokio, Docker Software delivery problem: timezone bug in reporting Task type: p...
WithinUsAI/GOD_Coder_Complete_DataSet
Build a data pipeline for a customer support product around webhooks. Target platform: data (SQL + Python). Requirements: schema, ingestion, validation, backfills, and tests. Constraints: must be performant under load, must be observable (logs/metrics/traces), must include clear error handling, must be easy to extend. ...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of distributed systems for scenario: document indexing. Primary language: go. Difficulty: hard. Constraints: include tests or verification strategy, make the interface contract explicit, design for backward compatibility and migrations, include invariants and failure modes. C...
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: jq Domain: repo automation Logic challenge: mismatched API contract Task type: state_machine_patch Difficulty: medium Retur...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of networking for scenario: inventory & ordering. Primary language: python. Difficulty: hard. Constraints: avoid undefined behavior and data races, make the interface contract explicit, provide rollout and rollback guidance. Component: component_fwrdmti. Assume partial networ...
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: kq4vj034.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of compilers for scenario: inventory & ordering. Primary language: rust. Difficulty: hard. Constraints: include invariants and failure modes, provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize, make the interface contract explicit. Component...
WithinUsAI/Elite_GOD_Coder_100k
Task type: tla_state_machine Scenario: rate limit gateway Domain focus: query planning Primary language: tla+ Difficulty: hard Scale/SLO: p99 < 50ms Component: component_ktcsvkax Constraints: include test vectors and fuzz strategy, include failure modes and recovery, include performance model and limits, explicit contr...
WithinUsAI/Omega_Genesis_Coder_100k
Fix the bug and add pytest tests. ```python def f98480(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 `m42640.py` and `test_m42640.py`. *** Begin Patch *** Update File: m42640.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f87156`. ```python def f87156(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m55308 import f87156 def test_known(): assert f87156(3,4) == 25 def test_zero(): assert f87156(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Write a thorough test suite for a Python component used for event dispatching. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must provide clear error messages, must be easy to extend. Difficulty: hard. Provide helpful exceptions with actionable messages. Deliverable: production-...
WithinUsAI/python_GOD_coder_100k
Perform a code review for a social media PR implementing real-time notifications. Target platform: data (SQL + Python). Requirements: list critical issues, improvements, and provide an improved patch excerpt. Constraints: must avoid global state, must be observable (logs/metrics/traces), must be secure-by-default, must...
WithinUsAI/GOD_Coder_100k