Skip to content

[Jobs Match Making] Implement matching logic in Python: find all jobs eligible for a pilot #868

@aldbr

Description

@aldbr

Description

Implement the functions that determine whether a node characteristics satisfy a job's scheduling requirements, and use them to find all matching jobs for a given pilot.

The spec defines the comparison types: exact match, range, lower limit, CPU memory as a function of core count, and tag boolean expressions.

Definition of Done

  • A function that takes a job's scheduling requirements and a node characteristics and returns whether they match
  • Tag expression evaluator supporting at least & (AND) and | (OR)
  • All combinations from the match matrix produce the expected result
  • Given a pilot and a collection of jobs, return all matching jobs
  • Unit tests including edge cases
  • Additional YAML examples added by the intern for edge cases discovered during implementation?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions