Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Decision Comparison Tool

A TypeScript-based tool that compares options and explains trade-offs to help users make informed decisions, rather than providing single answers.

Features

  • Multi-criteria decision analysis (MCDA) using weighted sum model
  • Systematic trade-off identification and quantification
  • Context-aware analysis based on user priorities
  • Multiple visualization formats for comparison results
  • Export capabilities (PDF, Excel, CSV, JSON)
  • Property-based testing for correctness guarantees

Getting Started

# Install dependencies
npm install

# Run tests
npm test

# Build the project
npm run build

# Development mode
npm run dev

Architecture

The tool follows a layered architecture:

  • Data Layer: Core types and persistence
  • Business Logic: Scoring, trade-off analysis, comparison engine
  • API Layer: REST endpoints for all functionality
  • UI Layer: Interactive dashboard for comparisons

Testing

The project uses both unit tests and property-based tests:

  • Unit tests for specific examples and edge cases
  • Property-based tests (using fast-check) for universal correctness properties
# Run all tests
npm test

# Run tests in watch mode
npm run test:watch

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages