The analysis pipeline

The stages an assessment passes through, from receiving the source code to the signed certificate, with the inputs and outputs of each stage and what you see in the app while it runs.

An assessment is a fixed sequence of stages. Measurement comes first and judgement second: tools measure the code before a large language model reads it, and the model's output is checked against those measurements before any report is written. Each stage receives only the outputs of the stages before it.

The status shown on the assessment page reflects the stage in progress. Several stages share one status, so the status list is shorter than the list of stages. The statuses themselves are described in Following progress.

  1. 01Source intakeClone the repositories at the chosen commit, or extract the ZIP archive.
  2. 02Malware scanUploaded archives are scanned before any further processing.
  3. 03Static metricsLines of code, complexity, security patterns, dependencies, tests, CI and documentation.
  4. 04Technology factsFramework versions, end-of-life dates and known vulnerabilities in dependencies.
  5. 05ScoringModel-assisted scoring of seven dimensions, bounded by the measured evidence.
  6. 06Technical reportWritten from the final scores; it cannot change them.
  7. 07Economic reportInvestment and maintenance estimates computed from metrics and the team scenario.
  8. 08DocumentsPDF reports, compliance binder and audio summary.
  9. 09Certificate and custodySigned Evidence Certificate; optional deposit with a qualified custodian.
The stages of an assessment, in the order they run.

Source intake#

The source is placed in an isolated workspace. For Git sources the repositories are cloned at the selected branch or commit, private repositories through the read-only GitHub App; for archives the ZIP file is extracted, using the password if one was given. Archives are scanned for malware with ClamAV during extraction. Assessments run with the Enterprise CLI skip this stage: the code stays on your machine and the CLI computes the measurements locally.

Inputs
Repository URLs with branch or commit, or a ZIP archive; for CLI runs, a bundle of measurements produced on your machine.
Outputs
A workspace containing the code, the resolved commit SHA for each repository, and the dates of the first and last modification.
What you see
Payment confirmed, Queued for processing, then Extracting code.

Static measurement#

Tools read the workspace and record measurements that do not depend on the model: lines of code per language, test files, cyclomatic complexity, security pattern findings, dependency counts, and the presence of a README, linter configuration, CI configuration and infrastructure files. The same files always produce the same measurements. Static evidence lists each measurement and the tool that produces it.

When the assessment includes priced recommendations, a second step collects technology facts: the versions of runtimes and frameworks declared in manifests, lockfiles and Dockerfiles, their end-of-life dates, and known vulnerabilities in the resolved dependency versions.

Inputs
The workspace.
Outputs
A set of static metrics and, where applicable, technology facts. Neither contains model output.
What you see
Analyzing codebase.

Scoring pass#

A large language model explores the code with read-only tools (read a file, list a directory, search for a pattern) and writes one structured file. That file contains a proposed score for each of the seven dimensions, the findings, four complexity signals, an inventory of infrastructure resources, and recommendations. The model works from a written rubric; see Dimension rubrics.

Code then calibrates the proposals. Dimension scores are held between ceilings and floors derived from the static metrics, complexity signals are clamped to ranges derived from the same metrics, and investment hours, cost ranges and maintenance cost are computed by formula. The model's own figures for hours or cost, if any, are discarded. Model output and its constraints describes these rules.

Inputs
The workspace, the static metrics, the rubric, any selected analysis frameworks and, where applicable, technology facts.
Outputs
Final dimension scores, the overall score, findings, bounded signals and the computed estimates.
What you see
Analyzing codebase.

Report passes#

The technical report is written in a separate pass that receives the final scores and findings as its source of truth. It cannot change them, and it does not receive monetary figures. When the assessment includes the economic valuation, a third pass writes the narrative of the economic report around the computed figures, which code inserts into the text.

Inputs
The final scores, findings and estimates; the team scenario for the economic report.
Outputs
The text of the technical report and, if requested, the economic report.
What you see
Analyzing codebase.

Documents#

The reports are rendered to PDF, the structured results and evidence files are stored, and the audio summary is generated. If compliance frameworks were selected, the compliance binder is produced at the end of the run. See The technical and economic reports, Audio summary and The compliance binder.

Inputs
The report texts and the structured results.
Outputs
Technical report PDF, economic report PDF if requested, evidence files, audio summary, compliance binder if requested.
What you see
Generating report, and Finalizing compliance reports when compliance frameworks were selected.

Certificate and custody#

The Evidence Certificate is generated as a signed PDF. Where the plan includes it, the certificate is deposited with a qualified custodian, which adds a qualified timestamp. See The Evidence Certificate and Qualified custody.

Inputs
The final results and report files.
Outputs
The signed certificate and, where applicable, the custody record.
What you see
Creating certificate, then Completed.

Time limits#

The analysis stages share a deadline of about 55 minutes. Most assessments complete within the hour. If the deadline is reached, or a stage cannot complete, the assessment ends in Failed; see When an assessment fails.