Skip to content

Conversation

@jeff-schnitter
Copy link
Collaborator

Summary

Adds support for the POST /api/v1/scorecards/{tag}/entity/{entityTag}/scores API endpoint.

New command:

cortex scorecards trigger-evaluation -s <scorecard-tag> -e <entity-tag>

This allows users to manually trigger score evaluation for a specific entity in a scorecard.

Changes

  • Added trigger-evaluation command to scorecards module
  • Added test coverage in test_scorecards.py
  • Added CLAUDE.md documentation for the repository

Test plan

  • ✅ Tested with just test tests/test_scorecards.py - passed
  • ✅ Verified command appears in help output
  • ✅ Command successfully triggers evaluation on test entities

Resolves #146

🤖 Generated with Claude Code

jeff-schnitter and others added 3 commits October 31, 2025 13:10
Add new 'trigger-evaluation' command to scorecards that calls the
POST /api/v1/scorecards/{tag}/entity/{entityTag}/scores endpoint.

This allows users to manually trigger score evaluation for a specific
entity in a scorecard.

Also includes CLAUDE.md documentation file for the repository.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@Cantaley
Copy link

Cantaley commented Nov 4, 2025

Tested and it passes for test_scorecards

Copy link

@Cantaley Cantaley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with the just command and test_scorecards passes

@jeff-schnitter jeff-schnitter merged commit 6a69b52 into staging Nov 4, 2025
2 checks passed
@jeff-schnitter jeff-schnitter deleted the 146-add-support-for-evaluate-scorecard-entity-score branch November 4, 2025 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants