<commit_before>open Prelude

(** Thread ID *)
module Tid = IntDomain.Flattened

(** Context hash for function calls *)
module Ctx = IntDomain.Flattened

(** Set of predecessor nodes *)
module Pred = struct
  module Base = CilType.Location
  include SetDomain.Make (Base)

  let of_node = singleton % Node.location

  let of_current_node () = of_node @@ Option.get !MyCFG.current_node

  let string_of_elt = Base.show
end<commit_msg>Fix promela output<commit_after>open Prelude

(** Thread ID *)
module Tid = IntDomain.Flattened

(** Context hash for function calls *)
module Ctx = IntDomain.Flattened

(** Set of predecessor nodes *)
module Pred = struct
  module Base = CilType.Location
  include SetDomain.Make (Base)

  let of_node = singleton % Node.location

  let of_current_node () = of_node @@ Option.get !MyCFG.current_node

  let string_of_elt (loc:Base.t) =
    let f i = (if i < 0 then "n" else "") ^ string_of_int (abs i) in
    f loc.line ^ "b" ^ f loc.byte
end
{'fraction_non_alphanumeric': 0.10461538461538461, 'fraction_numerical': 0.0010256410256410256, 'mean_word_length': 3.954314720812183, 'pattern_counts': {'":': 0, '<': 4, '<?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': '7633671', 'n_tokens_mistral': 334, 'n_tokens_neox': 314, 'n_words': 101}