Skip to content

Commit

Permalink
Merge pull request #95 from maxmind/greg/subscore-naming
Browse files Browse the repository at this point in the history
Update risk factor scores naming in documentation
  • Loading branch information
horgh authored Jan 18, 2022
2 parents 34a8fc0 + 6bcc8bd commit 305e687
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,6 @@ for assistance.
Copyright and License
---------------------

This software is Copyright © 2015-2021 by MaxMind, Inc.
This software is Copyright © 2015-2022 by MaxMind, Inc.

This is free software, licensed under the Apache License, Version 2.0.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

# General information about the project.
project = "minfraud"
copyright = "2015-2021, MaxMind, Inc"
copyright = "2015-2022, MaxMind, Inc"

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ Indices and tables
* :ref:`modindex`
* :ref:`search`

:copyright: © 2015-2021 by MaxMind, Inc.
:copyright: © 2015-2022 by MaxMind, Inc.
:license: Apache License, Version 2.0

19 changes: 10 additions & 9 deletions minfraud/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ def _create_warnings(warnings: List[Dict[str, str]]) -> Tuple[ServiceWarning, ..

@_inflate_to_namedtuple
class Subscores:
"""Subscores used in calculating the overall risk score.
"""Risk factor scores used in calculating the overall risk score.
.. attribute:: avs_result
Expand Down Expand Up @@ -912,9 +912,9 @@ class Subscores:
:type: float | None
.. deprecated:: 1.8.0
Deprecated effective August 29, 2019. This subscore will default to 1
and will be removed in a future release. The user tenure on email is
reflected in the email address subscore output.
Deprecated effective August 29, 2019. This risk factor score will
default to 1 and will be removed in a future release. The user
tenure on email is reflected in the email address risk factor score.
.. seealso::
:py:attr:`minfraud.models.Subscores.email_address`
Expand All @@ -927,9 +927,9 @@ class Subscores:
:type: float | None
.. deprecated:: 1.8.0
Deprecated effective August 29, 2019. This subscore will default to 1
and will be removed in a future release. The IP tenure is reflected in
the overall risk score.
Deprecated effective August 29, 2019. This risk factor score will
default to 1 and will be removed in a future release. The IP tenure
is reflected in the overall risk score.
.. seealso::
:py:attr:`minfraud.models.Score.risk_score`
Expand Down Expand Up @@ -1120,8 +1120,9 @@ class Factors:
.. attribute:: subscores
A :class:`.Subscores` object containing subscores for many of the
individual components that are used to calculate the overall risk score.
A :class:`.Subscores` object containing scores for many of the
individual risk factors that are used to calculate the overall risk
score.
"""

billing_address: BillingAddress
Expand Down

0 comments on commit 305e687

Please sign in to comment.