AI Slop Code Risk Monitor

zio/zio

SlopCodeMonitor badge for zio/zio Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

ZIO — A type-safe, composable library for async and concurrent programming in Scala

1.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for zio/zio, a Scala project with 4,434 GitHub stars. SynthScan examined 293,502 lines of code across 1587 source files, recording 204 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 1.4 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

1.4
Adjusted Signal
1.4
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
4.4K
Stars
Scala
Language
293.5K
Lines of Code
1.6K
Files
204
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 2.8/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 129 finding(s).

Hallucinated Dependency & Supply Chain Risk 1.0/100 · LOW

Are imports declared and package/API names verified? 21 finding(s).

Agent Over-Engineering Ratio 4.3/100 · LOW

Are wrappers, guards, and repeated structures necessary? 108 finding(s).

PR Review Velocity Impact 6.6/100 · LOW

Which changes need focused human review? 204 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 4HIGH 16MEDIUM 40LOW 144

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 204 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Decorative Section Separators39 hits · 117 pts
SeverityFileLineSnippetContext
MEDIUMspecs/2026-07-17-homepage-code-showcase-plan.md51// ── Stubs standing in for "your code" in the homepage snippets ──────────COMMENT
MEDIUMspecs/2026-07-17-homepage-code-showcase-plan.md90// ── Snippet 1: Concurrency ──────────────────────────────────────────────COMMENT
MEDIUMspecs/2026-07-17-homepage-code-showcase-plan.md102// ── Snippet 2: Error handling ───────────────────────────────────────────COMMENT
MEDIUMspecs/2026-07-17-homepage-code-showcase-plan.md113// ── Snippet 3: Resource safety ──────────────────────────────────────────COMMENT
MEDIUMspecs/2026-07-17-homepage-code-showcase-plan.md131// ── Snippet 4: Streaming ────────────────────────────────────────────────COMMENT
MEDIUMspecs/2026-07-17-homepage-code-showcase-plan.md143// ── Snippet 5: Dependency Injection ─────────────────────────────────────COMMENT
MEDIUMspecs/snippet-check/showcase.scala13// ── Stubs standing in for "your code" in the homepage snippets ──────────COMMENT
MEDIUMspecs/snippet-check/showcase.scala57// ── Snippet 1: Concurrency ──────────────────────────────────────────────COMMENT
MEDIUMspecs/snippet-check/showcase.scala68// ── Snippet 2: Error handling ───────────────────────────────────────────COMMENT
MEDIUMspecs/snippet-check/showcase.scala77// ── Snippet 3: Resource safety ──────────────────────────────────────────COMMENT
MEDIUMspecs/snippet-check/showcase.scala92// ── Snippet 4: Streaming ────────────────────────────────────────────────COMMENT
MEDIUMspecs/snippet-check/showcase.scala103// ── Snippet 5: Dependency Injection ─────────────────────────────────────COMMENT
MEDIUM…n/scala/reloadableservices/ReloadableFullExample.scala36 // ── Service definition ────────────────────────────────────────────────────COMMENT
MEDIUM…n/scala/reloadableservices/ReloadableFullExample.scala43 // ── Implementation with visible lifecycle ─────────────────────────────────COMMENT
MEDIUM…n/scala/reloadableservices/ReloadableFullExample.scala57 // ── Main program ──────────────────────────────────────────────────────────COMMENT
MEDIUM…/src/main/scala/migratefrommonix/CompleteExample.scala21// ── Domain types ───────────────────────────────────────────────────COMMENT
MEDIUM…/src/main/scala/migratefrommonix/CompleteExample.scala33 // ── Resource ──────────────────────────────────────────────────────COMMENT
MEDIUM…/src/main/scala/migratefrommonix/CompleteExample.scala39 // ── Worker: resource + typed errors + Ref + Promise ───────────────COMMENT
MEDIUM…/src/main/scala/migratefrommonix/CompleteExample.scala57 // ── Application ───────────────────────────────────────────────────COMMENT
MEDIUM…src/main/scala/migratecatseffect/CompleteExample.scala18// ── Domain types ──────────────────────────────────────────────────COMMENT
MEDIUM…src/main/scala/migratecatseffect/CompleteExample.scala30 // ── Resource ─────────────────────────────────────────────────────COMMENT
MEDIUM…src/main/scala/migratecatseffect/CompleteExample.scala36 // ── Worker: resource + typed errors + Ref + Promise ──────────────COMMENT
MEDIUM…src/main/scala/migratecatseffect/CompleteExample.scala54 // ── Application ───────────────────────────────────────────────────COMMENT
MEDIUMdocs/guides/tutorials/reloadable-services.md392// ── Service definition ──────────────────────────────────────────────────────COMMENT
MEDIUMdocs/guides/tutorials/reloadable-services.md398// ── Service implementation with visible lifecycle ────────────────────────────COMMENT
MEDIUMdocs/guides/tutorials/reloadable-services.md411// ── Main program ─────────────────────────────────────────────────────────────COMMENT
MEDIUMdocs/reference/di/automatic-layer-construction.md88// ──── ZLAYER ERROR ────────────────────────────────────────────────────COMMENT
MEDIUMdocs/reference/di/automatic-layer-construction.md96// ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUMdocs/reference/di/automatic-layer-construction.md129// ──── ZLAYER ERROR ────────────────────────────────────────────────────COMMENT
MEDIUMdocs/reference/di/automatic-layer-construction.md139// ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUMdocs/reference/sync/CyclicBarrierDiagram.jsx3// ── Theme System ──────────────────────────────────────────────────────────────COMMENT
MEDIUMdocs/reference/sync/CyclicBarrierDiagram.jsx137// ── Utilities ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMdocs/reference/sync/CyclicBarrierDiagram.jsx143// ── State ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMdocs/reference/sync/CyclicBarrierDiagram.jsx167// ── Theme Toggle ──────────────────────────────────────────────────────────────COMMENT
MEDIUMdocs/reference/sync/CyclicBarrierDiagram.jsx171// ── Button ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMdocs/reference/sync/CyclicBarrierDiagram.jsx221// ── SVG Components ────────────────────────────────────────────────────────────COMMENT
MEDIUMdocs/reference/sync/CyclicBarrierDiagram.jsx312// ── Main Component ────────────────────────────────────────────────────────────COMMENT
MEDIUMdocs/reference/sync/CyclicBarrierDiagram.jsx418 // ── Animation loop ────────────────────────────────────────────────────────COMMENT
MEDIUMdocs/reference/sync/CyclicBarrierDiagram.jsx550 // ── SVG layout ────────────────────────────────────────────────────────────COMMENT
Cross-File Repetition15 hits · 75 pts
SeverityFileLineSnippetContext
HIGHscalafix/input/src/main/scala/fix/ZIOSpec.scala0zio .fail(new runtimeexception("boo!")) .refinetoordie[error]STRING
HIGHscalafix/input/src/main/scala/fix/ZManagedSpec.scala0zio .fail(new runtimeexception("boo!")) .refinetoordie[error]STRING
HIGHscalafix/input/src/main/scala/fix/ZStreamSpec.scala0zio .fail(new runtimeexception("boo!")) .refinetoordie[error]STRING
HIGHscalafix/output/src/main/scala/fix/ZIOSpec.scala0zio .fail(new runtimeexception("boo!")) .refinetoordie[error]STRING
HIGHscalafix/output/src/main/scala/fix/ZManagedSpec.scala0zio .fail(new runtimeexception("boo!")) .refinetoordie[error]STRING
HIGHscalafix/output/src/main/scala/fix/ZStreamSpec.scala0zio .fail(new runtimeexception("boo!")) .refinetoordie[error]STRING
HIGH…sts/shared/src/test/scala/zio/stream/ZStreamSpec.scala0zio .fail(new runtimeexception("boo!")) .refinetoordie[error]STRING
HIGHcore-tests/shared/src/test/scala/zio/ZIOSpec.scala0zio .fail(new runtimeexception("boo!")) .refinetoordie[error]STRING
HIGH…s/shared/src/test/scala/zio/managed/ZManagedSpec.scala0zio .fail(new runtimeexception("boo!")) .refinetoordie[error]STRING
HIGHdocs/guides/tutorials/reloadable-services.md0librarydependencies += "dev.zio" %% "zio" % "${zio.buildinfo.version.split('+').head}STRING
HIGHdocs/overview/modules.md0librarydependencies += "dev.zio" %% "zio" % "${zio.buildinfo.version.split('+').head}STRING
HIGHdocs/overview/index.md0librarydependencies += "dev.zio" %% "zio" % "${zio.buildinfo.version.split('+').head}STRING
HIGH…ests/src/test/scala-2/zio/macros/AccessibleMSpec.scala0trait foo trait bar @accessible object module { trait service[t <: foo, u >: bar] { val v: task[t] def f1: uio[u] def f2STRING
HIGH…s/src/test/scala-2/zio/macros/AccessibleSpecFlat.scala0trait foo trait bar @accessible object module { trait service[t <: foo, u >: bar] { val v: task[t] def f1: uio[u] def f2STRING
HIGH…tests/src/test/scala-2/zio/macros/AccessibleSpec.scala0trait foo trait bar @accessible object module { trait service[t <: foo, u >: bar] { val v: task[t] def f1: uio[u] def f2STRING
Hyper-Verbose Identifiers54 hits · 64 pts
SeverityFileLineSnippetContext
LOWcore/shared/src/main/scala/zio/FiberRef.scala125 final def getAndSet(newValue: A)(implicit trace: Trace): UIO[A] =CODE
LOWcore/shared/src/main/scala/zio/FiberRef.scala134 final def getAndUpdate(f: A => A)(implicit trace: Trace): UIO[A] =CODE
LOWcore/shared/src/main/scala/zio/FiberRef.scala145 final def getAndUpdateSome(pf: PartialFunction[A, A])(implicit trace: Trace): UIO[A] =CODE
LOWcore/shared/src/main/scala/zio/FiberRef.scala560 private def setAndRestoreRefs[R, E, A](CODE
LOW⚡core/shared/src/main/scala/zio/Ref.scala72 def getAndSet(a: A)(implicit trace: Trace): UIO[A] =CODE
LOW⚡core/shared/src/main/scala/zio/Ref.scala79 def getAndUpdate(f: A => A)(implicit trace: Trace): UIO[A] =CODE
LOW⚡core/shared/src/main/scala/zio/Ref.scala87 def getAndUpdateSome(pf: PartialFunction[A, A])(implicit trace: Trace): UIO[A] =CODE
LOW⚡core/shared/src/main/scala/zio/Ref.scala143 final def getAndIncrement(implicit num: math.Numeric[A], trace: Trace): UIO[A] =CODE
LOW⚡core/shared/src/main/scala/zio/Ref.scala150 final def getAndDecrement(implicit num: math.Numeric[A], trace: Trace): UIO[A] =CODE
LOW⚡core/shared/src/main/scala/zio/Ref.scala157 final def getAndAdd(delta: A)(implicit num: math.Numeric[A], trace: Trace): UIO[A] =CODE
LOWcore/shared/src/main/scala/zio/Ref.scala236 def getAndUpdateZIO[R, E](f: A => ZIO[R, E, A])(implicit trace: Trace): ZIO[R, E, A] =CODE
LOWcore/shared/src/main/scala/zio/Ref.scala244 def getAndUpdateSomeZIO[R, E](pf: PartialFunction[A, ZIO[R, E, A]])(implicitCODE
LOW⚡core/shared/src/main/scala/zio/Ref.scala330 override def getAndSet(a: A)(implicit trace: Trace): UIO[A] =CODE
LOW⚡core/shared/src/main/scala/zio/Ref.scala333 override def getAndUpdate(f: A => A)(implicit trace: Trace): UIO[A] =CODE
LOW⚡core/shared/src/main/scala/zio/Ref.scala336 override def getAndUpdateSome(pf: PartialFunction[A, A])(implicit trace: Trace): UIO[A] =CODE
LOW⚡core/shared/src/main/scala/zio/Ref.scala365 def getAndSet(a: A)(implicit unsafe: Unsafe): ACODE
LOW⚡core/shared/src/main/scala/zio/Ref.scala366 def getAndUpdate(f: A => A)(implicit unsafe: Unsafe): ACODE
LOW⚡core/shared/src/main/scala/zio/Ref.scala367 def getAndUpdateSome(pf: PartialFunction[A, A])(implicit unsafe: Unsafe): ACODE
LOW⚡core/shared/src/main/scala/zio/Ref.scala385 def getAndSet(a: A)(implicit unsafe: Unsafe): A =CODE
LOW⚡core/shared/src/main/scala/zio/Ref.scala388 def getAndUpdate(f: A => A)(implicit unsafe: Unsafe): A =CODE
LOW⚡core/shared/src/main/scala/zio/Ref.scala391 def getAndUpdateSome(pf: PartialFunction[A, A])(implicit unsafe: Unsafe): A =CODE
LOWcore/shared/src/main/scala/zio/FiberRefs.scala148 def getOrDefault[@specialized(SpecializeInt) A](fiberRef: FiberRef[A]): A = {CODE
LOWcore/shared/src/main/scala/zio/FiberRefs.scala171 private[zio] def getOrNull[A](fiberRef: FiberRef[A]): A = {CODE
LOWcore/shared/src/main/scala/zio/ZPool.scala282 private def getAndShutdown(implicit trace: Trace): UIO[Unit] =CODE
LOWcore/shared/src/main/scala/zio/ZEnvironment.scala315 private[ZEnvironment] def getOrElse[A](tag: LightTypeTag, default: => A)(implicit unsafe: Unsafe): ACODE
LOWcore/shared/src/main/scala/zio/ZEnvironment.scala352 private[ZEnvironment] def getOrElse[A](tag: LightTypeTag, default: => A)(implicit unsafe: Unsafe): A = {CODE
LOWcore/shared/src/main/scala/zio/ZLayer.scala2375 def getOrElseMemoize[E, A, B](scope: Scope)(layer: ZLayer[A, E, B]): ZIO[A, E, ZEnvironment[B]] =CODE
LOWcore/shared/src/main/scala/zio/FiberId.scala51 final def getOrElse(that: => FiberId): FiberId = if (isNone) that else selfCODE
LOW⚡core/shared/src/main/scala/zio/ZIO.scala3911 final def getOrFail[A](v: => Option[A])(implicit trace: Trace): Task[A] =CODE
LOW⚡core/shared/src/main/scala/zio/ZIO.scala3917 final def getOrFailUnit[A](v: => Option[A])(implicit trace: Trace): IO[Unit, A] =CODE
LOW⚡core/shared/src/main/scala/zio/ZIO.scala3924 final def getOrFailWith[E, A](e: => E)(v: => Option[A])(implicit trace: Trace): IO[E, A] =CODE
LOW⚡core/shared/src/main/scala/zio/ZIO.scala6613 final def getOrElse[A1 >: A](orElse: Cause[E] => A1): A1 = self match {CODE
LOW⚡core/shared/src/main/scala/zio/ZIO.scala6618 final def getOrThrow()(implicit ev: E <:< Throwable, unsafe: Unsafe): A =CODE
LOW⚡core/shared/src/main/scala/zio/ZIO.scala6621 final def getOrThrowFiberFailure()(implicit unsafe: Unsafe): A =CODE
LOWcore/shared/src/main/scala/zio/stm/TMap.scala185 def getOrElse(k: K, default: => V): USTM[V] =CODE
LOWcore/shared/src/main/scala/zio/stm/TMap.scala192 def getOrElseSTM[R, E](k: K, default: => ZSTM[R, E, V]): ZSTM[R, E, V] =CODE
LOWcore/shared/src/main/scala/zio/stm/ZSTM.scala1689 def getOrElseUpdate(key: TRef[?], entry: => Entry): Entry =CODE
LOWcore/shared/src/main/scala/zio/stm/TRef.scala63 def getAndSet(a: A): USTM[A] =CODE
LOWcore/shared/src/main/scala/zio/stm/TRef.scala74 def getAndUpdate(f: A => A): USTM[A] =CODE
LOWcore/shared/src/main/scala/zio/stm/TRef.scala86 def getAndUpdateSome(f: PartialFunction[A, A]): USTM[A] =CODE
LOWcore/shared/src/main/scala/zio/stm/TRef.scala155 private[stm] def getOrMakeEntry(journal: Journal): Entry =CODE
LOWtest/shared/src/main/scala/zio/test/TestOutput.scala47 private def getAndRemoveSectionOutput(id: SuiteId) =CODE
LOWtest/shared/src/main/scala/zio/test/TestRandom.scala449 private def getOrElse[A](buffer: Buffer => (Option[A], Buffer))(random: => A)(implicit unsafe: Unsafe): A =CODE
LOWtest/shared/src/main/scala/zio/test/TestRandom.scala452 private def getOrElseChunk[A](CODE
LOW…shared/src/main/scala/zio/test/ConcurrentHashMap.scala33 def getOrElseUpdate(key: K, op: => V): V =CODE
LOWwebsite/plugins/zio-ecosystem-docusaurus/index.js174function isSidebarItemCategoryConfig(item) {CODE
LOWwebsite/plugins/zio-ecosystem-docusaurus/index.ts186function isSidebarItemCategoryConfig(item: SidebarItemConfig): item is SidebarItemCategoryConfig {CODE
LOWwebsite/src/components/visual-effects/VisualEffect.js352export function useVisualEffectNotification(effect) {CODE
LOWwebsite/src/components/visual-effects/VisualEffect.js360export function useVisualEffectSubscription(effect) {CODE
LOW…visual-effects/scenarios/DependencyInjectionVisual.jsx162export default function DependencyInjectionVisual() {CODE
LOWwebsite/src/theme/DocVersionBanner/index.js54function LatestVersionSuggestionLabel({versionLabel, to, onClick}) {CODE
LOWdocs/guides/migrate/from-monix.md564| `atomic.getAndSet(v)` | `ref.getAndSet(v)` | `def getAndSet(a: A): UIO[A]` CODE
LOWcore-tests/shared/src/test/scala/zio/ZLayerSpec.scala568 def getAndIncrement: UIO[Int] = ZIO.succeed(ref.getAndIncrement())CODE
LOWcore-tests/shared/src/test/scala/zio/ZLayerSpec.scala571 def getAndIncrement: ZIO[Counter, Nothing, Int] =CODE
Over-Commented Block46 hits · 46 pts
SeverityFileLineSnippetContext
LOWcore/jvm/src/main/scala/zio/internal/RingBuffer.scala221 // or this thread got delayed. We need to resynchronize withCOMMENT
LOWcore/jvm/src/main/scala/zio/internal/RingBuffer.scala361 // There may be two distinct cases:COMMENT
LOW…reams/shared/src/main/scala/zio/stream/ZPipeline.scala2621 encodeStringWith(StandardCharsets.US_ASCII)COMMENT
LOW…d_docs/version-1.0.18/resources/ecosystem/officials.md561List(Apple(false), Banana(0.4)).toJsonPrettyCOMMENT
LOW…d_docs/version-1.0.18/resources/ecosystem/officials.md1461// field1 = Field(COMMENT
LOW…d_docs/version-1.0.18/resources/ecosystem/officials.md1481// ),COMMENT
LOW…oned_docs/version-1.0.18/guides/use-test-assertions.md61}COMMENT
LOW…e/versioned_docs/version-1.0.18/guides/test_effects.md41// caseValue = TestCase(COMMENT
LOW…e/versioned_docs/version-1.0.18/guides/test_effects.md61COMMENT
LOW…e/versioned_docs/version-1.0.18/guides/test_effects.md81// )COMMENT
LOW…e/versioned_docs/version-1.0.18/guides/test_effects.md101// )COMMENT
LOW…e/versioned_docs/version-1.0.18/guides/test_effects.md121// Spec(COMMENT
LOW…e/versioned_docs/version-1.0.18/guides/test_effects.md141// caseValue = MultipleCase(COMMENT
LOW…e/versioned_docs/version-1.0.18/guides/test_effects.md181What's more, assertions also compose with each other allowing for doing rich diffs not only simple value to value comparCOMMENT
LOW…e/versioned_docs/version-1.0.18/guides/test_effects.md221 )COMMENT
LOW…e/versioned_docs/version-1.0.18/guides/test_effects.md281val suite1 = suite("suite1") (COMMENT
LOW…e/versioned_docs/version-1.0.18/guides/test_effects.md301// ),COMMENT
LOW…e/versioned_docs/version-1.0.18/guides/test_effects.md321 testM("s2.t3") {assertM(nanoTime)(isGreaterThanEqualTo(0L))}COMMENT
LOW…e/versioned_docs/version-1.0.18/guides/test_effects.md341// caseValue = LabeledCase(COMMENT
LOW…e/versioned_docs/version-1.0.18/guides/test_effects.md361// )COMMENT
LOW…e/versioned_docs/version-1.0.18/guides/test_effects.md381// test = <function1>,COMMENT
LOW…e/versioned_docs/version-1.0.18/guides/test_effects.md481 )))COMMENT
LOW…e/versioned_docs/version-1.0.18/guides/test_effects.md741// label = "ConsoleTest",COMMENT
LOW…/versioned_docs/version-1.0.18/reference/misc/chunk.md81// 1.5,COMMENT
LOW…sioned_docs/version-1.0.18/reference/stream/zstream.md1181// Input: COMMENT
LOWwebsite/src/components/visual-effects/LayerGraph.js1// website/src/components/visual-effects/LayerGraph.jsCOMMENT
LOWwebsite/src/components/visual-effects/StreamPipeline.js1// website/src/components/visual-effects/StreamPipeline.jsCOMMENT
LOWwebsite/src/components/visual-effects/diParams.js1// website/src/components/visual-effects/diParams.jsCOMMENT
LOW…bsite/src/components/visual-effects/streamingParams.js1// website/src/components/visual-effects/streamingParams.jsCOMMENT
LOW…/components/visual-effects/pipeline/PipelineStages.jsx1// website/src/components/visual-effects/pipeline/PipelineStages.jsxCOMMENT
LOW…rc/components/visual-effects/layers/LayerGraphView.jsx1// website/src/components/visual-effects/layers/LayerGraphView.jsxCOMMENT
LOW…ite/src/components/visual-effects/sounds/taskSounds.js1import * as Tone from 'tone';COMMENT
LOW…omponents/visual-effects/scenarios/StreamingVisual.jsx21// ZStream snippet shown in the Code toggle line for line, exactly likeCOMMENT
LOWdocs/reference/di/automatic-layer-construction.md81object MainApp extends ZIOAppDefault {COMMENT
LOWdocs/reference/di/automatic-layer-construction.md121 Cake.live,COMMENT
LOWdocs/reference/stream/zstream/operations.md521// What is the classroom of Jennifer? ACOMMENT
LOWdocs/reference/stream/zchannel/channel-interruption.md41// 52COMMENT
LOW…ervice-pattern/defining-polymorphic-services-in-zio.md41}COMMENT
LOW…tests/shared/src/test/scala/zio/stream/ZSinkSpec.scala781 .fail(new Throwable("Sink failed"))COMMENT
LOW…sts/shared/src/test/scala/zio/stream/ZStreamSpec.scala401 // val test =COMMENT
LOW…sts/shared/src/test/scala/zio/stream/ZStreamSpec.scala421 // }COMMENT
LOW…/scala/zio/examples/test/ZLayerInjectExampleSpec.scala1//package zio.examples.testCOMMENT
LOW…/scala/zio/examples/test/ZLayerInjectExampleSpec.scala21// assertZIO(exampleZio)(anything)COMMENT
LOW…ks/src/main/scala/zio/QueueBackPressureBenchmark.scala101COMMENT
LOW…arks/src/main/scala/zio/QueueSequentialBenchmark.scala81 }COMMENT
LOW…/shared/src/test/scala/zio/RuntimeBootstrapTests.scala641 interruptibleAfterRace()COMMENT
Structural Annotation Overuse27 hits · 45 pts
SeverityFileLineSnippetContext
LOW…nfigurable/docs/make-a-zio-application-configurable.md37## Step 1: Define the Configuration Data Types (ADTs)COMMENT
LOW…nfigurable/docs/make-a-zio-application-configurable.md45## Step 2: Define the Configuration DescriptorCOMMENT
LOW…nfigurable/docs/make-a-zio-application-configurable.md60## Step 3: Accessing Configuration Data using `ZIO.config`COMMENT
LOW…nfigurable/docs/make-a-zio-application-configurable.md210## Step 3: Reading Configuration Data From HOCON FilesCOMMENT
LOW…nfigurable/docs/make-a-zio-application-configurable.md273## Step 4: Running The ApplicationCOMMENT
LOW⚡…guides/tutorials/getting-started-threadlocal-bridge.md269 // Step 1: Create a ThreadLocal to store the request IDCOMMENT
LOW⚡…guides/tutorials/getting-started-threadlocal-bridge.md274 // Step 2: A helper function that reads from the ThreadLocalCOMMENT
LOW⚡…guides/tutorials/getting-started-threadlocal-bridge.md279 // Step 3: The main exampleCOMMENT
LOWdocs/reference/schedule.md62#### Step 1: Just a CountCOMMENT
LOWdocs/reference/schedule.md72#### Step 2: Add TimingCOMMENT
LOWdocs/reference/schedule.md84#### Step 3: Generalize the Counter into State, and Add InputCOMMENT
LOWdocs/reference/schedule.md97#### Step 4: Report Something BackCOMMENT
LOWdocs/reference/schedule.md110#### Step 5: Make It Effectful, and Make Time ExplicitCOMMENT
LOWdocs/reference/schedule.md123#### Step 6: Refine "a Delay" into "a Set of Valid Windows"COMMENT
LOWdocs/reference/di/motivation.md48## Step 1: Inversion of ControlCOMMENT
LOWdocs/reference/di/motivation.md71## Step 2: Decoupling from ImplementationsCOMMENT
LOWdocs/reference/di/motivation.md135## Step 3: Binding Interfaces to their ImplementationsCOMMENT
LOWdocs/reference/di/motivation.md177## Step 4: Effectful ConstructorsCOMMENT
LOWdocs/reference/di/motivation.md308## Step 5: Using ZIO Environment To Declare DependenciesCOMMENT
LOWdocs/reference/di/motivation.md342## Step 6: Automatic Dependency Graph GenerationCOMMENT
LOWdocs/reference/di/dependency-injection-in-zio.md30### Step 1: Accessing Services From The ZIO EnvironmentCOMMENT
LOWdocs/reference/di/dependency-injection-in-zio.md72### Step 2: Writing Application Logic Using ServicesCOMMENT
LOWdocs/reference/di/dependency-injection-in-zio.md94### Step 3: Building The Dependency Graph (Optional)COMMENT
LOWdocs/reference/di/dependency-injection-in-zio.md136### Step 4: Providing Dependencies to the ZIO EnvironmentCOMMENT
LOW⚡docs/reference/state-management/threadlocal-bridge.md124// Step 1: Create a Java ThreadLocal to hold the request IDCOMMENT
LOW⚡docs/reference/state-management/threadlocal-bridge.md129// Step 2: Define a logging function that reads from the ThreadLocalCOMMENT
LOW⚡docs/reference/state-management/threadlocal-bridge.md136// Step 3: Set up the bridge in a scoped contextCOMMENT
Hallucination Indicators4 hits · 40 pts
SeverityFileLineSnippetContext
CRITICAL…hared/src/test/scala/zio/test/SmartAssertionSpec.scala74 assertTrue(company.users.head.posts.head.publishDate.contains(LocalDateTime.MAX))CODE
CRITICAL…hared/src/test/scala/zio/test/SmartAssertionSpec.scala115 assertTrue(company.users.head.posts.head.publishDate.contains(LocalDateTime.MAX))CODE
CRITICALdocs/guides/migrate/from-akka.md1127 com.devsisters.shardcake.Server.run.provide(CODE
CRITICALbenchmarks/src/main/scala/zio/GenBenchmarks.scala97 nyaya.gen.Gen.double.list.sample()CODE
Fake / Example Data17 hits · 17 pts
SeverityFileLineSnippetContext
LOW…sts/shared/src/test/scala/zio/test/AssertionSpec.scala117 val probe: Person = Person("John", 30, Address("New York", "123 Main St"))CODE
LOW…sts/shared/src/test/scala/zio/test/AssertionSpec.scala124 errorString == "Person.address.city : expected 'San Francisco' got 'New York'\nPerson.address.street : expecteCODE
LOWscalafix/input/src/main/scala/fix/ZStreamSpec.scala3190 .fromChunk(Chunk.fromArray("Lorem ipsum".toArray))CODE
LOWscalafix/input/src/main/scala/fix/ZStreamSpec.scala3203 .fromChunk(Chunk.fromArray("Lorem ipsum".toArray))CODE
LOWscalafix/input/src/main/scala/fix/ZStreamSpec.scala3216 .fromChunk(Chunk.fromArray("Lorem ipsum".toArray))CODE
LOWscalafix/input/src/main/scala/fix/ZStreamSpec.scala3224 .fromChunk(Chunk.fromArray("Lorem ipsum".toArray))CODE
LOWscalafix/output/src/main/scala/fix/ZStreamSpec.scala3189 .fromChunk(Chunk.fromArray("Lorem ipsum".toArray))CODE
LOWscalafix/output/src/main/scala/fix/ZStreamSpec.scala3202 .fromChunk(Chunk.fromArray("Lorem ipsum".toArray))CODE
LOWscalafix/output/src/main/scala/fix/ZStreamSpec.scala3215 .fromChunk(Chunk.fromArray("Lorem ipsum".toArray))CODE
LOWscalafix/output/src/main/scala/fix/ZStreamSpec.scala3223 .fromChunk(Chunk.fromArray("Lorem ipsum".toArray))CODE
LOWdocs/guides/tutorials/encode-and-decode-json-data.md76 assertTrue(decoded == Right("John Doe"))CODE
LOW…sts/shared/src/test/scala/zio/stream/ZStreamSpec.scala4972 .fromChunk(Chunk.fromArray("Lorem ipsum".toArray))CODE
LOW…sts/shared/src/test/scala/zio/stream/ZStreamSpec.scala4986 .fromChunk(Chunk.fromArray("Lorem ipsum".toArray))CODE
LOW…sts/shared/src/test/scala/zio/stream/ZStreamSpec.scala5000 .fromChunk(Chunk.fromArray("Lorem ipsum".toArray))CODE
LOW…sts/shared/src/test/scala/zio/stream/ZStreamSpec.scala5010 .fromChunk(Chunk.fromArray("Lorem ipsum".toArray))CODE
LOWcore-tests/shared/src/test/scala/zio/ZLayerSpec.scala582 person <- (ZLayer.succeed("Jane Doe") ++ ZLayer.succeed(42) >>> layer).buildCODE
LOWcore-tests/shared/src/test/scala/zio/ZLayerSpec.scala583 } yield assertTrue(person == ZEnvironment(Person("Jane Doe", 42)))CODE
AI Response Leakage1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…reference/test/property-testing/how-generators-work.md240To create more samples, we can use `Gen#runCollectN`, which repeatedly runs the generator as much as we need. In this exCODE
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…lia/src/main/scala-2/zio/test/magnolia/DeriveGen.scala29 * types made up of standard types. For example, here is how you canCOMMENT