본문으로 건너뛰기
cccskills
무료GitHub에 공개

randomness-and-determinism

Use authoritative, deterministic, weighted, and testable randomness without breaking prediction or reproducibility.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(3)

  • SKILL.md1.5 KB
  • agents/openai.yaml245 B
  • references/random-review.md432 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Randomness is part of authority and simulation behavior, not a convenience call.

Choose the owner

Protected outcomes such as rewards, loot, combat results, economy values, role assignment, or hidden selections are chosen on the server. Client randomness is limited to presentation that has no gameplay effect.

Shared predicted logic must not use an unsynchronized random source. Either derive the result deterministically from shared inputs or let authoritative state correct presentation without duplicating side effects.

Data-driven selection

Use existing random services, weighted collections, datasets, and prototype-driven tables. Validate empty collections, zero or negative weights, duplicate entries, and missing prototype references.

Reproducibility

For tests and debugging, control the random source or inject deterministic inputs. Do not depend on global random state or test ordering.

Common failures

  • client selects a protected result;
  • prediction and server choose different values;
  • repeated retries bias a result;
  • empty collection crashes;
  • a weight change silently alters balance;
  • tests are flaky because randomness is uncontrolled.

Verification

Test empty, single-entry, weighted boundary, repeated invocation, rejected requests, deterministic test seeds, and authoritative reconciliation.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Implement actions, cooldowns, DoAfter flows, interruption, cancellation, and authoritative completion safely.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ArcaneSS14/arcane-new112026년 10월 20일 업데이트

Implement privileged commands, admin UI, role checks, audit logs, and safe operational controls.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ArcaneSS14/arcane-new112026년 10월 20일 업데이트

Plan, verify, implement, and deliver repository work through evidence-backed ownership and quality gates.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ArcaneSS14/arcane-new112026년 10월 20일 업데이트

Implement replicated appearance data, GenericVisualizer mappings, sprite layers, overlays, and client visual systems.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ArcaneSS14/arcane-new112026년 10월 20일 업데이트

atmos

무료

Modify atmos simulation, gases, fire, pressure, pipes, devices, UI, and hot paths safely.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ArcaneSS14/arcane-new112026년 10월 20일 업데이트

audio

무료

Add data-driven audio with correct prediction, audience, resources, attribution, and verification.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ArcaneSS14/arcane-new112026년 10월 20일 업데이트

ArcaneSS14의 스킬 모두 보기

이 스킬의 문제 신고