Comments (7)
Thank you for reporting this, but I'm not able to reproduce this myself, so I'm not sure what could be going wrong.
Therefore, when you have the time, please try the following:
-
Open the developer console, and execute
console.table(athenaData)
. You should see a table of courses names, links, and periods.- Do the periods and class names match up?
- Try visiting the links. Do they match up with the classes?
-
Execute the following:
console.table(JSON.parse(localStorage.athenaDataRaw).body.courses.sections, ["section_title", "link"])
- This should output a table of period numbers and links. Do the links match up with the period numbers?
from checkpcr.
Nope, the periods and class names don't match up, but the links match with the periods. I'm guessing it's probably a relatively unique issue caused by A. that I have a couple courses stuck from last year because one of the teachers left and the other is teaching something else now and B. that all juniors have an extra advisory course made to share stuff to the entire Class of 2018. I'll check with a couple other juniors to see if they have similar issues.
from checkpcr.
Hmm I also have a few courses from last year and an extra advisory course, but nevertheless that still could be related.
Try running the following:
c=JSON.parse(localStorage.athenaDataRaw).body.courses;console.table(c.courses,["course_title","nid"]);console.table(c.sections,["course_nid","link"])
This should print out two tables, one of class names and nid
s, and another of links and course_nid
s.
Basically, the data retrieved from pasting in that large chunk of data into the settings page is divided into two parts: courses (which include the course name) and sections (which contain the link), and the links of courses are found by stitching the courses and sections together via these ids that should match each other.
Once you get the output, try visiting the outputted links and see if their course_nid
s match the nid
s for the corresponding classes. If they don't, is their any kind of pattern to their discrepancy?
Thanks for helping debug this!
from checkpcr.
Before you go to the effort of following the instructions above if you haven't already, did you paste the data from Athena into the welcome page or into the settings page?
A while ago I think the same thing was happening and I updated the algorithm in the code run by the settings page, but not the code run by the welcome page, which maintained its own copy of the same algorithm.
from checkpcr.
from checkpcr.
from checkpcr.
Okay cool! Thank you for all of your help.
I'll fix the error on the welcome page as soon as I can get around to it.
from checkpcr.
Related Issues (20)
- Error Parsing assignments HOT 3
- Could Not Load Manifest? HOT 1
- CheckPCR Disappears HOT 2
- Error Parsing Assignments HOT 9
- Bug Report HOT 3
- Report bug and suggest feture HOT 3
- Monthly carry over HOT 4
- Parsing Bug HOT 3
- PCR Parsing error HOT 1
- Parsing Error HOT 1
- A bug :o HOT 1
- Custom Assignments are hard to see in Light or Dark Mode HOT 1
- CheckPCR works too well HOT 1
- bug! HOT 1
- Coffescript dependency installation
- Fetching URL is outdated HOT 10
- Added assignments show up as done HOT 2
- Is not loading Assignments. HOT 11
- Calendar View Should Display Month as Header HOT 2
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 checkpcr.