Algorithms
Professor: Delaram Kahrobaei
Course Repository: vchrombie/CS-GY-6033-DAA1
Algorithms
Professor: Delaram Kahrobaei
Course Repository: vchrombie/CS-GY-6033-DAA1
#!/bin/bash | |
set -o errexit | |
set -o pipefail | |
set -o nounset | |
headers="Authorization: Bearer $GRAFANA_API_KEY" | |
in_path="$GIT_SRC/dashboards_raw" | |
echo "Exporting Grafana dashboards from $GRAFANA_URL" |
https://github.com/Bahmni/crater/tree/BAH-1552
I hereby claim:
To claim this, I am signing this object:
import matplotlib.pyplot as plt | |
semesters = [1, 2, 3, 4, 5, 6, 7, 8] | |
grades = [9.08, 8.14, 8.43, 7.89, 8.34, 7.55, 7.84, 9.06] | |
fig, ax = plt.subplots(figsize=(10,8)) | |
ax.plot(semesters, grades, '-o') | |
ax.set(title="Grades: Venu (U4CSE16508)", |
/home/p0tt3r/chaoss/sources/VENV_DIR/bin/python /home/p0tt3r/chaoss/sources/grimoirelab-sirmordred/utils/micro.py --enrich --cfg ./setup.cfg --backends gitlabqm:issue | |
2020-06-16 18:22:11,780 Reading projects data from ./projects.json | |
2020-06-16 18:22:21,812 [gitlabqm:issue] enrichment phase starts | |
2020-06-16 18:22:21,890 [gitlabqm:issue] enrichment starts for https://gitlab.com/amfoss/cms-mobile | |
2020-06-16 18:22:22,216 Error enriching raw from gitlabqm (https://gitlab.com/amfoss/cms-mobile): 'id' | |
Traceback (most recent call last): | |
File "/home/p0tt3r/chaoss/sources/grimoirelab-elk/grimoire_elk/elk.py", line 530, in enrich_backend | |
enrich_count = enrich_items(ocean_backend, enrich_backend) | |
File "/home/p0tt3r/chaoss/sources/grimoirelab-elk/grimoire_elk/elk.py", line 318, in enrich_items | |
total = enrich_backend.enrich_items(ocean_backend) |
# -*- coding: utf-8 -*- | |
# | |
# Copyright (C) 2020 CHAOSS | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |
def __get_reactions(self, item): | |
reactions = () | |
item_reactions = item.get('award_emoji_data', []) | |
for item in item_reactions: | |
reaction = { | |
'type': item['name'], | |
'count': sum(1 for i in item_reactions if i['name'] == item['name']) | |
} |
/home/p0tt3r/chaoss/sources/VENV_DIR/bin/python /home/p0tt3r/chaoss/sources/grimoirelab-sirmordred/utils/micro.py --enrich --cfg ./setup.cfg --backends gitlabcomments:issue gitlabcomments:merge | |
2020-06-07 21:41:16,656 Reading projects data from ./projects.json | |
2020-06-07 21:41:26,699 [gitlabcomments:issue] enrichment phase starts | |
2020-06-07 21:41:26,887 [gitlabcomments:issue] enrichment starts for https://gitlab.com/amfoss/cms | |
2020-06-07 21:41:27,191 Name, email and username are none in gitlabcomments | |
2020-06-07 21:41:28,198 85 items inserted for GitLab | |
2020-06-07 21:41:28,198 [gitlabcomments] Done enrichment for https://gitlab.com/amfoss/cms | |
2020-06-07 21:41:28,199 [gitlabcomments:issue] enrichment finished for https://gitlab.com/amfoss/cms | |
2020-06-07 21:41:28,199 [gitlabcomments:issue] enrichment starts for https://gitlab.com/amfoss/cms-mobile | |
2020-06-07 21:41:28,773 Name, email and username are none in gitlabcomments |