<commit_before>#ifndef FIT_PARAMS_H
#define FIT_PARAMS_H

#include "common.h"
#include "spectra.h"
#include "str.h"

__BEGIN_DECLS

enum params_id {
    PID_THICKNESS = 1,
    PID_FIRSTMUL,
    PID_LAYER_N
};

enum disp_model_id {
    MODEL_HO = 1,
    MODEL_CAUCHY,
    MODEL_LOOKUP,
    MODEL_BRUGGEMAN,
    MODEL_NONE,
};

enum seed_type_id {
    SEED_SIMPLE,
    SEED_RANGE,
};

typedef struct {
    enum seed_type_id type;
    double seed;
    double min, max, step;
} seed_t;

typedef struct {
    enum params_id id;
    int layer_nb;
    enum disp_model_id model_id;
    int param_nb;
} fit_param_t;

struct fit_parameters {
    size_t number;
    size_t alloc;
    fit_param_t *values;<commit_msg>Add a new value for seed value<commit_after>#ifndef FIT_PARAMS_H
#define FIT_PARAMS_H

#include "common.h"
#include "spectra.h"
#include "str.h"

__BEGIN_DECLS

enum params_id {
    PID_THICKNESS = 1,
    PID_FIRSTMUL,
    PID_LAYER_N
};

enum disp_model_id {
    MODEL_HO = 1,
    MODEL_CAUCHY,
    MODEL_LOOKUP,
    MODEL_BRUGGEMAN,
    MODEL_NONE,
};

enum seed_type_id {
    SEED_SIMPLE,
    SEED_RANGE,
    SEED_UNDEF,
};

typedef struct {
    enum seed_type_id type;
    double seed;
    double min, max, step;
} seed_t;

typedef struct {
    enum params_id id;
    int layer_nb;
    enum disp_model_id model_id;
    int param_nb;
} fit_param_t;

struct fit_parameters {
    size_t number;
    size_t alloc;
    fit_param_t *values;
{'fraction_non_alphanumeric': 0.07969507969507969, 'fraction_numerical': 0.002772002772002772, 'mean_word_length': 3.2222222222222223, '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': '595484', 'n_tokens_mistral': 623, 'n_tokens_neox': 593, 'n_words': 130}