37
Views
2
Comments
[AI Mentor Studio API Integration] Setting customer code analysis pattern weights in AI Mentor Studio API Integration
ai-mentor-studio-api-integration
Service icon
Forge asset by Jeremy Samkowiak
Application Type
Service

Hi,

Just a check, should the TechnicalDebtWeight static entity in 'AI Mentor Studio API Integration' forge component reflect the 'Impact' settings of code patterns in AI Mentor Studio?

I would like to set the 'customer code analysis pattern weights' (as suggested in the documentation) I want to do this by copying the pattern weight from 'AI Mentor studio' to my instance of 'AI Mentor Studio API Integration' > AIMS_API_CS > Data > Patterns.

There is a however mismatch between the TechnicalDebtWeight static entity (7 records) and the number of impact levels in AI Mentor Studio (8 options). So Maybe I'm getting this wrong?

AI Mentor Studio API Integration > AIMS_API_CS > Data > TechnicalDebtWeight


AI Mentor Studio > Maintenance > Code Patterns (8 options)

2026-01-05 19-12-05
Jeremy Samkowiak
Staff

Hello Stefan,

Thank you for reaching out with this wonderful question. You are absolutely not getting anything wrong.

The TechnicalDebtWeight static entity inside this forge component predates the feature in the AI Mentor Studio and was my personal choice of weights to use. 

I am currently waiting on the custom weights feature to be added to the AI Mentor Studio API, so the weights can be called down to populate a standard TechnicalDebtWeight entity that will replace this static entity, and then apply the custom weights to the code analysis patterns automatically. This is the primary reason that this component is still marked as being a development version.

Once this feature is available in the API, this static entity will be replaced and this component will be marked as a release version.

In the meantime, feel free to update the custom weights as you see fit.


I hope all is well,
Jeremy

UserImage.jpg
Stefan de Wilde

Hi Jeremy, 

Thank you for the quick response.

A custom weights feature would be a good addition to the AI Mentor Studio API. I will update the TechnicalDebtWeight static and custom weights manually in the meantime.

Regards,
Stefan

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.