fedcomp-index 2026.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +119 -0
- package/index.d.ts +2 -0
- package/index.js +23 -0
- package/package.json +58 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 FedComp Index
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
# FedComp Index
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
Federal contractor competitive intelligence. Scores every federal contractor in a state from 0 to 100 based on public award data, assigns posture classes, and provides pre-scored datasets.
|
|
6
|
+
|
|
7
|
+
This is the meta-package. It installs:
|
|
8
|
+
|
|
9
|
+
- **[fedcomp-index-scoring](https://www.npmjs.com/package/fedcomp-index-scoring)** - posture score computation engine
|
|
10
|
+
- **[fedcomp-index-data](https://www.npmjs.com/package/fedcomp-index-data)** - pre-scored contractor datasets
|
|
11
|
+
|
|
12
|
+
## Install
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm install fedcomp-index
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Usage
|
|
19
|
+
|
|
20
|
+
```javascript
|
|
21
|
+
const { scoreContractor, loadState, lookup, PostureClass } = require("fedcomp-index");
|
|
22
|
+
|
|
23
|
+
// Score a contractor from raw award data
|
|
24
|
+
const result = scoreContractor(15_000_000, "2025-09-15");
|
|
25
|
+
console.log(result.fedcompIndex); // 58
|
|
26
|
+
console.log(result.postureClass); // "Class 2"
|
|
27
|
+
|
|
28
|
+
// Load pre-scored data
|
|
29
|
+
const contractors = loadState("NV");
|
|
30
|
+
console.log(`${contractors.length} contractors scored`);
|
|
31
|
+
|
|
32
|
+
// Look up by UEI
|
|
33
|
+
const c = lookup("CGAKREGGN9J3");
|
|
34
|
+
console.log(c.legal_name); // FLEET VEHICLE SOURCE INC
|
|
35
|
+
console.log(c.fedcomp_index); // 81
|
|
36
|
+
console.log(c.posture_class); // Class 1
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Posture scoring methodology
|
|
40
|
+
|
|
41
|
+
Two index drivers, no normalization:
|
|
42
|
+
|
|
43
|
+
| Index driver | Weight | How it works |
|
|
44
|
+
|-------------|--------|-------------|
|
|
45
|
+
| Award volume | 90% | log10 of total dollars won, mapped to 0-100 |
|
|
46
|
+
| Award recency | 10% | Last award date, bucketed by age |
|
|
47
|
+
|
|
48
|
+
Posture classes are fixed thresholds:
|
|
49
|
+
|
|
50
|
+
| Posture class | FedComp Index score | Typical award volume |
|
|
51
|
+
|---------------|--------------------|--------------------|
|
|
52
|
+
| Class 1 | 60-100 | $100M+ |
|
|
53
|
+
| Class 2 | 40-59 | $5M-$100M |
|
|
54
|
+
| Class 3 | 0-39 | Under $5M |
|
|
55
|
+
|
|
56
|
+
Full methodology: [fedcompindex.org/methodology](https://fedcompindex.org/methodology/)
|
|
57
|
+
|
|
58
|
+
See the [FedComp Index Glossary](https://github.com/npetro6/fedcomp-index-glossary) for complete terminology definitions.
|
|
59
|
+
|
|
60
|
+
## Packages
|
|
61
|
+
|
|
62
|
+
| Package | What it does |
|
|
63
|
+
|---------|-------------|
|
|
64
|
+
| [fedcomp-index](https://www.npmjs.com/package/fedcomp-index) | Meta-package (this one) |
|
|
65
|
+
| [fedcomp-index-scoring](https://www.npmjs.com/package/fedcomp-index-scoring) | Posture score computation |
|
|
66
|
+
| [fedcomp-index-data](https://www.npmjs.com/package/fedcomp-index-data) | Pre-scored contractor datasets |
|
|
67
|
+
|
|
68
|
+
## Also available on PyPI
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
pip install fedcomp-index
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
- [fedcomp-index](https://pypi.org/project/fedcomp-index/) - meta-package
|
|
75
|
+
- [fedcomp-index-scoring](https://pypi.org/project/fedcomp-index-scoring/) - scoring engine
|
|
76
|
+
- [fedcomp-index-data](https://pypi.org/project/fedcomp-index-data/) - pre-scored datasets
|
|
77
|
+
|
|
78
|
+
## Data sources
|
|
79
|
+
|
|
80
|
+
All public federal records:
|
|
81
|
+
- [USASpending.gov](https://www.usaspending.gov/) - award history, dollar amounts, agencies, NAICS, PSC
|
|
82
|
+
- [SAM.gov](https://sam.gov/) - entity registration, certifications, CAGE/UEI
|
|
83
|
+
- [SBA.gov](https://www.sba.gov/) - certification verification
|
|
84
|
+
|
|
85
|
+
## Datasets
|
|
86
|
+
|
|
87
|
+
- [Nevada Federal Contractors](https://huggingface.co/datasets/npetro6/nevada-federal-contractors) (HuggingFace)
|
|
88
|
+
- [Nevada Federal Contract Awards](https://huggingface.co/datasets/npetro6/nevada-federal-awards) (HuggingFace)
|
|
89
|
+
- [Nevada Federal Contractors](https://www.kaggle.com/datasets/npetro6/nevada-federal-contractors-fedcomp-index) (Kaggle)
|
|
90
|
+
- [Nevada Federal Contract Awards](https://www.kaggle.com/datasets/npetro6/nevada-federal-awards-2026-02) (Kaggle)
|
|
91
|
+
|
|
92
|
+
## Links
|
|
93
|
+
|
|
94
|
+
- Website: [https://fedcompindex.org/](https://fedcompindex.org/)
|
|
95
|
+
- Nevada Rankings: [https://fedcompindex.org/nv/](https://fedcompindex.org/nv/)
|
|
96
|
+
- Methodology: [https://fedcompindex.org/methodology/](https://fedcompindex.org/methodology/)
|
|
97
|
+
- Tabularium: [https://fedcompindex.org/tabularium/](https://fedcompindex.org/tabularium/)
|
|
98
|
+
- FAQ: [https://fedcompindex.org/faq/](https://fedcompindex.org/faq/)
|
|
99
|
+
- Glossary: [https://github.com/npetro6/fedcomp-index-glossary](https://github.com/npetro6/fedcomp-index-glossary)
|
|
100
|
+
- Source: [https://github.com/npetro6/FedCompIndex](https://github.com/npetro6/FedCompIndex)
|
|
101
|
+
- npm packages: [https://github.com/npetro6/fedcomp-index-npm](https://github.com/npetro6/fedcomp-index-npm)
|
|
102
|
+
- PyPI: [https://pypi.org/project/fedcomp-index/](https://pypi.org/project/fedcomp-index/)
|
|
103
|
+
- HuggingFace: [https://huggingface.co/datasets/npetro6/nevada-federal-contractors](https://huggingface.co/datasets/npetro6/nevada-federal-contractors)
|
|
104
|
+
- Kaggle: [https://www.kaggle.com/datasets/npetro6/nevada-federal-contractors-fedcomp-index](https://www.kaggle.com/datasets/npetro6/nevada-federal-contractors-fedcomp-index)
|
|
105
|
+
|
|
106
|
+
## Citation
|
|
107
|
+
|
|
108
|
+
```bibtex
|
|
109
|
+
@software{fedcomp_index,
|
|
110
|
+
title = {FedComp Index},
|
|
111
|
+
author = {FedComp Index},
|
|
112
|
+
url = {https://fedcompindex.org/},
|
|
113
|
+
year = {2026}
|
|
114
|
+
}
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
## License
|
|
118
|
+
|
|
119
|
+
MIT
|
package/index.d.ts
ADDED
package/index.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* FedComp Index - Federal contractor competitive intelligence.
|
|
5
|
+
*
|
|
6
|
+
* Meta-package that re-exports the full FedComp Index toolkit:
|
|
7
|
+
* - fedcomp-index-scoring: posture score computation
|
|
8
|
+
* - fedcomp-index-data: pre-scored contractor datasets
|
|
9
|
+
*
|
|
10
|
+
* Website: https://fedcompindex.org/
|
|
11
|
+
* Methodology: https://fedcompindex.org/methodology/
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
const { scoreContractor, PostureClass } = require("fedcomp-index-scoring");
|
|
15
|
+
const { loadState, listStates, lookup } = require("fedcomp-index-data");
|
|
16
|
+
|
|
17
|
+
module.exports = {
|
|
18
|
+
scoreContractor,
|
|
19
|
+
PostureClass,
|
|
20
|
+
loadState,
|
|
21
|
+
listStates,
|
|
22
|
+
lookup,
|
|
23
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "fedcomp-index",
|
|
3
|
+
"version": "2026.3.2",
|
|
4
|
+
"description": "Federal contractor competitive intelligence. Posture scoring, posture classes, and scored datasets for every federal contractor.",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"types": "index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"index.js",
|
|
9
|
+
"index.d.ts",
|
|
10
|
+
"LICENSE"
|
|
11
|
+
],
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"fedcomp-index-scoring": ">=2026.3.0",
|
|
14
|
+
"fedcomp-index-data": ">=2026.3.0"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"federal contracting",
|
|
18
|
+
"government procurement",
|
|
19
|
+
"small business",
|
|
20
|
+
"posture scoring",
|
|
21
|
+
"fedcomp index",
|
|
22
|
+
"posture class",
|
|
23
|
+
"competitive intelligence",
|
|
24
|
+
"usaspending",
|
|
25
|
+
"sam.gov",
|
|
26
|
+
"contractor ranking",
|
|
27
|
+
"proximity map",
|
|
28
|
+
"federal awards",
|
|
29
|
+
"index drivers",
|
|
30
|
+
"procurement",
|
|
31
|
+
"contractor dossier",
|
|
32
|
+
"NAICS",
|
|
33
|
+
"dataset",
|
|
34
|
+
"competitive topology",
|
|
35
|
+
"obligation-verified",
|
|
36
|
+
"registration-obligation gap",
|
|
37
|
+
"NAICS corridor",
|
|
38
|
+
"competitive radius"
|
|
39
|
+
],
|
|
40
|
+
"author": "FedComp Index <contact@fedcompindex.org>",
|
|
41
|
+
"license": "MIT",
|
|
42
|
+
"homepage": "https://fedcompindex.org/",
|
|
43
|
+
"repository": {
|
|
44
|
+
"type": "git",
|
|
45
|
+
"url": "git+https://github.com/npetro6/fedcomp-index-npm.git",
|
|
46
|
+
"directory": "packages/fedcomp-index"
|
|
47
|
+
},
|
|
48
|
+
"engines": {
|
|
49
|
+
"node": ">=14.0.0"
|
|
50
|
+
},
|
|
51
|
+
"bugs": {
|
|
52
|
+
"url": "https://github.com/npetro6/FedCompIndex/issues"
|
|
53
|
+
},
|
|
54
|
+
"funding": {
|
|
55
|
+
"type": "individual",
|
|
56
|
+
"url": "https://fedcompindex.org/"
|
|
57
|
+
}
|
|
58
|
+
}
|