GithubHelp home page GithubHelp logo

bubify-backend's People

Contributors

erma7725 avatar jonasnorlinder avatar laswer5 avatar olofasenius avatar sier8161 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

bubify-backend's Issues

Incorrect statistics in QOS

QOS is not filtering on claimed students anymore. We only want to count students who are waiting a teacher to claim their request.

Fix the calculation of partial results

When generating a list of which parts of IOOPM every student is done with, the calculation for being done with the project is still based on how the course was stuctured in 2021:

if (achievementsSize >= 4 && projectAchievementsSize == 6) {
credits.add(AcademicCreditType.PROJECT);
achievementsSize -= 4;
}

(the feature was not used for the course instance of 2022, which is why the bug was not discovered until now)

The correct calculation should just check that all seven project goals are completed (should probably check that they are all done, rather than using the magic number seven) and to not subtract any achievements if the project is completed. See Section 10 here for the definitions of being done.

Improve /recent/help and /recent/demo

The endpoints /recent/help and /recent/demo are not doing first data filtration at DB-level, which causes substantial performance regression the more requests a teacher have handled.

See e.g. https://github.com/bubify/bubify-backend/blob/main/src/main/java/com/uu/au/controllers/GodController.java#L682-L698.

See

how data can be filtered at DB-level instead of application level.

Stage import of previous results using transactions

Currently when we import results from previous instances of the course these changes are directly applied onto the DB. This is bad if the file contain any errors, or something else bad happens during upload. We should rather use transactions as provided by MySQL/MariaDB before committing results into production DB.

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.