5sControl / 5sControl/5s-webserver

fix bug in add algorithm

Open
#27 0 comments 0 reactions 1 assignee Claimed by @ZhuchkouAA View on GitHub
bug Machine Safety
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

summary: dashboard, при добавлении двух алгоритмов Machine Control, Safety Control: Ear protection на одну камеру репорты приходят только с Safety Control.
1. Открыть приложение;
2. Открыть вкладку Algorithms;
3. Выбрать Machine Control;
4. Подключить камеру .163;
5. Выбрать Safety Control;
4. Подключить камеру .163;
5. Создать тестовый сценарий(15:55);
6. Открыть Открыть Dashboard.
Result: Открыть репорт только с Safety Control: Ear protection.
Expected result: Открыты репорты с Safety Control: Ear protection, Machine Control.

Contributor guide

Open the contributing guide

Research direction

The issue describes a bug where adding two algorithms (Machine Control and Safety Control) to a camera results in reports only from Safety Control. Start by examining the algorithm assignment and report generation logic, likely in the dashboard and algorithms modules. Look for code handling multiple algorithm assignments per camera and the data flow to the dashboard. Test by replicating the scenario to confirm the bug and trace where the Machine Control reports are being dropped.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend, full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.