https://github.com/vbrazhnik/expert-system
School 42 project // Propositional calculus expert system with backward-chaining inference engine
https://github.com/vbrazhnik/expert-system
42 42projects 42school backward-chaining born2code expert-system unitfactory
Last synced: 19 days ago
JSON representation
School 42 project // Propositional calculus expert system with backward-chaining inference engine
- Host: GitHub
- URL: https://github.com/vbrazhnik/expert-system
- Owner: VBrazhnik
- Created: 2020-06-20T18:21:52.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-27T08:20:09.000Z (almost 5 years ago)
- Last Synced: 2025-04-07T08:21:19.883Z (about 1 month ago)
- Topics: 42, 42projects, 42school, backward-chaining, born2code, expert-system, unitfactory
- Language: JavaScript
- Homepage:
- Size: 10.7 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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`](/expert_system.en.pdf) is the task file.
## Wiki
This project has [wiki-pages](../../wiki/) 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](https://github.com/nvm-sh/nvm) can be used to install a required version of Node.js. `.nvmrc` is present.
## How to install?
Clone repository:
```
git clone
```Then go into the created directory and install `node_modules`:
```
npm install
```## How to use?
```
Usage: node ./index.jsOptions:
--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
```