<commit_before><?xml version="1.0"?>
<properties xmlns="http://contextkit.freedesktop.org/Provider">
  <doc>
Core Context Properties
=======================

This is the list of the core contextual properties of the Maemo
platform.

This document is maintained as part of the +contextkit+ package.
Please report change requests as bugs against the +contextkit+
package.
 
*NOTE:* Most of these properties are unstable and their definition will
change for some time still.  Only the ones explicitly marked as stable
should be used for now.

  </doc>
  <node name="Screen">
    <doc>
Display screens
---------------

These properties talk about the display screens of the device.
    </doc>
    <key name="TopEdge" type="STRING">
      <doc>
The edge of the main display screen where the user expects
the top-most UI elements to be.  Possible values are the
strings "top", "bottom", "left", and "right", which refer to
the edges of the screen in its normal orientation as defined
by the graphics hardware.  _(stable)_
      </doc>
    </key>
    <key name="IsCovered" type="TRUTH">
      <doc>
Whether or not the main display screen is covered and can thus not be
seen by the user.  This might mean that the device is laying face down
on a table, or that its lid is closed if it has one.  _(stable)_
      </doc>
    </key>
  </node>
  <node name="Location">
    <doc>
Location
--------

Best effort location information. If any of the keys are not
appliciable to the current location, they will be unavailable.
    </doc>
    <key name="Latitude" type="DOUBLE">
      <doc>The latitude of the current position in degrees.</doc>
    </key>
    <key name="Longitude" type="DOUBLE">
      <doc>The longitude of the current position in degrees.</doc>
    </key>
    <key name="Altitide" type="DOUBLE">
      <doc>The altitude of the current position in meters.</doc>
    </key>
    <key name="Street" type="STRING">
      <doc>The street nearest the location of the device.</doc>
    </key>
    <key name="PostalCode" type="STRING">
      <doc>The postcode of the location of the device.</doc>
    </key>
    <key name="Area" type="STRING">
      <doc>The name of the local area where the device is, for example a neighborhood or campus.</doc>
    </key>
    <key name="Locality" type="STRING">
      <doc>The name of the village, town or city where the device is.</doc>
    </key>
    <key name="Region" type="STRING">
      <doc>The administrative region which contains the location of the device.</doc>
    </key>
    <key name="Country" type="STRING">
      <doc>The country which contains the location of the device.</doc>
    </key>
    <key name="CountryCode" type="STRING">
      <doc>The ISO 3166 two letter country code of the country which contains the location of the device.</doc>
    </key>
    <key name="Continent" type="STRING">
      <doc>The localized name of the current continent, as a string.</doc>
    </key>
    <key name="Planet" type="STRING">
      <doc>The localized name of the current planet (or dwarf planet), as a string.</doc>
    </key>
  </node>
  <node name="Connectivity">
    <doc>
Network connectivity
--------------------

Information about the network connectivity of the device.
    </doc>
  </node>
  <node name="Environment">
    <doc>
Environment
-----------

Information about the environment the device is in.
    </doc>
    <key name="IsDark" type="TRUTH">
      <doc>
Whether or not it is dark.
      </doc>
    </key>
    <key name="SunRise" type="INT">
      <doc>
The time of sun rise.
      </doc>
    </key>
    <key name="SunSet" type="INT">
      <doc>
The time of sun set.
      </doc>
    </key>
    <key name="Weather" type="STRING">
      <doc>
The current weather.  See http://www.ominous-valve.com/wx_codes.txt for<commit_msg>Use new simple types for the core property declarations.<commit_after><?xml version="1.0"?>
<properties xmlns="http://contextkit.freedesktop.org/Provider">
  <doc>
Core Context Properties
=======================

This is the list of the core contextual properties of the Maemo
platform.

This document is maintained as part of the +contextkit+ package.
Please report change requests as bugs against the +contextkit+
package.
 
*NOTE:* Most of these properties are unstable and their definition will
change for some time still.  Only the ones explicitly marked as stable
should be used for now.

  </doc>
  <node name="Screen">
    <doc>
Display screens
---------------

These properties talk about the display screens of the device.
    </doc>
    <key name="TopEdge" type="string-enum">
      <!-- type
	<string-enum>
	  <top/>
	  <bottom/>
	  <left/>
	  <right/>
	</string-enum>
      /type -->
      <doc>
The edge of the main display screen where the user expects
the top-most UI elements to be.  Possible values are the
strings "top", "bottom", "left", and "right", which refer to
the edges of the screen in its normal orientation as defined
by the graphics hardware.  _(stable)_
      </doc>
    </key>
    <key name="IsCovered" type="bool">
      <doc>
Whether or not the main display screen is covered and can thus not be
seen by the user.  This might mean that the device is laying face down
on a table, or that its lid is closed if it has one.  _(stable)_
      </doc>
    </key>
  </node>
  <node name="Location">
    <doc>
Location
--------

Best effort location information. If any of the keys are not
appliciable to the current location, they will be unavailable.
    </doc>
    <key name="Latitude" type="double">
      <doc>The latitude of the current position in degrees.</doc>
    </key>
    <key name="Longitude" type="double">
      <doc>The longitude of the current position in degrees.</doc>
    </key>
    <key name="Altitude" type="double">
      <doc>The altitude of the current position in meters.</doc>
    </key>
    <key name="Street" type="string">
      <doc>The street nearest the location of the device.</doc>
    </key>
    <key name="PostalCode" type="string">
      <doc>The postcode of the location of the device.</doc>
    </key>
    <key name="Area" type="string">
      <doc>The name of the local area where the device is, for example a neighborhood or campus.</doc>
    </key>
    <key name="Locality" type="string">
      <doc>The name of the village, town or city where the device is.</doc>
    </key>
    <key name="Region" type="string">
      <doc>The administrative region which contains the location of the device.</doc>
    </key>
    <key name="Country" type="string">
      <doc>The country which contains the location of the device.</doc>
    </key>
    <key name="CountryCode" type="string">
      <doc>The ISO 3166 two letter country code of the country which contains the location of the device.</doc>
    </key>
    <key name="Continent" type="string">
      <doc>The localized name of the current continent, as a string.</doc>
    </key>
    <key name="Planet" type="string">
      <doc>The localized name of the current planet (or dwarf planet), as a string.</doc>
    </key>
  </node>
  <node name="Connectivity">
    <doc>
Network connectivity
--------------------

Information about the network connectivity of the device.
    </doc>
    <key name="SignalStrength" type="percentage">
      <doc>
	The strength of the radio connection.
      </doc>
    </key>
  </node>
  <node name="Environment">
    <doc>
Environment
-----------

Information about the environment the device is in.
    </doc>
    <key name="IsDark" type="bool">
      <doc>
Whether or not it is dark.
      </doc>
    </key>
    <key name="SunRise" type="time">
      <doc>
The time of sun rise.
      </doc>
    </key>
    <key name="SunSet" type="time">
      <doc>
The time of sun set.
      </doc>
    </key>
    <key name="Weather" type="map">
      <!-- type
	<map>
	  <allowed-keys>
	    <Condition type="string">
	      <doc>
The current weather condition, as a localized, human readable string.
Examples are "Cloudy", "Raining", etc.
	      </doc>
	    </Condition>
	    <ConditionCode>
	      <type>
		<string-enum>
		  <cloudy/>
		  ...
		</string-enum>
	      </type>
	      <doc>
The current weather condition, as a symbolic string.  The set of
symbols is to be defined, but it will be fixed and quite small so that
you can provide an icon for each of them, etc.
	      </doc>
	    </ConditionCode>
	    ...
	  </allowed-keys>
	</map>
      /type -->
      <doc>
The current weather.  See http://www.ominous-valve.com/wx_codes.txt for
{'fraction_non_alphanumeric': 0.13416075650118203, 'fraction_numerical': 0.0014184397163120568, 'mean_word_length': 2.8599452554744524, 'pattern_counts': {'":': 0, '<': 210, '<?xml version=': 2, '>': 210, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 4}, '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': '182807', 'n_tokens_mistral': 2520, 'n_tokens_neox': 2435, 'n_words': 1018}