Giter VIP home page Giter VIP logo

api's People

Contributors

au5ton avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

api's Issues

add mechanism for upload_queue backlogs

When a document in upload_queue fails to process, move it to upload_queue_backlog instead of leaving it in upload_queue.

This upload_queue_backlog can be processed by:

  • A scheduled job that runs once a day which copies all of the backlog into upload_queue for reprocessing.
  • Add a hidden property like __backlogCount which prevents infinite loops

Averages are skewed after import

I believe this is because of an oversight in the implementation made here: cougargrades/importer@8d5cb57

Here, the rows which contain no data (when parsing the CSV, an empty string '') are replaced with zero, which in turns brings the average down among other statistics.

https://github.com/cougargrades/importer/blob/8d5cb57462d82ba02233dd75975ab6f8306305e8/src/reader.ts#L60-L66

A comprehensive fix will require updating the importer, types, and api codebases to explicitly support null values instead of undefined values.

Support for @cougargrades/types=0.0.47

Version in use as of posting: 0.0.42

Version 0.0.43 changes:

  • Removed Courses.publication
  • Added Courses.publications[]

Version 0.0.44 changes:

  • Added Instructor.firstTaught
  • Added Instructor.lastTaught

Version 0.0.45-0.0.47 changes:

  • firestore.FieldValue support

meta/catalog.latestTerm incorrectly set

// if the catalog meta doesn't exist
if (!catalogMetaSnap.exists) {
// create catalog meta with default values (current course)
await txn.set(catalogMetaRef, {
latestTerm: record.TERM,
});
} else {
// if the catalog meta already exists, compare its term to the proposed term
if (Util.termCode(record.TERM) > catalogMetaSnap.data()!.latestTerm) {
// update the "latestTerm" value
await txn.update(catalogMetaRef, {
latestTerm: Util.termCode(record.TERM),
});
}
}

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.