{"id":18924290,"url":"https://github.com/hellsan631/pippo","last_synced_at":"2026-03-14T01:30:20.512Z","repository":{"id":151915201,"uuid":"46605132","full_name":"hellsan631/Pippo","owner":"hellsan631","description":"A CTR CLI tool for pippo","archived":false,"fork":false,"pushed_at":"2015-11-26T23:56:53.000Z","size":30,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-31T17:35:33.878Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hellsan631.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-21T07:07:56.000Z","updated_at":"2021-04-28T21:30:05.000Z","dependencies_parsed_at":"2023-04-14T08:24:49.917Z","dependency_job_id":null,"html_url":"https://github.com/hellsan631/Pippo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellsan631%2FPippo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellsan631%2FPippo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellsan631%2FPippo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellsan631%2FPippo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hellsan631","download_url":"https://codeload.github.com/hellsan631/Pippo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239921876,"owners_count":19718842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T11:06:24.088Z","updated_at":"2026-03-14T01:30:20.455Z","avatar_url":"https://github.com/hellsan631.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pippo\n\u003e A CTR CLI tool for pippo\n\n[![Build Status](https://travis-ci.org/hellsan631/Pippo.svg?branch=master)](https://travis-ci.org/hellsan631/Pippo) [![Coverage Status](https://coveralls.io/repos/hellsan631/Pippo/badge.svg?branch=master\u0026service=github)](https://coveralls.io/github/hellsan631/Pippo?branch=master)\n\n### CLI Installation and Useage\n\nFirst, install pippo globally:\n\n```shell\nnpm install -g pippo\n```\n\nThis will install the ```resol``` command into your shell. Next run the pippo command with two local files\n\n```shell\n$ resol ./path/to/advertisers.txt ./path/to/people.txt\n```\n\nThis will generate optimized CTR choices and display them in console. If you want to save the output to a file, then use the -o option in the command line\n\n```shell\n$ resol ./path/to/advertisers.txt ./path/to/people.txt -o output.txt\n```\n\nOr if you want to just test it out without needing the txt files, you can add in the -t option\n\n```shell\n$ resol -t\n```\n\nIf you want to see what it can do, just type resol, or resol -h for all the options\n```shell\n$ resol\n$ resol -h\n```\n\n### Programatic Useage\n\nIf you want to use the Resol library locally in an NPM server or in the browser, then just use npm to install it normally\n\n```shell\nnpm install pippo --save\n```\n\nAnd include it in your scripts using the require function (requires browserify if your using a browser)\n\n```js\nvar Resol = require('pippo');\n\nvar ctr     = new Resol(advertiserArray, peopleArray);\nvar results = ctr.pareto();\n\n/* Results:\n  {\n    choices: [\n      {\n        ad: \"Advertiser Name\",\n        person: \"Person Name\",\n        score: 15,\n        cost: -20\n      }\n    ],\n    score: 15\n  }\n */\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellsan631%2Fpippo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhellsan631%2Fpippo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellsan631%2Fpippo/lists"}