Skip to main content

Default template for PDM package

Project description

SRIndexProto

Prototype of calculator for Social Relationship Index

  • It is designed to quantify the investments in your social relationship
  • You can estimate the Social Relationship Index by calculating the average of individual index for each person(=case).
  • The range of this index is 0 to 100.

BUT, PLEASE DO NOT BE SERIOUS.

Steps for index calculation

The Social Relationship Index is "Weighted Sum" of two parameters: Importance and Performance.

Your social relationship investments are categorized into three elements: Money, Time, and Emotion.

Importance

Please rate importance of three elements on a 5-point scale, based on your personal values.

Weights of importance are calculated as follows(%):

  • (importance of one element / total) * 100
  • total: summation of three importances points

Performance

To calculate the performance, you need data of arguments in the three elements as follows:

  • Money: give-and-take between each other
  • Time: meetings spent together
  • Emotion: contact exchanged with each other

These are measured on a 5-point scale, based on your relative investment ratio.

Index

Individual index for each person(=case):

  • index of element 1 + index of element 2 + index of element 3
  • (Importance weight * Perfomance point) of element 1 + (Importance weight * Perfomance point) of element 2 + (Importance weight * Perfomance point) of element 3

Social Relationship Index:

  • (index case 1 + index case 2 + ... index case n) / n
  • (the summation of all individual index for each person) / (the number of persons of you evaluated)

Use

First, enter the following console command:

$ srindex

and you will input the arguments into the function in several steps.

Please read the script and think of people around you carefully.
Please answer the questions faithfully.


Results are shown as follows:

--------------------------------- RESULT ----------------------------------------
The importance of each elements you answered: scale of 100
- money: 38.46
- time: 30.77
- emotion: 30.77

The average performance of each elements you answered: scale of 100
- money: 70.00
- time: 55.00
- emotion: 75.00
*The criteria for converting to a score out of 100 are as follows:
point1: 0 | point2: 25 | point3: 50 | point4: 75 | point5: 100

The table of 'Performance' for each case of each element is as follows:
┏━━━━━━━━━┳━━━━━━━┳━━━━━━┳━━━━━━━━━┓
┃ Case ID  Money  Time  Emotion ┃
┡━━━━━━━━━╇━━━━━━━╇━━━━━━╇━━━━━━━━━┩
│ Average   70.0  55.0     75.0 │
│    1      75.0  50.0     75.0 │
│    2      25.0  75.0     50.0 │
│    3      75.0  50.0     75.0 │
│    4     100.0  75.0    100.0 │
│    5      75.0  25.0     75.0 │
└─────────┴───────┴──────┴─────────┘

Totally, the Social Relationship Index is: 66.92

The table of 'Index'(=Importance*Performance) by case is as follows:
┏━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Case ID  Money  Time   Emotion  Social Relationship Index ┃
┡━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ Average  26.92  16.92   23.08             66.92           │
│    1     28.85  15.38   23.08             67.31           │
│    2     9.62   23.08   15.38             48.08           │
│    3     28.85  15.38   23.08             67.31           │
│    4     38.46  23.08   30.77             92.31           │
│    5     28.85  7.69    23.08             59.62           │
└─────────┴───────┴───────┴─────────┴───────────────────────────┘
---------------------------------------------------------------------------------

In order to produce the Social Relationship Index, please read carefully the Introduction of index and the criteria for evaluating.

Development environment setting guide

# install PDM
# git clone ...
# pdm venv create
$ source .venv/bin/activate
$ pdm install
# $ vi ...

$ git add <FILE_NAME>
$ git commit -a
$ git push
$ pdm publish --username __token__ --password $PYPI_TOKEN

View at:
https://pypi.org/project/SRIndexProto/

# PR - Merge
# Tag - Releases

Enhancement plans

IPA (Importance-Perfomance Analysis):

  • A quantitative approach for measuring how people feel about certain characteristics of an issue or a thing (Martilla & James, 1977)
  • Chart: Importance-Performance Matrix image

Ref

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

srindexproto-0.3.3.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

srindexproto-0.3.3-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file srindexproto-0.3.3.tar.gz.

File metadata

  • Download URL: srindexproto-0.3.3.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.22.2 CPython/3.10.12 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for srindexproto-0.3.3.tar.gz
Algorithm Hash digest
SHA256 81a91c7623822a131c597cfc2fb6f1675b62c4996435b125fb8a6f5738cdffa9
MD5 08ee34e8d46eb4882dda78cfc44851d9
BLAKE2b-256 1069fa6b2b2ca51867cac7cb7b47ef779f5f131da0feaf555570cae07c59a2f8

See more details on using hashes here.

File details

Details for the file srindexproto-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: srindexproto-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.22.2 CPython/3.10.12 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for srindexproto-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ced6d16e144592e7881b3f70f203dab0df54529ac0098ff916198ed050786d87
MD5 3b7f8b1fe9ed3b6ac75fab64b2386c8f
BLAKE2b-256 3050eed63f04e10da053706d61414601d01f4c05a1002fa8a90a7aa8d8f7a9e8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page