Giter Site home page Giter Site logo

pp's Introduction

pp

Prayer Pairs Wizard

Allows you to auto-create prayer pairs between members of a group/pool taking into account factors such as history or blacklist.

History guarantees that no prayer pair would ever repeat (if pool is big enough) Blacklist manually filters out unwanted pairings (e.g. GP's, brother/sister rule #7, etc).

Demo

http://radicalray.github.io/pp/

Algorithm

The pairing algorithm is very naive and randomly assigns pairings and checks to see if it satisfies all the constraints. It tries this 100 times before giving up. Performs fairly well for small pools (~20)

In an overly-constrained big pool (~300), may struggle to get out of a no-solution well, also known as backtracking in 3SAT algos.

Technology

  1. Uses localstorage for backend
  2. jquery, selectize and boostrap for UI
  3. optimized and tested for ~300 big pools.
  4. Supports copy and pasting from/into excel spreadsheets. :)
  5. Works offline as well.

Coding Methodology

Super YOLO programming, throwing most good programming principles out the window to get something working fast.

Supported Browsers

Chrome. :)

pp's People

Contributors

radicalray avatar

Watchers

James Cloos avatar  avatar

pp's Issues

SAT3 Solver

Maybe implement a more sophisticated algo for the pairing like a SAT3 for sudoku in the future.

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.