Skip to content

School 42 project // Propositional calculus expert system with backward-chaining inference engine

Notifications You must be signed in to change notification settings

VBrazhnik/Expert-System

Repository files navigation

Expert System

Expert System

Expert System is a School 42 project. The purpose of this project is to create a propositional calculus expert system.

expert_system.en.pdf is the task file.

Wiki

This project has wiki-pages with explanations and tips.

Requirements

It is a Node.js project. So installed Node.js and npm are required:

  • Node.js — 12 (node --version)
  • npm — >= 5 (npm --version)

Note: npm is installed with Node.js.

Note: nvm can be used to install a required version of Node.js. .nvmrc is present.

How to install?

Clone repository:

git clone <repository url>

Then go into the created directory and install node_modules:

npm install

How to use?

Usage: node ./index.js <file-path>

Options:
  --verbose, -v  Run with verbose logging             [boolean] [default: false]
  --color, -c    Enable colorful output               [boolean] [default: false]
  --help         Show help                                             [boolean]

How to test?

To run unit tests use:

npm test

To get the detailed report about the code coverage of each file run:

npm run test:coverage

To get the summary report use:

npm run test:coverage:summary

About

School 42 project // Propositional calculus expert system with backward-chaining inference engine

Topics

Resources

Stars

Watchers

Forks