fix: order mj

dev
Pierre-Louis Guhur 1 year ago
parent 5434d6facd
commit 5d81c36a94

@ -480,7 +480,7 @@ def get_results(db: Session, election_ref: str) -> schemas.ResultsGet:
for c, votes in ballots.items()
}
ranking = majority_judgment(merit_profile, reverse=False) # pyright: ignore
ranking = majority_judgment(merit_profile) # pyright: ignore
db_election.ranking = ranking
db_election.merit_profile = merit_profile2

@ -7,6 +7,7 @@ RUN apt-get update && \
WORKDIR /code
COPY ./requirements.txt .
RUN pip install --no-cache-dir -U pip && \
pip install --no-cache-dir -r requirements.txt

Loading…
Cancel
Save