<commit_before>#ifndef COMPASS_RT_POWER_IMPL_H_
#define COMPASS_RT_POWER_IMPL_H_

#include "../tags.hpp"

#include <iostream>
#include <string>
#include <fstream>


namespace compass {

  typedef ct::power_tag _compass_power_impl_h_tag_t;

  namespace runtime {

    namespace detail {

      static bool works(_compass_power_impl_h_tag_t) {

        std::ifstream cpuinfo("/proc/cpuinfo");

        if(cpuinfo.is_open())
          return true;
        else
          return false;

      }


      static std::string vendor(_compass_power_impl_h_tag_t) {



        std::string vendor_name = "";<commit_msg>hardcoded power vendor for now<commit_after>#ifndef COMPASS_RT_POWER_IMPL_H_
#define COMPASS_RT_POWER_IMPL_H_

#include "../tags.hpp"

#include <iostream>
#include <string>
#include <fstream>


namespace compass {

  typedef ct::power_tag _compass_power_impl_h_tag_t;

  namespace runtime {

    namespace detail {

      static bool works(_compass_power_impl_h_tag_t) {

        std::ifstream cpuinfo("/proc/cpuinfo");

        if(cpuinfo.is_open())
          return true;
        else
          return false;

      }


      static std::string vendor(_compass_power_impl_h_tag_t) {


        std::string vendor_name = "IBM";
{'fraction_non_alphanumeric': 0.09392712550607288, 'fraction_numerical': 0.0, 'mean_word_length': 3.204081632653061, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '4100716', 'n_tokens_mistral': 425, 'n_tokens_neox': 399, 'n_words': 79}