GithubHelp home page GithubHelp logo

markusdreyer / delegation-sequencing Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 13.69 MB

Application used to assist emergency responders with the delegation and sequencing of tasks using rule based AI

HTML 1.68% TypeScript 94.22% JavaScript 2.76% Shell 0.04% SCSS 1.31%

delegation-sequencing's People

Contributors

markusdreyer avatar

Watchers

 avatar  avatar  avatar

delegation-sequencing's Issues

Tasks with precedence restriction to a task that does not exist should be dropped

If a task (T2) has a precedence restriction to task (T1), and T1 does not exist, then T2 should be dropped. This implicitly means that any tasks that has a precedence restriction to T2 should also be dropped.

Current behaviour is that the task is included, regardless if the tasks precedence restriction is present in the result set. See example below showing task T2 in the result set, even though T2 has a precedence restriction to T1, which does not exist.
Screen Shot 2022-02-06 at 15 50 55

Model uses roles from other agents

It should not be possible to generate models with roles from agents other than the agents assigned to the task. E.g.
The following task, should only be assigned to members of the 1st Attack Engine Crew with the Firetruck Driver role.
Screen Shot 2021-11-04 at 13 16 26

The current behaviour is that all agents with the Firetruck Driver role, regardless of team, is considered. This also leads to a side effect where the same task occurs multiple times in a model, with the only difference being different agents.

Example:
Screen Shot 2021-11-04 at 13 21 56

In the example above, both lukas and peter has the Firetruck Driver role assignment, but only lukas should be considered, as peter does not belong to the assigned team. See taxonomy table below of the agents and role assignments:
Screen Shot 2021-11-04 at 13 23 34

See attached GIF of the issue:
Nov-04-2021 13-27-22

To reproduce:

  1. Visit https://delegation-sequencing.azurewebsites.net/
  2. Select the Hamar Scenario from the Procedures in the left side menu
  3. Select the Hamar taxonomy from the taxonomy dropdown
  4. Click the GENERATE ACTION CARDS button

Unsolvable tasks are ignored

ASP will ignore tasks that are unsolvable instead of returning unsatisfiable. An example of this is if you delete an agent that is required for a task, then the task is ignored.

To reproduce:

  1. Visit https://delegation-sequencing.azurewebsites.net/
  2. Navigate to the second page of the default procedure (EA fire)
  3. Take note of the "Travel of ladder tower crew to 911 address" task and its role and agent restrictions.
  4. Click the GENERATE ACTION CARDS button
  5. See that the "Travel of ladder tower crew to 911 address" task is missing from the model.

This happens because the task has the driver role assignment restriction, as well as the lt_crew agent restriction.
Screen Shot 2021-11-04 at 13 52 42
Looking at the Land fire incidents taxonomy in the left side menu, we see that lt_crew has no agents with the driver role assignment.
Screen Shot 2021-11-04 at 13 41 57

Instead of ignoring the task, ASP should return UNSATISFIABLE.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.