domain-level constraints
This commit is contained in:
@@ -62,9 +62,17 @@
|
||||
<td>{{ loop.index }}</td>
|
||||
<td class="score-cell">{{ "%.4f"|format(r.composite_score) if r.composite_score is not none else '—' }}</td>
|
||||
<td>{{ r.combination.entities|map(attribute='name')|join(' + ') }}</td>
|
||||
<td><span class="badge badge-{{ r.combination.status }}">{{ r.combination.status }}</span></td>
|
||||
<td>
|
||||
{%- if r.domain_block_reason -%}
|
||||
<span class="badge badge-p1_fail">domain_blocked</span>
|
||||
{%- else -%}
|
||||
<span class="badge badge-{{ r.combination.status }}">{{ r.combination.status }}</span>
|
||||
{%- endif -%}
|
||||
</td>
|
||||
<td class="block-reason-cell">
|
||||
{%- if r.combination.status.endswith('_fail') and r.combination.block_reason -%}
|
||||
{%- if r.domain_block_reason -%}
|
||||
{{ r.domain_block_reason }}
|
||||
{%- elif r.combination.status.endswith('_fail') and r.combination.block_reason -%}
|
||||
{{ r.combination.block_reason }}
|
||||
{%- elif r.novelty_flag -%}
|
||||
{{ r.novelty_flag }}
|
||||
|
||||
Reference in New Issue
Block a user