FPT Cloud Evaluation: How Review Became the First Quality Gate
A merge request lands on Friday afternoon. It adds an endpoint that returns workspace data, the tests pass, and the senior reviewer who knows the tenant model is on leave. Line by line the change looks clean. Whether it lets one tenant read another tenant's workspace depends on rules that aren't in the diff.
That gap is what FPT Cloud set out to measure. For five weeks its engineers ran CloudThinker Review on production merge requests and changed one variable: the context the reviewer could see. Nobody tuned the model. Requirement specs, Jira issues and curated engineering rules took the reviewer from a low baseline to ~97% precision with full backend logic coverage in the evaluated set, security findings included.
This is the engineering account. The FPT Cloud case study has the business view.
The customer
FPT Cloud provides AI and cloud computing services and runs an OpenStack-based, multi-tenant platform across Vietnam and Japan. Three constraints shaped the evaluation:
- Tenant isolation is non-negotiable. A defect that crosses tenant boundaries is a compliance incident with contractual consequences, not a routine bug.
- Senior review capacity is fixed. Every merge request needs experienced eyes, and depth drops under deadline pressure.
- Claims have to be measurable. Adopting an AI reviewer in a compliance-driven organization takes quantitative evidence on real workloads.
So the evaluation was a controlled measurement, not a demo. Review ran on production merge requests, FPT Cloud engineers verified every finding, and coverage was measured against a ground truth built from every defect any layer found: AI review, human review or QC testing.
Why diff-only review breaks on a multi-tenant platform
Most AI reviewers, and most rushed human reviews, judge the change in front of them. That catches style and obvious bugs. It misses the defects that matter most here, for structural reasons.
Intent isn't in the diff. Whether a query must filter by tenant, what range a quota field accepts, which config target a change should hit: that lives in specs, tickets and people's heads. A reviewer can't check a change against a rule it has never seen.
Standards live in people. Most engineering standards were never written down. Whichever senior engineer reviews enforces them, so coverage varies with the roster.
Depth scales with people, not code. More merge requests means a thinner review per request. The risky ones get the same skim as the trivial ones.
Nobody maps the layers. Without measuring which layer catches what, a team can't tell whether review catches logic defects or only conventions, and QC quietly absorbs the rest.
Where CloudThinker fits
01Week 1
Baseline
Low accuracy. The reviewer saw the diff but not the intent.
02Week 2
Specifications
Requirement specs from the codebase and Jira loaded into every review.
03Week 3
Curated rules
Rules generated from code and review history, then curated by seniors.
04Weeks 4 to 5
Measurement
Production merge requests, every finding verified by engineers.
Week 1: the baseline. Accuracy started low, and the limit was context, not model capability. Findings were technically plausible and wrong for the business domain, and logic defects that need domain knowledge to judge were missed. That diagnosis set the plan: supply what the reviewer lacked.
Week 2: specifications. Review was connected to the two places intended behavior is written down: requirement specs maintained in the codebase, and the Jira issue behind each merge request, with its acceptance criteria, value bounds and business rules. The question changed from "is this code well formed?" to "does this change implement the documented requirement, without side effects?" That's what makes static business-logic defects visible: a chart legend silently re-sorted, a column-width setting silently dropped, a config change applied to the wrong target.
01Context
Systems of record
- Merge requestThe diff and the files around it
- Requirement specsMaintained in the codebase
- Jira issuesAcceptance criteria, value bounds, rules
- Curated rule setEngineering standards, machine-readable
What the change is supposed to do
02Review
CloudThinker
- Requirement checkDoes the change match the spec
- Side effectsWhat else the change touches
- SecurityTenant isolation, secrets, access
- StandardsCurated rules applied every time
First quality gate
03Downstream
Humans and QC
- Human reviewJudgment and conventions
- QC testingRuntime behavior and UI rendering
Work only they can do
Week 3: generated rules, curated by seniors. Most of FPT Cloud's standards were institutional knowledge. Instead of asking senior engineers to write a rulebook, the team inverted the job. CloudThinker generated candidate rules from patterns in the codebase and recurring themes in past review feedback. Senior engineers kept the ones that matched real intent, corrected the rest, and added the judgment calls only they could articulate. The result is a machine-readable rule set that loads on every merge request.
Weeks 4 and 5: measurement. With the context in place, the team measured performance on a representative set of production merge requests.
Review comments on the merge request and never merges. Fixes land only when an engineer asks for them, and autofix stacked puts them in a separate merge request to read first.
One merge request, end to end
The example is illustrative: simplified code written for this post, not FPT Cloud's. It shows the defect class that mattered most in the evaluation, a cross-tenant IDOR.
The diff adds a handler that returns a workspace by ID:
@router.get("/workspaces/{workspace_id}")
def get_workspace(workspace_id: str, user: User = Depends(current_user)):
workspace = db.query(Workspace).filter(Workspace.id == workspace_id).first()
if workspace is None:
raise HTTPException(status_code=404)
return workspace
The readings. Line by line, nothing is wrong. Whether it's safe depends on where tenant isolation is enforced, and there are three possibilities:
- Middleware or a query scope enforces it globally. The handler inherits the filter and is fine.
- A shared helper enforces it, and handlers are expected to call it. The handler skips a required step.
- Nothing enforces it. Any authenticated user can read any workspace by guessing or enumerating IDs.
The checks. The reviewer reads the files around the diff and the context it was given. The requirement spec says every workspace read is scoped to the caller's tenant. The curated rules say handlers must go through the scoped query helper, because there's no global filter. Sibling handlers in the same module all call it.
The finding. High severity, cross-tenant IDOR: the handler bypasses tenant scoping, so a user in tenant A can read workspace data from tenant B. The comment names the spec line, the rule and a sibling handler that does it right, and proposes the fix:
workspace = scoped_query(Workspace, tenant_id=user.tenant_id).filter(
Workspace.id == workspace_id
).first()
A diff-only reviewer can't reach that finding. It takes the spec and the rule to know the filter was required.
Results
These are the approved figures from the evaluation, also published in the FPT Cloud case study. Engineers verified every finding, and coverage was computed against the complete set of defects found by any layer.
| Metric | Result | What it means |
|---|---|---|
| Precision | ~97% | False positives were rare, so engineers acted on findings instead of triaging them |
| Backend logic coverage | Full | Every backend logic defect in the evaluated set was detected, security included |
| Share of all defects | 68.6% | Caught at the merge request, before human review or QC testing |
Two notes on method. The figures are preliminary: some merge requests hadn't finished QC when they were measured, so coverage on that subset is an upper bound. And coverage is reported in two scopes on purpose. The 68.6% figure charges code review with every defect found anywhere, including UI and runtime defects only QC can see. The backend logic figure covers the defect class code review is responsible for. You need both for an honest picture.
01AI code review
68.6%
Technical, static business logic and every security finding, at the merge request.
02Human review
5.9%
Code-convention findings, already covered by rules generated in week 3.
03QC testing
25.5%
UI and runtime defects that only appear when the code executes.
The code-layer defects Review didn't report were all convention violations. Each one maps to a rule generated in week 3 that hadn't been loaded into the review context when the measurement ran.
The split between layers was clean. Review found technical defects (a NaNpx CSS value, duplicated logic, a config change applied to the wrong target), static business-logic defects (the re-sorted legend, the dropped column width) and every security finding (cross-tenant IDORs and credentials stored in plaintext). QC found what only shows up at runtime: a crash when expanding all rows over a large dataset, layout regressions after font and padding changes, and drill-through, pagination and page-load issues. Review's blind spot is runtime behavior and UI rendering, not business logic.
| Severity | Share of verified findings |
|---|---|
| Critical | 0% |
| High | 37% |
| Medium | 37% |
| Low | 26% |
One merge request held nearly half of the High findings: IDORs that allowed cross-tenant access to workspace data, a partial failure reported as Succeeded, and a silent data-copy failure that left the destination table empty. Those are the most expensive defect classes a multi-tenant provider can ship, and all of them were caught before human review, QC or deployment.
The evaluation closed with three recommendations for rollout: load the curated rule set into the review context, attach the feature specification to every merge request so coverage reaches value-bound validation, and keep reporting coverage in two scopes.
Why this beats the traditional approach
| Diff-only review | Context-aware review (this evaluation) | |
|---|---|---|
| What it checks | Is the code well formed | Does the change implement the documented requirement |
| Business logic | Plausible findings, often wrong for the domain | Full backend logic coverage in the evaluated set |
| Security | Depends on who reviews | Every security finding in the evaluated set |
| Engineering standards | In senior engineers' heads | Generated, curated, loaded on every merge request |
| Evidence for audit | Anecdotes | Verified findings, coverage in two scopes |
The deeper difference is what the reviewer is allowed to know. The defects that hurt a multi-tenant platform are defined by rules that never appear in the diff, so the result moved when the team supplied intent and standards, not when anyone touched the model. Low initial accuracy is usually a context problem.
Getting started
Connect your repository, link Jira so each merge request brings its ticket, then ask from chat:
"Review this merge request against the linked Jira issue and our requirement specs. Flag anything that reads or writes tenant data without the tenant filter, and cite the spec line for each finding."
"Draft candidate review rules from our last six months of review comments. Group them by theme so our senior engineers can curate them."
"List the merge requests from the last two weeks that touch tenant data access, and flag any handler that skips the scoped query helper."
Next step: connect a repository and run the first prompt on a merge request that touches tenant data. Review explains how it reads each change against your specs and conventions.
Steve Tran, CTO, CloudThinker



