coffee-tools / coffee-tools/barq

Add Optional Parameter for Algorithm Selection in `RouteInput`

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
0
Forks
2
PR merge metrics
No merged PRs in 30d

Description

We need to enhance `RouteInput` in `barq-common` to include an optional parameter for specifying a preferred routing algorithm.

This will allow users to force the use of a specific strategy during routing. If this parameter is not provided, the system should default to selecting the most suitable algorithm based on internal logic.

Contributor guide

Open the contributing guide

Research direction

Start by locating RouteInput in barq-common and trace how routing algorithm selection currently happens. The change is complete when RouteInput accepts an optional preferred algorithm, uses it when provided, and preserves internal algorithm selection when it is absent.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.