SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2005.04120 · 2020

K-EmoCon, a multimodal sensor dataset for continuous emotion recognition in naturalistic conversations

arXiv · PDF · Open in the Atlas

Code that ran

3 of 3 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 3 failures of our instrument; 0 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2005.04120.json · badge: /api/ran/2005.04120.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
Kaist-ICLab/K-EmoCon_SupplementaryCodes canonical (classifier label)
classifier basis: classifier_2025
3 ran · 0 no recorded run
FunctionStatusWhere it lives
aggregate_raw Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Kaist-ICLab/K-EmoCon_SupplementaryCodes/scripts/preprocess.py
code served (permissive licence) · get_code("d324b97ff45102f2")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import logging
import pandas as pd
import tempfile
import shutil

# Set up logging
logging.basicConfig(level=logging.WARNING)

# Create temporary directories with mock data
temp_dir = tempfile.mkdtemp()
e4_dir = os.path.join(temp_dir, 'e4_data')
h7_dir = os.path.join(temp_dir, 'h7_data')

os.makedirs(e4_dir, exist_ok=True)
os.makedirs(h7_dir, exist_ok=True)

# Create mock E4 data files for participant 31 and 32
for pid in [31, 32]:
    pid_dir = os.path.join(e4_dir, str(pid))
    os.makedirs(pid_dir, exist_ok=True)
    
    # Create mock IBI data
    ibi_data = pd.DataFrame({
        'device_serial': ['A01525' if pid == 31 else 'A01A3A'],
        'timestamp': [1000.0],
        'value': [0.8]
    })
    ibi_data.to_csv(os.path.join(pid_dir, f'participant_{pid}_ibi.csv'), index=False)
    
    # Create mock HR data
    hr_data = pd.DataFrame({
        'device_serial': ['A013E1' if pid == 31 else 'A01A3A'],
        'timestamp': [1000.0],
        'value': [72.0]
    })
    hr_data.to_csv(os.path.join(pid_dir, f'participant_{pid}_hr.csv'), index=False)
    
    # Create mock EDA data
    eda_data = pd.DataFrame({
        'timestamp': [1000.0],
        'value': [0.5]
    })
    eda_data.to_csv(os.path.join(pid_dir, f'participant_{pid}_eda.csv'), index=False)

# Create mock H7 data files
for pid in [31, 32]:
    pid_h7_dir = os.path.join(h7_dir, str(pid))
    os.makedirs(pid_h7_dir, exist_ok=True)
    
    ecg_data = pd.DataFrame({
        'timestamp': [1000.0, 1001.0],
        'ecg_value': [100.0, 101.0]
    })
    ecg_data.to_csv(os.path.join(pid_h7_dir, 'Polar_HR.csv'), index=False)

# Define the arguments
ARGS = {
    'paths': {
        'e4_dir': e4_dir,
        'h7_dir': h7_dir
    },
    'valid_pids': [31, 32]
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_baseline_and_debate Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Kaist-ICLab/K-EmoCon_SupplementaryCodes/scripts/preprocess.py
code served (permissive licence) · get_code("01cfab2c82f54e39")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import logging
import pandas as pd
from datetime import datetime, timedelta
import tempfile
import os

# Create a temporary CSV file for subject info
temp_dir = tempfile.mkdtemp()
subjects_info_path = os.path.join(temp_dir, 'subjects_info.csv')

# Create sample subject info data
subject_info_data = {
    'pid': [1, 2],
    'initTime': [1000000.0, 2000000.0],
    'startTime': [1000120000.0, 2000120000.0],
    'endTime': [1000600000.0, 2000600000.0]
}
subject_info_df = pd.DataFrame(subject_info_data)
subject_info_df.to_csv(subjects_info_path, index=False)

# Create sample raw data for each pid/filetype combination
pid_to_raw_df = {}

# For pid 1, filetype 'e4'
timestamps_1_e4 = [1000000.0 + i * 1000 for i in range(100)]
data_1_e4 = pd.DataFrame({
    'timestamp': timestamps_1_e4,
    'value': [10.5 + i * 0.1 for i in range(100)]
})
pid_to_raw_df['1/e4'] = data_1_e4

# For pid 1, filetype 'h7'
timestamps_1_h7 = [1000000.0 + i * 1000 for i in range(100)]
data_1_h7 = pd.DataFrame({
    'timestamp': timestamps_1_h7,
    'value': [70.0 + i * 0.2 for i in range(100)]
})
pid_to_raw_df['1/h7'] = data_1_h7

# For pid 2, filetype 'e4'
timestamps_2_e4 = [2000000.0 + i * 1000 for i in range(100)]
data_2_e4 = pd.DataFrame({
    'timestamp': timestamps_2_e4,
    'value': [11.5 + i * 0.1 for i in range(100)]
})
pid_to_raw_df['2/e4'] = data_2_e4

# For pid 2, filetype 'h7'
timestamps_2_h7 = [2000000.0 + i * 1000 for i in range(100)]
data_2_h7 = pd.DataFrame({
    'timestamp': timestamps_2_h7,
    'value': [72.0 + i * 0.2 for i in range(100)]
})
pid_to_raw_df['2/h7'] = data_2_h7

ARGS = {
    'paths': {
        'e4_dir': '/tmp/e4_data',
        'h7_dir': '/tmp/h7_data',
        'subjects_info_path': subjects_info_path
    },
    'valid_pids': [1, 2],
    'filetypes': ['e4', 'h7'],
    'pid_to_raw_df': pid_to_raw_df
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_segments Ran
ran; our contract draft was wrong, not the code
Kaist-ICLab/K-EmoCon_SupplementaryCodes/scripts/baseline.py
code served (permissive licence) · get_code("4a438cf58f9de959")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned OrderedDict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import json
import tempfile
from collections import OrderedDict

# Create a temporary directory structure with test data
temp_dir = tempfile.mkdtemp()

# Create subdirectories for each pid (participant id)
pid_1_dir = os.path.join(temp_dir, "1")
pid_2_dir = os.path.join(temp_dir, "2")
os.makedirs(pid_1_dir)
os.makedirs(pid_2_dir)

# Create test JSON files in pid_1_dir
seg_data_1 = {"data": "segment1", "value": 42}
with open(os.path.join(pid_1_dir, "file-0-label1.json"), "w") as f:
    json.dump(seg_data_1, f)

seg_data_2 = {"data": "segment2", "value": 43}
with open(os.path.join(pid_1_dir, "file-1-label2.json"), "w") as f:
    json.dump(seg_data_2, f)

# Create test JSON files in pid_2_dir
seg_data_3 = {"data": "segment3", "value": 44}
with open(os.path.join(pid_2_dir, "file-0-label3.json"), "w") as f:
    json.dump(seg_data_3, f)

seg_data_4 = {"data": "segment4", "value": 45}
with open(os.path.join(pid_2_dir, "file-1-label4.json"), "w") as f:
    json.dump(seg_data_4, f)

ARGS = {
    "segments_dir": temp_dir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type OrderedDict — a OrderedDict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a OrderedDict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block

Also present in other papers' code

Of 3 samples lifted from this paper's linked repositories, 3 carry a function identity and 0 do not. Of the 3 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 3 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Recognizing emotions during social interactions has many potential applications with the popularization of low-cost mobile sensors, but a challenge remains with the lack of naturalistic affective interaction data. Most existing emotion datasets do not support studying idiosyncratic emotions arising in the wild as they were collected in constrained environments. Therefore, studying emotions in the context of social interactions requires a novel dataset, and K-EmoCon is such a multimodal dataset with comprehensive annotations of continuous emotions during naturalistic conversations. The dataset contains multimodal measurements, including audiovisual recordings, EEG, and peripheral physiological signals, acquired with off-the-shelf devices from 16 sessions of approximately 10-minute long paired debates on a social issue. Distinct from previous datasets, it includes emotion annotations from all three available perspectives: self, debate partner, and external observers. Raters annotated emotional displays at intervals of every 5 seconds while viewing the debate footage, in terms of arousal-valence and 18 additional categorical emotions. The resulting K-EmoCon is the first publicly available emotion dataset accommodating the multiperspective assessment of emotions during social interactions.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2005.04120")
get_code_for_paper("2005.04120")
have("2005.04120")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2005.04120.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2005.04120.svg)](https://syntology.ai/paper/2005.04120)

Connect an agent — have() is free.