c0c0n3 / kitt4sme.live

On a mission to bring AI to the shop floor: https://kitt4sme.eu/
MIT License
1 stars 27 forks source link

Adaptive Questionnaire + Platform configurator = Make sure they work #454

Open kostasgrevenitis opened 3 months ago

kostasgrevenitis commented 3 months ago

We need to make sure the following:

  1. The communication between those two tools is as expected.
  2. The platform configurator sends the right request to the RAMP marketplace
pmpoukli commented 2 months ago

Please make sure the API calls to RAMP are according to the spec. I attach it also here.

Minimized API Call and new endpoints.pdf

pmpoukli commented 2 months ago

Tested today's version and looks like it works fine. Please test again on future updates. When going to RAMP (after 'find a kit for your needs) you should see something like the following image

Image

vcutrona commented 2 months ago

I confirm that the API request POST /kits is the only one used by PC. The API is invoked by passing the following path parameters:

The request has a payload containing an object of type KitSetDTO, which is documented here. The KitSetDTO adheres to the structure reported in the PDF (some fields are not very clear, e.g., the content of the kits[].tools[].dependencies field is not specified).

We already tested the information flow 5 times. If future updates are foreseen, please notify the required adjustments.

karikolehmainen commented 1 month ago

I ran the AQ again and run into an issue within the AQ. This is the questions and answers I used plus the resuting error log: `Which of the following items, related to the manufacturing production, require to be improved?

Which of the following aspects, related to the operators, require to be improved?

Are quality inspections conducted manually or through an automated system?

Which of the following machine-related problems impact on the performance of production?

In the performance evaluation process, what are the data-analysis related problems?

Which of the following aspects are the most critical to be managed for the quality inspection system?

Which of the following items cause mental stress?

Do the set-up cause any of these problems?

Which of the following challenges prevent an effective answer to the market demand?

In the performance evaluation process, what are the data-collection related problems?

Which are the performance indicators that could be improved?

Which of the following items cause physical disconfort or pain?

How do you manage the training of operators placed in the production department?

Which of the following human-related problems impact on the performance of production?

--> ERROR

256 2024-05-16 07:34:15.614 ERROR org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/].[dispatcherServlet] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.IllegalArgumentExcep> 255 java.lang.IllegalArgumentException: Cannot load status: no model for token=65c32627-6619-4fa0-80f0-e4b55be4dfaa 254 at ch.idsia.adaptive.backend.services.SurveyManagerService.lambda$getSurvey$1(SurveyManagerService.java:104) 253 at java.base/java.util.Optional.orElseThrow(Optional.java:403) 252 at ch.idsia.adaptive.backend.services.SurveyManagerService.getSurvey(SurveyManagerService.java:104) 251 at ch.idsia.adaptive.backend.services.SurveyManagerService.isFinished(SurveyManagerService.java:112) 250 at ch.idsia.adaptive.backend.controller.SurveyController.nextQuestion(SurveyController.java:334) `

karikolehmainen commented 1 month ago

Possibly this is either browser based problem or timeout because error was produced wiuth Chrome and took a while (because of copying Q&A) and when redone with Safari, it went through OK with same set of Q&A