<commit_before>package models

import "time"

type sensor struct {
	Name    string    `json:"name"`
	Type    string    `json:"type"`
	GenTime time.Time `json:"gen_time"`
}

// Struct for Gyro Sensor
type GyroSensor struct {
	sensor
	AngleVelocityX float32 `json:"x_axis_angle_velocity"`
	AngleVelocityY float32 `json:"y_axis_angle_velocity"`
	AngleVelocityZ float32 `json:"z_axis_angle_velocity"`
}

// Struct for Accelerometer Sensor
type AccelSensor struct {
	sensor
	GravityAccX float32 `json:"x_axis_gravity_acceleration"`
	GravityAccY float32 `json:"y_axis_gravity_acceleration"`
	GravityAccZ float32 `json:"z_axis_grativy_acceleration"`
}

// Struct for Temperature Sensor
type TempSensor struct {
	sensor
	Temperature float32 `json:"temperature"`
	Humidity    float32 `json:"humidity"`
}<commit_msg>Changed sensor struct to public struct Sensor<commit_after>package models

import "time"

type Sensor struct {
	Name    string    `json:"name"`
	Type    string    `json:"type"`
	GenTime time.Time `json:"gen_time"`
}

// Struct for Gyro Sensor
type GyroSensor struct {
	Sensor
	AngleVelocityX float32 `json:"x_axis_angle_velocity"`
	AngleVelocityY float32 `json:"y_axis_angle_velocity"`
	AngleVelocityZ float32 `json:"z_axis_angle_velocity"`
}

// Struct for Accelerometer Sensor
type AccelSensor struct {
	Sensor
	GravityAccX float32 `json:"x_axis_gravity_acceleration"`
	GravityAccY float32 `json:"y_axis_gravity_acceleration"`
	GravityAccZ float32 `json:"z_axis_grativy_acceleration"`
}

// Struct for Temperature Sensor
type TempSensor struct {
	Sensor
	Temperature float32 `json:"temperature"`
	Humidity    float32 `json:"humidity"`
}
{'fraction_non_alphanumeric': 0.09124087591240876, 'fraction_numerical': 0.019464720194647202, 'mean_word_length': 5.940928270042194, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '719332', 'n_tokens_mistral': 585, 'n_tokens_neox': 546, 'n_words': 134}