code: def build_from_variables(self, tax_benefit_system, input_dict):
          
          count = _get_person_count(input_dict)
          simulation = self.build_default_simulation(tax_benefit_system, count)
          for variable, value in input_dict.items():
              if not isinstance(value, dict):
                  if self.default_period is None:
                      raise SituationParsingError([variable],
                          "Can't deal with type: expected object. Input variables should be set for specific periods. For instance: {'salary': {'2017-01': 2000, '2017-02': 2500}}, or {'birth_date': {'ETERNITY': '1980-01-01'}}.")
                  simulation.set_input(variable, self.default_period, value)
              else:
                  for period_str, dated_value in value.items():
                      simulation.set_input(variable, period_str, dated_value)
          return simulation
docs: Build a simulation from a Python dict ``input_dict`` describing variables values without expliciting entities.
  
              This method uses :any:`build_default_simulation` to infer an entity structure
  
              Example:
  
              >>> simulation_builder.build_from_variables(
                  {'salary': {'2016-10': 12000}}
                  )