Skip to content

Reporting and data retrieval app for Open edX

License

Notifications You must be signed in to change notification settings

Dicey-Tech/figures

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Figures

Travis Codecov

Reporting and data retrieval app for Open edX.

TBD Q3 2021 - Figures release 0.4 "Official"

Most recent release: "0.4.dev16" on August 11, 2021

Figures is iterating through "0.4.dev" development releases on the way to an official 0.4 release.

The Figures 0.4.dev releases support Open edX Juniper, Hawthorn, and Ginkgo

  • The reason for "dev" (development) instead of "rc" (release candidate) is that the 'dev' label lets us be free to make breaking changes, whereas an "rc" label is about making sure a release is stable for general community use
  • Appsembler deploys "0.4.dev" releases to Tahoe production and Figures is used by our customers. This is similar to how Open edX deploys "master/main" to "edx.org" then creates named releases
  • Most of the ongoing work is in the following areas
    • Improving the daily pipeline tasks for accuracy, reliability, and performance
    • Improving API performance
    • Bug fixing

Please visit Figures releases page for details on specific releases.

30 Oct 2020 - Figures release 0.3.19

26 Oct 2020 - Figures release 0.3.18

  • FIX - Removed dependency on 'packaging.versions'
    • appsembler#272
    • NOTE: This PR updates a previous commit that required the packaging package

16 Oct 2020 - Figures release 0.3.17

  • Reworked SiteMonthlyMetrics registered users metric. This was causing the /figures/api/site-monthly-metrics/registered_users endpoint to timeout with a 500 error
  • Fixed Ginkgo (Django Filter 0.11.0) Backward compatibility issues
  • UI Bug fix: Add success feedback to csv export dialog
  • Bump http-proxy from 1.18.0 to 1.18.1 in /frontend

28 Sep 2020 - Figures release 0.3.16

11 Sep 2020 - Figures release 0.3.15

24 Aug 2020 - Figures release 0.3.14

  • Added multi-course filtering to the learner-metrics API endpoint
  • Small cosmetic issues in new Learners Progress Overview page

14 Aug 2020 - Figures release 0.3.13

15 Jul 2020 - Figures release 0.3.12

29 Jun 2020 - Figures release 0.3.11

  • Fixes incorrect site monthly metrics course completion data
  • Fixes CourseDailyMetricsSerializer when average_progress is 1.00
  • Updates pipeline enrollment metrics queries to improve performance
  • Added site pipeline progress indicator to logging
  • Bump devsite Django 1.11 to version 1.11.29
  • Bump websocket-extensions from 0.1.3 to 0.1.4 in /frontend

21 May 2020 - Figures release 0.3.10

24 Apr 2020 - Figures release 0.3.9

  • Updated UI, MAU fix, style fixes, label changes
  • Added site monthly metrics scheduled tasks to fill last month's MAU
  • Added Django Debug Toolbar to devsite

10 Apr 2020 - Figures release 0.3.8

  • Performance improvement to "Site Monthly Metrics" active users endpoint

8 Apr 2020 - Figures release 0.3.7

  • Updated UI to improve performance and usability
  • Added "Course Monthly Metrics" set of API endpoints

16 Feb 2020 - Figures release 0.3.6

  • Updated UI to address performance issues
  • Added missing organizations to devsite settings INSTALLED_APPS

20 Feb 2020 - Figures release 0.3.5

Client (UI and API) facing updates

  • Site Monthly Metrics pipeline and new API endpoints
  • Added Course MAU metrics API endpoint and pipeline
  • Added user email address to general user data
  • Bug fix - URL pattern fix for figures/

Developer facing updates

  • Updated Django micro version to Figures devsite
  • Added missing .env file for Makefile support
  • Added Pylint to testing
  • Refactored permissions module

29 Jan 2020 - Figures release 0.3.4

  • Hawthorn support since release 0.3.0
  • This release includes bug fixes, UI improvements, and backport support for Ginkgo
  • Includes a standalone development mode. See the developer quickstart guide

Overview

Figures is a reporting and data retrieval app. It plugs into the edx-platform LMS app server. Its goal is to provide site-wide and cross-course analytics that compliment Open edX's traditional course-centric analytics.

To evolve Figures to meet community needs, we are keeping in mind as principles the following features, which Jill Vogel outlined in her lightweight analytics post on ed Xchange:

  • Real time (or near real time) updates
  • Lightweight deployment
  • Flexible reporting
  • Simpler contributions

Please refer to the Figures design document for more details on goals and architecture.

Requirements

For all Open edX releases:

  • Python (2.7)

For Hawthorn:

  • Django (1.11)

For Ginkgo:

  • Django (1.8)

Installation

NOTICE: Installation instructions are out of date and backlogged for update

Devstack

Go here for instructions to install and run Figures in devstack.

Production

Go here for instructions to install Figures in production.

Project Architecture

Front-end

The Figures user interface is a JavaScript Single Page Application (SPA) built with React and uses the create-react-app build scaffolding generator.

Back-end

The Figures back-end is a reusable Django app. It contains a set of REST API endpoints that serve a dual purpose of providing data to the front-end and to remote clients.

Testing

TODO: Improve the testing instructions

The unit tests should be able to run on any OS that supports Python 2.7.x

Clone the repo:

[email protected]:appsembler/figures.git

Go to the project directory:

cd figures

Create a virtualenv for Python 2.7.x.

Install required Python packages:

pip install -r devsite/requirements.txt

From the figures repository root directory:

py.test

If all goes well, the Figures unit tests will all complete succesfully

Future

  • Open edX "Hawthorn" will provide a plug-in architecture. This will hopefully simplify Figures installation even more
  • Downloadable report files
  • Plugin architecture to extend Figures for custom data sources

How to Contribute

TODO: Add details here or separate CONTRIBUTING file to the root of the repo

Reporting Issues

If you find bugs or run into issues, please submit an issue ticket to the Figures issue tracker on Github.

Reporting Security Issues

Please do not report security issues in public. Please email [email protected].

About

Reporting and data retrieval app for Open edX

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 75.0%
  • JavaScript 18.7%
  • SCSS 5.3%
  • Makefile 0.4%
  • HTML 0.4%
  • Shell 0.2%