revscoring.features.temporal¶
This features module provides access to features of the bytes of content in revisions.
-
revscoring.features.temporal.
revision
= {temporal.revision}¶ Represents a revision
Supporting classes¶
-
class
revscoring.features.temporal.
Revision
(name, revision_datasources)[source]¶ Represents a revision
-
day_of_week
= None¶ int : the day of week when the edit was made (in UTC)
-
hour_of_day
= None¶ int : the hour of day when the edit was made (in UTC)
-
-
class
revscoring.features.temporal.
ParentRevision
(name, revision_datasources)[source]¶ Represents a parent revision
-
seconds_since
= None¶ int : The number of seconds since the parent revision was saved.
-
-
class
revscoring.features.temporal.
LastUserRevision
(name, revision_datasources)[source]¶ Represents a revision user’s last revision
-
seconds_since
= None¶ int: The number of seconds since the user last saved an edit
-
-
class
revscoring.features.temporal.
PageCreation
(name, revision_datasources)[source]¶ Represents a page’s creating revision
-
seconds_since
= None¶ int: The number of seconds since the page was created
-
-
class
revscoring.features.temporal.
Page
(name, revision_datasources)[source]¶ Represents a revision’s page
-
creation
= None¶ PageCreation
: The first revision of the page
-
-
class
revscoring.features.temporal.
User
(name, revision_datasources)[source]¶ Represents a revision user
-
seconds_since_registration
= None¶ int : The number of seconds since the user registered their account – or zero in the case of anons. If the user has a registration date that is after the revision timestamp (should be implossible, but happens sometimes), the user is assumed to be 1 year old.
-