Coder Social home page Coder Social logo

oedokumaci / gale-shapley Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 2.29 MB

Python implementation of the Gale-Shapley Algorithm.

License: MIT License

Python 92.74% Makefile 6.33% Dockerfile 0.92%
python gale-shapley-algorithm game-theory game-theory-algorithms matching-theory stable-marriage stable-marriage-problem

gale-shapley's Issues

Print all preferences compact form

Printing all preferences in compact form can provide buggy output in one of the following two cases:

  • If proposer or responder names are long
  • If there are many proposers or responders, resulting in lines ending

Steps to reproduce the behavior:

  1. Edit config.yaml to produce one of the two cases above.
  2. Run python -m gale_shapley
  3. See logs

Print a table like when it is not one of the two cases above.

All of the below systems can produce the bug

  • Python version: 3.9, 3.10, 3.11
  • OS: Ubuntu/MacOS/Windows

Installing for the first time

When installing the project for the first time, logs will produce error.

Steps to reproduce the behavior:
Setup the project following Developer Guide in README.md in a fresh environment.

All of the below systems can produce the bug

  • Python version: 3.9, 3.10, 3.11
  • OS: Ubuntu/MacOS/Windows

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.