Guest User

Untitled

a guest
Jun 23rd, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 4.43 KB | None | 0 0
  1. >>> pp(q1.annotation.get_keys(['shrm0016_test', 'shrm0093_test', 'luke_mason']))
  2. {u'luke_mason': {u'best-score': None,
  3.                  u'best-score-by-module': {},
  4.                  u'best-score-date': None,
  5.                  u'best-score-result': None,
  6.                  u'combined-status': {u'active': True,
  7.                                       u'complete': False,
  8.                                       u'passed': False,
  9.                                       u'status': u'active'},
  10.                  u'completed-results': [],
  11.                  u'has-passing-score': False,
  12.                  u'ticket-mismatch': False},
  13.  u'shrm0016_test': {u'best-score': Decimal('28.00'),
  14.                     u'best-score-by-module': {u'1': {u'correct': 3,
  15.                                                      u'percent': Decimal('27.27'),
  16.                                                      u'total': 11},
  17.                                               u'2': {u'correct': 5,
  18.                                                      u'percent': Decimal('20.83'),
  19.                                                      u'total': 24},
  20.                                               u'3': {u'correct': 6,
  21.                                                      u'percent': Decimal('33.33'),
  22.                                                      u'total': 18},
  23.                                               u'4': {u'correct': 3,
  24.                                                      u'percent': Decimal('15.79'),
  25.                                                      u'total': 19},
  26.                                               u'5': {u'correct': 8,
  27.                                                      u'percent': Decimal('40.00'),
  28.                                                      u'total': 20},
  29.                                               u'6': {u'correct': 3,
  30.                                                      u'percent': Decimal('37.50'),
  31.                                                      u'total': 8}},
  32.                     u'best-score-date': datetime.datetime(2012, 2, 5, 13, 15, 37, 264265),
  33.                     u'best-score-result': u'shrm0016_test-001',
  34.                     u'combined-status': {u'active': False,
  35.                                          u'complete': True,
  36.                                          u'passed': False,
  37.                                          u'status': u'complete'},
  38.                     u'completed-results': [u'shrm0016_test-001'],
  39.                     u'has-passing-score': False,
  40.                     u'ticket-mismatch': False},
  41.  u'shrm0093_test': {u'best-score': Decimal('29.00'),
  42.                     u'best-score-by-module': {u'1': {u'correct': 2,
  43.                                                      u'percent': Decimal('18.18'),
  44.                                                      u'total': 11},
  45.                                               u'2': {u'correct': 7,
  46.                                                      u'percent': Decimal('29.17'),
  47.                                                      u'total': 24},
  48.                                               u'3': {u'correct': 6,
  49.                                                      u'percent': Decimal('33.33'),
  50.                                                      u'total': 18},
  51.                                               u'4': {u'correct': 4,
  52.                                                      u'percent': Decimal('21.05'),
  53.                                                      u'total': 19},
  54.                                               u'5': {u'correct': 6,
  55.                                                      u'percent': Decimal('30.00'),
  56.                                                      u'total': 20},
  57.                                               u'6': {u'correct': 4,
  58.                                                      u'percent': Decimal('50.00'),
  59.                                                      u'total': 8}},
  60.                     u'best-score-date': datetime.datetime(2012, 2, 5, 15, 21, 52, 944594),
  61.                     u'best-score-result': u'shrm0093_test-001',
  62.                     u'combined-status': {u'active': False,
  63.                                          u'complete': True,
  64.                                          u'passed': False,
  65.                                          u'status': u'complete'},
  66.                     u'completed-results': [u'shrm0093_test-001'],
  67.                     u'has-passing-score': False,
  68.                     u'ticket-mismatch': False}}
Add Comment
Please, Sign In to add comment