Troubleshooting

Troubleshoot result ranking transparency — Unified Discovery

Troubleshoot missing or misleading ranking explanations, stale scores, inconsistent query signals, and unsupported claims about source quality.

ProductResearch LibrarianUpdatedNovember 14, 2026Reading time17 minutes

Application: Unified Discovery
Knowledge-base classification: Troubleshooting / Search Ranking / Explanation Integrity
Audience: Researchers, librarians, scientific software developers, data stewards, QA engineers, and platform operators
Technical level: Intermediate to advanced
Reference environment: Python 3 standard library
Relevant guidance: Information retrieval, W3C PROV-O, OWASP API Security, and WCAG 2.2
Primary outputs: Ranking discrepancy diagnosis, explanation reconciliation, preserved query evidence, regression tests, and controlled recovery decision
Estimated reading time: 14–18 minutes; 30–45 minutes including exercises

1. Recognize a ranking transparency defect

A ranking transparency defect occurs when a discovery system’s explanation of result relevance is incomplete, incorrect, inconsistent with its implemented ranking method, or misleading about scientific credibility.

The problem may involve the result order, the explanation, the underlying source records, or the interaction among several discovery providers.

Typical symptoms include:

  • A result receives a high rank without a traceable explanation.
  • The displayed relevance score differs from the ranking calculation.
  • Two identical queries return different rankings without a documented change in source or ranking state.
  • A ranking explanation refers to query terms absent from the source.
  • The explanation cites ranking factors not used by the actual algorithm.
  • Results are described as scientifically authoritative because they rank highly.
  • Provider scores with incompatible scales are compared directly.
  • A source appears in results despite insufficient access permissions.
  • A result’s provenance, version, or quality caveats are missing.
  • An old cached ranking is displayed after a source or index update.
  • Partial provider coverage is presented as a complete search.
  • A saved research source no longer resolves to its original revision.
  • Ranking changes unexpectedly after filtering, pagination, or session reload.

Primary diagnostic condition: The displayed order and ranking rationale must be consistent with the implemented retrieval method, while source provenance, authorization, freshness information, and scientific quality caveats remain available and correctly interpreted.

A ranking defect should not automatically be treated as a scientific credibility defect. Relevance and scientific quality are separate properties.

2. Distinguish the failure categories

Table 1. Common result-ranking transparency failures
Failure Possible cause First diagnostic check
Incorrect result order Scoring error, stale candidates, or tie-break inconsistency Recalculate ranking with fixed inputs
Incorrect score Weighting, normalization, or calculation defect Compare component scores with total
Misleading explanation Explanation generated from the wrong signals or revision Compare explanation with actual ranking inputs
Unstable ranking Missing deterministic tie-break, index changes, or model variation Replay identical query and captured state
Missing source Filtering, provider failure, indexing lag, or authorization Inspect candidate generation and provider coverage
Unauthorized result Incorrect source authorization or cache isolation Verify object-level access controls
Stale ranking Outdated index, cache, source metadata, or model revision Compare actual revision chain
Missing provenance Source mapping or metadata serialization defect Resolve authoritative source identifier
Provider score mismatch Incompatible retrieval-score scales Inspect provider and fusion method
False quality implication Relevance score presented as scientific credibility Review terminology and quality metadata
Reload discrepancy Unpersisted filters, ranking state, or source revision Compare saved snapshot and active query

Multiple failures may occur together. For example, an outdated cache may contain incorrect result order and explanations associated with a previous ranking model.

3. Establish the diagnostic context

Before reproducing the issue, identify the exact request and authorization context.

Record:

  • Organization or tenant.
  • Authenticated role and permitted scope.
  • Workspace or project identifier.
  • Search query and normalized query where applicable.
  • Selected provider set.
  • Language and search-field settings.
  • Filters and sort mode.
  • Result identifiers and source revisions.
  • Discovery index revision.
  • Ranking method and configuration version.
  • Cache or snapshot identity.
  • Request trace identifier.
  • Actual error or unexpected behavior.

Use sanitized diagnostic identifiers when sharing evidence outside the authorized engineering or research environment.

Never disclose access tokens, private research content, provider credentials, or protected object identifiers in public support tickets.

4. Follow the diagnostic sequence

  1. Confirm authorization. Verify user, organization, project, role, and access to the affected sources.
  2. Preserve the observed result. Capture the query, ordered result identifiers, explanations, relevant revisions, and sanitized diagnostics.
  3. Inspect candidate generation. Determine which authorized records were available for ranking.
  4. Identify the ranking method. Verify the actual scoring, fusion, or reranking implementation and its version.
  5. Recalculate relevance. Compare independently computed scores or ordering with the displayed result.
  6. Reconcile explanations. Confirm that displayed ranking factors were genuinely used by the implementation.
  7. Inspect source provenance. Validate source identifiers, revisions, rights, and associated quality caveats.
  8. Check provider coverage. Identify incomplete, unauthorized, timed-out, or otherwise excluded providers.
  9. Inspect freshness and caching. Compare source, index, model, and cache revisions.
  10. Evaluate scientific interpretation. Confirm that ranking is not presented as credibility or independent scientific validation.
  11. Recover safely. Apply only scoped, authorized, and reversible corrections before retesting.
  12. Preserve acceptance evidence. Record the root cause, executed tests, corrected state, and reviewer decision.

Do not start by repeatedly rerunning the search or clearing production caches. First capture the failing state.

5. Separate relevance from scientific credibility

Ranking systems estimate or organize relevance to a query. Scientific credibility requires independent evaluation of the source and its evidentiary claims.

Table 2. Distinct dimensions of source evaluation
Dimension Question
Relevance Does the record match the search information need?
Credibility Are the claims, methods, and evidence reliable?
Suitability Does the source address the research population, geography, time period, or variable?
Provenance Who produced the source, and what revision is being used?
Freshness When was the underlying information observed, published, or updated?
Review status Has a defined scientific or editorial assessment actually occurred?
Authorization May the user access and reuse this source?

A source can rank first because its title closely matches a query, even if its research methodology has not been reviewed.

A relevance score of 0.95 must not automatically be interpreted as a 95% probability that the source is scientifically correct.

Recovery principle: Correct relevance explanations independently of scientific quality metadata. Do not invent review or credibility states to make a result appear trustworthy.

6. Diagnose scoring and weighting errors

Some ranking methods combine numerical signals.

A deliberately simplified example is:

score =
    3 * number_of_title_matches
    +
    1 * number_of_abstract_matches

For the query:

rock weathering carbon

a source with two title matches and one abstract match receives:

score = 3 * 2 + 1 * 1

score = 7

If an explanation reports a score of 9, investigate whether the score, component matches, weights, or explanation is incorrect.

Do not assume that every ranking engine uses additive weights. Learned ranking systems, semantic retrieval, and fusion algorithms may require different reconciliation methods.

7. Diagnose ranking explanation failures

An explanation should identify factors supported by the actual ranking decision.

Common errors include:

  • Reporting title matches that do not exist.
  • Reporting a semantic similarity signal when only lexical scoring was used.
  • Claiming that peer review affected relevance when no such signal was included.
  • Presenting provider metadata as ranking factors when they were not used.
  • Explaining an older result using a newer ranking configuration.
  • Using generated prose that cannot be reconciled with the underlying algorithm.

For an additive ranking method, the displayed contributions should reconcile numerically to the reported total.

For a more complex ranking method, explanation fidelity must be assessed using the actual model, ranking stage, and supported explanation technique.

A plausible narrative is not sufficient evidence of faithful model explanation.

8. Diagnose tied and unstable results

Two documents may receive identical relevance scores.

For example:

Record S01: score 7
Record S03: score 7

The system must define how the ordering of tied records is handled.

A deterministic example is:

Primary sort:
descending relevance score

Tie-break:
ascending source identifier

Under this rule, S01 appears before S03.

Without a defined tie-break, pagination, caching, and session replay may produce inconsistent ordering even when the underlying relevance calculation is unchanged.

Not every ranking model is inherently deterministic. Where stochastic components or nondeterministic execution exist, preserve the relevant configuration and define appropriate reproducibility criteria.

9. Diagnose federated provider score mismatches

Unified Discovery may combine providers that use different ranking algorithms.

Consider:

Provider A:
Relevance score = 0.91

Provider B:
Relevance score = 18.4

These scores cannot be compared directly without understanding their definitions and scales.

A federated system may use:

  • Rank-based fusion.
  • Validated score normalization.
  • Common reranking.
  • Provider-specific weighting.
  • Field matching or structured ranking.

Verify the actual method before correcting combined result order.

Preserve both the originating provider rank and the final unified rank when supported and scientifically useful.

Also verify provider coverage. A combined ranking based on only two of five intended providers should not be described as a complete search.

10. Diagnose missing, stale, or mismatched source revisions

A result’s ranking may change because a source, index, ranking configuration, or provider response changed.

Inspect:

  • Source artifact ID and revision.
  • Source metadata revision.
  • Discovery index generation or watermark.
  • Candidate selection state.
  • Ranking method revision.
  • Cache identity and age.
  • Provider retrieval status.
  • Saved research object revision.

A recently retrieved search result may use an old source observation or cached index.

Similarly, an archived research source can remain valid for historical analysis while being inappropriate to describe as a newly updated source.

Do not silently overwrite an approved research object’s original source revision when discovery results are refreshed.

11. Diagnose authorization and source leakage

Ranking must operate within the authorized candidate set.

A result that ranks correctly under an algorithm can still constitute a critical defect if the user is not permitted to access it.

Test:

  • Source-level authorization.
  • Organization and workspace isolation.
  • Project-level restrictions.
  • Rights and license restrictions.
  • Cached result isolation.
  • Revoked access.
  • Protected metadata in explanations.
  • Result counts and snippets that may reveal restricted records.

Object-level authorization should be enforced by the actual backend, not only by hidden interface controls.

OWASP identifies broken object-level authorization as a major API security risk.

If unauthorized data exposure is suspected, treat it as a security incident, preserve evidence securely, and avoid repeated probing of other users’ research records.

12. Build a synthetic diagnostic fixture

The reference exercise uses three synthetic source records and a simplified lexical relevance method.

Table 3. Synthetic discovery results
Record Title Abstract
S01 Rock Weathering Field Methods Carbon accounting overview
S02 Carbon Accounting in Agriculture Soil methods
S03 Weathering and Carbon Removal Rock application evidence

Query:

rock weathering carbon

Example ranking configuration:

Title match weight: 3
Abstract match weight: 1

Tie-break:
Ascending source identifier
Table 4. Golden reference ranking
Expected rank Record Title contribution Abstract contribution Total score
1 S01 6 1 7
2 S03 6 1 7
3 S02 3 0 3

The ranking is entirely synthetic. No record has been scientifically reviewed, and the ranking scores do not indicate scientific credibility.

13. Implement a ranking diagnostic module

13.1 Prepare the environment

mkdir ranking-transparency-diagnostics
cd ranking-transparency-diagnostics

python3 -m venv .venv
source .venv/bin/activate

python --version

The example uses Python’s standard library and performs no network requests or production mutations.

Save as ranking_diagnostics.py.

from dataclasses import dataclass
from hashlib import sha256
import json
import re


METHOD_VERSION = "synthetic-lexical-v1"
TITLE_WEIGHT = 3
ABSTRACT_WEIGHT = 1


@dataclass(frozen=True)
class Source:
    source_id: str
    title: str
    abstract: str
    revision: str
    authorized: bool = True


SOURCES = (
    Source(
        "S01",
        "Rock Weathering Field Methods",
        "Carbon accounting overview",
        "rev-1"
    ),
    Source(
        "S02",
        "Carbon Accounting in Agriculture",
        "Soil methods",
        "rev-1"
    ),
    Source(
        "S03",
        "Weathering and Carbon Removal",
        "Rock application evidence",
        "rev-1"
    )
)


QUERY = "rock weathering carbon"


def tokenize(text):
    return set(
        re.findall(
            r"[a-z0-9]+",
            text.lower()
        )
    )


def score(source, query):
    terms = tokenize(query)

    if not terms:
        raise ValueError("Empty query")

    title_matches = sorted(
        terms & tokenize(source.title)
    )

    abstract_matches = sorted(
        terms & tokenize(source.abstract)
    )

    title_points = (
        TITLE_WEIGHT * len(title_matches)
    )

    abstract_points = (
        ABSTRACT_WEIGHT
        * len(abstract_matches)
    )

    return {
        "source_id": source.source_id,
        "source_revision": source.revision,
        "score": title_points + abstract_points,
        "title_matches": title_matches,
        "abstract_matches": abstract_matches,
        "title_points": title_points,
        "abstract_points": abstract_points,
        "ranking_method": METHOD_VERSION,
        "scientific_quality": "not_evaluated"
    }


def rank_sources(sources, query):
    ids = [
        source.source_id
        for source in sources
    ]

    if len(ids) != len(set(ids)):
        raise ValueError(
            "Duplicate source identifier"
        )

    for source in sources:
        if (
            not source.source_id
            or not source.revision
        ):
            raise ValueError(
                "Incomplete source metadata"
            )

    eligible = [
        source
        for source in sources
        if source.authorized
    ]

    results = [
        score(source, query)
        for source in eligible
    ]

    results.sort(
        key=lambda result: (
            -result["score"],
            result["source_id"]
        )
    )

    for index, result in enumerate(results):
        result["rank"] = index + 1

    return results


def reconcile_results(
    sources,
    query,
    displayed_results
):
    expected = rank_sources(
        sources, query
    )

    if len(displayed_results) != len(expected):
        raise ValueError(
            "RESULT_COVERAGE_MISMATCH"
        )

    for actual, reference in zip(
        displayed_results, expected
    ):
        if actual != reference:
            raise ValueError(
                "RANKING_EXPLANATION_MISMATCH"
            )

        contributions = (
            actual["title_points"]
            + actual["abstract_points"]
        )

        if contributions != actual["score"]:
            raise ValueError(
                "SCORE_CONTRIBUTION_MISMATCH"
            )

    return True


def fingerprint(results):
    payload = json.dumps(
        results,
        sort_keys=True,
        separators=(",", ":")
    ).encode("utf-8")

    return sha256(payload).hexdigest()


def diagnose(
    sources,
    query,
    displayed_results
):
    try:
        reconcile_results(
            sources,
            query,
            displayed_results
        )

        return {
            "status": "PASS",
            "issues": []
        }

    except ValueError as error:
        return {
            "status": "FAIL",
            "issues": [str(error)]
        }


def main():
    expected = rank_sources(
        SOURCES,
        QUERY
    )

    # Deliberately create an incorrect
    # displayed explanation.
    broken = json.loads(
        json.dumps(expected)
    )

    broken[0]["title_points"] = 9

    diagnostic = diagnose(
        SOURCES,
        QUERY,
        broken
    )

    assert diagnostic["status"] == "FAIL"

    corrected = diagnose(
        SOURCES,
        QUERY,
        expected
    )

    assert corrected["status"] == "PASS"

    report = {
        "classification": "synthetic",
        "query": QUERY,
        "ranking_method": METHOD_VERSION,
        "defective_result": diagnostic,
        "corrected_result": corrected,
        "expected_ranking": expected,
        "result_sha256": fingerprint(
            expected
        ),
        "production_verification": "not_tested",
        "scientific_review": "not_tested"
    }

    print(
        json.dumps(
            report,
            indent=2
        )
    )


if __name__ == "__main__":
    main()

This reference module recomputes the expected ranking and compares it with the supplied displayed result.

It treats a mismatched explanation as a defect even when the final result order remains unchanged.

It does not implement semantic search, learned ranking, provider score normalization, or production authorization.

14. Execute the diagnostic example

python ranking_diagnostics.py

Expected high-level results:

Defective displayed explanation:
FAIL

Corrected ranking and explanation:
PASS

Expected order:
S01, S03, S02

Expected scores:
7, 7, 3

The deliberately defective record contains a title-score contribution inconsistent with the golden ranking calculation.

Restoring the correct ranking explanation resolves the synthetic discrepancy without changing the underlying source records.

In an actual system, root-cause resolution would also require checking why the incorrect explanation was generated or displayed.

15. Implement automated regression tests

Save as test_ranking_diagnostics.py.

from dataclasses import replace
import copy
import unittest

from ranking_diagnostics import (
    SOURCES,
    QUERY,
    score,
    rank_sources,
    reconcile_results,
    diagnose,
    fingerprint
)


class RankingDiagnosticTests(
    unittest.TestCase
):

    def reference(self):
        return rank_sources(
            SOURCES, QUERY
        )

    def test_reference_order(self):
        self.assertEqual(
            [
                item["source_id"]
                for item in self.reference()
            ],
            ["S01", "S03", "S02"]
        )

    def test_reference_scores(self):
        self.assertEqual(
            [
                item["score"]
                for item in self.reference()
            ],
            [7, 7, 3]
        )

    def test_correct_explanations(self):
        self.assertTrue(
            reconcile_results(
                SOURCES,
                QUERY,
                self.reference()
            )
        )

    def test_tampered_contribution(self):
        broken = copy.deepcopy(
            self.reference()
        )

        broken[0]["title_points"] = 9

        result = diagnose(
            SOURCES,
            QUERY,
            broken
        )

        self.assertEqual(
            result["status"],
            "FAIL"
        )

    def test_tampered_total_score(self):
        broken = copy.deepcopy(
            self.reference()
        )

        broken[0]["score"] = 99

        with self.assertRaises(ValueError):
            reconcile_results(
                SOURCES,
                QUERY,
                broken
            )

    def test_swapped_result_order(self):
        broken = copy.deepcopy(
            self.reference()
        )

        broken[0], broken[1] = (
            broken[1], broken[0]
        )

        with self.assertRaises(ValueError):
            reconcile_results(
                SOURCES,
                QUERY,
                broken
            )

    def test_missing_result(self):
        broken = self.reference()[:2]

        with self.assertRaisesRegex(
            ValueError,
            "RESULT_COVERAGE_MISMATCH"
        ):
            reconcile_results(
                SOURCES,
                QUERY,
                broken
            )

    def test_unauthorized_excluded(self):
        changed = (
            replace(
                SOURCES[0],
                authorized=False
            ),
            SOURCES[1],
            SOURCES[2]
        )

        result = rank_sources(
            changed, QUERY
        )

        self.assertNotIn(
            "S01",
            [
                item["source_id"]
                for item in result
            ]
        )

    def test_duplicate_source_rejected(self):
        with self.assertRaises(ValueError):
            rank_sources(
                SOURCES + (SOURCES[0],),
                QUERY
            )

    def test_missing_revision_rejected(self):
        changed = (
            replace(
                SOURCES[0],
                revision=""
            ),
            SOURCES[1],
            SOURCES[2]
        )

        with self.assertRaises(ValueError):
            rank_sources(
                changed, QUERY
            )

    def test_empty_query_rejected(self):
        with self.assertRaises(ValueError):
            rank_sources(
                SOURCES, "   "
            )

    def test_revision_change_detected(self):
        changed = (
            replace(
                SOURCES[0],
                revision="rev-2"
            ),
            SOURCES[1],
            SOURCES[2]
        )

        with self.assertRaises(ValueError):
            reconcile_results(
                changed,
                QUERY,
                self.reference()
            )

    def test_deterministic_replay(self):
        first = self.reference()
        second = self.reference()

        self.assertEqual(
            first,
            second
        )

        self.assertEqual(
            fingerprint(first),
            fingerprint(second)
        )

    def test_query_change(self):
        first = rank_sources(
            SOURCES,
            QUERY
        )

        second = rank_sources(
            SOURCES,
            "agriculture"
        )

        self.assertNotEqual(
            [
                item["score"]
                for item in first
            ],
            [
                item["score"]
                for item in second
            ]
        )


if __name__ == "__main__":
    unittest.main()

Execute:

python -m unittest -v test_ranking_diagnostics.py

The reference suite defines fourteen tests.

It covers correct ranking order, score integrity, explanation fidelity, authorization exclusion, source revisions, missing results, invalid queries, tie-breaking, and deterministic replay.

Execution limitation: These tests validate the illustrative Python algorithm when executed. They do not establish the safety, ranking accuracy, or completeness of a deployed Unified Discovery service.

16. Diagnose semantic and learned ranking systems

Modern discovery systems may use semantic retrieval or learned reranking rather than directly interpretable lexical weights.

Such systems may involve:

  • Query and document embeddings.
  • Approximate nearest-neighbor retrieval.
  • Candidate pruning.
  • Model-based relevance estimation.
  • Cross-encoder reranking.
  • Hybrid retrieval or rank fusion.

For these systems, preserve the actual candidate set, model or index revision, ranking configuration, and relevant request state.

Investigate whether explanation text refers to the same ranking stage that determined the displayed order.

For example, an explanation generated from lexical matches may not faithfully explain a result ordered by a subsequent semantic reranker.

Where a model has nondeterministic behavior, evaluate stability under a documented replay protocol rather than assuming exact byte-for-byte reproducibility.

Do not substitute an invented additive-score explanation for an opaque ranking method.

17. Diagnose paging, filters, and saved state

Ranking errors may emerge only after interaction.

Check whether:

  • Filters are applied before or after scoring.
  • Pagination preserves stable ordering.
  • Tied records move between pages.
  • Sort mode changes without a visible label.
  • Source results change between page requests.
  • Saved searches preserve the intended query and configuration.
  • Session reload restores the same source and ranking revisions.
  • Cached explanations belong to the currently displayed result set.

For pagination, a deterministic tie-break and appropriate snapshot or cursor semantics can reduce inconsistent ordering.

If a provider updates between page requests, complete replay may require a versioned result snapshot or another documented consistency strategy.

A saved research selection should retain its authoritative source identity independently of later changes in search rank.

18. Classify API and dependency failures

Ranking transparency depends on upstream retrieval, authentication, source metadata, indexing, and explanation services.

Table 5. API failure diagnosis
Condition Potential meaning Safe response
400 Invalid query or request parameters Correct input without clearing valid caches
401 Authentication unavailable or invalid Restore authorized authentication
403 Access not permitted Verify permissions; do not bypass controls
404 Requested source or artifact not resolved Check identifier, scope, and revision
409 Version or state conflict where defined by the API Inspect the conflicting revision before mutation
429 Rate limiting Honor provider retry policy
500–503 Server or dependency failure Preserve diagnostics and use bounded safe retries
504 Upstream timeout Investigate provider state and request completion

Actual error interpretation depends on the deployed API contract.

Use sanitized trace identifiers and structured problem details where supported.

Do not infer that a successful HTTP response proves correct ranking, complete provider coverage, or scientific credibility.

19. Recover safely without losing research evidence

Once the root cause is established, use a controlled recovery process.

  1. Preserve the original result. Retain the ordered IDs, scores, explanations, query, filters, revisions, and relevant logs.
  2. Confirm authorization. Verify the operator’s permission to inspect and modify the affected component.
  3. Identify the failing layer. Separate retrieval, scoring, fusion, explanation, cache, index, authorization, and presentation failures.
  4. Reproduce the defect. Use a small authorized or synthetic fixture with known expected ordering.
  5. Correct the narrowest responsible component. Avoid changing source data or scientific review status to compensate for a ranking defect.
  6. Check for dependent changes. Determine whether the ranking method, cache, or index revision must also be updated.
  7. Execute regression tests. Verify the original defect and related failure boundaries.
  8. Inspect actual interface output. Confirm displayed scores, explanations, provenance, and caveats.
  9. Review saved research selections. Identify any source selections or published outputs materially affected by the original defect.
  10. Record acceptance. Preserve the executed evidence, reviewer decision, and unresolved limitations.

Do not blindly retry writes when the original operation may already have committed.

Use documented idempotency protections or authoritative state reconciliation before repeating source imports, saved-object creation, or publication operations.

Restrict destructive cache invalidation, index rebuilds, or database restoration to authorized procedures with suitable recovery evidence.

20. Preserve a machine-readable troubleshooting receipt

A diagnostic record should connect the observed defect to the exact ranking and source state.

Illustrative JSON:

{
  "schema_version": "example-1.0",
  "case_id": "synthetic-ranking-001",
  "application": "unified_discovery",
  "classification": "synthetic",
  "query": "rock weathering carbon",
  "ranking": {
    "method": "synthetic-lexical-v1",
    "title_weight": 3,
    "abstract_weight": 1,
    "tie_break": "ascending_source_id"
  },
  "source_state": {
    "index_revision": "not_verified",
    "provider_coverage": "not_verified",
    "cache_revision": "not_verified"
  },
  "defect": {
    "class": "ranking_explanation_mismatch",
    "affected_source": "S01",
    "expected_title_contribution": 6,
    "displayed_title_contribution": 9
  },
  "recovery": {
    "source_values_changed": false,
    "explanation_corrected": false,
    "production_write_performed": false
  },
  "acceptance": {
    "ranking_reconciliation": "not_tested",
    "source_provenance": "not_tested",
    "authorization": "not_tested",
    "cache_integrity": "not_tested",
    "provider_coverage": "not_tested",
    "browser_verification": "not_tested",
    "scientific_review": "not_tested"
  },
  "release_decision": "NO_GO"
}

This is an illustrative evidence format, not a verified Sustainable Catalyst API schema.

Populate real checksums, revision identifiers, test results, and reviewer approvals only from actual executed evidence.

21. Scientific and technical acceptance matrix

Table 6. Result-ranking troubleshooting acceptance criteria
Criterion Pass condition Evidence
Query integrity Original query and filters reconstructed Sanitized request record
Candidate set Correct authorized source collection used Retrieval evidence
Ranking method Actual algorithm and configuration identified Source-code audit
Score calculation Recomputed scores agree with displayed values where applicable Golden fixtures
Explanation fidelity Stated factors reflect actual ranking signals Explanation tests
Tie-breaking Equal-ranking results handled consistently Replay tests
Provider fusion Combined ranking follows the configured method Federated ranking tests
Provider coverage Incomplete providers identified and disclosed Coverage results
Source provenance Each result resolves to the correct authoritative source Source reconciliation
Freshness and revision Ranking corresponds to documented source and index state Revision and cache checks
Authorization Protected sources excluded from unauthorized results Cross-owner negative tests
Quality separation Relevance does not imply unsupported scientific credibility Content review
Persistence Saved searches and source references preserve correct context Reload and replay tests
Accessibility Order, explanation, and caveats accessible without visual-only signals Accessibility review
Security Explanations and diagnostics do not expose restricted information Security tests
Recovery Root cause corrected without unauthorized or destructive changes Recovery receipt
Runtime acceptance Deployed behavior independently verified Integration and browser evidence

Acceptance rule: Record each criterion as Pass, Fail, Not Tested, or Not Applicable where appropriate. A defect is not resolved merely because the displayed order looks reasonable after a refresh.

22. Accessibility and communication checks

Ranking transparency must be understandable through both visual and assistive interfaces.

Verify:

  • Result rank is available as meaningful text.
  • Ranking explanations identify actual relevance factors.
  • Source provenance and scientific caveats remain accessible.
  • Sort and filter controls are keyboard operable.
  • Current ranking mode is clearly identified.
  • Changed result ordering is announced appropriately where needed.
  • Color alone is not used to distinguish credibility, review, or permission states.
  • Result titles and identifiers remain consistent after filtering or pagination.

WCAG 2.2 provides relevant accessibility requirements for web interfaces and interactive controls.

Automated accessibility checks should be supplemented by actual keyboard and assistive-technology testing.

23. Sustainable Catalyst cross-application responsibilities

Ranking transparency interacts with several intended Sustainable Catalyst research capabilities.

Table 7. Proposed integration responsibilities
Application Intended responsibility
Unified Discovery Retrieve, combine, rank, and explain authorized source results
Library Preserve source identity, provenance, rights, revisions, and saved research assets
Research Lab Support independent assessment of scientific source quality and methodological suitability
Workbench Reproduce ranking experiments and numerical diagnostics where implemented
Site Intelligence Provide geographic and observation-context metadata for relevant spatial sources
Decision Studio Separate source relevance from evidence quality in model and decision analysis
Workspace Track source selection, research context, incidents, and reviewer decisions
Research Publish reviewed research supported by source citations, not inherited search ranks
Platform Core Enforce identity, organization, project, and authorization boundaries

These responsibilities describe proposed architectural integration rather than independently verified production functionality.

24. Required source audit before certification

Before certifying ranking transparency in the deployed Unified Discovery environment, attach:

  • Actual owning repository and commit.
  • Ranking engine or provider-specific retrieval implementation.
  • Ranking and explanation API schemas.
  • Actual scoring and reranking configuration.
  • Index version and candidate-generation process.
  • Provider fusion or normalization method.
  • Authorization and rights enforcement.
  • Cache keys and revision behavior.
  • Actual source-provenance relationships.
  • Executed ranking and explanation tests.
  • Cross-owner authorization tests.
  • Provider failure and partial-coverage tests.
  • Session replay and persistence evidence.
  • Browser screenshots and exported diagnostics.
  • Accessibility and security acceptance.
  • Known defects and unsupported explanation capabilities.

The presence of a relevance score, result rank, or explanation label in an interface does not prove that the underlying calculation or explanation is correct.

25. Escalation and release conditions

Escalate immediately when:

  • Unauthorized sources are included in results or explanations.
  • Ranking explanations disclose protected research data.
  • A ranking error materially affects research source selection.
  • Search results are incorrectly presented as scientifically validated.
  • Saved source relationships can no longer be resolved.
  • Provider coverage failures are hidden.
  • Ranking and index revisions cannot be reconciled.
  • Repeated mutation attempts may have created inconsistent records.
  • Published research depends on an incorrect or unauthorized discovery result.

When necessary, suspend the affected source selection or publication workflow while retaining the last accepted evidence.

Do not perform broad production cache deletion, index rebuilding, database restoration, or permission changes without an authorized and documented recovery procedure.

26. Technical references

  1. Robertson, S.E. and Zaragoza, H. (2009). ‘The Probabilistic Relevance Framework: BM25 and Beyond’, Foundations and Trends in Information Retrieval, 3(4), pp. 333–389. Available at: https://doi.org/10.1561/1500000019.
  2. World Wide Web Consortium (W3C) (2013). PROV-O: The PROV Ontology. W3C Recommendation. Available at: https://www.w3.org/TR/prov-o/.
  3. OWASP Foundation (2023). API Security Top 10 — API1: Broken Object Level Authorization. Available at: OWASP API Security Project.
  4. National Institute of Standards and Technology (NIST) (2023). Artificial Intelligence Risk Management Framework (AI RMF 1.0). NIST AI 100-1. Available at: https://doi.org/10.6028/NIST.AI.100-1.
  5. Python Software Foundation (n.d.). unittest — Unit Testing Framework. Available at: Python documentation.
  6. Python Software Foundation (n.d.). hashlib — Secure Hashes and Message Digests. Available at: Python documentation.
  7. World Wide Web Consortium (W3C) (2024). Web Content Accessibility Guidelines (WCAG) 2.2. Available at: https://www.w3.org/TR/WCAG22/.

27. Completion and verification record

Table 8. Required ranking-transparency troubleshooting record
Field Required record
Incident identifier Unique support or engineering case
Affected query Sanitized search, filters, and authorized context
Source candidates Actual source identifiers and revisions
Ranking method Algorithm and configuration revision
Original ranking Retained order, scores, and explanations
Root cause Confirmed explanation or unresolved hypothesis
Scoring integrity Pass, Fail, or Not Tested
Explanation fidelity Pass, Fail, or Not Tested
Source provenance Pass, Fail, or Not Tested
Authorization Pass, Fail, or Not Tested
Provider coverage Pass, Fail, or Not Tested
Freshness and revisions Pass, Fail, or Not Tested
Persistence and replay Pass, Fail, or Not Tested
Scientific quality separation Pass, Fail, or Not Tested
Accessibility Pass, Fail, or Not Tested
Security Pass, Fail, or Not Tested
Corrective action Documented change and approval
Regression tests Executed test receipt and code revision
Runtime acceptance Actual deployed verification results
Publication impact Affected research outputs and review decision
Reviewer Actual reviewer and date
Outstanding limitations Unresolved technical or research risks

Completion criterion: A result-ranking transparency defect is resolved when the correct authorized candidate set, ranking method, source revisions, and result ordering have been established; the displayed ranking explanation faithfully represents the actual ranking behavior; provenance and scientific quality caveats remain intact; and applicable numerical, security, accessibility, and runtime acceptance tests have passed.

Scientific limitation: Correct result ordering and faithful ranking explanations do not establish scientific validity, methodological rigor, source credibility, or the suitability of retrieved information for a research conclusion. These require separate evidence evaluation.

Current implementation status: Troubleshooting methodology, synthetic ranking fixture, numerical explanation reconciliation, negative tests, safe recovery guidance, and proposed acceptance criteria documented. No particular Sustainable Catalyst Unified Discovery ranking engine, explanation service, provider fusion implementation, browser interface, or production recovery workflow is certified without source-code audit, executed integration testing, runtime inspection, and release-specific acceptance evidence.

Scroll to Top