22 lines
909 B
Go
22 lines
909 B
Go
package generation
|
|
|
|
import (
|
|
"context"
|
|
"github.com/tradarr/backend/internal/models"
|
|
)
|
|
|
|
// Historical fixture selectors now implement the binary mention port. Their
|
|
// returned subset is the yes decision; their ordering cannot change chronology.
|
|
func (r *contractRanker) DecideMentions(c context.Context, m, p string, a []models.UserAsset, v []Candidate) ([]Candidate, error) {
|
|
return r.Rank(c, m, a, v)
|
|
}
|
|
func (r *ticket14LayaRanker) DecideMentions(c context.Context, m, p string, a []models.UserAsset, v []Candidate) ([]Candidate, error) {
|
|
return r.Rank(c, m, a, v)
|
|
}
|
|
func (r ticket14DuplicateRanker) DecideMentions(c context.Context, m, p string, a []models.UserAsset, v []Candidate) ([]Candidate, error) {
|
|
return r.Rank(c, m, a, v)
|
|
}
|
|
func (r *ticket4AssetRecorder) DecideMentions(c context.Context, m, p string, a []models.UserAsset, v []Candidate) ([]Candidate, error) {
|
|
return r.Rank(c, m, a, v)
|
|
}
|