Link to the derivation outputs from the package reproducibility page
This commit is contained in:
parent
4af643136e
commit
7e476536cb
1 changed files with 13 additions and 5 deletions
|
|
@ -840,16 +840,24 @@ figure {
|
|||
(@ (class "figure-key-list")
|
||||
(aria-hidden "true")
|
||||
(role "presentation"))
|
||||
,@(map (lambda (label count percentage colour)
|
||||
,@(map (lambda (key label count percentage colour)
|
||||
`(li
|
||||
(span (@ (class "shape-circle")
|
||||
(style
|
||||
,(string-append "background-color: "
|
||||
colour ";"))))
|
||||
,(format #f "~a (~d, ~2,2f%)"
|
||||
label
|
||||
(or count 0)
|
||||
(or percentage 0))))
|
||||
(a (@ (href
|
||||
,(string-append
|
||||
"/revision/" revision-commit-hash
|
||||
"/derivation-outputs?"
|
||||
"reproducibility_status=" key
|
||||
"&system=" system
|
||||
"&target=" system)))
|
||||
,(format #f "~a (~d, ~2,2f%)"
|
||||
label
|
||||
(or count 0)
|
||||
(or percentage 0)))))
|
||||
'("reproducible" "unreproducible" "unknown")
|
||||
'("Reproducible" "Unreproducible" "Unknown")
|
||||
(map (lambda (key)
|
||||
(assq-ref reproducibility-status key))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue