Class BenchmarkTrust

java.lang.Object
neqsim.mcp.runners.BenchmarkTrust

public final class BenchmarkTrust extends Object
Benchmark trust metadata for each MCP tool.

Provides per-tool validation status, known accuracy ranges, reference validation cases, known limitations, and unsupported regions. This is the "trust page" that industrial users require before relying on a tool for engineering decisions.

Each tool entry includes:

  • maturityLevel: VALIDATED, TESTED, EXPERIMENTAL
  • validationCases: Reference cases with expected results and tolerances
  • accuracyBounds: Expected accuracy for different fluid types and conditions
  • knownLimitations: Conditions where the tool may give poor results
  • referenceData: Published sources used for validation
Version:
1.0
Author:
Even Solbraa
  • Field Details

    • GSON

      private static final com.google.gson.Gson GSON
  • Constructor Details

    • BenchmarkTrust

      private BenchmarkTrust()
      Private constructor — utility class.
  • Method Details

    • getTrustReport

      public static String getTrustReport()
      Returns the full trust report for all tools.
      Returns:
      JSON string with per-tool trust metadata
    • getToolTrust

      public static String getToolTrust(String toolName)
      Returns the trust report for a specific tool.
      Parameters:
      toolName - the MCP tool name
      Returns:
      JSON string with trust metadata for that tool
    • buildFlashTrust

      private static com.google.gson.JsonObject buildFlashTrust()
    • buildProcessTrust

      private static com.google.gson.JsonObject buildProcessTrust()
    • buildPVTTrust

      private static com.google.gson.JsonObject buildPVTTrust()
    • buildFlowAssuranceTrust

      private static com.google.gson.JsonObject buildFlowAssuranceTrust()
    • buildStandardsTrust

      private static com.google.gson.JsonObject buildStandardsTrust()
    • buildPipelineTrust

      private static com.google.gson.JsonObject buildPipelineTrust()
    • buildReservoirTrust

      private static com.google.gson.JsonObject buildReservoirTrust()
    • buildEconomicsTrust

      private static com.google.gson.JsonObject buildEconomicsTrust()
    • buildDynamicTrust

      private static com.google.gson.JsonObject buildDynamicTrust()
    • buildBioprocessTrust

      private static com.google.gson.JsonObject buildBioprocessTrust()
    • buildCrossValidationTrust

      private static com.google.gson.JsonObject buildCrossValidationTrust()
    • buildParametricTrust

      private static com.google.gson.JsonObject buildParametricTrust()
    • buildPhaseEnvelopeTrust

      private static com.google.gson.JsonObject buildPhaseEnvelopeTrust()
    • buildPropertyTableTrust

      private static com.google.gson.JsonObject buildPropertyTableTrust()
    • buildEquipmentSizingTrust

      private static com.google.gson.JsonObject buildEquipmentSizingTrust()
    • validationCase

      private static com.google.gson.JsonObject validationCase(String description, String model, String expectedResult, String referenceSource)
      Builds a validation case entry.
      Parameters:
      description - case description
      model - EOS model used
      expectedResult - accuracy expectation
      referenceSource - published reference
      Returns:
      JSON object for the validation case