Skip to content

Conversation

@orlandohohmeier
Copy link
Member

No description provided.

@orlandohohmeier orlandohohmeier requested review from l45k and nfnt November 20, 2025 08:20
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@orlandohohmeier orlandohohmeier force-pushed the orlandohohmeier/resources-touch-ups branch from 68b408d to f87a0e2 Compare November 20, 2025 11:06
Rename `WeightedResourceEvaluator::evaluate` to `score` so the scheduler API reads naturally (`evaluator.score(...)`) and it’s clear the method returns a numeric ranking rather than a boolean predicate. This also removes the triat delegate and just implements the respectice function.
Add a `Resources` test suite exercising setters, arithmetic, iteration, comparison semantics, and `WeightedResourceEvaluator::score` to guard against regressions in the resource accounting logic.

Co-Authored-By: ChatGPT <[email protected]
@orlandohohmeier orlandohohmeier force-pushed the orlandohohmeier/resources-touch-ups branch from f87a0e2 to 5d3e7d6 Compare November 20, 2025 11:11
@codecov
Copy link

codecov bot commented Nov 20, 2025

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
crates/scheduler/src/allocator.rs 0.00% 3 Missing ⚠️

📢 Thoughts on this report? Let us know!

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.

2 participants