Git Product home page Git Product logo

Comments (15)

tuxo avatar tuxo commented on June 8, 2024 1

can i be assigned to this one? ☺️

from omrchecker.

GeorgiaMayDay avatar GeorgiaMayDay commented on June 8, 2024 1

Line 336 in core.py
Score should be automatically evaluated but it currently hardcoded as a constant
image

After line 25 in CropOnMarkers
Hardcode: relativePath: “Omr_marker.jpg” are both set up in the template json samples – could this not be gotten from there?
image

From line 81 in CropPages
Hardcode: This could be passed in from the template configuration
image

Line 120 in imgutils.py
Hardcode: All the variables here are hard coded when it feels like these would be better as defaults that the user could change in config
image

Line 627 in imagutil.py
Hardcode: both x and y are hard coded when they should either be constants or configurable

image

Line 658 in imagutil.py
Hardcode: similar to the above, x and y have been hardcode.

image

Line 914 and 915 in imagutil.py
Hardcode: these should be constants or configurable

image

Other:

This is line is repeated in FeatureBasedAlignment, CropPages and imgutils– perhaps worth putting into a separate file and importing around to keep the code DRY?
image

From 125 in core.py
There is some unreachable logger code due to the return True.
Suggestion: Either the early return True is deleted or the logger code
image

from omrchecker.

Udayraj123 avatar Udayraj123 commented on June 8, 2024 1

@pranavajith please check discord for my reply.

from omrchecker.

rakeshcj avatar rakeshcj commented on June 8, 2024 1

from omrchecker.

Udayraj123 avatar Udayraj123 commented on June 8, 2024

@tuxo any updates?

from omrchecker.

GeorgiaMayDay avatar GeorgiaMayDay commented on June 8, 2024

Since @tuxo hasn't updated this issue in over a month, I thought I'd try it

from omrchecker.

GeorgiaMayDay avatar GeorgiaMayDay commented on June 8, 2024

I noticed some other minor issues apart from hardcoding I highlighted under other

from omrchecker.

Udayraj123 avatar Udayraj123 commented on June 8, 2024

Hi @GeorgiaMayDay, sorry I missed above comment. Will check soon. I hope you've joined over discord as well(I tend to respond quicker there)

from omrchecker.

pranavajith avatar pranavajith commented on June 8, 2024

I'm up for this challange, @Udayraj123 ..
Although some resources as to how to set hardcodings in preprocessors would be amazing.

from omrchecker.

Udayraj123 avatar Udayraj123 commented on June 8, 2024

Code is updated with some of the hardcodings reduced. New contributors can help here by checking for more hardcodings in the fresh code.

from omrchecker.

esing1201 avatar esing1201 commented on June 8, 2024

Hi @Udayraj123 I am happy to help. I will appreciate some resources if possible.

from omrchecker.

Udayraj123 avatar Udayraj123 commented on June 8, 2024

Hi @esing1201, good to know! You can setup the repo if you haven't and discuss if you face any issues.
This issue is about finding all hardcoded numbers in the repo and moving them into constants or config options, etc.

Please join over discord to get quicker replies :)

from omrchecker.

rakeshcj avatar rakeshcj commented on June 8, 2024

HI @Udayraj123 is the issue still open ?

from omrchecker.

Udayraj123 avatar Udayraj123 commented on June 8, 2024

Hi @rakeshcj, yes the issue is still open. Most of the hardcodings are in pre-processors that still need attention. Do let me know if you're picking it up!

from omrchecker.

Udayraj123 avatar Udayraj123 commented on June 8, 2024

Hi @rakeshcj let me know if any blockers.

from omrchecker.

Related Issues (20)

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.