Skip to content

Commit

Permalink
Update reputation urls
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptobench committed Oct 21, 2024
1 parent 061543a commit e34b115
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 30 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
title: "Module experimental/reputation/system"
pageTitle: "Module experimental/reputation/system - golem-js API Reference"
description: "Explore the detailed API reference documentation for the Module experimental/reputation/system within the golem-js SDK for the Golem Network."
type: "JS API Reference"
title: 'Module experimental/reputation/system'
pageTitle: 'Module experimental/reputation/system - golem-js API Reference'
description: 'Explore the detailed API reference documentation for the Module experimental/reputation/system within the golem-js SDK for the Golem Network.'
type: 'JS API Reference'
---

# Module: experimental/reputation/system

## Table of contents
Expand All @@ -14,66 +15,66 @@ type: "JS API Reference"

### Variables

- [DEFAULT\_PROPOSAL\_MIN\_SCORE](experimental_reputation_system#default_proposal_min_score)
- [DEFAULT\_PROPOSAL\_WEIGHTS](experimental_reputation_system#default_proposal_weights)
- [DEFAULT\_AGREEMENT\_WEIGHTS](experimental_reputation_system#default_agreement_weights)
- [DEFAULT\_REPUTATION\_URL](experimental_reputation_system#default_reputation_url)
- [DEFAULT\_AGREEMENT\_TOP\_POOL\_SIZE](experimental_reputation_system#default_agreement_top_pool_size)
- [REPUTATION\_PRESETS](experimental_reputation_system#reputation_presets)
- [DEFAULT_PROPOSAL_MIN_SCORE](experimental_reputation_system#default_proposal_min_score)
- [DEFAULT_PROPOSAL_WEIGHTS](experimental_reputation_system#default_proposal_weights)
- [DEFAULT_AGREEMENT_WEIGHTS](experimental_reputation_system#default_agreement_weights)
- [DEFAULT_REPUTATION_URL](experimental_reputation_system#default_reputation_url)
- [DEFAULT_AGREEMENT_TOP_POOL_SIZE](experimental_reputation_system#default_agreement_top_pool_size)
- [REPUTATION_PRESETS](experimental_reputation_system#reputation_presets)

## Variables

### DEFAULT\_PROPOSAL\_MIN\_SCORE
### DEFAULT_PROPOSAL_MIN_SCORE

`Const` **DEFAULT\_PROPOSAL\_MIN\_SCORE**: ``0.8``
`Const` **DEFAULT_PROPOSAL_MIN_SCORE**: `0.8`

Default minimum score for proposals.

#### Defined in

[src/experimental/reputation/system.ts:23](https://github.com/golemfactory/golem-js/blob/ed1cf1df/src/experimental/reputation/system.ts#L23)

___
---

### DEFAULT\_PROPOSAL\_WEIGHTS
### DEFAULT_PROPOSAL_WEIGHTS

`Const` **DEFAULT\_PROPOSAL\_WEIGHTS**: [`ReputationWeights`](experimental_reputation_types#reputationweights)
`Const` **DEFAULT_PROPOSAL_WEIGHTS**: [`ReputationWeights`](experimental_reputation_types#reputationweights)

Default weights used to calculate the score for proposals.

#### Defined in

[src/experimental/reputation/system.ts:29](https://github.com/golemfactory/golem-js/blob/ed1cf1df/src/experimental/reputation/system.ts#L29)

___
---

### DEFAULT\_AGREEMENT\_WEIGHTS
### DEFAULT_AGREEMENT_WEIGHTS

`Const` **DEFAULT\_AGREEMENT\_WEIGHTS**: [`ReputationWeights`](experimental_reputation_types#reputationweights)
`Const` **DEFAULT_AGREEMENT_WEIGHTS**: [`ReputationWeights`](experimental_reputation_types#reputationweights)

Default weights used to calculate the score for agreements.

#### Defined in

[src/experimental/reputation/system.ts:38](https://github.com/golemfactory/golem-js/blob/ed1cf1df/src/experimental/reputation/system.ts#L38)

___
---

### DEFAULT\_REPUTATION\_URL
### DEFAULT_REPUTATION_URL

`Const` **DEFAULT\_REPUTATION\_URL**: ``"https://reputation.dev-test.golem.network/v2/providers/scores"``
`Const` **DEFAULT_REPUTATION_URL**: `"https://reputation.golem.network/v2/providers/scores"`

Default reputation service URL.

#### Defined in

[src/experimental/reputation/system.ts:47](https://github.com/golemfactory/golem-js/blob/ed1cf1df/src/experimental/reputation/system.ts#L47)

___
---

### DEFAULT\_AGREEMENT\_TOP\_POOL\_SIZE
### DEFAULT_AGREEMENT_TOP_POOL_SIZE

`Const` **DEFAULT\_AGREEMENT\_TOP\_POOL\_SIZE**: ``2``
`Const` **DEFAULT_AGREEMENT_TOP_POOL_SIZE**: `2`

The number of top scoring providers to consider when selecting an agreement.

Expand All @@ -83,11 +84,11 @@ Default for `topPoolSize` agreement selector option.

[src/experimental/reputation/system.ts:54](https://github.com/golemfactory/golem-js/blob/ed1cf1df/src/experimental/reputation/system.ts#L54)

___
---

### REPUTATION\_PRESETS
### REPUTATION_PRESETS

`Const` **REPUTATION\_PRESETS**: [`ReputationPresets`](../interfaces/experimental_reputation_types.ReputationPresets)
`Const` **REPUTATION_PRESETS**: [`ReputationPresets`](../interfaces/experimental_reputation_types.ReputationPresets)

Predefined presets for reputation system.

Expand Down
2 changes: 1 addition & 1 deletion src/pages/docs/reputation/finding-the-best-providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ To make it easier for you to test the API, we have integrated a Swagger UI just
2. Fill in the parameters you want to filter by.
3. Click the **Execute** button to see the results.

{% swaggerui url="https://reputation.dev-test.golem.network/v2/openapi.json" /%}
{% swaggerui url="https://reputation.golem.network/v2/openapi.json" /%}

## Using the Returned Provider IDs to Create a Custom Market Strategy

Expand Down
2 changes: 1 addition & 1 deletion src/pages/docs/reputation/reputation-api-swagger-ui-v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ type: Swagger

This page provides OpenAPI documentation for the Golem Reputation Service V1 API. Use the interactive Swagger UI below to explore the available endpoints, request parameters, and response formats. You can test the API by sending requests directly from the UI, making it easier to understand and integrate the Golem Reputation Service into your applications.

{% swaggerui showInfo=false url="https://reputation.dev-test.golem.network/v1/openapi.json" /%}
{% swaggerui showInfo=false url="https://reputation.golem.network/v1/openapi.json" /%}
2 changes: 1 addition & 1 deletion src/pages/docs/reputation/reputation-api-swagger-ui-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ type: Swagger

This page provides OpenAPI documentation for the Golem Reputation Service V2 API. Use the interactive Swagger UI below to explore the available endpoints, request parameters, and response formats. You can test the API by sending requests directly from the UI, making it easier to understand and integrate the Golem Reputation Service into your applications.

{% swaggerui showInfo=false url="https://reputation.dev-test.golem.network/v2/openapi.json" /%}
{% swaggerui showInfo=false url="https://reputation.golem.network/v2/openapi.json" /%}

0 comments on commit e34b115

Please sign in to comment.