Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> pp(q1.annotation.get_keys(['shrm0016_test', 'shrm0093_test', 'luke_mason']))
- {u'luke_mason': {u'best-score': None,
- u'best-score-by-module': {},
- u'best-score-date': None,
- u'best-score-result': None,
- u'combined-status': {u'active': True,
- u'complete': False,
- u'passed': False,
- u'status': u'active'},
- u'completed-results': [],
- u'has-passing-score': False,
- u'ticket-mismatch': False},
- u'shrm0016_test': {u'best-score': Decimal('28.00'),
- u'best-score-by-module': {u'1': {u'correct': 3,
- u'percent': Decimal('27.27'),
- u'total': 11},
- u'2': {u'correct': 5,
- u'percent': Decimal('20.83'),
- u'total': 24},
- u'3': {u'correct': 6,
- u'percent': Decimal('33.33'),
- u'total': 18},
- u'4': {u'correct': 3,
- u'percent': Decimal('15.79'),
- u'total': 19},
- u'5': {u'correct': 8,
- u'percent': Decimal('40.00'),
- u'total': 20},
- u'6': {u'correct': 3,
- u'percent': Decimal('37.50'),
- u'total': 8}},
- u'best-score-date': datetime.datetime(2012, 2, 5, 13, 15, 37, 264265),
- u'best-score-result': u'shrm0016_test-001',
- u'combined-status': {u'active': False,
- u'complete': True,
- u'passed': False,
- u'status': u'complete'},
- u'completed-results': [u'shrm0016_test-001'],
- u'has-passing-score': False,
- u'ticket-mismatch': False},
- u'shrm0093_test': {u'best-score': Decimal('29.00'),
- u'best-score-by-module': {u'1': {u'correct': 2,
- u'percent': Decimal('18.18'),
- u'total': 11},
- u'2': {u'correct': 7,
- u'percent': Decimal('29.17'),
- u'total': 24},
- u'3': {u'correct': 6,
- u'percent': Decimal('33.33'),
- u'total': 18},
- u'4': {u'correct': 4,
- u'percent': Decimal('21.05'),
- u'total': 19},
- u'5': {u'correct': 6,
- u'percent': Decimal('30.00'),
- u'total': 20},
- u'6': {u'correct': 4,
- u'percent': Decimal('50.00'),
- u'total': 8}},
- u'best-score-date': datetime.datetime(2012, 2, 5, 15, 21, 52, 944594),
- u'best-score-result': u'shrm0093_test-001',
- u'combined-status': {u'active': False,
- u'complete': True,
- u'passed': False,
- u'status': u'complete'},
- u'completed-results': [u'shrm0093_test-001'],
- u'has-passing-score': False,
- u'ticket-mismatch': False}}
Add Comment
Please, Sign In to add comment