All Projects → studentinsights → Studentinsights

studentinsights / Studentinsights

Licence: other
We work within school communities to make open, secure, student-centered data systems. Say [email protected]!

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Studentinsights

Expertiza
Expertiza is a web application through which students can submit and peer-review learning objects (articles, code, web sites, etc). The Expertiza project is supported by the National Science Foundation.
Stars: ✭ 160 (+32.23%)
Mutual labels:  education, students
School Management System
Another School Management System
Stars: ✭ 520 (+329.75%)
Mutual labels:  education, students
Awesome Computer Science Opportunities
An awesome list of events and fellowship opportunities for Computer Science students
Stars: ✭ 2,445 (+1920.66%)
Mutual labels:  education, students
Autolab
Course management service that enables auto-graded programming assignments.
Stars: ✭ 528 (+336.36%)
Mutual labels:  education, students
school-navigator
Navigate the Durham, NC public school system
Stars: ✭ 25 (-79.34%)
Mutual labels:  education, civic-tech
Addressbook Level2
🆎2️⃣ A Java sample application for students. An AddressBook application that uses OOP basics.
Stars: ✭ 8 (-93.39%)
Mutual labels:  education, students
Snap4arduino
Binding Snap! and Arduino together
Stars: ✭ 107 (-11.57%)
Mutual labels:  education
Pointless
Pointless: a scripting language for learning and fun
Stars: ✭ 116 (-4.13%)
Mutual labels:  education
Powerpointlabs
This is the project for PowerPointLabs, a productivity add-in for PowerPoint
Stars: ✭ 106 (-12.4%)
Mutual labels:  education
Gsoc Faqs
An unofficial Google Summer of Code Frequently Asked Questions
Stars: ✭ 104 (-14.05%)
Mutual labels:  students
W3develops
The w3develops.org open source codebase - Learn, build, and meetup with other developers on DISCORD https://discord.gg/WphGvTT and YOUTUBE http://bit.ly/codingyt
Stars: ✭ 120 (-0.83%)
Mutual labels:  education
Studijne Materialy Fiit
Repozitar pre INFO a PKSS odbory
Stars: ✭ 117 (-3.31%)
Mutual labels:  students
Seai
CMU Lecture: Machine Learning In Production / AI Engineering / Software Engineering for AI-Enabled Systems (SE4AI)
Stars: ✭ 114 (-5.79%)
Mutual labels:  education
Freecodecamp.cn
FCC China open source codebase and curriculum. Learn to code and help nonprofits.
Stars: ✭ 36,576 (+30128.1%)
Mutual labels:  education
Maria Quiteria
Backend para coleta e disponibilização dos dados 📜
Stars: ✭ 115 (-4.96%)
Mutual labels:  civic-tech
What The Splash
Tutorial for building an unsplash image gallery with redux saga :atom:
Stars: ✭ 107 (-11.57%)
Mutual labels:  education
Terremoto Cdmx
Respuesta rápida ante el terremoto de la CDMX
Stars: ✭ 119 (-1.65%)
Mutual labels:  civic-tech
Thimble.mozilla.org
UPDATE: This project is no longer maintained. Please check out Glitch.com instead.
Stars: ✭ 1,414 (+1068.6%)
Mutual labels:  education
Spb
⚓️ Saint Petersburg, Russia
Stars: ✭ 113 (-6.61%)
Mutual labels:  education
O365 Moodle
Office 365 and Azure Active Directory plugins for Moodle
Stars: ✭ 117 (-3.31%)
Mutual labels:  education

Student Insights

We work within communities to make student-centered data systems

It’s people closest to the work, within school communities - teachers, young people, families - who will be able to build the next generation of school data systems that they need.

We need more than just systems for counting numbers - we need ways to more deeply connect and tell our stories to tackle what matters for our students.

Learn more at studentinsights.org.

Demo site

Check out the demo site with different roles:

All accounts use the password: demo-password.

Contributing

We'd love your help! Take a look at CONTRIBUTING.md for more information on ways educators, developers and others can get involved and contribute directly to the project. You can also learn how to join our online chat channel and submit pull requests and join us in person at our weekly hack night with Code for Boston, in Kendall Square, Cambridge.

Development Environment

This is a Ruby on Rails app that uses a PostgreSQL database as the primary data store, and relies on React for much of the UI code.

1. Install dependencies

You'll need Ruby, Postgres and yarn. See our local installation on OSX or Linux guide.

One you have those set up, you can install the Ruby and JavaScript dependencies with:

$ bundle install
$ yarn install

2. Create database tables and seed them with demo data

bundle exec rake db:create db:migrate db:seed

This will create demo students with fake student information. See the demo site above for the set of educators you can use (or look at test_pals.rb).

If you are willing to run a longer (~10 minute) task that will generate ~600 students to more closely approximate one of our pilot schools, set ENV["MORE_DEMO_STUDENTS"] = 'true' before running the seed task.

3. Start the app

Once you've created the data, start the app by running yarn start from the root of your project. This runs two processes in parallel: the Rails server and a Webpack process that watches and rebuilds JavaScript files. When the local server is up and running, visit http://localhost:3000/ and log in with your demo login information. You should see the roster view for your data. You can stop both processes with command+c like normal, and look at package.json if you want to run them in individual terminals.

4. Run the tests

This app uses Rspec for Ruby tests and Jest for JavaScript tests.

For Ruby code, to lint and run the tests do:

rspec

For Jest, run the tests continually in watch mode with:

yarn test

There's also rubocop and eslint for linting. Run them at the command line like this:

rubocop
yarn lint

Or add them into Sublime with SublimeLinter-eslint and SublimeLinter-rubocop.

If you miss something, tests will run on any pull request you submit, and after merging to master as well.

5. Write code!

This project is a Rails app and has a typical Rails project structure. If you'd like to get up to speed on Rails, we recommend checking out their great documentation. The only difference is that JavaScript code is not managed by the Rails asset pipeline, and is built separately by Webpack.

It also uses React for much the user interface code. If you'd like to get up to speed on React, we recommend their great documentation, and the Tutorial and Thinking in React pages in particular.

JavaScript code is written in ES6 syntax and JSX. The build process uses the the react-app Babel preset (the same as create-react-app).

If you use Sublime Text Editor, we include the studentinsights.sublime-project file to standardize minor things like tabs vs. spaces, indentation, and generally make it easier to work with our folder structure. Go to Project --> Open Project and select that file to load it. Sublime remembers which project you were last in, so you only need to do this once. (Here's some background info on how projects work in Sublime).

We also recommend Sublime Package Control and these packages Babel, Sublime Linter and SublimeLinter-contrib-eslint. These will give you nice syntax highlighting and show you linter errors right in Sublime!

6. Use the product locally

Users use IE11, so if you're trying to manually test locally or the production site, you should too! If you have a Mac or Linux box, you can use free VMs designed for just this purpose and run them on VirtualBox: https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/.

Useful tidbits:

  • Visit get.adobe.com/reader in the VM to install a PDF reader
  • These virtual machines expire after 90 days, so take a snapshot right away and rollback when it expires (make sure to log out of Insights before taking a Snapshot, and that no student report PDFs are lying around in the VM's downloads)
  • Enable "Shared Clipboard" in the Devices menu
  • Disable the "Host Capture" key
  • Point to http://10.0.2.2:3000/ to access the host instance of Student Insights

7. Use Storybook

Running yarn storybook will start a storybook server on port 6006. You can use this to create "stories" iterate on UI features or components in particular states, separate from how they exist within the product. To add new stories, write a new .story.js file and update ui/config/.storybook/config.js.

8. Add guardrails

  • Install git-secrets and ensure the hook is set for the repo
  • Update your terminal to show when your git working copy is dirty, to prevent accidentally checking in anything sensitive or that shouldn't be checked in. One approach is to put this in ~/.bashrc:
# prompt
GIT_PS1_SHOWCOLORHINTS=1
GIT_PS1_SHOWDIRTYSTATE=1
GIT_PS1_SHOWUNTRACKEDFILES=1
GIT_PS1_STATESEPARATOR='  --!--  '
source ~/.git-prompt.sh
PS1='\h:\[\033[1;34m\]\W \[\033[0;33m\][$(__git_ps1 "%s")]\[\033[0;37m\] \$ '

You can find a copy of git-prompt.sh in source.

System overview

The project is a Rails app with a Postgres database. There are background tasks that import data from district SIS systems, vendor systems like STAR, and district data sources within Google Drive. This enables rapid iteration and experimentation on new product features with minimal risk to these existing production systems. Student Insights is the system of record for some unique data (eg., notes from clinical meetings and information about targeted interventions that students are receiving). Authentication is typically handled by the district's LDAP service.

District project leads have access administrative tools for adjusting educator permissions and roles, for doing data quality checks, reviewing health of import tasks, and exporting data.

Understanding the human pieces of how data flows through the system, which is critical for understanding accuracy and representativeness, is quite complex and varies within and across districts. This is important to keep in mind when making product and engineering decisions. With that caveat, here's an abstracted engineering-centric view on the pieces of the system and kinds of data flow (from "Student Insights - How it works" internal doc):

systems overview data systems

All districts share the same codebase, but are deployed in isolated instances.

Differences between districts

There are many differences within and across districts. Some of this is driven by districts focusing on different things or being at different places in adoption, and some is different by inherent differences. When trying to learn about or understand how Student Insights handles these differences, a good triage process is:

  • check per_district.rb and PerDistrict.js in source code
  • look at differences in environment variables
  • check for differences in actual data (eg, fields used or specific enum values)
  • also look at EducatorLabel which describes different feature switches, which are often related to important differences across or within districts

For educator-facing document, see also:

Deployment

Continuous integration

We use GitHub Actions to run a set of tests on each pull request and merge to master. See the actions.yml file for more, and view test runs it GitHub at https://github.com/studentinsights/studentinsights/actions. There's no automatic deployment set up, so nothing will go into production until someone takes action to deploy it.

Production access

Access to production environments is tightly controlled. If you work in a particular district or have been granted access to production systems, talk to someone on the team. See CONTRIBUTING.md.

Static IPs

Quotaguard Static, a Heroku add-on, provides static IP addresses when needed to connect to firewalled district servers. The QUOTAGUARDSTATIC_MASK environment variable is a subnet mask for routing only certain outbound requests through those proxy servers. Read Quotaguard Static's documentation for more information.. See the Procfile for how this is enabled; the socksify wrapper makes routing through the proxy transparent to Ruby application code.

New deployments

To create an entirely new Student Insights deployment, ask someone for the "New Student Insights deployment" doc.

Ops

Here are some notes on maintaining, troubleshooting and performance. Talk to someone on the team for access to more tools and docs.

Response latency

Look in the Heroku metrics panel.

Postgres

You can use heroku-pg-extras to get helpful diagnostic information about slow queries, index usage, and table scans.

Heroku Postgres supports a maintenance window for standard database operations that require minutes of downtime. See heroku pg:maintenance.

More information

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].