MCPcopy Create free account

hub / github.com/Architekt-Jutra/architekt-jutra-code / functions

Functions1,065 in github.com/Architekt-Jutra/architekt-jutra-code

↓ 1 callersMethodscaleNode
(BreakdownNode node, BigDecimal scaleFactor)
src/main/java/pl/devstyle/aj/footprint/internal/BreakdownScaler.java:38
↓ 1 callersFunctionscenarioTitle
(index: number, input: FootprintQueryInput)
src/main/frontend/src/pages/FootprintComparisonPage.tsx:107
↓ 1 callersMethodsendTokenExchangeResponse
(HttpServletResponse response, String accessToken)
src/main/java/pl/devstyle/aj/core/oauth2/OAuth2TokenFilter.java:262
↓ 1 callersFunctionseries
Generate a series that is baseline until spike_start, then rises linearly to spike_value.
tools/kg-incidents/tasks/cascading-shared-dependency/mcp-seeds/_generate_metrics.py:24
↓ 1 callersMethodsetAccessToken
(String token)
mcp-server/src/main/java/pl/devstyle/aj/mcp/security/AccessTokenHolder.java:14
↓ 1 callersMethodsetEnabled
(String pluginId, boolean enabled)
src/main/java/pl/devstyle/aj/core/plugin/PluginDescriptorService.java:82
↓ 1 callersFunctionsetPluginEnabled
(id: string, enabled: boolean)
src/main/frontend/src/api/plugins.ts:48
↓ 1 callersFunctionstable
(baseline: float, unit: str, seed: int)
tools/kg-incidents/tasks/cascading-shared-dependency/mcp-seeds/_generate_metrics.py:47
↓ 1 callersMethodstoreAuthorizationCode
(String code, String clientId, String redirectUri, String scope, String
src/main/java/pl/devstyle/aj/core/oauth2/AuthorizationCodeService.java:20
↓ 1 callersFunctiontimestamp
(d = new Date())
tools/kg-simple-demo/kg-codegen/index.ts:74
↓ 1 callersMethodtimestampWarnings
(Instant asOf)
src/main/java/pl/devstyle/aj/footprint/internal/DefaultFootprintFacade.java:137
↓ 1 callersMethodtoAuditEvent
( FootprintParameters params, CalculationOptions options, FootprintBreakdo
src/main/java/pl/devstyle/aj/footprint/internal/DefaultFootprintFacade.java:79
↓ 1 callersMethodtoEntity
(RegisteredClient client)
src/main/java/pl/devstyle/aj/core/oauth2/DatabaseRegisteredClientRepository.java:47
↓ 1 callersMethodtoEntity
(FootprintCalculatedEvent event)
src/main/java/pl/devstyle/aj/footprint/audit/FootprintAuditMapper.java:24
↓ 1 callersMethodtoParameterValue
(FootprintParameters params)
src/main/java/pl/devstyle/aj/footprint/internal/BreakdownTreeBuilder.java:150
↓ 1 callersFunctiontodayIso
()
src/main/frontend/src/pages/ProductFootprintPage.tsx:23
↓ 1 callersFunctiontoggle
(id: string)
src/main/frontend/src/components/footprint/BreakdownTree.tsx:180
↓ 1 callersFunctiontoggleScope
(scopeId: string)
src/main/frontend/src/pages/OAuth2AuthorizePage.tsx:65
↓ 1 callersFunctiontruncate
(text: string | null, maxLength: number)
src/main/frontend/src/pages/CategoryListPage.tsx:18
↓ 1 callersFunctionupdateCategory
(id: number, request: UpdateCategoryRequest)
src/main/frontend/src/api/categories.ts:33
↓ 1 callersFunctionupdateProduct
(id: number, request: UpdateProductRequest)
src/main/frontend/src/api/products.ts:64
↓ 1 callersFunctionuploadManifest
(id: string, manifest: ManifestPayload)
src/main/frontend/src/api/plugins.ts:40
↓ 1 callersFunctionuseProducts
(params?: UseProductsParams)
src/main/frontend/src/hooks/useProducts.ts:27
↓ 1 callersFunctionval
(v: PropVal)
tools/kg-simple-demo/kg-codegen/emitter.ts:10
↓ 1 callersFunctionvalidate
(g: Graph, ont: OntologyIndex)
tools/kg-simple-demo/kg-codegen/validator.ts:37
↓ 1 callersMethodvalidateClientName
(String clientName)
src/main/java/pl/devstyle/aj/core/oauth2/PublicClientRegistrationFilter.java:149
↓ 1 callersMethodvalidatePkceCodeVerifier
(String codeVerifier, String codeChallenge, String codeChallengeMethod)
src/main/java/pl/devstyle/aj/core/oauth2/OAuth2TokenFilter.java:279
↓ 1 callersMethodvalidatePkceParameters
(String codeChallenge, String codeChallengeMethod, RegisteredClient client)
src/main/java/pl/devstyle/aj/core/oauth2/OAuth2AuthorizationFilter.java:149
↓ 1 callersMethodvalidateRedirectUri
(String redirectUri, RegisteredClient client)
src/main/java/pl/devstyle/aj/core/oauth2/OAuth2AuthorizationFilter.java:130
↓ 1 callersMethodvalidateRedirectUris
(List<String> redirectUris, List<String> grantTypes)
src/main/java/pl/devstyle/aj/core/oauth2/PublicClientRegistrationFilter.java:158
↓ 1 callersMethodvalidateScope
(List<String> scopes)
src/main/java/pl/devstyle/aj/core/oauth2/PublicClientRegistrationFilter.java:181
↓ 1 callersMethodvalidateScopes
(String scope, RegisteredClient client)
src/main/java/pl/devstyle/aj/core/oauth2/OAuth2AuthorizationFilter.java:136
↓ 1 callersMethodversionAt
(ComponentId componentId, Instant t)
src/main/java/pl/devstyle/aj/footprint/internal/ports/EmissionFactorPort.java:10
↓ 1 callersFunctionvisit
(node: ts.Node)
tools/kg-simple-demo/kg-codegen/parsers/frontend.ts:50
↓ 1 callersFunctionvisit
(node: ts.Node)
tools/kg-simple-demo/kg-codegen/parsers/plugins.ts:215
↓ 1 callersFunctionvisit
(n: CompositeDto | typeof node.children[number])
src/main/frontend/src/pages/ProductFootprintPage.tsx:29
↓ 1 callersMethodwaitForRowCount
(long target)
src/test/java/pl/devstyle/aj/footprint/audit/FootprintCalculateUnitAuditIntegrationTests.java:91
↓ 1 callersMethodwalk
(Map<String, Object> node, String pathPrefix, String correlationId, String computedAt, S
src/main/java/pl/devstyle/aj/footprint/export/BreakdownCsvFlattener.java:70
↓ 1 callersMethodwithDefaults
(CalculationOptions options)
src/main/java/pl/devstyle/aj/footprint/internal/DefaultFootprintFacade.java:109
MethodAlwaysApplicable
()
week9/AJ-dotnet/src/FootprintCalculation/ComponentTree/AlwaysApplicable.cs:15
FunctionAppShell
({ children }: AppShellProps)
src/main/frontend/src/components/layout/AppShell.tsx:11
MethodApplicabilityResolutionException
(ComponentId componentId, String reason)
src/main/java/pl/devstyle/aj/footprint/api/exception/ApplicabilityResolutionException.java:14
MethodAssertBreakdownsAreEqual
(FootprintBreakdown a, FootprintBreakdown b)
week9/AJ-dotnet/tests/FootprintCalculation.Tests/FootprintReporting/FootprintFacadeQualityTests.cs:111
MethodAssertNodeIsAuditComplete
(BreakdownNode node)
week9/AJ-dotnet/tests/FootprintCalculation.Tests/FootprintReporting/CalculateTotalFootprintQualityTests.cs:25
MethodAssertNodesAreEqual
(BreakdownNode a, BreakdownNode b)
week9/AJ-dotnet/tests/FootprintCalculation.Tests/FootprintReporting/FootprintFacadeQualityTests.cs:117
MethodAuthController
(AuthenticationManager authenticationManager, JwtTokenProvider jwtTokenProvider)
src/main/java/pl/devstyle/aj/api/AuthController.java:31
FunctionAuthGuard
({ children, requireAuth = true }: AuthGuardProps)
src/main/frontend/src/auth/AuthGuard.tsx:10
FunctionAuthProvider
({ children }: { children: ReactNode })
src/main/frontend/src/auth/AuthContext.tsx:46
MethodBreakdownAuditCompleteness_AcrossEntireTree
<summary> QA: Other:BreakdownAuditCompleteness. Every leaf has non-null EmissionFactorUsed and FactorValidFrom; sum of every composite's children's Kg
week9/AJ-dotnet/tests/FootprintCalculation.Tests/FootprintReporting/CalculateTotalFootprintQualityTests.cs:13
FunctionBreakdownTree
({ root, total }: BreakdownTreeProps)
src/main/frontend/src/components/footprint/BreakdownTree.tsx:172
MethodBreakdownTreeBuilder
( ComponentTreeRegistry registry, EmissionFactorPort emissionFactorPort)
src/main/java/pl/devstyle/aj/footprint/internal/BreakdownTreeBuilder.java:35
MethodBuild
<summary> Build a minimal product whose CalculateTotalFootprint result equals `desiredTotal` with the supplied materialWeight. Single composite root w
week9/AJ-dotnet/tests/FootprintCalculation.Tests/FootprintReporting/CalculateUnitFootprintTests.cs:16
MethodBuildCaw042Tree
<summary>Build the CAW-042 tree (Classic Analog Watch — no cold-storage).</summary>
week9/AJ-dotnet/tests/FootprintCalculation.Tests/FootprintReporting/FacadeTestFixtures.cs:143
MethodBuildNode
(Component component, FootprintParameters parameters)
week9/AJ-dotnet/src/FootprintCalculation/FootprintReporting/FootprintFacade.cs:142
MethodBuildOfb330Tree
<summary>Build the OFB-330 tree (Organic Frozen Berries 500g).</summary>
week9/AJ-dotnet/tests/FootprintCalculation.Tests/FootprintReporting/FacadeTestFixtures.cs:36
MethodBuildTreeWithVersions
( IEnumerable<SimpleComponentVersion> versions)
week9/AJ-dotnet/tests/FootprintCalculation.Tests/FootprintReporting/FootprintFacadeQualityTests.cs:95
MethodBusinessConflictException
(String message)
src/main/java/pl/devstyle/aj/core/error/BusinessConflictException.java:5
MethodCalculateUnitFootprint_IsConsistent_WithCalculateTotalFootprint
<summary> Invariant: unit.Total × MaterialWeightKg × 10 == total. Exact decimal equality. Verifies rule UnitFootprintIsTotalScaledToReferenceUnit. </s
week9/AJ-dotnet/tests/FootprintCalculation.Tests/FootprintReporting/CalculateUnitFootprintTests.cs:232
MethodCalculateUnitFootprint_PerHundredGrams_WithHalfKilogram
()
week9/AJ-dotnet/tests/FootprintCalculation.Tests/FootprintReporting/CalculateUnitFootprintTests.cs:56
MethodCalculateUnitFootprint_PerHundredGrams_WithOneKilogram
()
week9/AJ-dotnet/tests/FootprintCalculation.Tests/FootprintReporting/CalculateUnitFootprintTests.cs:73
MethodCalculateUnitFootprint_PerHundredGrams_WithQuarterKilogramNonRound
()
week9/AJ-dotnet/tests/FootprintCalculation.Tests/FootprintReporting/CalculateUnitFootprintTests.cs:89
MethodCalculateUnitFootprint_PreservesPrecision_WithVerySmallMaterialWeight
()
week9/AJ-dotnet/tests/FootprintCalculation.Tests/FootprintReporting/CalculateUnitFootprintTests.cs:214
MethodCalculateUnitFootprint_ReturnsZero_WhenBreakdownIsEmpty
<summary> Empty breakdown: when every component is inapplicable for the given parameters, CalculateTotalFootprint returns total=KgCO2(0) with empty ch
week9/AJ-dotnet/tests/FootprintCalculation.Tests/FootprintReporting/CalculateUnitFootprintTests.cs:161
MethodCalculateUnitFootprint_Throws_WhenMaterialWeightKgIsNegative
()
week9/AJ-dotnet/tests/FootprintCalculation.Tests/FootprintReporting/CalculateUnitFootprintTests.cs:126
MethodCalculateUnitFootprint_Throws_WhenMaterialWeightKgIsZero
()
week9/AJ-dotnet/tests/FootprintCalculation.Tests/FootprintReporting/CalculateUnitFootprintTests.cs:105
MethodCalculateUnitFootprint_Throws_WhenParametersAreNull
()
week9/AJ-dotnet/tests/FootprintCalculation.Tests/FootprintReporting/CalculateUnitFootprintTests.cs:146
MethodCalculate_realistic_warehouse_refrigeration_example
()
week9/AJ-dotnet/tests/FootprintCalculation.Tests/EmissionMeasurement/EmissionCalculatorTests.cs:22
MethodCalculate_returns_rate_times_quantity
()
week9/AJ-dotnet/tests/FootprintCalculation.Tests/EmissionMeasurement/EmissionCalculatorTests.cs:9
MethodCalculate_with_zero_quantity_returns_zero
()
week9/AJ-dotnet/tests/FootprintCalculation.Tests/EmissionMeasurement/EmissionCalculatorTests.cs:48
MethodCalculate_with_zero_rate_returns_zero
()
week9/AJ-dotnet/tests/FootprintCalculation.Tests/EmissionMeasurement/EmissionCalculatorTests.cs:35
FunctionCarbonFootprintLandingPage
()
src/main/frontend/src/pages/CarbonFootprintLandingPage.tsx:9
MethodCategoryController
(CategoryService categoryService)
src/main/java/pl/devstyle/aj/category/CategoryController.java:23
FunctionCategoryFormPage
()
src/main/frontend/src/pages/CategoryFormPage.tsx:15
MethodCategoryHasProductsException
(Long categoryId)
src/main/java/pl/devstyle/aj/category/CategoryHasProductsException.java:7
FunctionCategoryListPage
()
src/main/frontend/src/pages/CategoryListPage.tsx:23
MethodCategoryService
(CategoryRepository categoryRepository)
src/main/java/pl/devstyle/aj/category/CategoryService.java:16
MethodComponentBreakdown
(List<Component> resolvedComponents, LocalDate effectiveDate)
week10/2-demo/04-single-module-new-concepts/calculation-engine/src/ComponentBreakdown.java:14
MethodComponentId
(string value)
week9/AJ-dotnet/src/FootprintCalculation/ComponentTree/ComponentId.cs:16
MethodComponentRepository
(IReadOnlyDictionary<ProductId, CompositeComponent> trees)
week9/AJ-dotnet/src/FootprintCalculation/ComponentTree/ComponentRepository.cs:18
MethodComponentTreeRegistry
()
src/main/java/pl/devstyle/aj/footprint/internal/ComponentTreeRegistry.java:25
FunctionCompositeRow
({ node, depth, total, expanded, toggle, hidden, }: { node: CompositeDto; depth: number; tot
src/main/frontend/src/components/footprint/BreakdownTree.tsx:94
FunctionConfirmDialog
({ open, onClose, onConfirm, title, message, confirmLabel = "Delete", loading = false, }: Confir
src/main/frontend/src/components/shared/ConfirmDialog.tsx:26
FunctionCsvExportButton
({ correlationId, onError }: CsvExportButtonProps)
src/main/frontend/src/components/footprint/CsvExportButton.tsx:14
MethodCustomUserDetailsService
(UserRepository userRepository)
src/main/java/pl/devstyle/aj/core/security/CustomUserDetailsService.java:16
MethodDbPluginObjectQueryService
(DSLContext dsl, ObjectMapper objectMapper)
src/main/java/pl/devstyle/aj/core/plugin/DbPluginObjectQueryService.java:27
MethodDbProductQueryService
(DSLContext dsl, ObjectMapper objectMapper)
src/main/java/pl/devstyle/aj/product/DbProductQueryService.java:28
MethodDefaultFootprintFacade
( BreakdownTreeBuilder builder, BreakdownScaler scaler, ProductAttributesP
src/main/java/pl/devstyle/aj/footprint/internal/DefaultFootprintFacade.java:37
MethodDeterminism_TwoCallsWithIdenticalParametersReturnEqualBreakdowns
<summary> QA: Other:Determinism. Two consecutive calls of CalculateTotalFootprint with identical FootprintParameters return FootprintBreakdown values
week9/AJ-dotnet/tests/FootprintCalculation.Tests/FootprintReporting/FootprintFacadeQualityTests.cs:16
FunctionDocument
()
plugins/ai-description/src/pages/_document.tsx:3
MethodEmissionFactorEventHandler
(CalculationService calculationService)
week10/2-demo/02-event-language-leakage/calculation-engine/src/EmissionFactorEventHandler.java:18
MethodEmissionFactorPort
(IReadOnlyDictionary<ComponentId, IReadOnlyList<EmissionFactorEntry>> entries)
week9/AJ-dotnet/src/FootprintCalculation/EmissionMeasurement/EmissionFactorPort.cs:27
MethodEmissionFactorRate
(decimal value, string unitDescription)
week9/AJ-dotnet/src/FootprintCalculation/EmissionMeasurement/EmissionFactorRate.cs:18
MethodEmissionScope
(int level)
week9/AJ-dotnet/src/FootprintCalculation/FootprintReporting/EmissionScope.cs:16
FunctionEmptyState
({ icon, title, description, action }: EmptyStateProps)
src/main/frontend/src/components/shared/EmptyState.tsx:10
MethodEntityNotFoundException
(String entityType, Long id)
src/main/java/pl/devstyle/aj/core/error/EntityNotFoundException.java:5
MethodFactorVersionOverlapException
(ComponentId componentId, Validity a, Validity b)
src/main/java/pl/devstyle/aj/footprint/api/exception/FactorVersionOverlapException.java:16
MethodFeeCalculator
(DiscountPolicy discountPolicy, SurchargePolicy surchargePolicy)
week10/4-demo/01-mock-on-transformation/calculator/src/FeeCalculator.java:12
MethodFindRootByProductId
<summary> Zwraca korzeń <see cref="CompositeComponent"/> drzewa komponentów dla danego <see cref="ProductId"/>. Mapping 1:1. Drzewo dla każdego typu p
week9/AJ-dotnet/src/FootprintCalculation/ComponentTree/IComponentRepository.cs:21
MethodFindRootByProductId_returns_root_for_known_product
()
week9/AJ-dotnet/tests/FootprintCalculation.Tests/ComponentTree/ComponentRepositoryTests.cs:9
MethodFindRootByProductId_throws_for_unknown_product
()
week9/AJ-dotnet/tests/FootprintCalculation.Tests/ComponentTree/ComponentRepositoryTests.cs:29
← previousnext →401–500 of 1,065, ranked by callers