DecisioQ System Architecture Decision Concepts Decision List API Guide Client Kit Developer Center Decision Studio Quick Start Playground End-to-End Examples

AUTO-RECY-003 End-to-End Example

Determine Scrap vs Resale compares recovery paths using business value, cost impact, operational fit, customer impact, and risk.

AutomotiveAutomotive Recycling & SalvageSalvage DispositionTOPSIS
Salvage DataCollect condition and market signals
Input SchemaValidate business records
MappingPrepare canonical criteria
Decision EngineRank alternatives
DispositionReview scrap or resale guidance

Decision Summary

Business question: Which disposition option should be recommended for determine scrap vs resale in the selected Automotive Recycling & Salvage context?

Outcome: a ranked recommendation that supports, but does not replace, accountable business judgment.

Criterion IDMeaningDirectionWeightUnit
business_valueBusiness Valuemaximize25%Rating
cost_impactCost Impactminimize20%Currency
operational_fitOperational Fitmaximize20%Rating
customer_impactCustomer Impactmaximize20%Rating
risk_levelRisk Levelminimize15%Rating

5-Minute Quick Path

Goal

Run Determine Scrap vs Resale with a complete candidate set.

Recommended mode

Business Data Mode when you have ordinary operational records.

You provide

Candidate business records matching the published input schema.

DecisioQ returns

A ranked recommendation with score evidence.

First working request →

Data Preparation Guide

Business records
Input schema
Preparation profile
Canonical criteria
TOPSIS ranking

Business Data uses domain-shaped records and the published mapping profile. Prepared Criteria bypasses mapping and supplies canonical criterion IDs directly. Never send both modes in one request.

Business sourceCanonical target
constantbusiness_value
constantcost_impact
option.processingReadinessScoreoperational_fit
option.partsDemandBandcustomer_impact
option.environmentalRiskScorerisk_level

Business Data Mode

This complete illustrative request comes from certification case valid-business-payload. It demonstrates shape and mapping, not production data.

{
  "decisionId": "AUTO-RECY-003",
  "mappingProfileId": "auto-recycling-scrap-resale",
  "businessData": {
    "yardId": "RECY-11",
    "salvageVehicles": [
      {
        "stockNumber": "SAL-501",
        "vehicleLabel": "2016 Silverado salvage",
        "resaleValueEstimate": 4600,
        "scrapValueEstimate": 1700,
        "dismantlingCost": 820,
        "storageCost": 140,
        "processingReadinessScore": 86,
        "partsDemandBand": "High",
        "environmentalRiskScore": 22
      },
      {
        "stockNumber": "SAL-509",
        "vehicleLabel": "2012 Corolla salvage",
        "resaleValueEstimate": 1900,
        "scrapValueEstimate": 1350,
        "dismantlingCost": 450,
        "storageCost": 90,
        "processingReadinessScore": 72,
        "partsDemandBand": "Medium",
        "environmentalRiskScore": 14
      }
    ]
  }
}

Download Business Data request

Prepared Criteria Mode

This complete request is the published expected-canonical artifact. Values and names remain illustrative.

{
  "resolvedDecisionType": "AUTO-RECY-003",
  "selectedProfileId": "balanced",
  "selectedScenarioId": null,
  "options": [
    {
      "name": "2016 Silverado salvage",
      "scores": {
        "Business Value": 2900,
        "Cost Impact": 960,
        "Operational Fit": 86,
        "Customer Impact": 90.0,
        "Risk Level": 22
      }
    }
  ]
}

Download Prepared Criteria request

Understanding the Result

The score is a relative TOPSIS closeness coefficient within this candidate set; it is not a probability. The winner below was computed by DecisioQ.DecisionEngine.Services.TopsisEngine in-process from the published canonical request.

RankOptionIDScore
12016 Silverado salvageOPTION-10.000000

Winner: OPTION-1. Download verified local result

Profiles and Scenarios

Profiles: balanced, cost_focused, quality_focused, risk_averse

Scenarios: standard, budget_reduction, high_demand, emergency_operations

Profiles change business priorities; scenarios represent operating context. Re-run the same candidate set and compare winner, score gap, and criterion contribution before adopting a change.

Sensitivity Analysis

Vary the highest-weight criteria in small increments and record whether the winner changes. A stable winner across reasonable weight changes is stronger evidence than a large score in one configuration.

Scenario Analysis

Use a published scenario only when it represents the intended operating context: standard, budget_reduction, high_demand, emergency_operations. Compare the winner, ranking gap, and trade-offs with the baseline run.

Integration Examples and Next Steps

Use the API guide and client kit to transport either request mode. This example intentionally does not duplicate authentication, routing, Key Vault, usage accounting, or operational logging guidance.

Review the batch validation report, replace illustrative data with governed business data, and add domain acceptance thresholds before rollout.