<commit_before>module BountyGuidance
  class Valuations

    BOUNTIES_PER_HALFWAY_SIGMOID = 100.0
    SIGMOID_BASELINE_CONSTANT = 0.0001
    SIGMOID_AVERAGE_MAX_CONSTANT = 0.002
    MIDPOINTS_N = 5
    EXPONENTIAL_INCREMENT = 2.0
    FEE = 0.10

    MEDIAN_DOLLAR_BOUNTY_VALUE = 40

    MAX_PROFIT_REPORTS = 30  #maximum number of months of profit backhistory to query

    def self.suggestions(product)
      (0..4).map do |i|
        suggestion = new.compute_guidance(product, i)

        if suggestion < 1000
          suggestion.round(-2)
        else
          suggestion.round(-3)
        end<commit_msg>further increase of suggested bounty values for profitable products<commit_after>module BountyGuidance
  class Valuations

    BOUNTIES_PER_HALFWAY_SIGMOID = 100.0
    SIGMOID_BASELINE_CONSTANT = 0.0001
    SIGMOID_AVERAGE_MAX_CONSTANT = 0.002
    MIDPOINTS_N = 5
    EXPONENTIAL_INCREMENT = 2.0
    FEE = 0.10

    MEDIAN_DOLLAR_BOUNTY_VALUE = 75

    MAX_PROFIT_REPORTS = 30  #maximum number of months of profit backhistory to query

    def self.suggestions(product)
      (0..4).map do |i|
        suggestion = new.compute_guidance(product, i)

        if suggestion < 1000
          suggestion.round(-2)
        else
          suggestion.round(-3)
        end
{'fraction_non_alphanumeric': 0.06436420722135008, 'fraction_numerical': 0.04866562009419152, 'mean_word_length': 2.674351585014409, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1536247', 'n_tokens_mistral': 494, 'n_tokens_neox': 432, 'n_words': 95}