Brightway Flows 1.1.0
GitHub

agribalyse 3.2

algorithm
Name
Citric Acid
Context
Emissions to soil → forestry
Unit
kg
CAS
77-92-9
EC
201-069-1
Basis
cas 77-92-9
Method
algorithm
Substance
fo-0ea1a43a8ab28905
Target flow
5ad522fddce3b471865e92ede381f322b7e63bcd

What it could have been

3 flows between them, 3 of them eligible after the dimension and media filter, 10 removed because the context did not agree, and 3 tied on the winning score of 3.

Score Name Unit Context LCIA Flow
3 tied Citric Acid kg Environmental → Ground → Agricultural 2 53af8d53-ea35-4498-a4be-0c91ef449013
3 tied Citric Acid kg Environmental → Ground → Non-agricultural 2 6520f621-4678-4a0d-976d-b7280169a485
3 tied Citric Acid kg Environmental → Ground → Unknown 2 78d0d625-a3b6-4e31-9443-936f9f3bb885
Everything this outcome recorded
{
  "source_uuid": "0df2411b-90ef-5eb1-89ca-8eb8cd0906e9",
  "source_name": "Citric Acid",
  "source_context": [
    "Emissions to soil",
    "forestry"
  ],
  "source_context_normalized": [
    "Environmental",
    "Ground",
    "Silvicultural"
  ],
  "source_context_iri": "https://vocab.brightway.one/flow-contexts/envi-grou-silv",
  "source_unit": "kg",
  "source_cas": "77-92-9",
  "source_ec": "201-069-1",
  "flow_object_id": "fo-0ea1a43a8ab28905",
  "target_name": "Citric Acid",
  "target_elementary_flow_id": "5ad522fddce3b471865e92ede381f322b7e63bcd",
  "target_context": [
    "Environmental",
    "Ground",
    "Silvicultural"
  ],
  "target_unit": "kg",
  "basis": "cas",
  "basis_value": "77-92-9",
  "selector_reason": "new-elementary-flow-created",
  "matching_method": "algorithm",
  "algorithm_details": {
    "flow_object_candidate_count": 1,
    "elementary_candidate_count": 13,
    "eligible_candidate_count": 3,
    "filtered_out_context_mismatch_count": 10,
    "required_dimension": "Environmental",
    "required_media": "Ground",
    "selector_model": "exact-iri-shortcircuit;up-tree-filter;score=(2*unit_exact)+context_overlap-context_penalty+context_iri_exact;contradiction-veto",
    "top_candidates": [
      {
        "elementary_flow_id": "53af8d53-ea35-4498-a4be-0c91ef449013",
        "score": 3,
        "unit_exact": true,
        "context_overlap": 2,
        "context_penalty": 1,
        "context_iri_exact": false,
        "unit": "kg",
        "context": [
          "Environmental",
          "Ground",
          "Agricultural"
        ],
        "context_iri": "https://vocab.brightway.one/flow-contexts/envi-grou-agri"
      },
      {
        "elementary_flow_id": "6520f621-4678-4a0d-976d-b7280169a485",
        "score": 3,
        "unit_exact": true,
        "context_overlap": 2,
        "context_penalty": 1,
        "context_iri_exact": false,
        "unit": "kg",
        "context": [
          "Environmental",
          "Ground",
          "Non-agricultural"
        ],
        "context_iri": "https://vocab.brightway.one/flow-contexts/envi-grou-noag"
      },
      {
        "elementary_flow_id": "78d0d625-a3b6-4e31-9443-936f9f3bb885",
        "score": 3,
        "unit_exact": true,
        "context_overlap": 2,
        "context_penalty": 1,
        "context_iri_exact": false,
        "unit": "kg",
        "context": [
          "Environmental",
          "Ground",
          "Unknown"
        ],
        "context_iri": "https://vocab.brightway.one/flow-contexts/envi-grou-unkn"
      }
    ],
    "scored_candidates": [
      {
        "elementary_flow_id": "53af8d53-ea35-4498-a4be-0c91ef449013",
        "score": 3,
        "unit_exact": true,
        "context_overlap": 2,
        "context_penalty": 1,
        "context_iri_exact": false,
        "unit": "kg",
        "context": [
          "Environmental",
          "Ground",
          "Agricultural"
        ],
        "context_iri": "https://vocab.brightway.one/flow-contexts/envi-grou-agri"
      },
      {
        "elementary_flow_id": "6520f621-4678-4a0d-976d-b7280169a485",
        "score": 3,
        "unit_exact": true,
        "context_overlap": 2,
        "context_penalty": 1,
        "context_iri_exact": false,
        "unit": "kg",
        "context": [
          "Environmental",
          "Ground",
          "Non-agricultural"
        ],
        "context_iri": "https://vocab.brightway.one/flow-contexts/envi-grou-noag"
      },
      {
        "elementary_flow_id": "78d0d625-a3b6-4e31-9443-936f9f3bb885",
        "score": 3,
        "unit_exact": true,
        "context_overlap": 2,
        "context_penalty": 1,
        "context_iri_exact": false,
        "unit": "kg",
        "context": [
          "Environmental",
          "Ground",
          "Unknown"
        ],
        "context_iri": "https://vocab.brightway.one/flow-contexts/envi-grou-unkn"
      }
    ],
    "winning_score": 3,
    "tie_on_top_score": true,
    "source_context_original": [
      "Emissions to soil",
      "forestry"
    ],
    "source_context_normalized": [
      "Environmental",
      "Ground",
      "Silvicultural"
    ],
    "source_context_used_for_matching": [
      "Environmental",
      "Ground",
      "Silvicultural"
    ],
    "source_context_matching_basis": "normalized"
  },
  "provenance": {
    "prov:wasGeneratedBy": "merge_agribalyse",
    "prov:wasAttributedTo": "brightway-flows",
    "prov:hadPrimarySource": [
      "agribalyse:3.2:0df2411b-90ef-5eb1-89ca-8eb8cd0906e9",
      "Citric Acid",
      "",
      "algorithm.lookup_order=cas>ec>label",
      "algorithm.basis=cas:77-92-9",
      "algorithm.flow_object_candidates=1",
      "algorithm.elementary_candidates=13",
      "algorithm.selector_reason=new-elementary-flow-created",
      "algorithm.score_rule=exact-iri-shortcircuit;up-tree-filter;score=(2*unit_exact)+context_overlap-context_penalty+context_iri_exact;contradiction-veto",
      "algorithm.winning_score=3",
      "algorithm.tie_on_top_score=true"
    ],
    "prov:wasDerivedFrom": "algorithmic_fallback:lookup_order(cas>ec>label);basis(cas:77-92-9);flow_object_candidates(1);elementary_candidates(13);selector(new-elementary-flow-created);exact-iri-shortcircuit;up-tree-filter;score=(2*unit_exact)+context_overlap-context_penalty+context_iri_exact;contradiction-veto"
  }
}

Keyboard

?
Show or hide this map
/
Focus search
Esc
Close