Comments (9)
We can close the previous issue and update this one.
from omrchecker.
In #43 we added a json schema, which is basically a blueprint for the input template.json file, that validates the template file and we wrote a function that validates the template using python jsonschema library. Both the schema and the error messages need a lot of improvement and that is where this issue comes in.
-
Talking about improvements in the validation schema, we have to write the constraints in much more detail. By constraint I mean for eg: the dimensions key should only take in an array of 2 integers, so if the number of integers don't match, it should give a proper error message. So, detailed constraints have to be included in the schema.
-
Regarding the error messages, currently we only print the key where the error takes place (key comes from schema and not the input template which is a problem) and we print a default error message which is not sufficient currently. So we need to improve the error messages, add a warning/error info/level and also find a way to get the key with the error from the input template.json instead of the schema (for cases of spelling mistake or case mistake in the keys).
from omrchecker.
@SpyzzVVarun are you available to work on this now?
from omrchecker.
Well detailed breakdown 👍
you(and others) can raise PRs in small mergeable/deliverable chunks as we discussed yesterday.
Reiterating that discussion here as well for reference -
I'll share a concept I shared with one of you recently.
This comes from Agile development practiced in the industry.
Each small ball is a small change that is eligible for merge.Break the task down into as many parts as possible, as long as one meaningful PR for each of the parts exists. This helps in teams and communities to work independently and efficiently
from omrchecker.
@SpyzzVVarun adding few more criteria
- inner schema of each QBlock should be validated too.
- singles array should not contain duplicate qNos
- concatenations keys + arrays should not contain duplicate qNos
from omrchecker.
This issue needs a bit more attention now. Bumping updated time with this comment.
from omrchecker.
Marking issue as easy since a few improvements have been merged in the evaluation + revamp PR #118
from omrchecker.
Sir i would like to contribute to this project. Please tell me how, I'm pretty new to Open Source.
from omrchecker.
@anaghninja432 Hello, if you're new to the project I suggest you to run the project locally on a new OMR sheet and submit a sample. Then in the process try to go through the code flow for your images. This task is around schema validation so you can experiment passing incorrect template jsons by thinking of common mistakes people can do. We need to provide accurate error messages to guide the user
from omrchecker.
Related Issues (20)
- pageDimensions field pixelating image too much[Bug] HOT 2
- Taking the attendee's name and surname [Feature] HOT 2
- Difficulty creating a template.json compliant [Request access to a sample1 Docx HOT 10
- [Feature] Generate score and indicator whether answer is right or wrong to images in CheckedOMRs folder HOT 10
- Question: How to get coordinations? HOT 1
- [Feature] HOW TO MAKE A JSON FILE OF THIS OMR SHEET HOT 3
- issuer about memory HOT 11
- ReadMe's images are not loading anymore HOT 2
- Omr. or omr?[Bug] HOT 3
- [Bug] Template images cut off HOT 2
- [Feature] Support for weighted answers (multiple correct)
- [Feature] Support for detecting tick marks or cross marks HOT 7
- [Bug] No circle found in Quad 1 HOT 2
- [Feature] run with no desktop available HOT 3
- [Feature] Generate a software accuracy report HOT 1
- Different layout with different sensor HOT 5
- [Feature] Android and iOS support using kivy or beeware or flet.dev or chaquopy HOT 1
- [Enhancement] Explore scope of further speeding up HOT 1
- [Enhancement] Improve Page Cropping using Document Rectification HOT 1
- [DevX] Add a pre-commit hook to resize images to max width HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omrchecker.