Support default_package query parameters in robot:// URIs #28
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 220 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.323
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #28"
general
weight: 0.35
traversaro
One of the major flaws of the
robots://URI described inhttps://github.com/gbionics/resolve-robotics-uri-py/issues/23 and implemented in https://github.com/gbionics/resolve-robotics-uri-py/pull/24 was that the default_package to be used to search for the configuration file if
ACTIVE_ROBOT_NAME/YARP_ROBOT_NAMEis not set or the file is not found in robot-specific folder was encoded in a channel different from the URI itself, in a separatedefault_package_nameordefaultPackageNameargument.As @S-Dafarra already correctly pointed out in https://github.com/gbionics/resolve-robotics-uri-py/issues/23 when I was proposing to use a different
resolve_robot_specific_filefunction, is that that is not composable, and while for the URI itself this was solved by adopting therobot://scheme, the same problem was there for thedefault_package_nameargument.This creates the following problems:
Whenever a
resolve-robotics-uri-library is used, one also need to remember to manually expose also the additional parameterTo solve these problems, in this PR we add support for specifying the
default_packagein the URI itself, using RFC 3986 URIs with form-encoded query parameters. Without going into the spec details, this means that you can encode the default package name as:~~~
robot://config/controller.ini?default_package=ControlLib
~~~
Similar PR for resolve-robotics-uri-cpp: https://github.com/gbionics/resolve-robotics-uri-cpp/pull/14 .