Git Product home page Git Product logo

sccwrp / checker2.0 Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 7.02 MB

Revised version of the standard data checker, to be used as a template for starting any data checker app

Python 67.28% JavaScript 16.64% CSS 1.87% HTML 12.37% Dockerfile 0.98% Shell 0.85%
bight bight18 bight23 blm bmp cdubia ceriodaphnia checker data datachecker fdam flask flow-duration loader microplastics nese nginx python sdam smc

checker2.0's People

Contributors

r7butler avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

cthackt

checker2.0's Issues

Cant drag and drop more than two times

If i drag and drop a file, it works and submits and checks it. If i drop a file again without reloading the page, it runs the routine again, as expected, since that is the feeature that the current checker has.

On the third time i drag and drop the file i get a critical, and in the logs i can see something like "SYSCALL EOF DETECTED" error or something like that

Something to do with sqlalchemy or something

Needs the submission tracking routine

Need to create a submission tracking table and submission tracking checksum, and appropriate code throughout the app to update those tables with the submission information, whether they do a final submit or not. We also need the "track" view to look at all submissions

Drag and Drop

There should be the ability to drag and drop their submission file(s) onto the web page, and have it automatically upload th\he files and start the data checking routine

application crashes when timestamp in date field

For Nutrients_Lab data, the checker application crashes when 'preparationdate' (date field) is filled with a timestamp. This is a specific case for the general issue across data template submissions for date fields.

Needs the scraper for lookup lists

We need to implement the scraper so that a user can view lookup lists to choose a correct value. This can also be implemented any way, as long as they have an easy way of viewing the lookup lists

scraper doesn't work

The "scraper" is the component of the checker that allows the user to view lookup lists, but it is not working for any of the new checkers

Notification email should include the download link to their file

The Notification Email needs to include a link to their marked excel file. It sends it as an attachment, but the email should also include a download link

The files that went through final submit successfully need to be moved to a separate folder as well for record keeping purposes

Lookup list links are hard coded in core checks

URL for the lookup list has "nese" hard coded, but it should not be like that

The project name should be some kind of variable that gets put in the url somehow, or the "script_root" variable or something

core checks fails when two columns of the same name in table

failure occurs when either (a) contact_phone_number is a colname that appears twice in the table or (b) contact_phone_number and contact_phone_number.1 appears.

match report recognizes a similar dataset and states closest table, but enters core checks and fails during checkDataTypes

Application error

8/12/21 at 11:30am: Dropped a file in the checker, and it displayed an 'internal server error' which then displayed and repeated numerous times, individuals emails connected to application.

custom checks - logic check flags incorrect/empty row of data

Logic check merges two dataframes with a left join to mark the left dataframe with errors, but the error is flagged on a row of data that does not exist in the excel file (ex: row 12 has a logic error for another table, but row 3052 is marked).

Assertions, print statements, logs, unit testing etc

The Javascript code needs assertion statements (if they exist) for quick debugging in the future

The Python code can also use more thorough assert statements, and useful print statements for logging purposes

Also if theres a way to do actual unit testing, we should implement it (if it makes sense to do so. It may be like killing a fly with a sledgehammer)

Needs a loading gif

After the data gets "dropped" there should be a loading gif to let the user know that something is happening in the background. There should also be a loading gif for after they hit final submit

current_app maintainers gets modified

The application is sending emails to all users who have active sessions open, when it should only be sending to current_app.maintainers, according to what i see in the code

This is upon final submit, as well as critical errors

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.