Skip to content

[subnet] Move evaluation and agent data retrieval to the BE #416

Description

@jmnmv12

Right now, the FE retrieves some data from the BE (evaluation runs list,...) and then ends up calculating related information on the FE (evaluation status, evaluation score,...). This leads to inconsistencies (e.g. Different logic to calculate the same field) and increases the complexity of the codebase, making it harder whenever we need to make a change to the logic.

We need to identify what is currently being calculated by the FE and transition the logic to the BE where it makes sense. Ex: Right now the FE calculates the Evaluation score and status on the Agent detail page. There are situations where the FE can't correctly calculate and it leads to situations like this one.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions