.. bare-data:: debian:qa-result

Category ``debian:qa-result``
=============================

This bare data item is added to a :collection:`debian:qa-results` collection
in cases when a more specific artifact is not available.

* Data:

  * ``task_name`` (inferred from work request when adding item): the name of
    the task that generated the QA result (e.g. ``piuparts``)
  * ``package``: the name of the source package being analyzed, or the
    source package from which the binary package being analyzed was built
  * ``version``: the version of the source package being analyzed, or the
    source package from which the binary package being analyzed was built
  * ``architecture``: ``source`` for a source analysis, or the appropriate
    architecture name for a binary analysis
  * ``timestamp``: a Unix timestamp (cf. ``date +%s``) used to estimate
    the freshness of the QA result, can often be usefully tied to the
    ``Date`` field of the package repository in which the analysis was
    performed.
  * ``work_request_id``: the ID of the WorkRequest that generated
    the QA result
  * ``result`` (inferred from work request when adding item): duplicates the
    string value of the result field of the associated WorkRequest
