obfuscation: Obfuscated C code misinterpretation data

Description Usage Format Source Examples

Description

Data from Gopstein et. al.'s experiment on the misinterpretation of C code. Subjects were asked to hand evaluate pairs of functionally equivalent code. Half of the questions were intentionally obfuscated to elicit confusion.

Usage

1

Format

A data frame with 57 rows and 4 variables:

subject

the ID of the study participant

atom

the type of obfuscation being evaluated

control

whether the subject answered the un-obfuscated question correctly

treatment

whether the subject answered the obfuscated question correctly

Source

Atoms of Confusion

Examples

1
2
3
4
5
6
7
data(obfuscation)

oc <- paired.to.contingency(group = obfuscation[,c("subject", "atom")],
                            t1    = obfuscation$control,
                            t2    = obfuscation$treatment)

clust.bin.pair(oc$ak, oc$bk, oc$ck, oc$dk, method="durkalski")

dgopstein/CorrBinPaired documentation built on May 15, 2019, 7:20 a.m.