Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am adamburkegh on github.
  • I am adamburkekb (https://keybase.io/adamburkekb) on keybase.
  • I have a public key ASDCtH-MS9KLE0k4X9qD_XLR5qSHMFAi2RZ6NCiZJFwy1wo

To claim this, I am signing this object:

@adamburkegh
adamburkegh / peercalc.py
Last active June 20, 2024 02:05
Calculate peer evaluation factors using the method in Brown (1995) - Autorating
#
# Python code for peer eval ratings
# See https://www.cs.cornell.edu/courses/cs5740/2021sp/peereval.html
#
import csv
NAMESPACING = 20
SCORESPACING = 10
SCALE_CEILING = 1.05
@adamburkegh
adamburkegh / pandasxes.py
Last active September 24, 2021 02:58 — forked from AdamBanham/create.py
Convert a pandas dataframe to a pm4py event log, which is then exported to an XES file.
"""
Pandas dataframe to a pm4py event log conversion
"""
import pandas as pd
import numpy as np
import pm4py
from pm4py.objects.log.obj import EventLog,Event,Trace # under the hood objects within pm4py, subject to change
@adamburkegh
adamburkegh / jython_commit_frequency
Last active June 29, 2019 13:46
jython commit frequency by file
file,frequency
NEWS,477
build.xml,462
src/org/python/core/Py.java,248
src/org/python/core/PySystemState.java,243
src/org/python/core/PyString.java,237
src/org/python/core/PyObject.java,196
grammar/Python.g,194
Lib/test/regrtest.py,186
src/org/python/core/PyType.java,179