BENCHMARK / RECORDED COMPARISON
When an AI agent needs Rust
instead of ad-hoc Python.
Short answer: an AI assistant writing quick Python works fine for routine scripting, yet short float64 or greedy scripts silently misclassify edge cases in finance, uncertainty, statistics, formal rule verification and physical 3D packing. Calling a bounded Rust MCP engine replaces ad-hoc guesses with explicit diagnostics, exact arithmetic where declared and a compact context footprint.
Six recorded side-by-side cases (26 November 2026, release 0.20.0)
Every row below was executed once with standard Python 3 and once against the live public endpoint https://scorecompute.com/mcp. A specialist writing dedicated Python with Decimal, Z3 or OR-Tools could solve each problem separately; this comparison shows what fails silently in short agent-written scripts (full recorded JSON).
| Case | Naive standard Python 3 | ScoreCompute MCP (live Rust) |
|---|---|---|
| Exact decimal comparison (0.1 + 0.2 == 0.3) | False 0.30000000000000004Binary IEEE-754 float64 evaluates 0.1 + 0.2 to 0.30000000000000004 != 0.3 unless the caller explicitly reaches for fractions or Decimal. | check_arithmetic{"verdict":"consistent","exact_value":"3/10","absolute_error":0} |
| Non-conventional cash flows with two IRR roots (10% and 20%) | single_newton_root=0.100000 (missed second root at 0.200000)A single-guess Newton solver converges to 10% and never warns that Descartes sign-change parity admits a second valid IRR at 20%. | compute_cashflow_metrics{"irr_status":"multiple_roots_possible","irr":null,"sign_changes":2,"candidate_roots":[10,20]} |
| Nonlinear product uncertainty (y = x1 * x2, both 1 +/- 1) | first_order_sd=1.4142 (exact_sd=1.7321)First-order error propagation ignores the product of deviations (variance = 2 instead of exact 3, understating SD by 18.4%) without flagging linearization failure. | propagate_uncertainty{"verdict":"linearization_inadequate","gum_sd":1.4142,"mc_sd":1.7315} |
| Granularity-impossible reported survey mean (n=10, mean=3.48, scale 1..5) | range_check_only=TrueStandard range checks pass 3.48 inside [1, 5], missing that 10 integer responses can only produce means in multiples of 0.1. | audit_statistics{"verdict":"inconsistant","sum_needed":34.8,"nearest_attainable":3.5} |
| Hidden discount stacking violation across bounded continuous/integer inputs | 50_random_samples_violations=4 (no exhaustive guarantee, no dead-rule or conflict check)Unit tests or random sampling cannot cover continuous/integer combinations exhaustively, nor detect dead rules, overlapping conflicts or coverage gaps. | verify_policy{"overall_status":"issues_found","invariant_status":"violated","counterexample_reverified":true,"discount_exact":"45","smt_queries":5} |
| 3D container packing with fragility, upright lock and 70% underside support | volume_only_bins_estimate=1 (ignores fragile top-clear and 50% overhang < 70% support)Volume-ratio estimates predict 1 bin (75% fill), missing that putting small on fragile breaks !fragile while putting wide_fragile on small leaves only 50% underside support (< 70%), requiring 2 bins. | optimize_packing{"status":"packed_all","bins_used":2,"bin_count_lower_bound":1,"verified_physically":true} |
Keeping agent context lean
Connecting a large tool server can bloat an assistant’s prompt. ScoreCompute trims MCP overhead by design without hiding limits:
- Compact default discovery:
/mcpomits verbose output schemas fromtools/list(82.1 kB / 19,770o200k_basetokens vs 221.7 kB with?schemas=full), while still checking every returned result server-side. - Domain profiles (~90% smaller): connecting
?profile=verify(1,496 tokens),?profile=finance(1,642 tokens),?profile=planning(1,986 tokens) or?profile=stats(2,024 tokens) exposes only 4–6 relevant tools (measured live on release 0.20.0). - Concise responses & compact DSLs: verbose tools return summaries by default (
detail: "full"/include_points: truefor full payloads), andverify_policy/optimize_packinguse a short text specification instead of nested JSON trees.
Limits of this comparison
- These six fixtures illustrate known numerical and combinatorial traps; they are not a universal speed benchmark or a claim that Python cannot solve them with specialist libraries.
- Every ScoreCompute result remains conditional on its supplied inputs and stated model boundaries.
Connect a lightweight MCP profile · Try all 34 interactive demos · Inspect engine evidence cards
First published 26 November 2026 · Last updated 26 November 2026