electre-comparator
ELECTRE family methods skill for outranking-based decision support with concordance and discordance analysis
What this skill does
# ELECTRE Comparator
## Overview
The ELECTRE Comparator skill implements the ELECTRE (ELimination Et Choix Traduisant la REalite) family of methods for multi-criteria decision analysis. It uses outranking relations based on concordance and discordance indices to handle complex decision problems with incomparability and threshold-based preferences.
## Capabilities
- ELECTRE I, II, III, IV, TRI implementation
- Concordance matrix calculation
- Discordance matrix calculation
- Credibility degree computation
- Outranking relation determination
- Kernel and ranking extraction
- Threshold sensitivity analysis
- Classification into ordered categories (ELECTRE TRI)
## Used By Processes
- Multi-Criteria Decision Analysis (MCDA)
- Portfolio Selection
- Project Prioritization
## Usage
### ELECTRE Method Selection
| Method | Purpose | Output |
|--------|---------|--------|
| ELECTRE I | Selection | Kernel (best alternatives) |
| ELECTRE II | Ranking | Strong/weak rankings |
| ELECTRE III | Ranking | Credibility-based ranking |
| ELECTRE IV | Ranking | No weights required |
| ELECTRE TRI | Sorting | Category assignment |
### Configuration Example
```python
# Define ELECTRE III configuration
config = {
"alternatives": ["Project A", "Project B", "Project C", "Project D"],
"criteria": [
{
"name": "ROI",
"weight": 0.35,
"type": "benefit",
"thresholds": {"q": 2, "p": 5, "v": 15} # indifference, preference, veto
},
{
"name": "Risk",
"weight": 0.25,
"type": "cost",
"thresholds": {"q": 1, "p": 3, "v": 8}
},
{
"name": "Strategic Fit",
"weight": 0.40,
"type": "benefit",
"thresholds": {"q": 5, "p": 10, "v": 25}
}
],
"performance_matrix": [
[25, 4, 80], # Project A
[30, 6, 70], # Project B
[20, 3, 85], # Project C
[28, 5, 75] # Project D
]
}
```
### Threshold Types
- **Indifference threshold (q)**: Difference below which alternatives are indifferent
- **Preference threshold (p)**: Difference above which strict preference exists
- **Veto threshold (v)**: Difference that prohibits outranking regardless of other criteria
### Concordance and Discordance
**Concordance Index**: Measures support for "a outranks b"
- C(a,b) = Sum of weights where a is at least as good as b
**Discordance Index**: Measures opposition to "a outranks b"
- D(a,b) = Maximum scaled difference where b is better than a
### ELECTRE TRI Classification
Assigns alternatives to predefined categories:
1. Define boundary profiles between categories
2. Compare alternatives to boundaries
3. Apply pessimistic or optimistic assignment rules
## Input Schema
```json
{
"method": "ELECTRE_I|ELECTRE_II|ELECTRE_III|ELECTRE_IV|ELECTRE_TRI",
"alternatives": ["string"],
"criteria": [
{
"name": "string",
"weight": "number",
"type": "benefit|cost",
"thresholds": {
"q": "number",
"p": "number",
"v": "number"
}
}
],
"performance_matrix": "2D array of numbers",
"options": {
"concordance_threshold": "number (for ELECTRE I)",
"boundary_profiles": "object (for ELECTRE TRI)",
"assignment_rule": "pessimistic|optimistic"
}
}
```
## Output Schema
```json
{
"method_used": "string",
"concordance_matrix": "2D array",
"discordance_matrix": "2D array",
"credibility_matrix": "2D array (ELECTRE III)",
"outranking_relations": [
{"from": "string", "to": "string", "credibility": "number"}
],
"kernel": ["string (ELECTRE I)"],
"ranking": {
"descending": ["string"],
"ascending": ["string"],
"final": ["string"]
},
"classifications": "object (ELECTRE TRI)",
"incomparabilities": ["object"]
}
```
## Best Practices
1. Select ELECTRE variant based on problem type (selection, ranking, sorting)
2. Set thresholds based on criterion measurement precision
3. Validate veto thresholds with stakeholders (they block outranking)
4. Analyze incomparabilities - they may reveal important trade-offs
5. Compare results across multiple threshold scenarios
6. Use ELECTRE TRI for portfolio categorization problems
## Integration Points
- Receives weights from AHP Calculator
- Connects with PROMETHEE Evaluator for method triangulation
- Feeds into Decision Visualization for outranking graphs
- Supports Sensitivity Analyzer for threshold robustness
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.