Skip to content

feat: Implement contract score estimation and display archived contracts#1510

Merged
mkmccarty merged 1 commit intomainfrom
rerun-eval
Sep 13, 2025
Merged

feat: Implement contract score estimation and display archived contracts#1510
mkmccarty merged 1 commit intomainfrom
rerun-eval

Conversation

@mkmccarty
Copy link
Owner

This commit introduces two main changes:

  1. Implement a new function getContractScoreEstimate to calculate the estimated contract score (CXP) for contracts with version 2. This function takes into account various factors such as the contract grade, booster usage, SIAB, Deflector, Chicken Runs, and token sending/receiving patterns to provide a more accurate CXP estimate.

  2. Modify the GetContractArchiveFromAPI and printArchivedContracts functions to download and display the archived contracts from the Egg Inc API. The archived contracts are now displayed in a formatted table, showing the contract ID, estimated CXP, maximum potential CXP, the gap between the two, and the percentage of the maximum potential achieved.

These changes aim to provide more accurate CXP estimates for active contracts and better visibility into the performance of archived contracts, which can be useful for players to assess their progress and optimize their strategies.

This commit introduces two main changes:

1. Implement a new function `getContractScoreEstimate` to calculate the estimated contract score (CXP) for contracts with version 2. This function takes into account various factors such as the contract grade, booster usage, SIAB, Deflector, Chicken Runs, and token sending/receiving patterns to provide a more accurate CXP estimate.

2. Modify the `GetContractArchiveFromAPI` and `printArchivedContracts` functions to download and display the archived contracts from the Egg Inc API. The archived contracts are now displayed in a formatted table, showing the contract ID, estimated CXP, maximum potential CXP, the gap between the two, and the percentage of the maximum potential achieved.

These changes aim to provide more accurate CXP estimates for active contracts and better visibility into the performance of archived contracts, which can be useful for players to assess their progress and optimize their strategies.
@mkmccarty mkmccarty merged commit 0e877b1 into main Sep 13, 2025
12 checks passed
@mkmccarty mkmccarty deleted the rerun-eval branch September 13, 2025 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant