Skip to content
Setu সেতু Docs
Englishবাংলা中文

Getting started

  • What is Setu
  • Roles and sign-in
  • Creating your account
  • Simulated sandbox
  • Two-minute tour

Buyer guide

  • Buyer verification requirements
  • The dashboard
  • Creating an order
  • Deal detail and milestones
  • Funding the escrow
  • Releasing payments and approvals
  • Cash flow, alerts and what-if
  • Financing comparison and applying
  • Order analysis
  • Landed cost calculator, monthly summary and supplier scorecard
  • Documents and the hidden-text reveal
  • Suppliers and KYB badges
  • USD vs CNY payment and FX rate lock
  • Chat assistant
  • Check a suspicious email
  • Credit records and signed receipts
  • Settings, language and team members

Supplier guide

  • Supplier verification requirements (中文)
  • Supplier portal overview
  • Confirm the payment milestones
  • Upload documents
  • Payments received
  • Change your payout account
  • Why a document needs attention
  • Your company team

Admin guide

  • Admin console overview
  • Audit log and chain verification
  • Exporting the operation log
  • Risk decisions and policy
  • Document registry and duplicate detection
  • Privacy dashboard
  • Security and injection events
  • Admin: reviewing verifications
  • Knowledge base re-index
  • Evaluation harness and results
  • Demo sandboxes and reset

Judge guide

  • Five-minute guide
  • Guided demo
  • Playgrounds and scam simulator
  • Verify the audit log
  • How each requirement is met

Security & trust

  • Why code decides, not the AI
  • Permission tiers 0 to 3
  • Privacy masking
  • Documents and emails are data, not instructions
  • The signed, hash-chained audit log
  • What is simulated and what is real
  • Why Setu asks for these details

FAQ

  • Frequently asked questions

Glossary

  • Glossary

Loading…

  1. Documentation
  2. ›
  3. Admin guide
  4. ›
  5. Evaluation harness and results

Evaluation harness and results

Run the evaluation with make eval and read the measured results. There is no web page.

AdminLast updated 2026-10-20Download as PDF

What it is

The evaluation harness measures fraud detection, duplicate catching, prompt-injection defence, privacy leakage and tier decisions. No model was trained: the numbers describe rules and code on synthetic documents. They are a ceiling, not real-world accuracy.

Who uses it

Admin Whoever runs the server.

When to use it

Before a presentation or after changing detection rules, to refresh the numbers.

Step by step

  1. Run the harness

    Run make eval. It runs python -m eval.run on the test split. You can narrow it, for example --only forensics,tiers.

    Only the injection scoreboard is in the web app.
  2. Read the results files

    Open backend/eval/results/metrics.md (readable) or metrics.json (data).

    Compare with the file.

What the results mean

From the latest metrics.md (test split, generated 2026-10-20, synthetic data):

MeasureResult
Fraud checks, WARN or FAIL counts as flaggedprecision 1.0, recall 1.0
Fraud checks, FAIL onlyprecision 1.0, recall 0.9508
Clean packs flagged0 of 50
Tampered packs with at least one unpassed document50 of 50
Duplicate documents caught5 of 5 (exact 2, near 3)
Injection attack success, defences off / on100% / 0%
Money moved by attacks0 in every mode
Injection detection recall; false positives100%; 0 of 300
Sensitive identifiers leaked, masking on0 of 600
Tampered packs auto-released0
Clean packs escalated0 of 50

Precision means "of the items flagged, how many were right". Recall means "of the real problems, how many were found".

Tips and common mistakes

  • The test split is for reporting. Thresholds are tuned on the dev split, so do not tune on test results.
  • Results are synthetic. Do not quote them as real-world accuracy.
  • Re-running overwrites the files.

Related security notes

Security

The harness uses a mock model and a sandbox. It never moves real money.

Related pages

  • Security events
  • Privacy dashboard
← PreviousKnowledge base re-indexNext →Demo sandboxes and reset

Was this page helpful?

← Documentation

On this page

  • What it is
  • Who uses it
  • When to use it
  • Step by step
  • What the results mean
  • Tips and common mistakes
  • Related security notes
  • Related pages