Skip to content

Add support for triggering scorecard entity evaluation - #147

Merged
jeff-schnitter merged 3 commits into
stagingfrom
146-add-support-for-evaluate-scorecard-entity-score
Nov 4, 2025
Merged

jeff-schnitter merged 3 commits into
stagingfrom
146-add-support-for-evaluate-scorecard-entity-score

Conversation

@jeff-schnitter

Copy link
Copy Markdown
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

Cantaley commented Nov 4, 2025

Copy link
Copy Markdown

Tested and it passes for test_scorecards

@Cantaley Cantaley left a comment

Copy link
Copy Markdown

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.

3 participants