-
Notifications
You must be signed in to change notification settings - Fork 16
feat(core,intelligence): add Mobile Engineer archetype #97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+228
−6
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| import { describe, expect, it } from "vitest"; | ||
| import { detectArchetype, getArchetype } from "../archetypes/index.js"; | ||
|
|
||
| describe("mobile-engineer archetype", () => { | ||
| const archetype = getArchetype("mobile-engineer"); | ||
|
|
||
| it("is registered under the core registry", () => { | ||
| expect(archetype.name).toBe("Mobile Engineer"); | ||
| }); | ||
|
|
||
| it("has 15-30 keywords", () => { | ||
| expect(archetype.keywords.length).toBeGreaterThanOrEqual(15); | ||
| expect(archetype.keywords.length).toBeLessThanOrEqual(30); | ||
| }); | ||
|
|
||
| it("has 10+ action verbs", () => { | ||
| expect(archetype.actionVerbs.length).toBeGreaterThanOrEqual(10); | ||
| }); | ||
|
|
||
| it("has 5+ anti-patterns", () => { | ||
| expect(archetype.antiPatterns.length).toBeGreaterThanOrEqual(5); | ||
| }); | ||
|
|
||
| it("has evaluation weights summing to 1.0", () => { | ||
| const sum = Object.values(archetype.evaluationWeights).reduce((a, b) => a + b, 0); | ||
| expect(sum).toBeCloseTo(1, 5); | ||
| }); | ||
|
|
||
| it("is detected from a representative mobile resume", () => { | ||
| const text = | ||
| "Built iOS features in Swift and SwiftUI, shipped Android screens with Kotlin " + | ||
| "and Jetpack Compose, released through TestFlight and Google Play Console."; | ||
| expect(detectArchetype(text).id).toBe("mobile-engineer"); | ||
| }); | ||
|
|
||
| it("is detected from platform-only mentions", () => { | ||
| expect(detectArchetype("Shipped iOS apps for the retail team.").id).toBe( | ||
| "mobile-engineer" | ||
| ); | ||
| expect(detectArchetype("Shipped Android apps for the retail team.").id).toBe( | ||
| "mobile-engineer" | ||
| ); | ||
| }); | ||
|
|
||
| it("does not treat 'swiftly' as a swift keyword match", () => { | ||
| const text = "Swiftly delivered backend services using Node and Postgres."; | ||
| expect(detectArchetype(text).id).not.toBe("mobile-engineer"); | ||
| }); | ||
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,70 @@ | ||
| import type { Archetype } from "@cv-builder/schemas"; | ||
|
|
||
| export const mobileEngineer: Archetype = { | ||
| id: "mobile-engineer", | ||
| name: "Mobile Engineer", | ||
| description: "iOS/Android engineers building native and cross-platform mobile apps", | ||
| keywords: [ | ||
| "ios", | ||
| "android", | ||
| "swift", | ||
| "swiftui", | ||
| "objective-c", | ||
| "uikit", | ||
| "kotlin", | ||
| "jetpack compose", | ||
| "android sdk", | ||
| "xcode", | ||
| "android studio", | ||
| "react native", | ||
| "flutter", | ||
| "dart", | ||
| "kotlin multiplatform", | ||
| "core data", | ||
| "room", | ||
| "coroutines", | ||
| "combine", | ||
| "mvvm", | ||
| "ci/cd", | ||
| "fastlane", | ||
| "app store connect", | ||
| "google play console", | ||
| "testflight", | ||
| "crashlytics", | ||
| "firebase", | ||
| "rest api", | ||
| "push notifications", | ||
| "deep linking", | ||
| ], | ||
| evaluationWeights: { | ||
| shippedEvidence: 0.3, | ||
| quantifiedImpact: 0.2, | ||
| toolingVisibility: 0.2, | ||
| atsCompatibility: 0.1, | ||
| keywordMatch: 0.1, | ||
| publicProof: 0.1, | ||
| }, | ||
| actionVerbs: [ | ||
| "Shipped", | ||
| "Launched", | ||
| "Released", | ||
| "Migrated", | ||
| "Optimized", | ||
| "Reduced", | ||
| "Refactored", | ||
| "Integrated", | ||
| "Automated", | ||
| "Debugged", | ||
| "Instrumented", | ||
| "Profiled", | ||
| ], | ||
| antiPatterns: [ | ||
| "familiar with mobile development", | ||
| "worked on the app", | ||
| "various mobile frameworks", | ||
| "responsible for app maintenance", | ||
| "passionate about mobile technologies", | ||
| "experience with cross-platform development", | ||
| ], | ||
| version: "1.0.0", | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.