Guides · ← All guides · Published November 14, 2026 · Reviewed November 14, 2026 · Ingenious AI team · 6 min read

Eval Scan Limits: 50 Files, 200,000 Characters, 2,000-Character Lines

Every honest tool states its edges. These three numbers bound a scan — and knowing them is the difference between a complete declaration and a quietly truncated one.

The short answer: a scan accepts up to 50 files in a batch run; each file's content is read up to 200,000 characters, and each line up to 2,000 characters, with anything beyond those caps truncated by rule rather than failing the scan. The caps are the scanner's published constants, and they shape how you should declare: split monolithic bundles into their constituent files (which improves finding locations anyway), and treat a generated 50,000-character single-line JSON blob as a declaration smell — the scanner will read its first 2,000 characters per line, and so, in practice, would a human reviewer. Declare within the caps and the free scan sees everything you meant it to see.

What is scan limits?

Scan limits are the scanner's input bounds: MAX_FILES 50 files per run (which is also the Pro batch size), MAX_CONTENT_CHARS 200,000 characters of content per file, and MAX_LINE_CHARS 2,000 characters per line. Content beyond a cap is truncated deterministically — the same over-limit input always yields the same scan — so limits affect coverage, never consistency.

Why publish limits at all?

Because an unbounded paste box is a liability in both directions: for the service, which processes content in memory and owes every user a responsive scan; and for the user, who deserves to know the exact point at which their declaration stops being read. Stated limits convert a silent failure mode — the tail of a huge file quietly unscanned — into a design parameter you can plan around. The numbers are also honest about the tool's genre: it audits declared configuration, and configuration that exceeds 200,000 characters in a single file is not a file, it is an archive wearing a file's name.

Notice the interaction with finding quality. A finding's value is its location — file and line. Bundled mega-files destroy location value ('somewhere in the 190,000-character bundle') even when they fit under the caps. Declaring the constituent files separately costs nothing, keeps every file far below the content cap, and makes each finding point at the config a human will actually edit. The limits, read as guidance, describe the declaration style the whole product prefers: many small, real files.

What happens at each cap, exactly?

At the file-count cap: a batch run takes up to 50 files — the same number the Pro plan advertises as its batch size, because the product limit and the engine limit are one fact stated in two places. Beyond 50, split by boundary: the eval's own configs in one run, the side services in another, each with its own report. At the content cap: a file's content is read to 200,000 characters and the remainder is not scanned — findings cluster, in practice, at the tops of configs where credentials and policies live, but a secret at character 210,000 is a secret the scan did not see, and the honest response is to split the file. At the line cap: a line is read to 2,000 characters; minified or generated single-line content is the usual way to hit it, and pretty-printing the declaration restores both scannability and human reviewability in one move.

Truncation is deterministic — the same over-limit input always truncates at the same place — so a truncated scan is still a comparable scan. It is a smaller truth, clearly bounded, not a corrupted one. But 'deterministic and partial' should never be filed as 'complete': the run record should note when a declaration bumped a cap, the way it notes the declared set's size.

How do teams with big estates declare within the limits?

By boundary, not by bulk. A platform with nine eval suites scans nine declared sets, each suite's own folder — which matches how findings will be owned and fixed anyway. Shared infrastructure (the platform's policies, the common network declarations) forms a tenth set, scanned on its own cadence, because its findings belong to the platform team. Within a set, generated files are the usual cap risk: lockfile-scale artefacts and bundled IaC output should be declared as their source files where possible, or split at generation time into per-module files with real names. The 50-file batch, used this way, is not a constraint teams hit; it is the shape of a well-factored declaration.

Free-plan single-file scans follow the same content and line caps, which makes them suitable for the quick question — 'is this config clean?' — and unsuitable, by design, for certifying a boundary. The gate-grade sweep is a batch job; the plans are drawn exactly along that line, as /pricing sets out.

Worked example: Briar Patch Systems, scored end to end

Example. Briar Patch Systems, a fictional MSP, first declared its eval estate as three bundled exports — one per client environment, each near the content cap, one a single-line JSON of 180,000 characters. The scan found little, which the team distrusted, correctly. The same estates, declared as their 47 constituent files in one batch run, produced the real picture:

FindingClassSeverityWeight
AWS access key ID in a client environment fileaws_access_key_idHIGH15
Wildcard IAM action ("Action": "*") in a shared policy filewildcard_iam_actionHIGH15
Debug mode enabled in a generated settings filedebug_mode_enabledMEDIUM8
Debug route string declared in a viewer configdebug_routeLOW3

The arithmetic: 15 + 15 + 8 + 3 = 41 points of exposure, so the score is 100 − 41 = 59/100, grade C. Scoring uses EvalEgress's published weights — CRITICAL 25, HIGH 15, MEDIUM 8, LOW 3 — with grades at A ≥ 90, B ≥ 75, C ≥ 50 and D ≥ 25.

Two of the four findings had sat beyond the single-line blob's 2,000-character-per-line reading — visible the moment the bundle was split into named files, each with findings that pointed at an editable config. Briar Patch kept the split declaration as its standing set definition (47 files, one batch run, comfortably within the file cap), fixed the four findings, and added a runbook rule: declarations are files, not bundles — a rule about their own exports, learned from the caps doing their quiet teaching work.

Declare within the limits: the five actions

Small files, real names, known edges:

  1. Declare constituent files, never bundles. Split exports and generated artefacts into the configs a human would edit; finding locations stay precise and content caps stay distant.
  2. Pretty-print generated declarations. Single-line JSON defeats the 2,000-character line cap and human review alike; formatted files restore both.
  3. Count the set before you run. Fifty files per batch: organise sets by boundary — per suite, per stack — so ownership of findings matches the split.
  4. Note cap contact in the run record. If anything was truncated, the record says so and the declaration gets restructured; a partial scan is never filed as a complete one.
  5. Keep headroom as the stack grows. A set at 48 files is a set about to fork; split by boundary early, while the split is still a filing decision rather than a scramble.

Limits stated plainly are part of the scanner's honesty system, alongside declared surfaces and the scope note. Plan declarations inside them and they will never surprise you.

Keep checking the boundary

Run the free exposure scan on the files your next eval will run with. Compare plans, read the scoring documentation, and keep reading: what is eval-to-production exposure?, what is egress in AI evaluation?, pre-deployment eval safety checklist, how to stop an AI evaluation from reaching production secrets, using a secrets manager for eval credentials, rotating credentials found in eval files, purging secrets from eval repo history. EvalEgress is one of the Ingenious AI platforms.

Sources

Frequently asked questions

What are the exact caps?
50 files per batch run, 200,000 characters of content per file, 2,000 characters per line. They are the scanner's published constants, and the Pro batch size (50 files per run) is the file cap wearing its plan hat.

Does an over-limit file fail the scan?
No — it is truncated by rule at the cap and the scan proceeds, deterministically. The risk is coverage, not failure: a pattern beyond the cap is a pattern not matched, which is why declarations should stay well inside the limits.

We have one giant infrastructure file. What should we do?
Split it at declaration time into its logical files — per policy, per service — or maintain the sources separately and declare those. The findings will thank you: a line number in a 4,000-line module beats a line number in a 190,000-character bundle.

Do the caps apply to the free single-file scan?
The content and line caps apply to every scan; the file-count cap is what the plans govern (single file on Free, batches up to 50 on Pro). The caps are engine facts, the batching is the plan line.

Why 2,000 characters per line?
Configuration lines are short; extreme lines are generated artefacts. The cap keeps a pathological line from dominating the scan while covering every realistic config line many times over — and it nudges declarations toward the formatted files humans can review too.